@ionic/core 8.3.2-dev.11728333520.118877e0 → 8.3.2-dev.11729076959.185ec5f7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/action-sheet.js +13 -8
- package/components/alert.js +18 -36
- package/components/backdrop.js +10 -6
- package/components/button.js +41 -11
- package/components/buttons.js +11 -7
- package/components/caret-down.js +6 -0
- package/components/caret-left.js +6 -0
- package/components/caret-right.js +6 -0
- package/components/checkbox.js +30 -13
- package/components/data.js +4 -4
- package/components/index2.js +1 -2
- package/components/index4.js +8 -7
- package/components/index6.js +27 -30
- package/components/index7.js +124 -27
- package/components/index8.js +150 -111
- package/components/input-shims.js +1 -1
- package/components/input.utils.js +1 -1
- package/components/ion-accordion-group.js +9 -6
- package/components/ion-accordion.js +31 -9
- package/components/ion-app.js +6 -6
- package/components/ion-avatar.js +52 -3
- package/components/ion-back-button.js +28 -19
- package/components/ion-badge.js +44 -8
- package/components/ion-breadcrumb.js +44 -11
- package/components/ion-breadcrumbs.js +9 -5
- package/components/ion-card-content.js +11 -7
- package/components/ion-card-header.js +9 -5
- package/components/ion-card-subtitle.js +9 -5
- package/components/ion-card-title.js +9 -5
- package/components/ion-card.js +17 -9
- package/components/ion-chip.js +45 -8
- package/components/ion-col.js +5 -5
- package/components/ion-content.js +11 -11
- package/components/ion-datetime-button.js +9 -6
- package/components/ion-datetime.js +95 -20
- package/components/ion-fab-button.js +32 -10
- package/components/ion-fab-list.js +5 -5
- package/components/ion-fab.js +6 -6
- package/components/ion-footer.js +15 -11
- package/components/ion-grid.js +5 -5
- package/components/ion-header.js +20 -13
- package/components/ion-img.js +5 -2
- package/components/ion-infinite-scroll-content.js +12 -8
- package/components/ion-infinite-scroll.js +5 -5
- package/components/ion-input-password-toggle.js +52 -14
- package/components/ion-input.js +117 -20
- package/components/ion-item-divider.js +9 -5
- package/components/ion-item-group.js +9 -5
- package/components/ion-item-option.js +28 -8
- package/components/ion-item-options.js +9 -5
- package/components/ion-item-sliding.js +5 -5
- package/components/ion-loading.js +12 -8
- package/components/ion-menu-button.js +27 -10
- package/components/ion-menu-toggle.js +5 -5
- package/components/ion-menu.js +11 -7
- package/components/ion-modal.js +29 -11
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +7 -6
- package/components/ion-note.js +9 -5
- package/components/ion-picker-legacy.js +7 -8
- package/components/ion-progress-bar.js +10 -6
- package/components/ion-range.js +11 -8
- package/components/ion-refresher-content.js +27 -9
- package/components/ion-refresher.js +11 -7
- package/components/ion-reorder-group.js +5 -5
- package/components/ion-reorder.js +30 -5
- package/components/ion-router-link.js +6 -6
- package/components/ion-router-outlet.js +2 -2
- package/components/ion-row.js +5 -2
- package/components/ion-searchbar.js +92 -16
- package/components/ion-segment-button.js +12 -8
- package/components/ion-segment.js +15 -24
- package/components/ion-select-option.js +5 -2
- package/components/ion-select.js +76 -28
- package/components/ion-skeleton-text.js +5 -5
- package/components/ion-split-pane.js +12 -8
- package/components/ion-tab-bar.js +31 -8
- package/components/ion-tab-button.js +11 -7
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +2 -2
- package/components/ion-text.js +5 -5
- package/components/ion-textarea.js +38 -11
- package/components/ion-thumbnail.js +5 -2
- package/components/ion-title.js +11 -7
- package/components/ion-toast.js +15 -11
- package/components/ion-toggle.js +76 -18
- package/components/ion-toolbar.js +11 -7
- package/components/ionic-global.js +191 -14
- package/components/ios.transition.js +1 -0
- package/components/item.js +40 -11
- package/components/label.js +9 -5
- package/components/list-header.js +9 -5
- package/components/list.js +29 -6
- package/components/list2.js +6 -0
- package/components/overlays.js +1 -2
- package/components/picker-column-option.js +9 -5
- package/components/picker-column.js +7 -7
- package/components/picker-column2.js +4 -4
- package/components/picker.js +8 -4
- package/components/popover.js +11 -8
- package/components/radio-group.js +5 -3
- package/components/radio.js +12 -8
- package/components/ripple-effect.js +18 -8
- package/components/select-popover.js +9 -2
- package/components/spinner.js +35 -9
- package/components/status-tap.js +1 -1
- package/components/x.js +6 -0
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic/bundle.ionic.css +1 -0
- package/css/ionic/bundle.ionic.css.map +1 -0
- package/css/ionic/core.ionic.css +1 -0
- package/css/ionic/core.ionic.css.map +1 -0
- package/css/ionic/global.bundle.ionic.css +1 -0
- package/css/ionic/global.bundle.ionic.css.map +1 -0
- package/css/ionic/ionic-swiper.ionic.css +1 -0
- package/css/ionic/ionic-swiper.ionic.css.map +1 -0
- package/css/ionic/link.ionic.css +1 -0
- package/css/ionic/link.ionic.css.map +1 -0
- package/css/ionic/structure.ionic.css +1 -0
- package/css/ionic/structure.ionic.css.map +1 -0
- package/css/ionic/typography.ionic.css +1 -0
- package/css/ionic/typography.ionic.css.map +1 -0
- package/css/ionic/utils.bundle.ionic.css +1 -0
- package/css/ionic/utils.bundle.ionic.css.map +1 -0
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{app-globals-21afee77.js → app-globals-38bbc401.js} +1 -1
- package/dist/cjs/caret-down-3c215cff.js +8 -0
- package/dist/cjs/caret-left-2bb66970.js +8 -0
- package/dist/cjs/caret-right-88e03970.js +8 -0
- package/dist/cjs/{data-21dc0f81.js → data-b3a1a686.js} +6 -6
- package/dist/cjs/{hardware-back-button-9e8a2c4f.js → hardware-back-button-d37054f2.js} +1 -1
- package/dist/cjs/{index-5b6a7459.js → index-2fa32189.js} +2 -2
- package/dist/cjs/{index-f05acd21.js → index-694a3808.js} +7 -8
- package/dist/cjs/{index-9cd00dc3.js → index-ed0f67a3.js} +13 -12
- package/dist/cjs/index.cjs.js +7 -8
- package/dist/cjs/{input-shims-9e59ef62.js → input-shims-ab680ecf.js} +3 -2
- package/dist/cjs/{input.utils-611cde0b.js → input.utils-44ff82f0.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +39 -14
- package/dist/cjs/ion-action-sheet.cjs.entry.js +15 -11
- package/dist/cjs/ion-alert.cjs.entry.js +20 -39
- package/dist/cjs/ion-app_8.cjs.entry.js +94 -72
- package/dist/cjs/ion-avatar_3.cjs.entry.js +92 -9
- package/dist/cjs/ion-back-button.cjs.entry.js +27 -18
- package/dist/cjs/ion-backdrop.cjs.entry.js +10 -6
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +51 -14
- package/dist/cjs/ion-button_2.cjs.entry.js +44 -14
- package/dist/cjs/ion-card_5.cjs.entry.js +50 -27
- package/dist/cjs/ion-checkbox.cjs.entry.js +27 -12
- package/dist/cjs/ion-chip.cjs.entry.js +42 -7
- package/dist/cjs/ion-col_3.cjs.entry.js +13 -10
- package/dist/cjs/ion-datetime-button.cjs.entry.js +14 -11
- package/dist/cjs/ion-datetime_3.cjs.entry.js +183 -108
- package/dist/cjs/ion-fab_3.cjs.entry.js +40 -18
- package/dist/cjs/ion-img.cjs.entry.js +5 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +16 -13
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +54 -16
- package/dist/cjs/ion-input.cjs.entry.js +115 -20
- package/dist/cjs/ion-item-option_3.cjs.entry.js +38 -16
- package/dist/cjs/ion-item_8.cjs.entry.js +110 -39
- package/dist/cjs/ion-loading.cjs.entry.js +14 -11
- package/dist/cjs/ion-menu_3.cjs.entry.js +43 -23
- package/dist/cjs/ion-modal.cjs.entry.js +36 -19
- package/dist/cjs/ion-nav_2.cjs.entry.js +9 -8
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +9 -5
- package/dist/cjs/ion-picker-column.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker.cjs.entry.js +8 -4
- package/dist/cjs/ion-popover.cjs.entry.js +17 -14
- package/dist/cjs/ion-progress-bar.cjs.entry.js +10 -6
- package/dist/cjs/ion-radio_2.cjs.entry.js +16 -10
- package/dist/cjs/ion-range.cjs.entry.js +16 -13
- package/dist/cjs/ion-refresher_2.cjs.entry.js +35 -14
- package/dist/cjs/ion-reorder_2.cjs.entry.js +33 -9
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +17 -7
- package/dist/cjs/ion-route_4.cjs.entry.js +6 -6
- package/dist/cjs/ion-searchbar.cjs.entry.js +91 -15
- package/dist/cjs/ion-segment_2.cjs.entry.js +26 -31
- package/dist/cjs/ion-select_3.cjs.entry.js +89 -32
- package/dist/cjs/ion-spinner.cjs.entry.js +32 -7
- package/dist/cjs/ion-split-pane.cjs.entry.js +12 -8
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +39 -14
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-text.cjs.entry.js +5 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +38 -13
- package/dist/cjs/ion-toast.cjs.entry.js +38 -34
- package/dist/cjs/ion-toggle.cjs.entry.js +75 -17
- package/dist/cjs/ionic-global-5df85d73.js +418 -0
- package/dist/cjs/ionic.cjs.js +3 -3
- package/dist/cjs/{ios.transition-cf40433b.js → ios.transition-7574ba71.js} +3 -3
- package/dist/cjs/list-2930c629.js +8 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-ededf99f.js → md.transition-d9d90911.js} +2 -3
- package/dist/cjs/{overlays-0123d7d4.js → overlays-faf6f843.js} +3 -4
- package/dist/cjs/{status-tap-37681226.js → status-tap-28780caa.js} +2 -2
- package/dist/cjs/x-81a8f51c.js +8 -0
- package/dist/collection/components/accordion/accordion.ios.css +12 -0
- package/dist/collection/components/accordion/accordion.js +35 -15
- package/dist/collection/components/accordion/accordion.md.css +6 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +12 -0
- package/dist/collection/components/accordion-group/accordion-group.js +11 -8
- package/dist/collection/components/accordion-group/accordion-group.md.css +18 -0
- package/dist/collection/components/action-sheet/action-sheet.ios.css +18 -6
- package/dist/collection/components/action-sheet/action-sheet.js +14 -10
- package/dist/collection/components/action-sheet/action-sheet.md.css +17 -5
- package/dist/collection/components/alert/alert.ios.css +19 -1
- package/dist/collection/components/alert/alert.js +19 -42
- package/dist/collection/components/alert/alert.md.css +19 -1
- package/dist/collection/components/app/app.js +14 -6
- package/dist/collection/components/avatar/avatar.ionic.css +271 -0
- package/dist/collection/components/avatar/avatar.ios.css +12 -0
- package/dist/collection/components/avatar/avatar.js +92 -4
- package/dist/collection/components/avatar/avatar.md.css +12 -0
- package/dist/collection/components/back-button/back-button.ios.css +60 -48
- package/dist/collection/components/back-button/back-button.js +27 -19
- package/dist/collection/components/back-button/back-button.md.css +60 -48
- package/dist/collection/components/backdrop/backdrop.ionic.css +153 -0
- package/dist/collection/components/backdrop/backdrop.ios.css +13 -1
- package/dist/collection/components/backdrop/backdrop.js +12 -6
- package/dist/collection/components/backdrop/backdrop.md.css +13 -1
- package/dist/collection/components/badge/badge.ionic.css +251 -0
- package/dist/collection/components/badge/badge.ios.css +106 -3
- package/dist/collection/components/badge/badge.js +75 -8
- package/dist/collection/components/badge/badge.md.css +106 -3
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +20 -8
- package/dist/collection/components/breadcrumb/breadcrumb.js +43 -11
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +20 -8
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +6 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +11 -9
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +6 -0
- package/dist/collection/components/button/button.ionic.css +591 -0
- package/dist/collection/components/button/button.ios.css +129 -36
- package/dist/collection/components/button/button.js +46 -16
- package/dist/collection/components/button/button.md.css +120 -40
- package/dist/collection/components/buttons/buttons.ionic.css +101 -0
- package/dist/collection/components/buttons/buttons.ios.css +59 -7
- package/dist/collection/components/buttons/buttons.js +14 -8
- package/dist/collection/components/buttons/buttons.md.css +55 -3
- package/dist/collection/components/card/card.ionic.css +139 -0
- package/dist/collection/components/card/card.ios.css +65 -14
- package/dist/collection/components/card/card.js +34 -10
- package/dist/collection/components/card/card.md.css +65 -14
- package/dist/collection/components/card-content/card-content.ionic.css +92 -0
- package/dist/collection/components/card-content/card-content.ios.css +16 -1
- package/dist/collection/components/card-content/card-content.js +11 -8
- package/dist/collection/components/card-content/card-content.md.css +16 -1
- package/dist/collection/components/card-header/card-header.ionic.css +89 -0
- package/dist/collection/components/card-header/card-header.ios.css +27 -15
- package/dist/collection/components/card-header/card-header.js +12 -9
- package/dist/collection/components/card-header/card-header.md.css +27 -15
- package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +148 -0
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +12 -0
- package/dist/collection/components/card-subtitle/card-subtitle.js +11 -8
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +12 -0
- package/dist/collection/components/card-title/card-title.ios.css +73 -0
- package/dist/collection/components/card-title/card-title.js +11 -8
- package/dist/collection/components/card-title/card-title.md.css +73 -0
- package/dist/collection/components/checkbox/checkbox.ionic.css +409 -0
- package/dist/collection/components/checkbox/checkbox.ios.css +20 -2
- package/dist/collection/components/checkbox/checkbox.js +63 -14
- package/dist/collection/components/checkbox/checkbox.md.css +21 -3
- package/dist/collection/components/chip/chip.ionic.css +162 -0
- package/dist/collection/components/chip/chip.ios.css +20 -1
- package/dist/collection/components/chip/chip.js +77 -8
- package/dist/collection/components/chip/chip.md.css +20 -1
- package/dist/collection/components/col/col.css +12 -0
- package/dist/collection/components/col/col.js +9 -5
- package/dist/collection/components/content/content.css +8 -2
- package/dist/collection/components/content/content.js +13 -10
- package/dist/collection/components/datetime/datetime.ionic.css +670 -0
- package/dist/collection/components/datetime/datetime.ios.css +232 -73
- package/dist/collection/components/datetime/datetime.js +95 -19
- package/dist/collection/components/datetime/datetime.md.css +232 -73
- package/dist/collection/components/datetime/utils/data.js +3 -3
- package/dist/collection/components/datetime-button/datetime-button.ios.css +6 -0
- package/dist/collection/components/datetime-button/datetime-button.js +11 -8
- package/dist/collection/components/datetime-button/datetime-button.md.css +6 -0
- package/dist/collection/components/fab/fab.css +25 -1
- package/dist/collection/components/fab/fab.js +9 -5
- package/dist/collection/components/fab-button/fab-button.ios.css +18 -6
- package/dist/collection/components/fab-button/fab-button.js +36 -15
- package/dist/collection/components/fab-button/fab-button.md.css +20 -8
- package/dist/collection/components/fab-list/fab-list.css +12 -0
- package/dist/collection/components/fab-list/fab-list.js +9 -5
- package/dist/collection/components/footer/footer.ios.css +14 -2
- package/dist/collection/components/footer/footer.js +17 -14
- package/dist/collection/components/footer/footer.md.css +12 -0
- package/dist/collection/components/grid/grid.css +12 -0
- package/dist/collection/components/grid/grid.js +9 -5
- package/dist/collection/components/header/header.ionic.css +88 -0
- package/dist/collection/components/header/header.ios.css +25 -10
- package/dist/collection/components/header/header.js +38 -15
- package/dist/collection/components/header/header.md.css +23 -8
- package/dist/collection/components/img/img.js +8 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +8 -4
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +12 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +16 -10
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +12 -0
- package/dist/collection/components/input/input.ionic.css +1099 -0
- package/dist/collection/components/input/input.ios.css +21 -2
- package/dist/collection/components/input/input.js +143 -29
- package/dist/collection/components/input/input.md.css +43 -4
- package/dist/collection/components/input-password-toggle/input-password-toggle.common.css +61 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +143 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +48 -12
- package/dist/collection/components/item/item.ionic.css +502 -0
- package/dist/collection/components/item/item.ios.css +108 -69
- package/dist/collection/components/item/item.js +44 -16
- package/dist/collection/components/item/item.md.css +119 -68
- package/dist/collection/components/item-divider/item-divider.ios.css +18 -0
- package/dist/collection/components/item-divider/item-divider.js +11 -8
- package/dist/collection/components/item-divider/item-divider.md.css +18 -0
- package/dist/collection/components/item-group/item-group.ios.css +12 -0
- package/dist/collection/components/item-group/item-group.js +13 -7
- package/dist/collection/components/item-group/item-group.md.css +12 -0
- package/dist/collection/components/item-option/item-option.ionic.css +334 -0
- package/dist/collection/components/item-option/item-option.ios.css +14 -2
- package/dist/collection/components/item-option/item-option.js +43 -8
- package/dist/collection/components/item-option/item-option.md.css +14 -2
- package/dist/collection/components/item-options/item-options.ionic.css +260 -0
- package/dist/collection/components/item-options/item-options.ios.css +18 -0
- package/dist/collection/components/item-options/item-options.js +13 -7
- package/dist/collection/components/item-options/item-options.md.css +18 -0
- package/dist/collection/components/item-sliding/item-sliding.css +6 -0
- package/dist/collection/components/item-sliding/item-sliding.js +8 -4
- package/dist/collection/components/label/label.ios.css +18 -0
- package/dist/collection/components/label/label.js +11 -8
- package/dist/collection/components/label/label.md.css +18 -0
- package/dist/collection/components/list/list.ionic.css +196 -0
- package/dist/collection/components/list/list.ios.css +18 -0
- package/dist/collection/components/list/list.js +47 -9
- package/dist/collection/components/list/list.md.css +20 -2
- package/dist/collection/components/list-header/list-header.ionic.css +238 -0
- package/dist/collection/components/list-header/list-header.ios.css +18 -0
- package/dist/collection/components/list-header/list-header.js +11 -8
- package/dist/collection/components/list-header/list-header.md.css +18 -0
- package/dist/collection/components/loading/loading.ios.css +13 -1
- package/dist/collection/components/loading/loading.js +13 -10
- package/dist/collection/components/loading/loading.md.css +13 -1
- package/dist/collection/components/menu/menu.ios.css +15 -3
- package/dist/collection/components/menu/menu.js +12 -7
- package/dist/collection/components/menu/menu.md.css +15 -3
- package/dist/collection/components/menu-button/menu-button.ionic.css +240 -0
- package/dist/collection/components/menu-button/menu-button.ios.css +48 -14
- package/dist/collection/components/menu-button/menu-button.js +26 -10
- package/dist/collection/components/menu-button/menu-button.md.css +49 -15
- package/dist/collection/components/menu-toggle/menu-toggle.js +8 -5
- package/dist/collection/components/modal/modal.ionic.css +241 -0
- package/dist/collection/components/modal/modal.ios.css +106 -63
- package/dist/collection/components/modal/modal.js +44 -10
- package/dist/collection/components/modal/modal.md.css +106 -63
- package/dist/collection/components/nav/nav.css +7 -1
- package/dist/collection/components/nav/nav.js +11 -5
- package/dist/collection/components/nav-link/nav-link.js +5 -1
- package/dist/collection/components/note/note.ios.css +12 -0
- package/dist/collection/components/note/note.js +11 -8
- package/dist/collection/components/note/note.md.css +12 -0
- package/dist/collection/components/picker/picker.ios.css +15 -3
- package/dist/collection/components/picker/picker.js +8 -5
- package/dist/collection/components/picker/picker.md.css +15 -3
- package/dist/collection/components/picker-column/picker-column.css +9 -2
- package/dist/collection/components/picker-column/picker-column.js +8 -7
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +6 -0
- package/dist/collection/components/picker-column-option/picker-column-option.js +13 -7
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +6 -0
- package/dist/collection/components/picker-legacy/picker.ios.css +13 -1
- package/dist/collection/components/picker-legacy/picker.js +7 -6
- package/dist/collection/components/picker-legacy/picker.md.css +13 -1
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +12 -0
- package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +12 -0
- package/dist/collection/components/popover/popover.ios.css +13 -1
- package/dist/collection/components/popover/popover.js +15 -12
- package/dist/collection/components/popover/popover.md.css +13 -1
- package/dist/collection/components/progress-bar/progress-bar.ios.css +8 -2
- package/dist/collection/components/progress-bar/progress-bar.js +10 -7
- package/dist/collection/components/progress-bar/progress-bar.md.css +8 -2
- package/dist/collection/components/radio/radio.ionic.css +420 -0
- package/dist/collection/components/radio/radio.ios.css +134 -91
- package/dist/collection/components/radio/radio.js +12 -9
- package/dist/collection/components/radio/radio.md.css +134 -91
- package/dist/collection/components/radio-group/radio-group.js +9 -3
- package/dist/collection/components/range/range.ios.css +12 -0
- package/dist/collection/components/range/range.js +12 -9
- package/dist/collection/components/range/range.md.css +12 -0
- package/dist/collection/components/refresher/refresher.ios.css +14 -1
- package/dist/collection/components/refresher/refresher.js +11 -8
- package/dist/collection/components/refresher/refresher.md.css +15 -2
- package/dist/collection/components/refresher-content/refresher-content.js +28 -7
- package/dist/collection/components/reorder/reorder.ios.css +6 -0
- package/dist/collection/components/reorder/reorder.js +33 -6
- package/dist/collection/components/reorder/reorder.md.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.js +8 -4
- package/dist/collection/components/ripple-effect/{ripple-effect.css → ripple-effect.common.css} +7 -1
- package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +154 -0
- package/dist/collection/components/ripple-effect/ripple-effect.js +14 -6
- package/dist/collection/components/route/route.js +4 -0
- package/dist/collection/components/router/router.js +4 -0
- package/dist/collection/components/router-link/router-link.css +8 -2
- package/dist/collection/components/router-link/router-link.js +9 -5
- package/dist/collection/components/router-outlet/router-outlet.css +7 -1
- package/dist/collection/components/router-outlet/router-outlet.js +5 -2
- package/dist/collection/components/row/row.css +12 -0
- package/dist/collection/components/row/row.js +9 -2
- package/dist/collection/components/searchbar/searchbar.ionic.css +347 -0
- package/dist/collection/components/searchbar/searchbar.ios.css +56 -18
- package/dist/collection/components/searchbar/searchbar.js +96 -24
- package/dist/collection/components/searchbar/searchbar.md.css +56 -18
- package/dist/collection/components/segment/segment.ionic.css +119 -0
- package/dist/collection/components/segment/segment.ios.css +45 -2
- package/dist/collection/components/segment/segment.js +15 -25
- package/dist/collection/components/segment/segment.md.css +45 -2
- package/dist/collection/components/segment-button/segment-button.ionic.css +352 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +146 -105
- package/dist/collection/components/segment-button/segment-button.js +12 -9
- package/dist/collection/components/segment-button/segment-button.md.css +148 -107
- package/dist/collection/components/select/select.ios.css +22 -3
- package/dist/collection/components/select/select.js +79 -31
- package/dist/collection/components/select/select.md.css +38 -5
- package/dist/collection/components/select-option/select-option.js +9 -2
- package/dist/collection/components/select-popover/select-popover.ios.css +18 -0
- package/dist/collection/components/select-popover/select-popover.js +12 -4
- package/dist/collection/components/select-popover/select-popover.md.css +18 -0
- package/dist/collection/components/skeleton-text/skeleton-text.css +6 -0
- package/dist/collection/components/skeleton-text/skeleton-text.js +9 -5
- package/dist/collection/components/spinner/spinner.common.css +199 -0
- package/dist/collection/components/spinner/{spinner.css → spinner.ionic.css} +65 -0
- package/dist/collection/components/spinner/spinner.js +46 -6
- package/dist/collection/components/split-pane/split-pane.ios.css +20 -2
- package/dist/collection/components/split-pane/split-pane.js +14 -8
- package/dist/collection/components/split-pane/split-pane.md.css +20 -2
- package/dist/collection/components/tab/tab.js +6 -2
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +254 -0
- package/dist/collection/components/tab-bar/tab-bar.ios.css +71 -43
- package/dist/collection/components/tab-bar/tab-bar.js +65 -10
- package/dist/collection/components/tab-bar/tab-bar.md.css +71 -43
- package/dist/collection/components/tab-button/tab-button.ionic.css +273 -0
- package/dist/collection/components/tab-button/tab-button.ios.css +103 -88
- package/dist/collection/components/tab-button/tab-button.js +11 -8
- package/dist/collection/components/tab-button/tab-button.md.css +103 -88
- package/dist/collection/components/tabs/tabs.css +7 -1
- package/dist/collection/components/tabs/tabs.js +4 -1
- package/dist/collection/components/text/text.css +6 -0
- package/dist/collection/components/text/text.js +7 -6
- package/dist/collection/components/textarea/textarea.ionic.css +806 -0
- package/dist/collection/components/textarea/textarea.ios.css +201 -96
- package/dist/collection/components/textarea/textarea.js +59 -16
- package/dist/collection/components/textarea/textarea.md.css +214 -97
- package/dist/collection/components/thumbnail/thumbnail.css +6 -0
- package/dist/collection/components/thumbnail/thumbnail.js +9 -2
- package/dist/collection/components/title/title.ionic.css +147 -0
- package/dist/collection/components/title/title.ios.css +32 -4
- package/dist/collection/components/title/title.js +13 -7
- package/dist/collection/components/title/title.md.css +32 -4
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ionic.css +348 -0
- package/dist/collection/components/toast/toast.ios.css +74 -35
- package/dist/collection/components/toast/toast.js +15 -11
- package/dist/collection/components/toast/toast.md.css +74 -35
- package/dist/collection/components/toggle/toggle.ionic.css +421 -0
- package/dist/collection/components/toggle/toggle.ios.css +166 -120
- package/dist/collection/components/toggle/toggle.js +73 -18
- package/dist/collection/components/toggle/toggle.md.css +163 -120
- package/dist/collection/components/toolbar/toolbar.ionic.css +235 -0
- package/dist/collection/components/toolbar/toolbar.ios.css +90 -47
- package/dist/collection/components/toolbar/toolbar.js +13 -10
- package/dist/collection/components/toolbar/toolbar.md.css +90 -47
- package/dist/collection/global/ionic-global.js +161 -13
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +2 -1
- package/dist/collection/utils/menu-controller/animations/reveal.js +2 -1
- package/dist/collection/utils/test/playwright/generator.js +48 -23
- package/dist/collection/utils/test/playwright/page/utils/goto.js +14 -5
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +14 -1
- package/dist/collection/utils/transition/ios.transition.js +1 -0
- package/dist/docs.json +6852 -252
- package/dist/esm/{app-globals-5dbb61a5.js → app-globals-c45950ba.js} +1 -1
- package/dist/esm/{button-active-f6503382.js → button-active-873732e5.js} +1 -1
- package/dist/esm/caret-down-3eaad1cc.js +6 -0
- package/dist/esm/caret-left-33424bb0.js +6 -0
- package/dist/esm/caret-right-68d856ad.js +6 -0
- package/dist/esm/{data-ae11fd43.js → data-fde041b0.js} +4 -4
- package/dist/esm/{hardware-back-button-06ef3c3e.js → hardware-back-button-2bb5194f.js} +2 -2
- package/dist/esm/{index-3ad7f18b.js → index-29be96b3.js} +4 -5
- package/dist/esm/{index-fe1782b1.js → index-2d8b49ae.js} +9 -8
- package/dist/esm/{index-5cc724f3.js → index-56cab0d6.js} +1 -1
- package/dist/esm/{index-28849c61.js → index-723c0e5d.js} +1 -1
- package/dist/esm/{index-e2cf2ceb.js → index-d997525d.js} +1 -1
- package/dist/esm/index.js +8 -9
- package/dist/esm/{input-shims-0314bbe5.js → input-shims-59f93016.js} +3 -2
- package/dist/esm/{input.utils-09c71bc7.js → input.utils-8755322f.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +40 -15
- package/dist/esm/ion-action-sheet.entry.js +17 -13
- package/dist/esm/ion-alert.entry.js +22 -41
- package/dist/esm/ion-app_8.entry.js +84 -62
- package/dist/esm/ion-avatar_3.entry.js +93 -10
- package/dist/esm/ion-back-button.entry.js +29 -20
- package/dist/esm/ion-backdrop.entry.js +11 -7
- package/dist/esm/ion-breadcrumb_2.entry.js +53 -16
- package/dist/esm/ion-button_2.entry.js +42 -12
- package/dist/esm/ion-card_5.entry.js +51 -28
- package/dist/esm/ion-checkbox.entry.js +28 -13
- package/dist/esm/ion-chip.entry.js +43 -8
- package/dist/esm/ion-col_3.entry.js +14 -11
- package/dist/esm/ion-datetime-button.entry.js +11 -8
- package/dist/esm/ion-datetime_3.entry.js +108 -33
- package/dist/esm/ion-fab_3.entry.js +42 -20
- package/dist/esm/ion-img.entry.js +6 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +17 -14
- package/dist/esm/ion-input-password-toggle.entry.js +53 -15
- package/dist/esm/ion-input.entry.js +117 -22
- package/dist/esm/ion-item-option_3.entry.js +39 -17
- package/dist/esm/ion-item_8.entry.js +112 -41
- package/dist/esm/ion-loading.entry.js +15 -12
- package/dist/esm/ion-menu_3.entry.js +45 -25
- package/dist/esm/ion-modal.entry.js +32 -15
- package/dist/esm/ion-nav_2.entry.js +10 -9
- package/dist/esm/ion-picker-column-option.entry.js +10 -6
- package/dist/esm/ion-picker-column.entry.js +8 -8
- package/dist/esm/ion-picker.entry.js +9 -5
- package/dist/esm/ion-popover.entry.js +15 -12
- package/dist/esm/ion-progress-bar.entry.js +11 -7
- package/dist/esm/ion-radio_2.entry.js +17 -11
- package/dist/esm/ion-range.entry.js +12 -9
- package/dist/esm/ion-refresher_2.entry.js +37 -16
- package/dist/esm/ion-reorder_2.entry.js +35 -11
- package/dist/esm/ion-ripple-effect.entry.js +18 -8
- package/dist/esm/ion-route_4.entry.js +7 -7
- package/dist/esm/ion-searchbar.entry.js +93 -17
- package/dist/esm/ion-segment_2.entry.js +27 -32
- package/dist/esm/ion-select_3.entry.js +91 -34
- package/dist/esm/ion-spinner.entry.js +33 -8
- package/dist/esm/ion-split-pane.entry.js +13 -9
- package/dist/esm/ion-tab-bar_2.entry.js +40 -15
- package/dist/esm/ion-tab_2.entry.js +5 -5
- package/dist/esm/ion-text.entry.js +6 -6
- package/dist/esm/ion-textarea.entry.js +39 -14
- package/dist/esm/ion-toast.entry.js +18 -14
- package/dist/esm/ion-toggle.entry.js +77 -19
- package/dist/esm/ionic-global-a8cbb8b0.js +408 -0
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-4ee1a3af.js → ios.transition-4706aa28.js} +4 -4
- package/dist/esm/list-6524700c.js +6 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-5106a0d2.js → md.transition-20ad6960.js} +3 -4
- package/dist/esm/{overlays-9c75ec54.js → overlays-40e86f77.js} +2 -3
- package/dist/esm/{status-tap-f472b09f.js → status-tap-0433b6a6.js} +3 -3
- package/dist/esm/x-a64bcd9f.js +6 -0
- package/dist/esm-es5/app-globals-c45950ba.js +4 -0
- package/dist/esm-es5/{button-active-f6503382.js → button-active-873732e5.js} +1 -1
- package/dist/esm-es5/caret-down-3eaad1cc.js +4 -0
- package/dist/esm-es5/caret-left-33424bb0.js +4 -0
- package/dist/esm-es5/caret-right-68d856ad.js +4 -0
- package/dist/esm-es5/data-fde041b0.js +4 -0
- package/dist/esm-es5/{hardware-back-button-06ef3c3e.js → hardware-back-button-2bb5194f.js} +1 -1
- package/dist/esm-es5/index-29be96b3.js +4 -0
- package/dist/esm-es5/index-2d8b49ae.js +4 -0
- package/dist/esm-es5/index-56cab0d6.js +4 -0
- package/dist/esm-es5/{index-28849c61.js → index-723c0e5d.js} +1 -1
- package/dist/esm-es5/{index-e2cf2ceb.js → index-d997525d.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-59f93016.js +4 -0
- package/dist/esm-es5/input.utils-8755322f.js +4 -0
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic-global-a8cbb8b0.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-4706aa28.js +4 -0
- package/dist/esm-es5/list-6524700c.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-20ad6960.js +4 -0
- package/dist/esm-es5/overlays-40e86f77.js +4 -0
- package/dist/esm-es5/status-tap-0433b6a6.js +4 -0
- package/dist/esm-es5/x-a64bcd9f.js +4 -0
- package/dist/html.html-data.json +2186 -114
- 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-00093fc0.entry.js +4 -0
- package/dist/ionic/p-01d80901.system.js +4 -0
- package/dist/ionic/p-0328213e.system.entry.js +4 -0
- package/dist/ionic/p-06ec4706.js +4 -0
- package/dist/ionic/{p-d60342e3.js → p-0b120b1d.js} +1 -1
- package/dist/ionic/{p-ecceeb90.js → p-0bfbe380.js} +1 -1
- package/dist/ionic/p-0c9a7872.system.entry.js +4 -0
- package/dist/ionic/p-0cd67533.js +4 -0
- package/dist/ionic/p-0d86eb56.system.entry.js +4 -0
- package/dist/ionic/p-0d945ebd.entry.js +4 -0
- package/dist/ionic/{p-25180df3.system.js → p-0fa218e9.system.js} +1 -1
- package/dist/ionic/p-0fd7a8cb.system.entry.js +4 -0
- package/dist/ionic/p-10dacd80.entry.js +4 -0
- package/dist/ionic/{p-1e955a45.system.js → p-115d74cd.system.js} +1 -1
- package/dist/ionic/p-12299223.system.entry.js +4 -0
- package/dist/ionic/p-175821bc.entry.js +4 -0
- package/dist/ionic/p-19c89aeb.system.entry.js +4 -0
- package/dist/ionic/p-1f6507e4.entry.js +4 -0
- package/dist/ionic/p-1f7b26cc.entry.js +4 -0
- package/dist/ionic/{p-f687573e.system.js → p-1fd1d157.system.js} +1 -1
- package/dist/ionic/p-2282c878.system.entry.js +4 -0
- package/dist/ionic/p-243adf8c.js +4 -0
- package/dist/ionic/p-26313905.system.entry.js +4 -0
- package/dist/ionic/p-27bb59a9.system.entry.js +4 -0
- package/dist/ionic/p-28be0cf9.js +4 -0
- package/dist/ionic/p-2a844e7c.entry.js +4 -0
- package/dist/ionic/{p-58d5df0c.system.entry.js → p-2b98e44b.system.entry.js} +1 -1
- package/dist/ionic/p-2fd3e890.system.entry.js +4 -0
- package/dist/ionic/p-30c8168f.system.entry.js +4 -0
- package/dist/ionic/p-3281aaeb.entry.js +4 -0
- package/dist/ionic/p-32f4a0b9.entry.js +4 -0
- package/dist/ionic/p-35b66bbc.system.entry.js +4 -0
- package/dist/ionic/p-36db29d9.system.js +4 -0
- package/dist/ionic/p-3c1b93db.system.entry.js +4 -0
- package/dist/ionic/p-3dfa54e6.js +4 -0
- package/dist/ionic/{p-c0b0a426.system.entry.js → p-3efc5d47.system.entry.js} +2 -2
- package/dist/ionic/p-429dd2b5.system.js +4 -0
- package/dist/ionic/p-432e6521.system.entry.js +4 -0
- package/dist/ionic/{p-b9d7015f.entry.js → p-44c281df.entry.js} +1 -1
- package/dist/ionic/p-46f790b3.entry.js +4 -0
- package/dist/ionic/p-48cd1ced.entry.js +4 -0
- package/dist/ionic/{p-0c06e09b.system.js → p-4c38fcdd.system.js} +1 -1
- package/dist/ionic/{p-5da94421.system.js → p-4ccbf702.system.js} +2 -2
- package/dist/ionic/p-4de02483.entry.js +4 -0
- package/dist/ionic/p-4e6c9480.system.entry.js +4 -0
- package/dist/ionic/p-4e7c68a5.entry.js +4 -0
- package/dist/ionic/{p-d743e981.js → p-5771eacd.js} +1 -1
- package/dist/ionic/{p-da2b833b.js → p-58f16ef6.js} +1 -1
- package/dist/ionic/p-5a583b1a.entry.js +4 -0
- package/dist/ionic/p-5b57d327.system.js +4 -0
- package/dist/ionic/p-5c766439.entry.js +4 -0
- package/dist/ionic/p-5c8fa89d.system.js +4 -0
- package/dist/ionic/p-5cc80c49.system.js +4 -0
- package/dist/ionic/p-607c9c33.js +4 -0
- package/dist/ionic/p-614c3822.system.js +4 -0
- package/dist/ionic/p-614d974e.system.entry.js +4 -0
- package/dist/ionic/p-62836b01.js +4 -0
- package/dist/ionic/p-63fe75bc.js +4 -0
- package/dist/ionic/p-664480c8.system.entry.js +4 -0
- package/dist/ionic/p-6a0dd6bc.js +4 -0
- package/dist/ionic/p-6b6ee9ca.system.entry.js +4 -0
- package/dist/ionic/p-6c555957.system.entry.js +4 -0
- package/dist/ionic/p-6ca5f4da.system.entry.js +4 -0
- package/dist/ionic/{p-96cc4814.js → p-6d7c455f.js} +1 -1
- package/dist/ionic/p-6f418011.system.entry.js +4 -0
- package/dist/ionic/p-713374f2.entry.js +4 -0
- package/dist/ionic/p-727aa804.system.entry.js +4 -0
- package/dist/ionic/p-737d64f9.entry.js +4 -0
- package/dist/ionic/p-77c3fe69.entry.js +4 -0
- package/dist/ionic/p-7986665a.system.entry.js +4 -0
- package/dist/ionic/p-7b341352.js +4 -0
- package/dist/ionic/p-7c9d5354.entry.js +4 -0
- package/dist/ionic/p-7ccf7f29.entry.js +4 -0
- package/dist/ionic/p-7dfa7ebc.entry.js +4 -0
- package/dist/ionic/p-80ff4e55.entry.js +4 -0
- package/dist/ionic/p-82028c01.system.entry.js +4 -0
- package/dist/ionic/{p-7458862e.system.entry.js → p-8285d686.system.entry.js} +1 -1
- package/dist/ionic/p-82d80c8f.entry.js +4 -0
- package/dist/ionic/{p-d836d43e.js → p-83948e48.js} +1 -1
- package/dist/ionic/p-83e4478f.entry.js +4 -0
- package/dist/ionic/p-854b1e11.system.entry.js +4 -0
- package/dist/ionic/p-87365857.system.entry.js +4 -0
- package/dist/ionic/p-87a81a63.system.entry.js +4 -0
- package/dist/ionic/p-916f6c1d.entry.js +4 -0
- package/dist/ionic/p-927b5898.entry.js +4 -0
- package/dist/ionic/p-93cf45ec.system.entry.js +4 -0
- package/dist/ionic/p-9493acfe.entry.js +4 -0
- package/dist/ionic/p-9805b25a.system.entry.js +4 -0
- package/dist/ionic/p-9c8e5275.system.entry.js +4 -0
- package/dist/ionic/p-a1b80dd6.system.js +4 -0
- package/dist/ionic/{p-372ae7f4.system.js → p-a4519424.system.js} +1 -1
- package/dist/ionic/p-a8a04757.system.entry.js +4 -0
- package/dist/ionic/p-a9af4103.js +4 -0
- package/dist/ionic/p-b24c259e.entry.js +4 -0
- package/dist/ionic/p-b33b643b.entry.js +4 -0
- package/dist/ionic/{p-afecb188.entry.js → p-b6d72f12.entry.js} +1 -1
- package/dist/ionic/p-ba45ad7d.entry.js +4 -0
- package/dist/ionic/p-bc8e48de.entry.js +4 -0
- package/dist/ionic/p-bcf5573f.entry.js +4 -0
- package/dist/ionic/p-bcfa9bb5.system.entry.js +4 -0
- package/dist/ionic/p-bd7fb7b4.js +4 -0
- package/dist/ionic/p-bdd4e026.entry.js +4 -0
- package/dist/ionic/p-bef12497.entry.js +4 -0
- package/dist/ionic/p-bf673222.system.entry.js +4 -0
- package/dist/ionic/p-c248c88d.system.js +4 -0
- package/dist/ionic/{p-01186920.system.entry.js → p-c32229bb.system.entry.js} +1 -1
- package/dist/ionic/{p-9ea607bd.system.js → p-c4ae4d32.system.js} +2 -2
- package/dist/ionic/p-c628bdcb.system.js +4 -0
- package/dist/ionic/p-c6f1b434.js +4 -0
- package/dist/ionic/p-ca3bf740.system.entry.js +4 -0
- package/dist/ionic/p-cb3dc48f.entry.js +4 -0
- package/dist/ionic/p-cd40baea.entry.js +4 -0
- package/dist/ionic/p-cde755fc.system.entry.js +4 -0
- package/dist/ionic/p-ce5c2902.system.js +4 -0
- package/dist/ionic/p-d05aabdf.system.entry.js +4 -0
- package/dist/ionic/p-d3fd2c98.entry.js +4 -0
- package/dist/ionic/p-d53e0b4b.entry.js +4 -0
- package/dist/ionic/p-d6eda1bb.system.entry.js +4 -0
- package/dist/ionic/p-d79ed7b3.system.js +4 -0
- package/dist/ionic/p-d878447e.entry.js +4 -0
- package/dist/ionic/p-db63907a.system.entry.js +4 -0
- package/dist/ionic/p-dbb02a23.system.entry.js +4 -0
- package/dist/ionic/p-dd79c031.js +4 -0
- package/dist/ionic/p-dde3a646.entry.js +4 -0
- package/dist/ionic/p-dfd995cc.system.entry.js +4 -0
- package/dist/ionic/p-e050dad9.system.js +4 -0
- package/dist/ionic/p-e259208f.entry.js +4 -0
- package/dist/ionic/p-e2bd011e.js +4 -0
- package/dist/ionic/p-e34e037d.system.entry.js +4 -0
- package/dist/ionic/p-e3b70846.system.js +4 -0
- package/dist/ionic/p-e5333f3f.entry.js +4 -0
- package/dist/ionic/p-e61c9280.entry.js +4 -0
- package/dist/ionic/p-ea16a842.entry.js +4 -0
- package/dist/ionic/p-eafeb1ff.system.js +4 -0
- package/dist/ionic/{p-c41ac815.entry.js → p-ed419a44.entry.js} +1 -1
- package/dist/ionic/{p-98231c01.system.entry.js → p-eef611dc.system.entry.js} +1 -1
- package/dist/ionic/p-f3cfb48a.entry.js +4 -0
- package/dist/ionic/p-f4ad1cf6.system.entry.js +4 -0
- package/dist/ionic/{p-3c8e5c23.system.js → p-f7712c17.system.js} +1 -1
- package/dist/ionic/p-f9782d44.system.entry.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +4 -2
- package/dist/types/components/accordion-group/accordion-group.d.ts +2 -1
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +3 -7
- package/dist/types/components/action-sheet/action-sheet.d.ts +3 -2
- package/dist/types/components/alert/alert-interface.d.ts +3 -7
- package/dist/types/components/alert/alert.d.ts +3 -2
- package/dist/types/components/app/app.d.ts +5 -0
- package/dist/types/components/avatar/avatar.d.ts +28 -0
- package/dist/types/components/back-button/back-button.d.ts +2 -1
- package/dist/types/components/backdrop/backdrop.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +23 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +4 -1
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +15 -4
- package/dist/types/components/buttons/buttons.d.ts +5 -1
- package/dist/types/components/card/card.d.ts +8 -1
- package/dist/types/components/card-content/card-content.d.ts +2 -1
- package/dist/types/components/card-header/card-header.d.ts +3 -2
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +2 -1
- package/dist/types/components/card-title/card-title.d.ts +2 -1
- package/dist/types/components/checkbox/checkbox.d.ts +14 -4
- package/dist/types/components/chip/chip.d.ts +19 -1
- package/dist/types/components/col/col.d.ts +4 -0
- package/dist/types/components/content/content.d.ts +3 -0
- package/dist/types/components/datetime/datetime.d.ts +26 -1
- package/dist/types/components/datetime/utils/data.d.ts +3 -3
- package/dist/types/components/datetime-button/datetime-button.d.ts +2 -1
- package/dist/types/components/fab/fab.d.ts +4 -0
- package/dist/types/components/fab-button/fab-button.d.ts +5 -3
- package/dist/types/components/fab-list/fab-list.d.ts +4 -0
- package/dist/types/components/footer/footer.d.ts +4 -3
- package/dist/types/components/grid/grid.d.ts +4 -0
- package/dist/types/components/header/header.d.ts +9 -3
- package/dist/types/components/img/img.d.ts +3 -0
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +4 -0
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +4 -0
- package/dist/types/components/input/input.d.ts +31 -5
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +2 -0
- package/dist/types/components/item/item.d.ts +11 -4
- package/dist/types/components/item-divider/item-divider.d.ts +2 -1
- package/dist/types/components/item-group/item-group.d.ts +4 -0
- package/dist/types/components/item-option/item-option.d.ts +11 -1
- package/dist/types/components/item-options/item-options.d.ts +4 -0
- package/dist/types/components/item-sliding/item-sliding.d.ts +4 -0
- package/dist/types/components/label/label.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +15 -1
- package/dist/types/components/list-header/list-header.d.ts +2 -1
- package/dist/types/components/loading/loading-interface.d.ts +2 -7
- package/dist/types/components/loading/loading.d.ts +3 -2
- package/dist/types/components/menu/menu.d.ts +3 -0
- package/dist/types/components/menu-button/menu-button.d.ts +3 -1
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +3 -0
- package/dist/types/components/modal/modal-interface.d.ts +3 -7
- package/dist/types/components/modal/modal.d.ts +11 -1
- package/dist/types/components/nav/nav-interface.d.ts +9 -1
- package/dist/types/components/nav/nav.d.ts +5 -1
- package/dist/types/components/nav-link/nav-link.d.ts +4 -0
- package/dist/types/components/note/note.d.ts +2 -1
- package/dist/types/components/picker/picker.d.ts +2 -1
- package/dist/types/components/picker-column/picker-column.d.ts +2 -1
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +4 -0
- package/dist/types/components/picker-legacy/picker.d.ts +2 -1
- package/dist/types/components/popover/popover-interface.d.ts +3 -6
- package/dist/types/components/popover/popover.d.ts +6 -5
- package/dist/types/components/progress-bar/progress-bar.d.ts +2 -1
- package/dist/types/components/radio/radio.d.ts +2 -1
- package/dist/types/components/radio-group/radio-group.d.ts +4 -0
- package/dist/types/components/range/range.d.ts +2 -1
- package/dist/types/components/refresher/refresher.d.ts +2 -1
- package/dist/types/components/refresher-content/refresher-content.d.ts +4 -0
- package/dist/types/components/reorder/reorder.d.ts +9 -0
- package/dist/types/components/reorder-group/reorder-group.d.ts +4 -0
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +4 -0
- package/dist/types/components/route/route.d.ts +4 -0
- package/dist/types/components/router/router.d.ts +4 -0
- package/dist/types/components/router-link/router-link.d.ts +4 -0
- package/dist/types/components/router-outlet/router-outlet.d.ts +4 -1
- package/dist/types/components/row/row.d.ts +4 -0
- package/dist/types/components/searchbar/searchbar.d.ts +30 -8
- package/dist/types/components/segment/segment.d.ts +2 -1
- package/dist/types/components/segment-button/segment-button.d.ts +2 -1
- package/dist/types/components/select/select.d.ts +20 -5
- package/dist/types/components/select-option/select-option.d.ts +4 -0
- package/dist/types/components/select-popover/select-popover.d.ts +3 -0
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +4 -0
- package/dist/types/components/spinner/spinner.d.ts +15 -0
- package/dist/types/components/split-pane/split-pane.d.ts +4 -0
- package/dist/types/components/tab/tab.d.ts +4 -0
- package/dist/types/components/tab-bar/tab-bar.d.ts +22 -2
- package/dist/types/components/tab-button/tab-button.d.ts +2 -1
- package/dist/types/components/tabs/tabs.d.ts +3 -0
- package/dist/types/components/text/text.d.ts +2 -1
- package/dist/types/components/textarea/textarea.d.ts +16 -4
- package/dist/types/components/thumbnail/thumbnail.d.ts +4 -0
- package/dist/types/components/title/title.d.ts +4 -0
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +3 -7
- package/dist/types/components/toast/toast.d.ts +3 -2
- package/dist/types/components/toggle/toggle.d.ts +15 -1
- package/dist/types/components/toolbar/toolbar.d.ts +4 -3
- package/dist/types/components.d.ts +1346 -181
- package/dist/types/global/ionic-global.d.ts +25 -2
- package/dist/types/interface.d.ts +3 -0
- package/dist/types/utils/config.d.ts +99 -2
- package/dist/types/utils/overlays-interface.d.ts +31 -1
- package/dist/types/utils/test/playwright/generator.d.ts +31 -2
- package/hydrate/index.js +2035 -700
- package/hydrate/index.mjs +2035 -700
- package/package.json +9 -5
- package/components/index9.js +0 -167
- package/dist/cjs/index-5915f9b3.js +0 -38
- package/dist/cjs/ionic-global-d9a8bb5b.js +0 -237
- package/dist/esm/index-9b0d46f4.js +0 -34
- package/dist/esm/ionic-global-c81d82ab.js +0 -231
- package/dist/esm-es5/app-globals-5dbb61a5.js +0 -4
- package/dist/esm-es5/data-ae11fd43.js +0 -4
- package/dist/esm-es5/index-3ad7f18b.js +0 -4
- package/dist/esm-es5/index-5cc724f3.js +0 -4
- package/dist/esm-es5/index-9b0d46f4.js +0 -4
- package/dist/esm-es5/index-fe1782b1.js +0 -4
- package/dist/esm-es5/input-shims-0314bbe5.js +0 -4
- package/dist/esm-es5/input.utils-09c71bc7.js +0 -4
- package/dist/esm-es5/ionic-global-c81d82ab.js +0 -4
- package/dist/esm-es5/ios.transition-4ee1a3af.js +0 -4
- package/dist/esm-es5/md.transition-5106a0d2.js +0 -4
- package/dist/esm-es5/overlays-9c75ec54.js +0 -4
- package/dist/esm-es5/status-tap-f472b09f.js +0 -4
- package/dist/ionic/p-0303d0f8.js +0 -4
- package/dist/ionic/p-0574e87e.js +0 -4
- package/dist/ionic/p-06e07c7b.system.entry.js +0 -4
- package/dist/ionic/p-06e58c4e.js +0 -4
- package/dist/ionic/p-06fee233.js +0 -4
- package/dist/ionic/p-081a4ce4.entry.js +0 -4
- package/dist/ionic/p-1136a842.entry.js +0 -4
- package/dist/ionic/p-15e76dd1.entry.js +0 -4
- package/dist/ionic/p-17474161.system.js +0 -4
- package/dist/ionic/p-19ec4f42.entry.js +0 -4
- package/dist/ionic/p-1acf0142.entry.js +0 -4
- package/dist/ionic/p-1e010627.system.entry.js +0 -4
- package/dist/ionic/p-1e67b266.system.entry.js +0 -4
- package/dist/ionic/p-2097482f.entry.js +0 -4
- package/dist/ionic/p-21e5e7e4.js +0 -4
- package/dist/ionic/p-22c020db.system.entry.js +0 -4
- package/dist/ionic/p-2507278c.system.entry.js +0 -4
- package/dist/ionic/p-2690b1de.js +0 -4
- package/dist/ionic/p-2799c6d3.system.entry.js +0 -4
- package/dist/ionic/p-2e46590d.system.entry.js +0 -4
- package/dist/ionic/p-2eba228d.system.entry.js +0 -4
- package/dist/ionic/p-322c5fb4.system.js +0 -4
- package/dist/ionic/p-3254d107.entry.js +0 -4
- package/dist/ionic/p-347ac2ef.system.entry.js +0 -4
- package/dist/ionic/p-3b323c61.entry.js +0 -4
- package/dist/ionic/p-3cd3704c.entry.js +0 -4
- package/dist/ionic/p-41b6ad85.system.entry.js +0 -4
- package/dist/ionic/p-42eee9d3.system.entry.js +0 -4
- package/dist/ionic/p-4439fc2a.entry.js +0 -4
- package/dist/ionic/p-449ec9f0.system.entry.js +0 -4
- package/dist/ionic/p-45693d7e.entry.js +0 -4
- package/dist/ionic/p-469e0773.entry.js +0 -4
- package/dist/ionic/p-52d7a191.entry.js +0 -4
- package/dist/ionic/p-53b77274.system.entry.js +0 -4
- package/dist/ionic/p-567de071.system.entry.js +0 -4
- package/dist/ionic/p-5823babc.system.entry.js +0 -4
- package/dist/ionic/p-5988556c.system.entry.js +0 -4
- package/dist/ionic/p-5a6d132d.entry.js +0 -4
- package/dist/ionic/p-5ad5dd4e.entry.js +0 -4
- package/dist/ionic/p-5f9b0722.entry.js +0 -4
- package/dist/ionic/p-61e494dc.system.entry.js +0 -4
- package/dist/ionic/p-63b0abde.system.entry.js +0 -4
- package/dist/ionic/p-66640ff7.system.entry.js +0 -4
- package/dist/ionic/p-68642392.entry.js +0 -4
- package/dist/ionic/p-69066a53.js +0 -4
- package/dist/ionic/p-6d32975a.entry.js +0 -4
- package/dist/ionic/p-7740e32c.system.js +0 -4
- package/dist/ionic/p-78feb35d.entry.js +0 -4
- package/dist/ionic/p-7b9a2b23.entry.js +0 -4
- package/dist/ionic/p-7ed1657c.system.entry.js +0 -4
- package/dist/ionic/p-802b4ce7.entry.js +0 -4
- package/dist/ionic/p-850a3c12.entry.js +0 -4
- package/dist/ionic/p-87a5f97a.system.entry.js +0 -4
- package/dist/ionic/p-88e63c7d.js +0 -4
- package/dist/ionic/p-8ebd3f36.system.entry.js +0 -4
- package/dist/ionic/p-90df71aa.system.entry.js +0 -4
- package/dist/ionic/p-927f180c.system.entry.js +0 -4
- package/dist/ionic/p-92a96c69.system.entry.js +0 -4
- package/dist/ionic/p-937a7e21.entry.js +0 -4
- package/dist/ionic/p-9644984a.entry.js +0 -4
- package/dist/ionic/p-985a7e17.system.entry.js +0 -4
- package/dist/ionic/p-98871496.system.js +0 -4
- package/dist/ionic/p-98e71235.system.entry.js +0 -4
- package/dist/ionic/p-9c901780.entry.js +0 -4
- package/dist/ionic/p-9df2c6fb.entry.js +0 -4
- package/dist/ionic/p-9ee1e8a6.entry.js +0 -4
- package/dist/ionic/p-9f18a6cf.entry.js +0 -4
- package/dist/ionic/p-9f3008d4.system.js +0 -4
- package/dist/ionic/p-9fa07aec.entry.js +0 -4
- package/dist/ionic/p-a440397c.js +0 -4
- package/dist/ionic/p-a4565eb5.system.js +0 -4
- package/dist/ionic/p-a49378bb.system.entry.js +0 -4
- package/dist/ionic/p-a4d51b8d.system.js +0 -4
- package/dist/ionic/p-a61cba41.entry.js +0 -4
- package/dist/ionic/p-a69b9fc5.system.js +0 -4
- package/dist/ionic/p-a6d7bc6c.entry.js +0 -4
- package/dist/ionic/p-adcb6def.system.entry.js +0 -4
- package/dist/ionic/p-adceb282.system.entry.js +0 -4
- package/dist/ionic/p-b14210d4.system.entry.js +0 -4
- package/dist/ionic/p-b398aa77.entry.js +0 -4
- package/dist/ionic/p-bb0db172.entry.js +0 -4
- package/dist/ionic/p-bc36ad98.system.entry.js +0 -4
- package/dist/ionic/p-bdad26e3.entry.js +0 -4
- package/dist/ionic/p-bfceff7f.system.entry.js +0 -4
- package/dist/ionic/p-c29f8157.system.entry.js +0 -4
- package/dist/ionic/p-c7b03316.entry.js +0 -4
- package/dist/ionic/p-c9f3a539.entry.js +0 -4
- package/dist/ionic/p-ca065903.system.entry.js +0 -4
- package/dist/ionic/p-cac0e0b3.system.entry.js +0 -4
- package/dist/ionic/p-cfab4f20.entry.js +0 -4
- package/dist/ionic/p-d04481d7.entry.js +0 -4
- package/dist/ionic/p-d18ab582.system.entry.js +0 -4
- package/dist/ionic/p-d1db10ed.system.entry.js +0 -4
- package/dist/ionic/p-d6841eac.js +0 -4
- package/dist/ionic/p-d77e12ca.entry.js +0 -4
- package/dist/ionic/p-d7aa6b00.entry.js +0 -4
- package/dist/ionic/p-da074ff7.entry.js +0 -4
- package/dist/ionic/p-de930745.entry.js +0 -4
- package/dist/ionic/p-dfb78785.system.js +0 -4
- package/dist/ionic/p-e2fb0d06.system.entry.js +0 -4
- package/dist/ionic/p-e3f13b08.js +0 -4
- package/dist/ionic/p-e4ee80be.system.entry.js +0 -4
- package/dist/ionic/p-eba29931.entry.js +0 -4
- package/dist/ionic/p-eba81f15.entry.js +0 -4
- package/dist/ionic/p-efaffe74.entry.js +0 -4
- package/dist/ionic/p-f1acf541.system.entry.js +0 -4
- package/dist/ionic/p-f3102647.system.entry.js +0 -4
- package/dist/ionic/p-f43382c8.system.entry.js +0 -4
- package/dist/ionic/p-f9a53abb.system.js +0 -4
- package/dist/ionic/p-ff4b7e40.system.js +0 -4
- /package/dist/collection/components/{input-password-toggle/input-password-toggle.css → refresher-content/refresher-content.css} +0 -0
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
6
|
-
import {
|
|
6
|
+
import { d as getIonTheme } from './ionic-global.js';
|
|
7
|
+
|
|
8
|
+
const ionicBreadcrumbsMdCss = ":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}";
|
|
9
|
+
const IonBreadcrumbsIonicStyle0 = ionicBreadcrumbsMdCss;
|
|
7
10
|
|
|
8
11
|
const breadcrumbsIosCss = ":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;-ms-flex-pack:center;justify-content:center}";
|
|
9
12
|
const IonBreadcrumbsIosStyle0 = breadcrumbsIosCss;
|
|
@@ -111,13 +114,13 @@ const Breadcrumbs = /*@__PURE__*/ proxyCustomElement(class Breadcrumbs extends H
|
|
|
111
114
|
}
|
|
112
115
|
render() {
|
|
113
116
|
const { color, collapsed } = this;
|
|
114
|
-
const
|
|
115
|
-
return (h(Host, { key: '
|
|
116
|
-
[
|
|
117
|
+
const theme = getIonTheme(this);
|
|
118
|
+
return (h(Host, { key: 'ff9f05f4d7e09134be8853dd9bd21855ee312994', class: createColorClasses(color, {
|
|
119
|
+
[theme]: true,
|
|
117
120
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
118
121
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
119
122
|
'breadcrumbs-collapsed': collapsed,
|
|
120
|
-
}) }, h("slot", { key: '
|
|
123
|
+
}) }, h("slot", { key: 'bfdb6f9f26b77b378040e614948e628d42461c84', onSlotchange: this.slotChanged })));
|
|
121
124
|
}
|
|
122
125
|
get el() { return this; }
|
|
123
126
|
static get watchers() { return {
|
|
@@ -126,6 +129,7 @@ const Breadcrumbs = /*@__PURE__*/ proxyCustomElement(class Breadcrumbs extends H
|
|
|
126
129
|
"itemsAfterCollapse": ["maxItemsChanged"]
|
|
127
130
|
}; }
|
|
128
131
|
static get style() { return {
|
|
132
|
+
ionic: IonBreadcrumbsIonicStyle0,
|
|
129
133
|
ios: IonBreadcrumbsIosStyle0,
|
|
130
134
|
md: IonBreadcrumbsMdStyle0
|
|
131
135
|
}; }
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import {
|
|
5
|
+
import { d as getIonTheme } from './ionic-global.js';
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const cardContentIonicCss = "ion-card-content{position:relative}.card-content-ionic{-webkit-padding-start:var(--ionic-space-400, 16px);padding-inline-start:var(--ionic-space-400, 16px);-webkit-padding-end:var(--ionic-space-400, 16px);padding-inline-end:var(--ionic-space-400, 16px);padding-top:var(--ionic-space-400, 16px);padding-bottom:var(--ionic-space-400, 16px);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:var(--ionic-font-size-350, 0.875rem);line-height:var(--ionic-line-height-600, 24px);gap:var(--ionic-space-200, 8px)}.card-content-ionic img{margin-left:0;margin-right:0;margin-top:var(--ionic-space-200, 8px);margin-bottom:var(--ionic-space-200, 8px)}ion-card-header+.card-content-ionic{padding-top:0}";
|
|
8
|
+
const IonCardContentIonicStyle0 = cardContentIonicCss;
|
|
9
|
+
|
|
10
|
+
const cardContentIosCss = "ion-card-content{position:relative}ion-card-content{display:block}.card-content-ios{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;font-size:1rem;line-height:1.4}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem}ion-card-header+.card-content-ios{padding-top:0}";
|
|
8
11
|
const IonCardContentIosStyle0 = cardContentIosCss;
|
|
9
12
|
|
|
10
|
-
const cardContentMdCss = "ion-card-content{
|
|
13
|
+
const cardContentMdCss = "ion-card-content{position:relative}ion-card-content{display:block}.card-content-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:13px;padding-bottom:13px;font-size:0.875rem;line-height:1.5}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}";
|
|
11
14
|
const IonCardContentMdStyle0 = cardContentMdCss;
|
|
12
15
|
|
|
13
16
|
const CardContent = /*@__PURE__*/ proxyCustomElement(class CardContent extends HTMLElement {
|
|
@@ -16,14 +19,15 @@ const CardContent = /*@__PURE__*/ proxyCustomElement(class CardContent extends H
|
|
|
16
19
|
this.__registerHost();
|
|
17
20
|
}
|
|
18
21
|
render() {
|
|
19
|
-
const
|
|
20
|
-
return (h(Host, { key: '
|
|
21
|
-
[
|
|
22
|
+
const theme = getIonTheme(this);
|
|
23
|
+
return (h(Host, { key: 'ed8e7ee07b2ccd99427025ff4a796f5602fdd666', class: {
|
|
24
|
+
[theme]: true,
|
|
22
25
|
// Used internally for styling
|
|
23
|
-
[`card-content-${
|
|
26
|
+
[`card-content-${theme}`]: true,
|
|
24
27
|
} }));
|
|
25
28
|
}
|
|
26
29
|
static get style() { return {
|
|
30
|
+
ionic: IonCardContentIonicStyle0,
|
|
27
31
|
ios: IonCardContentIosStyle0,
|
|
28
32
|
md: IonCardContentMdStyle0
|
|
29
33
|
}; }
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { c as createColorClasses } from './theme.js';
|
|
6
|
-
import {
|
|
6
|
+
import { d as getIonTheme } from './ionic-global.js';
|
|
7
|
+
|
|
8
|
+
const cardHeaderIonicCss = ":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:var(--ionic-space-400, 16px);padding-inline-start:var(--ionic-space-400, 16px);-webkit-padding-end:var(--ionic-space-400, 16px);padding-inline-end:var(--ionic-space-400, 16px);padding-top:var(--ionic-space-400, 16px);padding-bottom:var(--ionic-space-400, 16px);gap:var(--ionic-space-050, 2px)}";
|
|
9
|
+
const IonCardHeaderIonicStyle0 = cardHeaderIonicCss;
|
|
7
10
|
|
|
8
11
|
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)}}";
|
|
9
12
|
const IonCardHeaderIosStyle0 = cardHeaderIosCss;
|
|
@@ -20,14 +23,15 @@ const CardHeader = /*@__PURE__*/ proxyCustomElement(class CardHeader extends HTM
|
|
|
20
23
|
this.translucent = false;
|
|
21
24
|
}
|
|
22
25
|
render() {
|
|
23
|
-
const
|
|
24
|
-
return (h(Host, { key: '
|
|
26
|
+
const theme = getIonTheme(this);
|
|
27
|
+
return (h(Host, { key: 'cff2da9905efddd8397f741282987530c042baf8', class: createColorClasses(this.color, {
|
|
25
28
|
'card-header-translucent': this.translucent,
|
|
26
29
|
'ion-inherit-color': true,
|
|
27
|
-
[
|
|
28
|
-
}) }, h("slot", { key: '
|
|
30
|
+
[theme]: true,
|
|
31
|
+
}) }, h("slot", { key: '1bfe2d1ac2a171e4ce6cfb7da30a3307388d0483' })));
|
|
29
32
|
}
|
|
30
33
|
static get style() { return {
|
|
34
|
+
ionic: IonCardHeaderIonicStyle0,
|
|
31
35
|
ios: IonCardHeaderIosStyle0,
|
|
32
36
|
md: IonCardHeaderMdStyle0
|
|
33
37
|
}; }
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { c as createColorClasses } from './theme.js';
|
|
6
|
-
import {
|
|
6
|
+
import { d as getIonTheme } from './ionic-global.js';
|
|
7
|
+
|
|
8
|
+
const cardSubtitleIonicCss = ":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ionic-color-neutral-800, #626262);font-size:var(--ionic-font-size-400, 1rem);font-weight:var(--ionic-font-weight-regular, 400);letter-spacing:var(--ionic-letter-spacing-0, 0);line-height:var(--ionic-line-height-600, 24px);text-decoration:none;text-transform:none}";
|
|
9
|
+
const IonCardSubtitleIonicStyle0 = cardSubtitleIonicCss;
|
|
7
10
|
|
|
8
11
|
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}";
|
|
9
12
|
const IonCardSubtitleIosStyle0 = cardSubtitleIosCss;
|
|
@@ -19,13 +22,14 @@ const CardSubtitle = /*@__PURE__*/ proxyCustomElement(class CardSubtitle extends
|
|
|
19
22
|
this.color = undefined;
|
|
20
23
|
}
|
|
21
24
|
render() {
|
|
22
|
-
const
|
|
23
|
-
return (h(Host, { key: '
|
|
25
|
+
const theme = getIonTheme(this);
|
|
26
|
+
return (h(Host, { key: '0fc5039135810295040bbe1940ee22add6c955ac', role: "heading", "aria-level": "3", class: createColorClasses(this.color, {
|
|
24
27
|
'ion-inherit-color': true,
|
|
25
|
-
[
|
|
26
|
-
}) }, h("slot", { key: '
|
|
28
|
+
[theme]: true,
|
|
29
|
+
}) }, h("slot", { key: 'f9730146a6e6e8f4741c8ee2ce34e4822e84e316' })));
|
|
27
30
|
}
|
|
28
31
|
static get style() { return {
|
|
32
|
+
ionic: IonCardSubtitleIonicStyle0,
|
|
29
33
|
ios: IonCardSubtitleIosStyle0,
|
|
30
34
|
md: IonCardSubtitleMdStyle0
|
|
31
35
|
}; }
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { c as createColorClasses } from './theme.js';
|
|
6
|
-
import {
|
|
6
|
+
import { d as getIonTheme } from './ionic-global.js';
|
|
7
|
+
|
|
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;
|
|
7
10
|
|
|
8
11
|
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}";
|
|
9
12
|
const IonCardTitleIosStyle0 = cardTitleIosCss;
|
|
@@ -19,13 +22,14 @@ const CardTitle = /*@__PURE__*/ proxyCustomElement(class CardTitle extends HTMLE
|
|
|
19
22
|
this.color = undefined;
|
|
20
23
|
}
|
|
21
24
|
render() {
|
|
22
|
-
const
|
|
23
|
-
return (h(Host, { key: '
|
|
25
|
+
const theme = getIonTheme(this);
|
|
26
|
+
return (h(Host, { key: '40bb33c38b01e975be19b8967bea1548edb9034d', role: "heading", "aria-level": "2", class: createColorClasses(this.color, {
|
|
24
27
|
'ion-inherit-color': true,
|
|
25
|
-
[
|
|
26
|
-
}) }, h("slot", { key: '
|
|
28
|
+
[theme]: true,
|
|
29
|
+
}) }, h("slot", { key: '2b0604799bb5aa49452fdce02f9fd5d8f2e078e2' })));
|
|
27
30
|
}
|
|
28
31
|
static get style() { return {
|
|
32
|
+
ionic: IonCardTitleIonicStyle0,
|
|
29
33
|
ios: IonCardTitleIosStyle0,
|
|
30
34
|
md: IonCardTitleMdStyle0
|
|
31
35
|
}; }
|
package/components/ion-card.js
CHANGED
|
@@ -4,13 +4,16 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { d as inheritAttributes } from './helpers.js';
|
|
6
6
|
import { o as openURL, c as createColorClasses } from './theme.js';
|
|
7
|
-
import {
|
|
7
|
+
import { d as getIonTheme } from './ionic-global.js';
|
|
8
8
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
9
9
|
|
|
10
|
-
const
|
|
10
|
+
const cardIonicCss = ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);contain:content;overflow:hidden}:host(.ion-color){background:current-color(base);color:current-color(contrast)}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ionic-color-base-white, #ffffff);--border-radius:var(--ionic-border-radius-400, 16px);--color:var(--ionic-color-neutral-1200, #242424)}::slotted(img){display:block}:host(.card-soft){--border-radius:var(--ionic-border-radius-200, 8px)}:host(.card-rectangular){--border-radius:var(--ionic-border-radius-0, 0px)}";
|
|
11
|
+
const IonCardIonicStyle0 = cardIonicCss;
|
|
12
|
+
|
|
13
|
+
const cardIosCss = ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{font-family:var(--ion-font-family, inherit)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:0.875rem;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}:host(.card-soft){--border-radius:8px}:host(.card-round){--border-radius:14px}:host(.card-rectangular){--border-radius:0px}";
|
|
11
14
|
const IonCardIosStyle0 = cardIosCss;
|
|
12
15
|
|
|
13
|
-
const cardMdCss = ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);
|
|
16
|
+
const cardMdCss = ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{font-family:var(--ion-font-family, inherit)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, var(--ion-text-color-step-450, #737373))));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;font-size:0.875rem;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.card-soft){--border-radius:4px}:host(.card-round){--border-radius:12px}:host(.card-rectangular){--border-radius:0px}";
|
|
14
17
|
const IonCardMdStyle0 = cardMdCss;
|
|
15
18
|
|
|
16
19
|
const Card = /*@__PURE__*/ proxyCustomElement(class Card extends HTMLElement {
|
|
@@ -28,6 +31,7 @@ const Card = /*@__PURE__*/ proxyCustomElement(class Card extends HTMLElement {
|
|
|
28
31
|
this.rel = undefined;
|
|
29
32
|
this.routerDirection = 'forward';
|
|
30
33
|
this.routerAnimation = undefined;
|
|
34
|
+
this.shape = 'round';
|
|
31
35
|
this.target = undefined;
|
|
32
36
|
}
|
|
33
37
|
componentWillLoad() {
|
|
@@ -36,7 +40,7 @@ const Card = /*@__PURE__*/ proxyCustomElement(class Card extends HTMLElement {
|
|
|
36
40
|
isClickable() {
|
|
37
41
|
return this.href !== undefined || this.button;
|
|
38
42
|
}
|
|
39
|
-
renderCard(
|
|
43
|
+
renderCard(theme) {
|
|
40
44
|
const clickable = this.isClickable();
|
|
41
45
|
if (!clickable) {
|
|
42
46
|
return [h("slot", null)];
|
|
@@ -51,18 +55,21 @@ const Card = /*@__PURE__*/ proxyCustomElement(class Card extends HTMLElement {
|
|
|
51
55
|
rel: this.rel,
|
|
52
56
|
target: this.target,
|
|
53
57
|
};
|
|
54
|
-
return (h(TagType, Object.assign({}, attrs, inheritedAriaAttributes, { class: "card-native", part: "native", disabled: this.disabled, onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation) }), h("slot", null), clickable &&
|
|
58
|
+
return (h(TagType, Object.assign({}, attrs, inheritedAriaAttributes, { class: "card-native", part: "native", disabled: this.disabled, onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation) }), h("slot", null), clickable && theme === 'md' && h("ion-ripple-effect", null)));
|
|
55
59
|
}
|
|
56
60
|
render() {
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
|
|
61
|
+
const { shape } = this;
|
|
62
|
+
const theme = getIonTheme(this);
|
|
63
|
+
return (h(Host, { key: '0133afae2d18db08eccc7f746d26dbeadefde26c', class: createColorClasses(this.color, {
|
|
64
|
+
[theme]: true,
|
|
65
|
+
[`card-${shape}`]: shape !== undefined,
|
|
60
66
|
'card-disabled': this.disabled,
|
|
61
67
|
'ion-activatable': this.isClickable(),
|
|
62
|
-
}) }, this.renderCard(
|
|
68
|
+
}) }, this.renderCard(theme)));
|
|
63
69
|
}
|
|
64
70
|
get el() { return this; }
|
|
65
71
|
static get style() { return {
|
|
72
|
+
ionic: IonCardIonicStyle0,
|
|
66
73
|
ios: IonCardIosStyle0,
|
|
67
74
|
md: IonCardMdStyle0
|
|
68
75
|
}; }
|
|
@@ -76,6 +83,7 @@ const Card = /*@__PURE__*/ proxyCustomElement(class Card extends HTMLElement {
|
|
|
76
83
|
"rel": [1],
|
|
77
84
|
"routerDirection": [1, "router-direction"],
|
|
78
85
|
"routerAnimation": [16],
|
|
86
|
+
"shape": [513],
|
|
79
87
|
"target": [1]
|
|
80
88
|
}]);
|
|
81
89
|
function defineCustomElement$1() {
|
package/components/ion-chip.js
CHANGED
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
+
import { d as getIonTheme, p as printIonWarning } from './ionic-global.js';
|
|
5
6
|
import { c as createColorClasses } from './theme.js';
|
|
6
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
7
7
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const chipIonicCss = ":host{--background:var(--ionic-color-neutral-100, #f1f1f1);--color:var(--ionic-color-neutral-900, #4e4e4e);--focus-ring-color:var(--ionic-state-focus-1, #9ec4fd);--focus-ring-width:var(--ionic-border-size-050, 2px);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--ionic-space-200, 8px);padding-inline-start:var(--ionic-space-200, 8px);-webkit-padding-end:var(--ionic-space-200, 8px);padding-inline-end:var(--ionic-space-200, 8px);padding-top:var(--ionic-space-150, 6px);padding-bottom:var(--ionic-space-150, 6px);border-radius:var(--border-radius);display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--ionic-space-100, 4px);background:var(--background);color:var(--color);font-family:var(--ionic-font-family, \"Inter\", sans-serif);font-weight:var(--ionic-font-weight-medium, 500);line-height:var(--ionic-line-height-full, 100%);cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:middle}:host(.chip-outline){border-width:var(--ionic-border-size-025, 1px);border-style:var(--ionic-border-style-solid, solid);border-color:var(--ionic-color-neutral-100, #f1f1f1);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.ion-focused){outline:var(--focus-ring-width) var(--ionic-border-style-solid, solid) var(--focus-ring-color);outline-offset:var(--focus-ring-width)}@media (any-hover: hover){:host(:hover){--background:var(--ionic-color-neutral-200, #e7e7e7)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}}:host(.chip-disabled){opacity:0.6;pointer-events:none}:host(.chip-soft){--border-radius:var(--ionic-border-radius-100, 4px)}:host(.chip-round){--border-radius:var(--ionic-border-radius-400, 16px)}:host(.chip-rectangular){--border-radius:var(--ionic-border-radius-0, 0px)}::slotted(ion-icon){font-size:var(--ionic-font-size-400, 1rem)}:host(.chip-small){min-height:var(--ionic-scale-600, 24px);font-size:var(--ionic-font-size-300, 0.75rem)}:host(.chip-large){min-height:var(--ionic-scale-800, 32px);font-size:var(--ionic-font-size-350, 0.875rem)}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}";
|
|
10
|
+
const IonChipIonicStyle0 = chipIonicCss;
|
|
11
|
+
|
|
12
|
+
const chipIosCss = ":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:clamp(13px, 0.875rem, 22px)}:host(.chip-soft){--border-radius:10px}:host(.chip-round){--border-radius:999px}:host(.chip-rectangular){--border-radius:0px}";
|
|
10
13
|
const IonChipIosStyle0 = chipIosCss;
|
|
11
14
|
|
|
12
|
-
const chipMdCss = ":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:
|
|
15
|
+
const chipMdCss = ":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:0.875rem}:host(.chip-soft){--border-radius:8px}:host(.chip-round){--border-radius:999px}:host(.chip-rectangular){--border-radius:0px}";
|
|
13
16
|
const IonChipMdStyle0 = chipMdCss;
|
|
14
17
|
|
|
15
18
|
const Chip = /*@__PURE__*/ proxyCustomElement(class Chip extends HTMLElement {
|
|
@@ -20,24 +23,58 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class Chip extends HTMLElement {
|
|
|
20
23
|
this.color = undefined;
|
|
21
24
|
this.outline = false;
|
|
22
25
|
this.disabled = false;
|
|
26
|
+
this.shape = undefined;
|
|
27
|
+
this.size = undefined;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Set the shape based on the theme
|
|
31
|
+
*/
|
|
32
|
+
getShape() {
|
|
33
|
+
const theme = getIonTheme(this);
|
|
34
|
+
const { shape } = this;
|
|
35
|
+
if (shape === undefined) {
|
|
36
|
+
return theme === 'ionic' ? 'round' : 'soft';
|
|
37
|
+
}
|
|
38
|
+
return shape;
|
|
39
|
+
}
|
|
40
|
+
getSize() {
|
|
41
|
+
const theme = getIonTheme(this);
|
|
42
|
+
const { size } = this;
|
|
43
|
+
if (theme === 'ionic') {
|
|
44
|
+
return size !== undefined ? size : 'large';
|
|
45
|
+
// TODO(ROU-10695): remove the size !== undefined when we add support for
|
|
46
|
+
// the `ios` and `md` themes.
|
|
47
|
+
}
|
|
48
|
+
else if (size !== undefined) {
|
|
49
|
+
printIonWarning(`The "${size}" size is not supported in the ${theme} theme.`);
|
|
50
|
+
}
|
|
51
|
+
return undefined;
|
|
23
52
|
}
|
|
24
53
|
render() {
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
54
|
+
const theme = getIonTheme(this);
|
|
55
|
+
const size = this.getSize();
|
|
56
|
+
const shape = this.getShape();
|
|
57
|
+
return (h(Host, { key: 'aa0aeece6547531edddac10afb3be5dbd63b817a', "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
58
|
+
[theme]: true,
|
|
59
|
+
[`chip-${shape}`]: true,
|
|
28
60
|
'chip-outline': this.outline,
|
|
29
61
|
'chip-disabled': this.disabled,
|
|
30
62
|
'ion-activatable': true,
|
|
31
|
-
|
|
63
|
+
'ion-focusable': !this.disabled,
|
|
64
|
+
[`chip-${size}`]: size !== undefined,
|
|
65
|
+
}) }, h("slot", { key: '94581c49b9e636e388fb0a84b5f390f7f2341210' }), theme === 'md' && h("ion-ripple-effect", { key: '392fc618c6e6ea56e7481725624ab5a98d4ecb54' })));
|
|
32
66
|
}
|
|
33
67
|
static get style() { return {
|
|
68
|
+
ionic: IonChipIonicStyle0,
|
|
34
69
|
ios: IonChipIosStyle0,
|
|
35
70
|
md: IonChipMdStyle0
|
|
36
71
|
}; }
|
|
37
72
|
}, [33, "ion-chip", {
|
|
38
73
|
"color": [513],
|
|
39
74
|
"outline": [4],
|
|
40
|
-
"disabled": [4]
|
|
75
|
+
"disabled": [4],
|
|
76
|
+
"shape": [1],
|
|
77
|
+
"size": [1]
|
|
41
78
|
}]);
|
|
42
79
|
function defineCustomElement$1() {
|
|
43
80
|
if (typeof customElements === "undefined") {
|
package/components/ion-col.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import {
|
|
5
|
+
import { d as getIonTheme } from './ionic-global.js';
|
|
6
6
|
|
|
7
7
|
const SIZE_TO_MEDIA = {
|
|
8
8
|
xs: '(min-width: 0px)',
|
|
@@ -137,10 +137,10 @@ const Col = /*@__PURE__*/ proxyCustomElement(class Col extends HTMLElement {
|
|
|
137
137
|
}
|
|
138
138
|
render() {
|
|
139
139
|
const isRTL = document.dir === 'rtl';
|
|
140
|
-
const
|
|
141
|
-
return (h(Host, { key: '
|
|
142
|
-
[
|
|
143
|
-
}, style: Object.assign(Object.assign(Object.assign(Object.assign({}, this.calculateOffset(isRTL)), this.calculatePull(isRTL)), this.calculatePush(isRTL)), this.calculateSize()) }, h("slot", { key: '
|
|
140
|
+
const theme = getIonTheme(this);
|
|
141
|
+
return (h(Host, { key: '43fb2abaf5b1244676686503b8c4d3d0d31f8418', class: {
|
|
142
|
+
[theme]: true,
|
|
143
|
+
}, style: Object.assign(Object.assign(Object.assign(Object.assign({}, this.calculateOffset(isRTL)), this.calculatePull(isRTL)), this.calculatePush(isRTL)), this.calculateSize()) }, h("slot", { key: 'dff06fba1c546b782133fb9ea272050030b07bc4' })));
|
|
144
144
|
}
|
|
145
145
|
static get style() { return IonColStyle0; }
|
|
146
146
|
}, [1, "ion-col", {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, Build, readTask, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { i as inheritAriaAttributes, j as hasLazyBuild, c as componentOnReady } from './helpers.js';
|
|
6
|
-
import {
|
|
6
|
+
import { a as isPlatform, d as getIonTheme, b as getIonMode } from './ionic-global.js';
|
|
7
7
|
import { i as isRTL } from './dir.js';
|
|
8
8
|
import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
9
9
|
|
|
10
|
-
const contentCss = ":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{
|
|
10
|
+
const contentCss = ":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{right:0px;left:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{right:0px;left:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:\"\"}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}";
|
|
11
11
|
const IonContentStyle0 = contentCss;
|
|
12
12
|
|
|
13
13
|
const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLElement {
|
|
@@ -149,9 +149,8 @@ const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLEleme
|
|
|
149
149
|
this.resize();
|
|
150
150
|
}, 100);
|
|
151
151
|
}
|
|
152
|
-
shouldForceOverscroll() {
|
|
152
|
+
shouldForceOverscroll(mode) {
|
|
153
153
|
const { forceOverscroll } = this;
|
|
154
|
-
const mode = getIonMode(this);
|
|
155
154
|
return forceOverscroll === undefined ? mode === 'ios' && isPlatform('ios') : forceOverscroll;
|
|
156
155
|
}
|
|
157
156
|
resize() {
|
|
@@ -338,24 +337,25 @@ const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLEleme
|
|
|
338
337
|
render() {
|
|
339
338
|
const { fixedSlotPlacement, inheritedAttributes, isMainContent, scrollX, scrollY, el } = this;
|
|
340
339
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
341
|
-
const
|
|
342
|
-
const
|
|
343
|
-
const
|
|
340
|
+
const theme = getIonTheme(this);
|
|
341
|
+
const mode = getIonMode(this, theme);
|
|
342
|
+
const forceOverscroll = this.shouldForceOverscroll(mode);
|
|
343
|
+
const transitionShadow = theme === 'ios';
|
|
344
344
|
this.resize();
|
|
345
|
-
return (h(Host, Object.assign({ key: '
|
|
346
|
-
[
|
|
345
|
+
return (h(Host, Object.assign({ key: 'fd9c5f0f602b050cf46a36630c97009f552459d2', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
|
|
346
|
+
[theme]: true,
|
|
347
347
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
348
348
|
overscroll: forceOverscroll,
|
|
349
349
|
[`content-${rtl}`]: true,
|
|
350
350
|
}), style: {
|
|
351
351
|
'--offset-top': `${this.cTop}px`,
|
|
352
352
|
'--offset-bottom': `${this.cBottom}px`,
|
|
353
|
-
} }, inheritedAttributes), h("div", { key: '
|
|
353
|
+
} }, inheritedAttributes), h("div", { key: '78a358870fed20509780e25d036437f5ebc8a8a6', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? h("slot", { name: "fixed" }) : null, h("div", { key: 'd659d1a2cebe4e9bb35a07c6777e3ec9c9cf2b3f', class: {
|
|
354
354
|
'inner-scroll': true,
|
|
355
355
|
'scroll-x': scrollX,
|
|
356
356
|
'scroll-y': scrollY,
|
|
357
357
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
358
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '
|
|
358
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: 'f644fc44ba78643b5ececde769c35998b8206273' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? h("slot", { name: "fixed" }) : null));
|
|
359
359
|
}
|
|
360
360
|
get el() { return this; }
|
|
361
361
|
static get style() { return IonContentStyle0; }
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { a as addEventListener, c as componentOnReady } from './helpers.js';
|
|
6
|
-
import {
|
|
6
|
+
import { e as printIonError, d as getIonTheme } from './ionic-global.js';
|
|
7
7
|
import { c as createColorClasses } from './theme.js';
|
|
8
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
9
8
|
import { s as parseDate, x as getToday, L as getHourCycle, N as getLocalizedDateTime, M as getLocalizedTime } from './data.js';
|
|
10
9
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
11
10
|
|
|
11
|
+
const ionicDatetimeButtonMdCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}:host button{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}";
|
|
12
|
+
const IonDatetimeButtonIonicStyle0 = ionicDatetimeButtonMdCss;
|
|
13
|
+
|
|
12
14
|
const datetimeButtonIosCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}:host button{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:7px;padding-bottom:7px}:host button.ion-activated{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}";
|
|
13
15
|
const IonDatetimeButtonIosStyle0 = datetimeButtonIosCss;
|
|
14
16
|
|
|
@@ -336,15 +338,16 @@ const DatetimeButton = /*@__PURE__*/ proxyCustomElement(class DatetimeButton ext
|
|
|
336
338
|
}
|
|
337
339
|
render() {
|
|
338
340
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
339
|
-
const
|
|
340
|
-
return (h(Host, { key: '
|
|
341
|
-
[
|
|
341
|
+
const theme = getIonTheme(this);
|
|
342
|
+
return (h(Host, { key: '1d22d1cd09aaaac6bb14d8b5ed06f88a5f361115', class: createColorClasses(color, {
|
|
343
|
+
[theme]: true,
|
|
342
344
|
[`${selectedButton}-active`]: datetimeActive,
|
|
343
345
|
['datetime-button-disabled']: disabled,
|
|
344
|
-
}) }, dateText && (h("button", { key: '
|
|
346
|
+
}) }, dateText && (h("button", { key: '8858b456f0ed626fc0146fb183413d58c73654cd', class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, h("slot", { key: 'e5ffe4e62a4313e2f069b2263e5388d5167ea215', name: "date-target" }, dateText), theme === 'md' && h("ion-ripple-effect", { key: 'e39fb3dd3478625c52e21f6c36fbbdf2c660b42f' }))), timeText && (h("button", { key: '2edaccdab0aef5262ce8e4178cbc2d77edbf565e', class: "ion-activatable", id: "time-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleTimeClick, disabled: disabled, part: "native", ref: (el) => (this.timeTargetEl = el) }, h("slot", { key: 'eae4e909902791c1781909a13751a2ae6cc83f10', name: "time-target" }, timeText), theme === 'md' && h("ion-ripple-effect", { key: '22e5585c299a183a97dda34e557fa0727e4a9ef1' })))));
|
|
345
347
|
}
|
|
346
348
|
get el() { return this; }
|
|
347
349
|
static get style() { return {
|
|
350
|
+
ionic: IonDatetimeButtonIonicStyle0,
|
|
348
351
|
ios: IonDatetimeButtonIosStyle0,
|
|
349
352
|
md: IonDatetimeButtonMdStyle0
|
|
350
353
|
}; }
|