@ionic/core 8.0.0-dev.11711498366.18f063ac → 8.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/action-sheet.js +6 -11
- package/components/alert.js +8 -12
- package/components/backdrop.js +4 -8
- package/components/button.js +8 -25
- package/components/buttons.js +5 -9
- package/components/checkbox.js +9 -13
- package/components/data.js +4 -4
- package/components/index4.js +7 -8
- package/components/index6.js +30 -27
- package/components/index7.js +27 -124
- package/components/index8.js +111 -150
- package/components/index9.js +167 -0
- package/components/input-shims.js +1 -1
- package/components/input.utils.js +1 -1
- package/components/ion-accordion-group.js +6 -9
- package/components/ion-accordion.js +6 -10
- package/components/ion-app.js +6 -5
- package/components/ion-avatar.js +2 -9
- package/components/ion-back-button.js +8 -12
- package/components/ion-badge.js +5 -9
- package/components/ion-breadcrumb.js +7 -11
- package/components/ion-breadcrumbs.js +5 -9
- package/components/ion-card-content.js +5 -9
- package/components/ion-card-header.js +5 -9
- package/components/ion-card-subtitle.js +5 -9
- package/components/ion-card-title.js +5 -9
- package/components/ion-card.js +7 -11
- package/components/ion-chip.js +5 -9
- package/components/ion-col.js +5 -5
- package/components/ion-content.js +10 -10
- package/components/ion-datetime-button.js +6 -9
- package/components/ion-datetime.js +17 -20
- package/components/ion-fab-button.js +6 -10
- package/components/ion-fab-list.js +5 -5
- package/components/ion-fab.js +5 -5
- package/components/ion-footer.js +10 -14
- package/components/ion-grid.js +5 -5
- package/components/ion-header.js +10 -14
- package/components/ion-img.js +2 -5
- package/components/ion-infinite-scroll-content.js +8 -12
- package/components/ion-infinite-scroll.js +5 -5
- package/components/ion-input-password-toggle.js +3 -2
- package/components/ion-input.js +10 -14
- package/components/ion-item-divider.js +5 -9
- package/components/ion-item-group.js +5 -9
- package/components/ion-item-option.js +5 -9
- package/components/ion-item-options.js +5 -9
- package/components/ion-item-sliding.js +5 -5
- package/components/ion-loading.js +6 -10
- package/components/ion-menu-button.js +7 -11
- package/components/ion-menu-toggle.js +5 -5
- package/components/ion-menu.js +5 -9
- package/components/ion-modal.js +8 -11
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +5 -6
- package/components/ion-note.js +5 -9
- package/components/ion-picker-legacy.js +6 -5
- package/components/ion-progress-bar.js +4 -8
- package/components/ion-range.js +8 -11
- package/components/ion-refresher-content.js +8 -9
- package/components/ion-refresher.js +6 -10
- package/components/ion-reorder-group.js +5 -5
- package/components/ion-reorder.js +5 -11
- package/components/ion-router-link.js +5 -5
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +2 -5
- package/components/ion-searchbar.js +13 -17
- package/components/ion-segment-button.js +6 -10
- package/components/ion-segment.js +5 -9
- package/components/ion-select-option.js +2 -5
- package/components/ion-select.js +19 -23
- package/components/ion-skeleton-text.js +5 -5
- package/components/ion-split-pane.js +6 -10
- package/components/ion-tab-bar.js +5 -9
- package/components/ion-tab-button.js +5 -9
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +5 -5
- package/components/ion-textarea.js +8 -12
- package/components/ion-thumbnail.js +2 -5
- package/components/ion-title.js +5 -9
- package/components/ion-toast.js +9 -13
- package/components/ion-toggle.js +13 -17
- package/components/ion-toolbar.js +5 -9
- package/components/ionic-global.js +14 -191
- package/components/ios.transition.js +0 -1
- package/components/item.js +7 -11
- package/components/label.js +5 -9
- package/components/list-header.js +5 -9
- package/components/list.js +6 -10
- package/components/overlays.js +2 -1
- package/components/picker-column-option.js +5 -9
- package/components/picker-column.js +6 -6
- package/components/picker-column2.js +4 -4
- package/components/picker.js +2 -6
- package/components/popover.js +6 -9
- package/components/radio-group.js +3 -5
- package/components/radio.js +6 -10
- package/components/ripple-effect.js +4 -4
- package/components/select-popover.js +2 -9
- package/components/spinner.js +6 -6
- package/components/status-tap.js +1 -1
- package/css/core.css +0 -18
- package/css/core.css.map +1 -1
- package/css/display.css +0 -6
- package/css/display.css.map +1 -1
- package/css/float-elements.css +0 -6
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css +0 -12
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +0 -6
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/padding.css +0 -6
- package/css/padding.css.map +1 -1
- package/css/structure.css +0 -6
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css +0 -6
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css +0 -6
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css +0 -6
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +0 -30
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{app-globals-c355ec99.js → app-globals-63aebf89.js} +1 -1
- package/dist/cjs/{button-active-e2ed5329.js → button-active-bd13859e.js} +1 -1
- package/dist/cjs/{data-7c73c8b9.js → data-21dc0f81.js} +6 -6
- package/dist/cjs/{hardware-back-button-e79bd12c.js → hardware-back-button-ad9299b4.js} +2 -2
- package/dist/cjs/index-5915f9b3.js +38 -0
- package/dist/cjs/{index-193def18.js → index-5b6a7459.js} +2 -2
- package/dist/cjs/{index-f06d55a9.js → index-5cf05f94.js} +12 -13
- package/dist/cjs/{index-2d21d526.js → index-af6d0fbb.js} +16 -4
- package/dist/cjs/{index-5643c839.js → index-ff66cc7c.js} +3 -3
- package/dist/cjs/index.cjs.js +9 -8
- package/dist/cjs/{input-shims-0c59e88a.js → input-shims-20d639e6.js} +2 -3
- package/dist/cjs/{input.utils-ee49fd29.js → input.utils-611cde0b.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +12 -19
- package/dist/cjs/ion-action-sheet.cjs.entry.js +11 -15
- package/dist/cjs/ion-alert.cjs.entry.js +13 -16
- package/dist/cjs/ion-app_8.cjs.entry.js +61 -80
- package/dist/cjs/ion-avatar_3.cjs.entry.js +8 -22
- package/dist/cjs/ion-back-button.cjs.entry.js +8 -12
- package/dist/cjs/ion-backdrop.cjs.entry.js +5 -9
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +11 -19
- package/dist/cjs/ion-button_2.cjs.entry.js +12 -29
- package/dist/cjs/ion-card_5.cjs.entry.js +24 -44
- package/dist/cjs/ion-checkbox.cjs.entry.js +10 -14
- package/dist/cjs/ion-chip.cjs.entry.js +6 -10
- package/dist/cjs/ion-col_3.cjs.entry.js +11 -14
- package/dist/cjs/ion-datetime-button.cjs.entry.js +12 -15
- package/dist/cjs/ion-datetime_3.cjs.entry.js +103 -106
- package/dist/cjs/ion-fab_3.cjs.entry.js +14 -18
- package/dist/cjs/ion-img.cjs.entry.js +3 -6
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +14 -17
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +8 -7
- package/dist/cjs/ion-input.cjs.entry.js +12 -15
- package/dist/cjs/ion-item-option_3.cjs.entry.js +15 -22
- package/dist/cjs/ion-item_8.cjs.entry.js +36 -64
- package/dist/cjs/ion-loading.cjs.entry.js +10 -13
- package/dist/cjs/ion-menu_3.cjs.entry.js +19 -26
- package/dist/cjs/ion-modal.cjs.entry.js +17 -20
- package/dist/cjs/ion-nav_2.cjs.entry.js +7 -9
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +6 -10
- package/dist/cjs/ion-picker-column.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker.cjs.entry.js +3 -7
- package/dist/cjs/ion-popover.cjs.entry.js +13 -16
- package/dist/cjs/ion-progress-bar.cjs.entry.js +5 -9
- package/dist/cjs/ion-radio_2.cjs.entry.js +9 -15
- package/dist/cjs/ion-range.cjs.entry.js +14 -17
- package/dist/cjs/ion-refresher_2.cjs.entry.js +14 -18
- package/dist/cjs/ion-reorder_2.cjs.entry.js +10 -15
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +5 -5
- package/dist/cjs/ion-route_4.cjs.entry.js +6 -6
- package/dist/cjs/ion-searchbar.cjs.entry.js +13 -17
- package/dist/cjs/ion-segment_2.cjs.entry.js +11 -19
- package/dist/cjs/ion-select_3.cjs.entry.js +24 -37
- package/dist/cjs/ion-spinner.cjs.entry.js +7 -7
- package/dist/cjs/ion-split-pane.cjs.entry.js +7 -11
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +10 -18
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-text.cjs.entry.js +6 -6
- package/dist/cjs/ion-textarea.cjs.entry.js +11 -14
- package/dist/cjs/ion-toast.cjs.entry.js +32 -36
- package/dist/cjs/ion-toggle.cjs.entry.js +13 -17
- package/dist/cjs/ionic-global-1adf9bc4.js +230 -0
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-19155451.js → ios.transition-06673f18.js} +2 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-1b1135b1.js → md.transition-4d7bb4b1.js} +2 -2
- package/dist/cjs/{overlays-f770745f.js → overlays-6487955a.js} +4 -3
- package/dist/cjs/{status-tap-8d40351a.js → status-tap-0be20572.js} +3 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.ios.css +0 -12
- package/dist/collection/components/accordion/accordion.js +8 -11
- package/dist/collection/components/accordion/accordion.md.css +0 -6
- package/dist/collection/components/accordion-group/accordion-group.ios.css +0 -12
- package/dist/collection/components/accordion-group/accordion-group.js +8 -11
- package/dist/collection/components/accordion-group/accordion-group.md.css +0 -18
- package/dist/collection/components/action-sheet/action-sheet.ios.css +0 -12
- package/dist/collection/components/action-sheet/action-sheet.js +10 -14
- package/dist/collection/components/action-sheet/action-sheet.md.css +0 -12
- package/dist/collection/components/alert/alert.ios.css +0 -18
- package/dist/collection/components/alert/alert.js +12 -15
- package/dist/collection/components/alert/alert.md.css +0 -18
- package/dist/collection/components/app/app.js +4 -8
- package/dist/collection/components/avatar/avatar.ios.css +0 -12
- package/dist/collection/components/avatar/avatar.js +4 -13
- package/dist/collection/components/avatar/avatar.md.css +0 -12
- package/dist/collection/components/back-button/back-button.ios.css +0 -12
- package/dist/collection/components/back-button/back-button.js +10 -13
- package/dist/collection/components/back-button/back-button.md.css +0 -12
- package/dist/collection/components/backdrop/backdrop.ios.css +0 -12
- package/dist/collection/components/backdrop/backdrop.js +6 -12
- package/dist/collection/components/backdrop/backdrop.md.css +0 -12
- package/dist/collection/components/badge/badge.ios.css +0 -12
- package/dist/collection/components/badge/badge.js +8 -11
- package/dist/collection/components/badge/badge.md.css +0 -12
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +0 -12
- package/dist/collection/components/breadcrumb/breadcrumb.js +9 -12
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +0 -12
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -6
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +9 -11
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -6
- package/dist/collection/components/button/button.ios.css +0 -18
- package/dist/collection/components/button/button.js +14 -31
- package/dist/collection/components/button/button.md.css +0 -12
- package/dist/collection/components/button/test/clear/button.e2e.js +3 -6
- package/dist/collection/components/button/test/round/button.e2e.js +52 -0
- package/dist/collection/components/button/test/size/button.e2e.js +1 -19
- package/dist/collection/components/buttons/buttons.ios.css +0 -18
- package/dist/collection/components/buttons/buttons.js +8 -14
- package/dist/collection/components/buttons/buttons.md.css +0 -18
- package/dist/collection/components/card/card.ios.css +0 -12
- package/dist/collection/components/card/card.js +10 -13
- package/dist/collection/components/card/card.md.css +0 -12
- package/dist/collection/components/card-content/card-content.ios.css +0 -12
- package/dist/collection/components/card-content/card-content.js +8 -11
- package/dist/collection/components/card-content/card-content.md.css +0 -12
- package/dist/collection/components/card-header/card-header.ios.css +0 -12
- package/dist/collection/components/card-header/card-header.js +9 -12
- package/dist/collection/components/card-header/card-header.md.css +0 -12
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -12
- package/dist/collection/components/card-subtitle/card-subtitle.js +8 -11
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -12
- package/dist/collection/components/card-title/card-title.ios.css +0 -12
- package/dist/collection/components/card-title/card-title.js +8 -11
- package/dist/collection/components/card-title/card-title.md.css +0 -12
- package/dist/collection/components/checkbox/checkbox.ios.css +0 -18
- package/dist/collection/components/checkbox/checkbox.js +12 -15
- package/dist/collection/components/checkbox/checkbox.md.css +0 -18
- package/dist/collection/components/chip/chip.ios.css +0 -6
- package/dist/collection/components/chip/chip.js +8 -11
- package/dist/collection/components/chip/chip.md.css +0 -6
- package/dist/collection/components/col/col.css +0 -12
- package/dist/collection/components/col/col.js +5 -9
- package/dist/collection/components/content/content.css +0 -6
- package/dist/collection/components/content/content.js +10 -13
- package/dist/collection/components/datetime/datetime.ios.css +0 -12
- package/dist/collection/components/datetime/datetime.js +18 -21
- package/dist/collection/components/datetime/datetime.md.css +0 -12
- package/dist/collection/components/datetime/utils/data.js +3 -3
- package/dist/collection/components/datetime-button/datetime-button.ios.css +0 -6
- package/dist/collection/components/datetime-button/datetime-button.js +8 -11
- package/dist/collection/components/datetime-button/datetime-button.md.css +0 -6
- package/dist/collection/components/fab/fab.css +0 -24
- package/dist/collection/components/fab/fab.js +5 -9
- package/dist/collection/components/fab-button/fab-button.ios.css +0 -12
- package/dist/collection/components/fab-button/fab-button.js +9 -12
- package/dist/collection/components/fab-button/fab-button.md.css +0 -12
- package/dist/collection/components/fab-list/fab-list.css +0 -12
- package/dist/collection/components/fab-list/fab-list.js +5 -9
- package/dist/collection/components/footer/footer.ios.css +0 -12
- package/dist/collection/components/footer/footer.js +14 -17
- package/dist/collection/components/footer/footer.md.css +0 -12
- package/dist/collection/components/grid/grid.css +0 -12
- package/dist/collection/components/grid/grid.js +5 -9
- package/dist/collection/components/header/header.ios.css +0 -12
- package/dist/collection/components/header/header.js +14 -17
- package/dist/collection/components/header/header.md.css +0 -12
- package/dist/collection/components/img/img.js +2 -8
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -8
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -12
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +10 -16
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -12
- package/dist/collection/components/input/input.ios.css +0 -18
- package/dist/collection/components/input/input.js +14 -17
- package/dist/collection/components/input/input.md.css +0 -36
- package/dist/collection/components/item/item.ios.css +0 -12
- package/dist/collection/components/item/item.js +10 -13
- package/dist/collection/components/item/item.md.css +0 -24
- package/dist/collection/components/item-divider/item-divider.ios.css +0 -18
- package/dist/collection/components/item-divider/item-divider.js +8 -11
- package/dist/collection/components/item-divider/item-divider.md.css +0 -18
- package/dist/collection/components/item-group/item-group.ios.css +0 -12
- package/dist/collection/components/item-group/item-group.js +7 -13
- package/dist/collection/components/item-group/item-group.md.css +0 -12
- package/dist/collection/components/item-option/item-option.ios.css +0 -12
- package/dist/collection/components/item-option/item-option.js +8 -11
- package/dist/collection/components/item-option/item-option.md.css +0 -12
- package/dist/collection/components/item-options/item-options.ios.css +0 -18
- package/dist/collection/components/item-options/item-options.js +7 -13
- package/dist/collection/components/item-options/item-options.md.css +0 -18
- package/dist/collection/components/item-sliding/item-sliding.css +0 -6
- package/dist/collection/components/item-sliding/item-sliding.js +4 -8
- package/dist/collection/components/label/label.ios.css +0 -18
- package/dist/collection/components/label/label.js +8 -11
- package/dist/collection/components/label/label.md.css +0 -18
- package/dist/collection/components/list/list.ios.css +0 -18
- package/dist/collection/components/list/list.js +9 -12
- package/dist/collection/components/list/list.md.css +0 -18
- package/dist/collection/components/list-header/list-header.ios.css +0 -18
- package/dist/collection/components/list-header/list-header.js +8 -11
- package/dist/collection/components/list-header/list-header.md.css +0 -18
- package/dist/collection/components/loading/loading.ios.css +0 -12
- package/dist/collection/components/loading/loading.js +10 -13
- package/dist/collection/components/loading/loading.md.css +0 -12
- package/dist/collection/components/menu/menu.ios.css +0 -12
- package/dist/collection/components/menu/menu.js +7 -12
- package/dist/collection/components/menu/menu.md.css +0 -12
- package/dist/collection/components/menu-button/menu-button.ios.css +0 -12
- package/dist/collection/components/menu-button/menu-button.js +9 -12
- package/dist/collection/components/menu-button/menu-button.md.css +0 -12
- package/dist/collection/components/menu-toggle/menu-toggle.js +5 -8
- package/dist/collection/components/modal/modal.ios.css +0 -12
- package/dist/collection/components/modal/modal.js +9 -12
- package/dist/collection/components/modal/modal.md.css +0 -12
- package/dist/collection/components/nav/nav.css +0 -6
- package/dist/collection/components/nav/nav.js +5 -11
- package/dist/collection/components/nav-link/nav-link.js +1 -5
- package/dist/collection/components/note/note.ios.css +0 -12
- package/dist/collection/components/note/note.js +8 -11
- package/dist/collection/components/note/note.md.css +0 -12
- package/dist/collection/components/picker/picker.ios.css +0 -12
- package/dist/collection/components/picker/picker.js +5 -8
- package/dist/collection/components/picker/picker.md.css +0 -12
- package/dist/collection/components/picker-column/picker-column.css +0 -6
- package/dist/collection/components/picker-column/picker-column.js +7 -8
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -6
- package/dist/collection/components/picker-column-option/picker-column-option.js +7 -13
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +0 -6
- package/dist/collection/components/picker-legacy/picker.ios.css +0 -12
- package/dist/collection/components/picker-legacy/picker.js +6 -7
- package/dist/collection/components/picker-legacy/picker.md.css +0 -12
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -12
- package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -12
- package/dist/collection/components/popover/popover.ios.css +0 -12
- package/dist/collection/components/popover/popover.js +12 -15
- package/dist/collection/components/popover/popover.md.css +0 -12
- package/dist/collection/components/progress-bar/progress-bar.ios.css +0 -6
- package/dist/collection/components/progress-bar/progress-bar.js +7 -10
- package/dist/collection/components/progress-bar/progress-bar.md.css +0 -6
- package/dist/collection/components/radio/radio.ios.css +0 -18
- package/dist/collection/components/radio/radio.js +9 -12
- package/dist/collection/components/radio/radio.md.css +0 -18
- package/dist/collection/components/radio-group/radio-group.js +3 -9
- package/dist/collection/components/range/range.ios.css +0 -12
- package/dist/collection/components/range/range.js +9 -12
- package/dist/collection/components/range/range.md.css +0 -12
- package/dist/collection/components/refresher/refresher.ios.css +0 -12
- package/dist/collection/components/refresher/refresher.js +8 -11
- package/dist/collection/components/refresher/refresher.md.css +0 -12
- package/dist/collection/components/refresher-content/refresher-content.js +7 -12
- package/dist/collection/components/reorder/reorder.ios.css +0 -6
- package/dist/collection/components/reorder/reorder.js +6 -13
- package/dist/collection/components/reorder/reorder.md.css +0 -6
- package/dist/collection/components/reorder-group/reorder-group.css +0 -6
- package/dist/collection/components/reorder-group/reorder-group.js +4 -8
- package/dist/collection/components/ripple-effect/ripple-effect.css +0 -6
- package/dist/collection/components/ripple-effect/ripple-effect.js +4 -8
- package/dist/collection/components/route/route.js +0 -4
- package/dist/collection/components/router/router.js +0 -4
- package/dist/collection/components/router-link/router-link.css +0 -6
- package/dist/collection/components/router-link/router-link.js +5 -9
- package/dist/collection/components/router-outlet/router-outlet.css +0 -6
- package/dist/collection/components/router-outlet/router-outlet.js +2 -5
- package/dist/collection/components/row/row.css +0 -12
- package/dist/collection/components/row/row.js +2 -9
- package/dist/collection/components/searchbar/searchbar.ios.css +0 -12
- package/dist/collection/components/searchbar/searchbar.js +20 -23
- package/dist/collection/components/searchbar/searchbar.md.css +0 -12
- package/dist/collection/components/segment/segment.ios.css +0 -18
- package/dist/collection/components/segment/segment.js +8 -11
- package/dist/collection/components/segment/segment.md.css +0 -18
- package/dist/collection/components/segment-button/segment-button.ios.css +0 -12
- package/dist/collection/components/segment-button/segment-button.js +9 -12
- package/dist/collection/components/segment-button/segment-button.md.css +0 -12
- package/dist/collection/components/select/select.ios.css +0 -18
- package/dist/collection/components/select/select.js +24 -27
- package/dist/collection/components/select/select.md.css +0 -30
- package/dist/collection/components/select-option/select-option.js +2 -9
- package/dist/collection/components/select-popover/select-popover.ios.css +0 -18
- package/dist/collection/components/select-popover/select-popover.js +4 -12
- package/dist/collection/components/select-popover/select-popover.md.css +0 -18
- package/dist/collection/components/skeleton-text/skeleton-text.css +0 -6
- package/dist/collection/components/skeleton-text/skeleton-text.js +5 -9
- package/dist/collection/components/spinner/spinner.css +0 -6
- package/dist/collection/components/spinner/spinner.js +6 -10
- package/dist/collection/components/split-pane/split-pane.ios.css +0 -18
- package/dist/collection/components/split-pane/split-pane.js +8 -14
- package/dist/collection/components/split-pane/split-pane.md.css +0 -18
- package/dist/collection/components/tab/tab.js +2 -6
- package/dist/collection/components/tab-bar/tab-bar.ios.css +0 -18
- package/dist/collection/components/tab-bar/tab-bar.js +9 -12
- package/dist/collection/components/tab-bar/tab-bar.md.css +0 -18
- package/dist/collection/components/tab-button/tab-button.ios.css +0 -12
- package/dist/collection/components/tab-button/tab-button.js +8 -11
- package/dist/collection/components/tab-button/tab-button.md.css +0 -12
- package/dist/collection/components/tabs/tabs.css +0 -6
- package/dist/collection/components/tabs/tabs.js +1 -4
- package/dist/collection/components/text/text.css +0 -6
- package/dist/collection/components/text/text.js +6 -7
- package/dist/collection/components/textarea/textarea.ios.css +0 -24
- package/dist/collection/components/textarea/textarea.js +12 -15
- package/dist/collection/components/textarea/textarea.md.css +0 -36
- package/dist/collection/components/thumbnail/thumbnail.css +0 -6
- package/dist/collection/components/thumbnail/thumbnail.js +2 -9
- package/dist/collection/components/title/title.ios.css +0 -6
- package/dist/collection/components/title/title.js +7 -13
- package/dist/collection/components/title/title.md.css +0 -6
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ios.css +0 -12
- package/dist/collection/components/toast/toast.js +11 -15
- package/dist/collection/components/toast/toast.md.css +0 -12
- package/dist/collection/components/toggle/toggle.ios.css +0 -18
- package/dist/collection/components/toggle/toggle.js +15 -18
- package/dist/collection/components/toggle/toggle.md.css +0 -18
- package/dist/collection/components/toolbar/toolbar.ios.css +0 -12
- package/dist/collection/components/toolbar/toolbar.js +10 -13
- package/dist/collection/components/toolbar/toolbar.md.css +0 -12
- package/dist/collection/global/ionic-global.js +13 -161
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +1 -2
- package/dist/collection/utils/menu-controller/animations/reveal.js +1 -2
- package/dist/collection/utils/test/playwright/generator.js +22 -45
- package/dist/collection/utils/test/playwright/page/utils/goto.js +4 -13
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -13
- package/dist/collection/utils/transition/ios.transition.js +0 -1
- package/dist/docs.json +274 -3831
- package/dist/esm/{app-globals-378c927e.js → app-globals-b8e5e7fa.js} +1 -1
- package/dist/esm/{button-active-6f657ae4.js → button-active-a411da52.js} +1 -1
- package/dist/esm/{data-502c79ce.js → data-ae11fd43.js} +4 -4
- package/dist/esm/{hardware-back-button-6d25372a.js → hardware-back-button-329c81fd.js} +2 -2
- package/dist/esm/{index-47afdf4f.js → index-10916999.js} +8 -9
- package/dist/esm/{index-84145911.js → index-5cc724f3.js} +1 -1
- package/dist/esm/{index-3a495cc6.js → index-6e4709ff.js} +17 -5
- package/dist/esm/index-9b0d46f4.js +34 -0
- package/dist/esm/{index-e3f4491c.js → index-f1f5de26.js} +3 -3
- package/dist/esm/index.js +9 -8
- package/dist/esm/{input-shims-d80cf854.js → input-shims-4530285e.js} +2 -3
- package/dist/esm/{input.utils-526678b9.js → input.utils-09c71bc7.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +11 -18
- package/dist/esm/ion-action-sheet.entry.js +11 -15
- package/dist/esm/ion-alert.entry.js +13 -16
- package/dist/esm/ion-app_8.entry.js +50 -69
- package/dist/esm/ion-avatar_3.entry.js +8 -22
- package/dist/esm/ion-back-button.entry.js +8 -12
- package/dist/esm/ion-backdrop.entry.js +5 -9
- package/dist/esm/ion-breadcrumb_2.entry.js +11 -19
- package/dist/esm/ion-button_2.entry.js +9 -26
- package/dist/esm/ion-card_5.entry.js +24 -44
- package/dist/esm/ion-checkbox.entry.js +10 -14
- package/dist/esm/ion-chip.entry.js +6 -10
- package/dist/esm/ion-col_3.entry.js +11 -14
- package/dist/esm/ion-datetime-button.entry.js +8 -11
- package/dist/esm/ion-datetime_3.entry.js +27 -30
- package/dist/esm/ion-fab_3.entry.js +14 -18
- package/dist/esm/ion-img.entry.js +3 -6
- package/dist/esm/ion-infinite-scroll_2.entry.js +14 -17
- package/dist/esm/ion-input-password-toggle.entry.js +3 -2
- package/dist/esm/ion-input.entry.js +12 -15
- package/dist/esm/ion-item-option_3.entry.js +15 -22
- package/dist/esm/ion-item_8.entry.js +36 -64
- package/dist/esm/ion-loading.entry.js +10 -13
- package/dist/esm/ion-menu_3.entry.js +19 -26
- package/dist/esm/ion-modal.entry.js +12 -15
- package/dist/esm/ion-nav_2.entry.js +7 -9
- package/dist/esm/ion-picker-column-option.entry.js +6 -10
- package/dist/esm/ion-picker-column.entry.js +7 -7
- package/dist/esm/ion-picker.entry.js +3 -7
- package/dist/esm/ion-popover.entry.js +10 -13
- package/dist/esm/ion-progress-bar.entry.js +5 -9
- package/dist/esm/ion-radio_2.entry.js +9 -15
- package/dist/esm/ion-range.entry.js +9 -12
- package/dist/esm/ion-refresher_2.entry.js +14 -18
- package/dist/esm/ion-reorder_2.entry.js +10 -15
- package/dist/esm/ion-ripple-effect.entry.js +5 -5
- package/dist/esm/ion-route_4.entry.js +6 -6
- package/dist/esm/ion-searchbar.entry.js +13 -17
- package/dist/esm/ion-segment_2.entry.js +11 -19
- package/dist/esm/ion-select_3.entry.js +24 -37
- package/dist/esm/ion-spinner.entry.js +7 -7
- package/dist/esm/ion-split-pane.entry.js +7 -11
- package/dist/esm/ion-tab-bar_2.entry.js +10 -18
- package/dist/esm/ion-tab_2.entry.js +4 -4
- package/dist/esm/ion-text.entry.js +6 -6
- package/dist/esm/ion-textarea.entry.js +11 -14
- package/dist/esm/ion-toast.entry.js +12 -16
- package/dist/esm/ion-toggle.entry.js +13 -17
- package/dist/esm/ionic-global-c4e0c089.js +224 -0
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-2187a9fd.js → ios.transition-8e181a7e.js} +2 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-a8d52fcb.js → md.transition-f1c3c737.js} +2 -2
- package/dist/esm/{overlays-84f5c587.js → overlays-9472c98b.js} +3 -2
- package/dist/esm/{status-tap-a65b162a.js → status-tap-39da9160.js} +3 -3
- package/dist/esm-es5/app-globals-b8e5e7fa.js +4 -0
- package/dist/esm-es5/{button-active-6f657ae4.js → button-active-a411da52.js} +1 -1
- package/dist/esm-es5/data-ae11fd43.js +4 -0
- package/dist/esm-es5/framework-delegate-63d1a679.js +2 -2
- package/dist/esm-es5/{hardware-back-button-6d25372a.js → hardware-back-button-329c81fd.js} +1 -1
- package/dist/esm-es5/index-10916999.js +4 -0
- package/dist/esm-es5/index-5cc724f3.js +4 -0
- package/dist/esm-es5/index-6e4709ff.js +5 -0
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/{index-e3f4491c.js → index-f1f5de26.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-4530285e.js +4 -0
- package/dist/esm-es5/input.utils-09c71bc7.js +4 -0
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +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-c4e0c089.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-8e181a7e.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-f1c3c737.js +4 -0
- package/dist/esm-es5/overlays-9472c98b.js +4 -0
- package/dist/esm-es5/status-tap-39da9160.js +4 -0
- package/dist/html.html-data.json +109 -1904
- 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-89d25317.system.entry.js → p-04070329.system.entry.js} +1 -1
- package/dist/ionic/p-049fa018.system.entry.js +4 -0
- package/dist/ionic/p-06e58c4e.js +4 -0
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/p-07ae133d.system.entry.js +4 -0
- package/dist/ionic/p-0aa4682e.entry.js +4 -0
- package/dist/ionic/p-0bbb6edf.system.entry.js +4 -0
- package/dist/ionic/{p-726f80e7.system.js → p-0c06e09b.system.js} +1 -1
- package/dist/ionic/p-0de546bb.entry.js +4 -0
- package/dist/ionic/p-0ebb1fe7.system.entry.js +4 -0
- package/dist/ionic/p-0f2d99a6.entry.js +4 -0
- package/dist/ionic/p-100bedc4.system.entry.js +4 -0
- package/dist/ionic/p-105f7d62.system.entry.js +4 -0
- package/dist/ionic/p-1672c4fd.system.entry.js +4 -0
- package/dist/ionic/{p-e03b9251.entry.js → p-17978fce.entry.js} +1 -1
- package/dist/ionic/p-1b235142.entry.js +4 -0
- package/dist/ionic/p-1cff9cad.entry.js +4 -0
- package/dist/ionic/p-1f9cdee2.entry.js +4 -0
- package/dist/ionic/p-23b89985.entry.js +4 -0
- package/dist/ionic/p-25575222.system.js +4 -0
- package/dist/ionic/p-266fc56e.system.js +4 -0
- package/dist/ionic/p-2e12bda2.entry.js +4 -0
- package/dist/ionic/p-2f6cedaf.system.entry.js +4 -0
- package/dist/ionic/{p-db490c56.js → p-3040730e.js} +1 -1
- package/dist/ionic/p-3391d9a3.entry.js +4 -0
- package/dist/ionic/p-352f7037.system.entry.js +4 -0
- package/dist/ionic/p-35722bba.system.entry.js +4 -0
- package/dist/ionic/p-35b9e842.entry.js +4 -0
- package/dist/ionic/p-3c70b01b.entry.js +4 -0
- package/dist/ionic/{p-ae6a5ee1.system.entry.js → p-3d6e882f.system.entry.js} +1 -1
- package/dist/ionic/p-3e3b34f7.system.entry.js +4 -0
- package/dist/ionic/p-3f70bfba.entry.js +4 -0
- package/dist/ionic/p-4196b2d1.system.entry.js +4 -0
- package/dist/ionic/{p-3b14e7b9.system.entry.js → p-43505ff8.system.entry.js} +2 -2
- package/dist/ionic/p-4429fc97.system.entry.js +4 -0
- package/dist/ionic/p-46111310.js +4 -0
- package/dist/ionic/p-46f407f0.system.js +4 -0
- package/dist/ionic/p-49b6fee0.system.entry.js +4 -0
- package/dist/ionic/p-4a615fea.entry.js +4 -0
- package/dist/ionic/{p-c11232d6.system.js → p-4dd82d9d.system.js} +1 -1
- package/dist/ionic/{p-66d55ac3.system.js → p-5033128d.system.js} +1 -1
- package/dist/ionic/p-510578f3.system.entry.js +4 -0
- package/dist/ionic/p-51b68ec9.system.entry.js +4 -0
- package/dist/ionic/p-51ff648c.entry.js +4 -0
- package/dist/ionic/p-546433d2.js +4 -0
- package/dist/ionic/p-54f76ced.js +4 -0
- package/dist/ionic/p-56c3b69c.entry.js +4 -0
- package/dist/ionic/p-58ea73f7.system.entry.js +4 -0
- package/dist/ionic/p-596e0cf8.system.entry.js +4 -0
- package/dist/ionic/p-5ae49f12.entry.js +4 -0
- package/dist/ionic/p-5b1273f4.system.entry.js +4 -0
- package/dist/ionic/p-5d3f6707.entry.js +4 -0
- package/dist/ionic/p-5da04d11.entry.js +4 -0
- package/dist/ionic/p-5e7c32e8.system.entry.js +4 -0
- package/dist/ionic/p-5fa8587e.system.entry.js +4 -0
- package/dist/ionic/p-68a1e274.system.entry.js +4 -0
- package/dist/ionic/p-6994c97a.js +4 -0
- package/dist/ionic/p-69bc14fd.entry.js +4 -0
- package/dist/ionic/p-6a7eac5a.js +4 -0
- package/dist/ionic/p-6f4db5ce.system.entry.js +4 -0
- package/dist/ionic/{p-1a488d6f.system.js → p-71215c1d.system.js} +1 -1
- package/dist/ionic/p-71688099.system.entry.js +4 -0
- package/dist/ionic/p-716ab5f8.system.entry.js +4 -0
- package/dist/ionic/p-74a9cafe.system.js +5 -0
- package/dist/ionic/p-75280815.entry.js +4 -0
- package/dist/ionic/p-75cddcc9.js +4 -0
- package/dist/ionic/{p-91b79359.system.entry.js → p-76907c2f.system.entry.js} +1 -1
- package/dist/ionic/p-7d9eefb3.system.js +4 -0
- package/dist/ionic/p-7df2c495.entry.js +4 -0
- package/dist/ionic/p-7fc505bf.entry.js +4 -0
- package/dist/ionic/p-83321ee8.entry.js +4 -0
- package/dist/ionic/p-8635f5e6.system.js +2 -2
- package/dist/ionic/p-88cff52d.entry.js +4 -0
- package/dist/ionic/p-896111fa.entry.js +4 -0
- package/dist/ionic/p-89b59bd7.entry.js +4 -0
- package/dist/ionic/p-8bd567ba.system.entry.js +4 -0
- package/dist/ionic/p-8e9ac22d.entry.js +4 -0
- package/dist/ionic/p-9540561f.entry.js +4 -0
- package/dist/ionic/{p-ca958797.js → p-96cc4814.js} +1 -1
- package/dist/ionic/{p-3df045bd.entry.js → p-99daf8b7.entry.js} +1 -1
- package/dist/ionic/p-9ad82dba.js +5 -0
- package/dist/ionic/{p-2a6e67b4.system.js → p-9d7fc908.system.js} +1 -1
- package/dist/ionic/{p-822696e5.system.js → p-9ea607bd.system.js} +2 -2
- package/dist/ionic/p-a1b4e619.system.entry.js +4 -0
- package/dist/ionic/p-a1f9f629.system.entry.js +4 -0
- package/dist/ionic/{p-fc9c5b84.system.js → p-a7ba2dcc.system.js} +1 -1
- package/dist/ionic/{p-e39ec17c.entry.js → p-a88fdfac.entry.js} +1 -1
- package/dist/ionic/p-a8f02173.system.js +4 -0
- package/dist/ionic/p-aa110ca0.system.entry.js +4 -0
- package/dist/ionic/p-aa4f2703.system.entry.js +4 -0
- package/dist/ionic/p-ab85debb.entry.js +4 -0
- package/dist/ionic/p-ac4e2a74.system.entry.js +4 -0
- package/dist/ionic/p-ac9f44a8.system.entry.js +4 -0
- package/dist/ionic/p-bb835b4d.system.entry.js +4 -0
- package/dist/ionic/p-c04d5a75.entry.js +4 -0
- package/dist/ionic/p-c198e1e1.system.entry.js +4 -0
- package/dist/ionic/{p-e1403ca6.system.entry.js → p-c1d1d004.system.entry.js} +1 -1
- package/dist/ionic/{p-d3498aab.js → p-c222f76a.js} +1 -1
- package/dist/ionic/p-c41af68a.entry.js +4 -0
- package/dist/ionic/p-c80d05c9.js +4 -0
- package/dist/ionic/p-c8f2b769.entry.js +4 -0
- package/dist/ionic/p-c99ccdc9.entry.js +4 -0
- package/dist/ionic/p-c9c39c98.system.entry.js +4 -0
- package/dist/ionic/p-cae889f9.entry.js +4 -0
- package/dist/ionic/p-d2544865.system.js +4 -0
- package/dist/ionic/p-d5f48185.system.entry.js +4 -0
- package/dist/ionic/{p-f35f7d6c.js → p-d60342e3.js} +1 -1
- package/dist/ionic/p-d79542bd.system.js +4 -0
- package/dist/ionic/p-d8067ea4.system.entry.js +4 -0
- package/dist/ionic/p-d8f66669.entry.js +4 -0
- package/dist/ionic/{p-31b66414.entry.js → p-d98c0112.entry.js} +1 -1
- package/dist/ionic/p-dc1372e0.entry.js +4 -0
- package/dist/ionic/p-df48edd6.entry.js +4 -0
- package/dist/ionic/p-df6fa126.entry.js +4 -0
- package/dist/ionic/p-e8a0e731.entry.js +4 -0
- package/dist/ionic/p-e955bf61.entry.js +4 -0
- package/dist/ionic/p-ea2c16b5.system.entry.js +4 -0
- package/dist/ionic/{p-2a31b1f5.system.js → p-ea4be6ac.system.js} +1 -1
- package/dist/ionic/p-eb3da535.system.entry.js +4 -0
- package/dist/ionic/p-f0392d49.entry.js +4 -0
- package/dist/ionic/p-f4cb521c.js +4 -0
- package/dist/ionic/{p-47883cab.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/p-f818b01a.entry.js +4 -0
- package/dist/ionic/p-f94cbfe9.js +4 -0
- package/dist/ionic/p-fab4ecad.system.entry.js +4 -0
- package/dist/ionic/p-fb02eeec.system.entry.js +4 -0
- package/dist/ionic/p-fb97326f.system.entry.js +4 -0
- package/dist/ionic/p-fbd30ec7.entry.js +4 -0
- package/dist/ionic/{p-84549d94.entry.js → p-fda4872f.entry.js} +1 -1
- package/dist/ionic/p-ff2323ba.system.entry.js +4 -0
- package/dist/ionic/p-ff4b7e40.system.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +1 -2
- package/dist/types/components/accordion-group/accordion-group.d.ts +1 -2
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +7 -3
- package/dist/types/components/action-sheet/action-sheet.d.ts +2 -3
- package/dist/types/components/alert/alert-interface.d.ts +7 -3
- package/dist/types/components/alert/alert.d.ts +2 -3
- package/dist/types/components/app/app.d.ts +0 -4
- package/dist/types/components/avatar/avatar.d.ts +0 -4
- package/dist/types/components/back-button/back-button.d.ts +1 -2
- package/dist/types/components/backdrop/backdrop.d.ts +0 -4
- package/dist/types/components/badge/badge.d.ts +1 -2
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -2
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +3 -8
- package/dist/types/components/buttons/buttons.d.ts +1 -5
- package/dist/types/components/card/card.d.ts +1 -2
- package/dist/types/components/card-content/card-content.d.ts +1 -2
- package/dist/types/components/card-header/card-header.d.ts +2 -3
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +1 -2
- package/dist/types/components/card-title/card-title.d.ts +1 -2
- package/dist/types/components/checkbox/checkbox.d.ts +1 -2
- package/dist/types/components/chip/chip.d.ts +1 -2
- package/dist/types/components/col/col.d.ts +0 -4
- package/dist/types/components/content/content.d.ts +0 -3
- package/dist/types/components/datetime/datetime.d.ts +1 -2
- package/dist/types/components/datetime/utils/data.d.ts +3 -3
- package/dist/types/components/datetime-button/datetime-button.d.ts +1 -2
- package/dist/types/components/fab/fab.d.ts +0 -4
- package/dist/types/components/fab-button/fab-button.d.ts +2 -3
- package/dist/types/components/fab-list/fab-list.d.ts +0 -4
- package/dist/types/components/footer/footer.d.ts +3 -4
- package/dist/types/components/grid/grid.d.ts +0 -4
- package/dist/types/components/header/header.d.ts +3 -4
- package/dist/types/components/img/img.d.ts +0 -3
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +0 -4
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +0 -4
- package/dist/types/components/input/input.d.ts +2 -3
- package/dist/types/components/item/item.d.ts +3 -4
- package/dist/types/components/item-divider/item-divider.d.ts +1 -2
- package/dist/types/components/item-group/item-group.d.ts +0 -4
- package/dist/types/components/item-option/item-option.d.ts +1 -2
- package/dist/types/components/item-options/item-options.d.ts +0 -4
- package/dist/types/components/item-sliding/item-sliding.d.ts +0 -4
- package/dist/types/components/label/label.d.ts +1 -2
- package/dist/types/components/list/list.d.ts +1 -2
- package/dist/types/components/list-header/list-header.d.ts +1 -2
- package/dist/types/components/loading/loading-interface.d.ts +7 -2
- package/dist/types/components/loading/loading.d.ts +2 -3
- package/dist/types/components/menu/menu.d.ts +0 -3
- package/dist/types/components/menu-button/menu-button.d.ts +1 -2
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +0 -3
- package/dist/types/components/modal/modal-interface.d.ts +7 -3
- package/dist/types/components/modal/modal.d.ts +1 -2
- package/dist/types/components/nav/nav-interface.d.ts +1 -9
- package/dist/types/components/nav/nav.d.ts +1 -5
- package/dist/types/components/nav-link/nav-link.d.ts +0 -4
- package/dist/types/components/note/note.d.ts +1 -2
- package/dist/types/components/picker/picker.d.ts +1 -2
- package/dist/types/components/picker-column/picker-column.d.ts +1 -2
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -4
- package/dist/types/components/picker-legacy/picker.d.ts +1 -2
- package/dist/types/components/popover/popover-interface.d.ts +7 -3
- package/dist/types/components/popover/popover.d.ts +5 -6
- package/dist/types/components/progress-bar/progress-bar.d.ts +1 -2
- package/dist/types/components/radio/radio.d.ts +1 -2
- package/dist/types/components/radio-group/radio-group.d.ts +0 -4
- package/dist/types/components/range/range.d.ts +1 -2
- package/dist/types/components/refresher/refresher.d.ts +1 -2
- package/dist/types/components/refresher-content/refresher-content.d.ts +0 -4
- package/dist/types/components/reorder/reorder.d.ts +0 -3
- package/dist/types/components/reorder-group/reorder-group.d.ts +0 -4
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +0 -4
- package/dist/types/components/route/route.d.ts +0 -4
- package/dist/types/components/router/router.d.ts +0 -4
- package/dist/types/components/router-link/router-link.d.ts +0 -4
- package/dist/types/components/router-outlet/router-outlet.d.ts +1 -4
- package/dist/types/components/row/row.d.ts +0 -4
- package/dist/types/components/searchbar/searchbar.d.ts +7 -8
- package/dist/types/components/segment/segment.d.ts +1 -2
- package/dist/types/components/segment-button/segment-button.d.ts +1 -2
- package/dist/types/components/select/select.d.ts +5 -6
- package/dist/types/components/select-option/select-option.d.ts +0 -4
- package/dist/types/components/select-popover/select-popover.d.ts +0 -3
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +0 -4
- package/dist/types/components/spinner/spinner.d.ts +0 -4
- package/dist/types/components/split-pane/split-pane.d.ts +0 -4
- package/dist/types/components/tab/tab.d.ts +0 -4
- package/dist/types/components/tab-bar/tab-bar.d.ts +2 -3
- package/dist/types/components/tab-button/tab-button.d.ts +1 -2
- package/dist/types/components/tabs/tabs.d.ts +0 -3
- package/dist/types/components/text/text.d.ts +1 -2
- package/dist/types/components/textarea/textarea.d.ts +2 -3
- package/dist/types/components/thumbnail/thumbnail.d.ts +0 -4
- package/dist/types/components/title/title.d.ts +0 -4
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +7 -3
- package/dist/types/components/toast/toast.d.ts +2 -3
- package/dist/types/components/toggle/toggle.d.ts +1 -2
- package/dist/types/components/toolbar/toolbar.d.ts +3 -4
- package/dist/types/components.d.ts +160 -1184
- package/dist/types/global/ionic-global.d.ts +2 -25
- package/dist/types/interface.d.ts +0 -3
- package/dist/types/utils/config.d.ts +2 -17
- package/dist/types/utils/focus-trap.d.ts +2 -2
- package/dist/types/utils/overlays-interface.d.ts +1 -31
- package/dist/types/utils/overlays.d.ts +2 -2
- package/dist/types/utils/test/playwright/generator.d.ts +1 -8
- package/hydrate/index.js +539 -1154
- package/package.json +1 -1
- package/dist/cjs/ionic-global-ceb32795.js +0 -411
- package/dist/collection/components/button/button.ionic.css +0 -565
- package/dist/collection/components/button/test/shape/button.e2e.js +0 -88
- package/dist/collection/global/test/ionic-global.spec.js +0 -109
- package/dist/esm/ionic-global-a03b1588.js +0 -401
- package/dist/esm-es5/app-globals-378c927e.js +0 -4
- package/dist/esm-es5/data-502c79ce.js +0 -4
- package/dist/esm-es5/index-3a495cc6.js +0 -5
- package/dist/esm-es5/index-47afdf4f.js +0 -4
- package/dist/esm-es5/index-84145911.js +0 -4
- package/dist/esm-es5/input-shims-d80cf854.js +0 -4
- package/dist/esm-es5/input.utils-526678b9.js +0 -4
- package/dist/esm-es5/ionic-global-a03b1588.js +0 -4
- package/dist/esm-es5/ios.transition-2187a9fd.js +0 -4
- package/dist/esm-es5/md.transition-a8d52fcb.js +0 -4
- package/dist/esm-es5/overlays-84f5c587.js +0 -4
- package/dist/esm-es5/status-tap-a65b162a.js +0 -4
- package/dist/ionic/p-00017a0e.entry.js +0 -4
- package/dist/ionic/p-0483cb18.entry.js +0 -4
- package/dist/ionic/p-0afb8cd7.entry.js +0 -4
- package/dist/ionic/p-0c0065e8.js +0 -4
- package/dist/ionic/p-0fc68641.entry.js +0 -4
- package/dist/ionic/p-11f322f2.js +0 -4
- package/dist/ionic/p-158f84ef.system.entry.js +0 -4
- package/dist/ionic/p-1a721859.system.entry.js +0 -4
- package/dist/ionic/p-1a8de6fa.entry.js +0 -4
- package/dist/ionic/p-1ed7baef.system.entry.js +0 -4
- package/dist/ionic/p-22c5142f.entry.js +0 -4
- package/dist/ionic/p-23132e1f.js +0 -4
- package/dist/ionic/p-2ab228af.entry.js +0 -4
- package/dist/ionic/p-31bf1d38.entry.js +0 -4
- package/dist/ionic/p-3302a619.system.entry.js +0 -4
- package/dist/ionic/p-33c1c033.system.entry.js +0 -4
- package/dist/ionic/p-348beae7.system.entry.js +0 -4
- package/dist/ionic/p-355f3434.entry.js +0 -4
- package/dist/ionic/p-35dc747b.system.entry.js +0 -4
- package/dist/ionic/p-35e5e98a.system.entry.js +0 -4
- package/dist/ionic/p-368b5f57.js +0 -4
- package/dist/ionic/p-379c62e1.system.entry.js +0 -4
- package/dist/ionic/p-37c9bc91.system.js +0 -4
- package/dist/ionic/p-3b03dd5b.entry.js +0 -4
- package/dist/ionic/p-3d14260a.entry.js +0 -4
- package/dist/ionic/p-3d7001d7.js +0 -4
- package/dist/ionic/p-487bee8d.js +0 -4
- package/dist/ionic/p-49d23e05.entry.js +0 -4
- package/dist/ionic/p-4e27762d.entry.js +0 -4
- package/dist/ionic/p-4f785e62.system.entry.js +0 -4
- package/dist/ionic/p-4faa6455.system.entry.js +0 -4
- package/dist/ionic/p-4fbe6e81.entry.js +0 -4
- package/dist/ionic/p-50cf70e8.system.js +0 -4
- package/dist/ionic/p-525a9d5f.system.entry.js +0 -4
- package/dist/ionic/p-54cbb70e.system.entry.js +0 -4
- package/dist/ionic/p-5589bb5b.system.entry.js +0 -4
- package/dist/ionic/p-57963dea.entry.js +0 -4
- package/dist/ionic/p-58d1ab91.system.entry.js +0 -4
- package/dist/ionic/p-58df6e9f.system.entry.js +0 -4
- package/dist/ionic/p-5e0d356b.system.entry.js +0 -4
- package/dist/ionic/p-602146d8.js +0 -4
- package/dist/ionic/p-6117f6c5.system.entry.js +0 -4
- package/dist/ionic/p-61a87440.system.entry.js +0 -4
- package/dist/ionic/p-64eb01cb.system.entry.js +0 -4
- package/dist/ionic/p-66d0a048.system.entry.js +0 -4
- package/dist/ionic/p-680448fe.system.entry.js +0 -4
- package/dist/ionic/p-6a5b979b.system.js +0 -4
- package/dist/ionic/p-6df8b089.system.js +0 -4
- package/dist/ionic/p-707a9d71.system.entry.js +0 -4
- package/dist/ionic/p-738714f4.entry.js +0 -4
- package/dist/ionic/p-75257a79.system.js +0 -5
- package/dist/ionic/p-789f197c.entry.js +0 -4
- package/dist/ionic/p-8244824f.system.entry.js +0 -4
- package/dist/ionic/p-832dae23.js +0 -4
- package/dist/ionic/p-83d220ee.system.entry.js +0 -4
- package/dist/ionic/p-86379b84.js +0 -4
- package/dist/ionic/p-8e8522e3.entry.js +0 -4
- package/dist/ionic/p-8ef1d644.entry.js +0 -4
- package/dist/ionic/p-929058ef.entry.js +0 -4
- package/dist/ionic/p-92b3df98.system.js +0 -4
- package/dist/ionic/p-93c12309.system.entry.js +0 -4
- package/dist/ionic/p-94a31caf.system.entry.js +0 -4
- package/dist/ionic/p-96472d74.entry.js +0 -4
- package/dist/ionic/p-99bf116a.entry.js +0 -4
- package/dist/ionic/p-9c52644e.entry.js +0 -4
- package/dist/ionic/p-9d6f10bd.entry.js +0 -4
- package/dist/ionic/p-9dccdc99.entry.js +0 -4
- package/dist/ionic/p-9f1b4c72.system.entry.js +0 -4
- package/dist/ionic/p-a300b844.system.entry.js +0 -4
- package/dist/ionic/p-a3d98f76.system.entry.js +0 -4
- package/dist/ionic/p-a9e86436.system.entry.js +0 -4
- package/dist/ionic/p-ab45eca5.system.entry.js +0 -4
- package/dist/ionic/p-af5123f7.entry.js +0 -4
- package/dist/ionic/p-b29b0043.system.entry.js +0 -4
- package/dist/ionic/p-b4f2d31e.entry.js +0 -4
- package/dist/ionic/p-b5c85b3c.entry.js +0 -4
- package/dist/ionic/p-b6ad1585.system.entry.js +0 -4
- package/dist/ionic/p-b8df12bb.entry.js +0 -4
- package/dist/ionic/p-ba85f57a.entry.js +0 -4
- package/dist/ionic/p-bc4f3bb5.system.entry.js +0 -4
- package/dist/ionic/p-bd1a5533.system.entry.js +0 -4
- package/dist/ionic/p-bfd648f6.entry.js +0 -4
- package/dist/ionic/p-c0d40adb.entry.js +0 -4
- package/dist/ionic/p-c11dbd56.system.entry.js +0 -4
- package/dist/ionic/p-c33fe06e.entry.js +0 -4
- package/dist/ionic/p-c47d0e2a.system.js +0 -4
- package/dist/ionic/p-c5c7d271.entry.js +0 -4
- package/dist/ionic/p-cb4da696.js +0 -5
- package/dist/ionic/p-cbb46ee9.entry.js +0 -4
- package/dist/ionic/p-cd1250d7.js +0 -4
- package/dist/ionic/p-cf5829f5.system.entry.js +0 -4
- package/dist/ionic/p-d08ac146.entry.js +0 -4
- package/dist/ionic/p-d74b5b06.system.entry.js +0 -4
- package/dist/ionic/p-db643807.system.entry.js +0 -4
- package/dist/ionic/p-dfbfcb53.system.entry.js +0 -4
- package/dist/ionic/p-e30d6c34.entry.js +0 -4
- package/dist/ionic/p-e3b6bda8.entry.js +0 -4
- package/dist/ionic/p-e6f26311.entry.js +0 -4
- package/dist/ionic/p-e78ab7a6.system.js +0 -4
- package/dist/ionic/p-e85a8a81.entry.js +0 -4
- package/dist/ionic/p-ec637936.entry.js +0 -4
- package/dist/ionic/p-ef61637a.system.entry.js +0 -4
- package/dist/ionic/p-efdba78a.system.entry.js +0 -4
- package/dist/ionic/p-f02998b5.entry.js +0 -4
- package/dist/ionic/p-fc174bf1.entry.js +0 -4
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance,
|
|
5
|
-
import { f as findClosestIonContent, d as disableContentScrollY, r as resetContentScrollY } from './index-
|
|
4
|
+
import { r as registerInstance, d as createEvent, h, f as Host, i as getElement } from './index-6e4709ff.js';
|
|
5
|
+
import { f as findClosestIonContent, d as disableContentScrollY, r as resetContentScrollY } from './index-5cc724f3.js';
|
|
6
6
|
import { j as clamp, e as debounceEvent, i as inheritAriaAttributes, d as renderHiddenInput } from './helpers-da915de8.js';
|
|
7
|
-
import { p as printIonWarning
|
|
7
|
+
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
8
8
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
9
9
|
import { h as hostContext, c as createColorClasses } from './theme-01f3f29c.js';
|
|
10
|
+
import { b as getIonMode } from './ionic-global-c4e0c089.js';
|
|
10
11
|
|
|
11
12
|
function getDecimalPlaces(n) {
|
|
12
13
|
if (n % 1 === 0)
|
|
@@ -50,9 +51,6 @@ function roundToMaxDecimalPlaces(n, ...references) {
|
|
|
50
51
|
return Number(n.toFixed(maxPlaces));
|
|
51
52
|
}
|
|
52
53
|
|
|
53
|
-
const ionicRangeMdCss = ":host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-pack:center;justify-content:center;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}.range-knob-handle{inset-inline-start:0}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}.range-bar-container{inset-inline-start:0}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.range-label-placement-stacked) .range-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}:host(.range-label-placement-stacked) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host-context([dir=rtl]):host(.range-label-placement-stacked) .label-text-wrapper,:host-context([dir=rtl]).range-label-placement-stacked .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.in-item.range-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.range-label-placement-stacked) .native-wrapper{margin-bottom:0px}:host{--knob-border-radius:50%;--knob-background:var(--bar-background-active);--knob-box-shadow:none;--knob-size:18px;--bar-height:2px;--bar-background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.26);--bar-background-active:var(--ion-color-primary, #0054e9);--bar-border-radius:0;--height:42px;--pin-background:var(--ion-color-primary, #0054e9);--pin-color:var(--ion-color-primary-contrast, #fff)}::slotted(:not(ion-icon)[slot=start]),::slotted(:not(ion-icon)[slot=end]),.native-wrapper{font-size:0.75rem}:host(.range-item-start-adjustment){-webkit-padding-start:18px;padding-inline-start:18px}:host(.range-item-end-adjustment){-webkit-padding-end:18px;padding-inline-end:18px}:host(.ion-color) .range-bar{background:rgba(var(--ion-color-base-rgb), 0.26)}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-knob,:host(.ion-color) .range-knob::before,:host(.ion-color) .range-pin,:host(.ion-color) .range-pin::before,:host(.ion-color) .range-tick{background:var(--ion-color-base);color:var(--ion-color-contrast)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin:not(.range-label-placement-stacked)){padding-top:1.75rem}:host(.range-has-pin.range-label-placement-stacked) .label-text-wrapper{margin-bottom:1.75rem}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-knob{-webkit-transform:scale(0.67);transform:scale(0.67);-webkit-transition-duration:120ms;transition-duration:120ms;-webkit-transition-property:background-color, border, -webkit-transform;transition-property:background-color, border, -webkit-transform;transition-property:transform, background-color, border;transition-property:transform, background-color, border, -webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease;z-index:2}.range-knob::before{border-radius:50%;position:absolute;width:var(--knob-size);height:var(--knob-size);-webkit-transform:scale(1);transform:scale(1);-webkit-transition:0.267s cubic-bezier(0, 0, 0.58, 1);transition:0.267s cubic-bezier(0, 0, 0.58, 1);background:var(--knob-background);content:\"\";opacity:0.13;pointer-events:none}.range-knob::before{inset-inline-start:0}.range-tick{position:absolute;top:calc((var(--height) - var(--bar-height)) / 2);width:var(--bar-height);height:var(--bar-height);background:var(--bar-background-active);z-index:1;pointer-events:none}.range-tick-active{background:transparent}.range-pin{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;border-radius:50%;-webkit-transform:translate3d(0, 0, 0) scale(0.01);transform:translate3d(0, 0, 0) scale(0.01);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:1.75rem;height:1.75rem;-webkit-transition:background 120ms ease, -webkit-transform 120ms ease;transition:background 120ms ease, -webkit-transform 120ms ease;transition:transform 120ms ease, background 120ms ease;transition:transform 120ms ease, background 120ms ease, -webkit-transform 120ms ease;background:var(--pin-background);color:var(--pin-color)}.range-pin::before{bottom:-1px;-webkit-margin-start:-13px;margin-inline-start:-13px;border-radius:50% 50% 50% 0;position:absolute;width:26px;height:26px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transition:background 120ms ease;transition:background 120ms ease;background:var(--pin-background);content:\"\";z-index:-1}.range-pin::before{inset-inline-start:50%}:host-context([dir=rtl]) .range-pin::before{left:unset}[dir=rtl] .range-pin::before{left:unset}@supports selector(:dir(rtl)){.range-pin::before:dir(rtl){left:unset}}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, calc(-100% + 4px), 0) scale(1);transform:translate3d(0, calc(-100% + 4px), 0) scale(1)}@media (any-hover: hover){.range-knob-handle:hover .range-knob:before{-webkit-transform:scale(2);transform:scale(2);opacity:0.13}}.range-knob-handle.ion-activated .range-knob:before,.range-knob-handle.ion-focused .range-knob:before,.range-knob-handle.range-knob-pressed .range-knob:before{-webkit-transform:scale(2);transform:scale(2)}.range-knob-handle.ion-focused .range-knob::before{opacity:0.13}.range-knob-handle.ion-activated .range-knob::before,.range-knob-handle.range-knob-pressed .range-knob::before{opacity:0.25}:host(:not(.range-has-pin)) .range-knob-pressed .range-knob,:host(:not(.range-has-pin)) .range-knob-handle.ion-focused .range-knob{-webkit-transform:scale(1);transform:scale(1)}:host(.range-disabled) .range-bar-active,:host(.range-disabled) .range-bar,:host(.range-disabled) .range-tick{background-color:var(--ion-color-step-250, var(--ion-background-color-step-250, #bfbfbf))}:host(.range-disabled) .range-knob{-webkit-transform:scale(0.55);transform:scale(0.55);outline:5px solid #fff;background-color:var(--ion-color-step-250, var(--ion-background-color-step-250, #bfbfbf))}:host(.range-disabled) .label-text-wrapper,:host(.range-disabled) ::slotted([slot=start]),:host(.range-disabled) ::slotted([slot=end]){opacity:0.38}";
|
|
54
|
-
const IonRangeIonicStyle0 = ionicRangeMdCss;
|
|
55
|
-
|
|
56
54
|
const rangeIosCss = ":host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-pack:center;justify-content:center;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}.range-knob-handle{inset-inline-start:0}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}.range-bar-container{inset-inline-start:0}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.range-label-placement-stacked) .range-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}:host(.range-label-placement-stacked) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host-context([dir=rtl]):host(.range-label-placement-stacked) .label-text-wrapper,:host-context([dir=rtl]).range-label-placement-stacked .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.in-item.range-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.range-label-placement-stacked) .native-wrapper{margin-bottom:0px}:host{--knob-border-radius:50%;--knob-background:#ffffff;--knob-box-shadow:0px 0.5px 4px rgba(0, 0, 0, 0.12), 0px 6px 13px rgba(0, 0, 0, 0.12);--knob-size:26px;--bar-height:4px;--bar-background:var(--ion-color-step-900, var(--ion-background-color-step-900, #e6e6e6));--bar-background-active:var(--ion-color-primary, #0054e9);--bar-border-radius:2px;--height:42px}:host(.range-item-start-adjustment){-webkit-padding-start:24px;padding-inline-start:24px}:host(.range-item-end-adjustment){-webkit-padding-end:24px;padding-inline-end:24px}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-tick-active{background:var(--ion-color-base)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin:not(.range-label-placement-stacked)){padding-top:calc(8px + 0.75rem)}:host(.range-has-pin.range-label-placement-stacked) .label-text-wrapper{margin-bottom:calc(8px + 0.75rem)}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-bar-active.has-ticks{border-radius:0;-webkit-margin-start:-2px;margin-inline-start:-2px;-webkit-margin-end:-2px;margin-inline-end:-2px}.range-tick{-webkit-margin-start:-2px;margin-inline-start:-2px;border-radius:0;position:absolute;top:17px;width:4px;height:8px;background:var(--ion-color-step-900, var(--ion-background-color-step-900, #e6e6e6));pointer-events:none}.range-tick-active{background:var(--bar-background-active)}.range-pin{-webkit-transform:translate3d(0, 100%, 0) scale(0.01);transform:translate3d(0, 100%, 0) scale(0.01);-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;min-width:28px;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease, -webkit-transform 120ms ease;background:transparent;color:var(--ion-text-color, #000);font-size:0.75rem;text-align:center}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, calc(-100% + 11px), 0) scale(1);transform:translate3d(0, calc(-100% + 11px), 0) scale(1)}:host(.range-disabled){opacity:0.3}";
|
|
57
55
|
const IonRangeIosStyle0 = rangeIosCss;
|
|
58
56
|
|
|
@@ -600,10 +598,10 @@ const Range = class {
|
|
|
600
598
|
*/
|
|
601
599
|
const hasEndContent = (hasLabel && labelPlacement === 'end') || this.hasEndSlotContent;
|
|
602
600
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
603
|
-
const
|
|
601
|
+
const mode = getIonMode(this);
|
|
604
602
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
605
|
-
return (h(Host, { key: '
|
|
606
|
-
[
|
|
603
|
+
return (h(Host, { key: '201677b1146738b96d74081e59d3e13a8472326e', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
604
|
+
[mode]: true,
|
|
607
605
|
'in-item': inItem,
|
|
608
606
|
'range-disabled': disabled,
|
|
609
607
|
'range-pressed': pressedKnob !== undefined,
|
|
@@ -611,10 +609,10 @@ const Range = class {
|
|
|
611
609
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
612
610
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
613
611
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
614
|
-
}) }, h("label", { key: '
|
|
612
|
+
}) }, h("label", { key: '055dda4f2673432e639b7efdbb01b2794c91e705', class: "range-wrapper", id: "range-label" }, h("div", { key: '3efe1eda1f68810a739a42b7655f2dd71beccf1e', class: {
|
|
615
613
|
'label-text-wrapper': true,
|
|
616
614
|
'label-text-wrapper-hidden': !hasLabel,
|
|
617
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
615
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '31458b02c2973f4ecf4a10de4c0ae1c4befda37a', class: "native-wrapper" }, h("slot", { key: '21c78b192f312396bd86bf52a0888312ffefea8a', name: "start" }), this.renderRangeSlider(), h("slot", { key: '843193879728ccfec62b4becb1b57d64b6d96804', name: "end" })))));
|
|
618
616
|
}
|
|
619
617
|
get el() { return getElement(this); }
|
|
620
618
|
static get watchers() { return {
|
|
@@ -672,7 +670,6 @@ const valueToRatio = (value, min, max) => {
|
|
|
672
670
|
};
|
|
673
671
|
let rangeIds = 0;
|
|
674
672
|
Range.style = {
|
|
675
|
-
ionic: IonRangeIonicStyle0,
|
|
676
673
|
ios: IonRangeIosStyle0,
|
|
677
674
|
md: IonRangeMdStyle0
|
|
678
675
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { w as writeTask, r as registerInstance,
|
|
4
|
+
import { w as writeTask, r as registerInstance, d as createEvent, e as readTask, h, i as getElement, f as Host } from './index-6e4709ff.js';
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
|
|
6
|
-
import { I as ION_CONTENT_CLASS_SELECTOR, b as ION_CONTENT_ELEMENT_SELECTOR, p as printIonContentErrorMsg, g as getScrollElement } from './index-
|
|
6
|
+
import { I as ION_CONTENT_CLASS_SELECTOR, b as ION_CONTENT_ELEMENT_SELECTOR, p as printIonContentErrorMsg, g as getScrollElement } from './index-5cc724f3.js';
|
|
7
7
|
import { t as transitionEndAsync, c as componentOnReady, j as clamp, g as getElementRoot, r as raf } from './helpers-da915de8.js';
|
|
8
8
|
import { d as hapticImpact, I as ImpactStyle } from './haptic-ac164e4c.js';
|
|
9
|
-
import { b as getIonMode,
|
|
9
|
+
import { b as getIonMode, c as config } from './ionic-global-c4e0c089.js';
|
|
10
10
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
11
11
|
import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-49c88215.js';
|
|
12
12
|
import { h as caretBackSharp, i as arrowDown } from './index-e2cf2ceb.js';
|
|
13
13
|
import { S as SPINNERS } from './spinner-configs-964f7cf3.js';
|
|
14
|
+
import './index-9b0d46f4.js';
|
|
14
15
|
import './capacitor-59395cbd.js';
|
|
15
16
|
import './index-a5d50daf.js';
|
|
16
17
|
|
|
@@ -202,9 +203,6 @@ const shouldUseNativeRefresher = async (referenceEl, mode) => {
|
|
|
202
203
|
((mode === 'ios' && supportsRubberBandScrolling()) || mode === 'md'));
|
|
203
204
|
};
|
|
204
205
|
|
|
205
|
-
const ionicRefresherMdCss = "ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}ion-refresher{inset-inline-start:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-md .refresher-pulling-icon,.refresher-md .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-md .refresher-pulling-text,.refresher-md .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-lines-md line,.refresher-md .refresher-refreshing .spinner-lines-small-md line,.refresher-md .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-bubbles circle,.refresher-md .refresher-refreshing .spinner-circles circle,.refresher-md .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:24px;height:24px;color:var(--ion-color-primary, #0054e9)}ion-refresher.refresher-native .spinner-arrow-container{display:inherit}ion-refresher.refresher-native .arrow-container{display:block;position:absolute;width:24px;height:24px}ion-refresher.refresher-native .arrow-container ion-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;bottom:-4px;position:absolute;color:var(--ion-color-primary, #0054e9);font-size:12px}ion-refresher.refresher-native.refresher-pulling ion-refresher-content .refresher-pulling,ion-refresher.refresher-native.refresher-ready ion-refresher-content .refresher-pulling{display:-ms-flexbox;display:flex}ion-refresher.refresher-native.refresher-refreshing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-cancelling ion-refresher-content .refresher-refreshing{display:-ms-flexbox;display:flex}ion-refresher.refresher-native .refresher-pulling-icon{-webkit-transform:translateY(calc(-100% - 10px));transform:translateY(calc(-100% - 10px))}ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;border-radius:100%;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;display:-ms-flexbox;display:flex;border:1px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #ececec));background:var(--ion-color-step-250, var(--ion-background-color-step-250, #ffffff));-webkit-box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1);box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1)}";
|
|
206
|
-
const IonRefresherIonicStyle0 = ionicRefresherMdCss;
|
|
207
|
-
|
|
208
206
|
const refresherIosCss = "ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}ion-refresher{inset-inline-start:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:250ms linear refresher-pop forwards;animation:250ms linear refresher-pop forwards}.refresher-native ion-spinner{width:32px;height:32px;color:var(--ion-color-step-450, var(--ion-background-color-step-450, #747577))}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0) rotate(180deg);transform:scale(0) rotate(180deg);-webkit-transition:300ms;transition:300ms}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}";
|
|
209
207
|
const IonRefresherIosStyle0 = refresherIosCss;
|
|
210
208
|
|
|
@@ -797,11 +795,11 @@ const Refresher = class {
|
|
|
797
795
|
}
|
|
798
796
|
}
|
|
799
797
|
render() {
|
|
800
|
-
const
|
|
801
|
-
return (h(Host, { key: '
|
|
802
|
-
[
|
|
798
|
+
const mode = getIonMode(this);
|
|
799
|
+
return (h(Host, { key: '8e4a99ce208ea3162186e91ba0d1e289b4f247a0', slot: "fixed", class: {
|
|
800
|
+
[mode]: true,
|
|
803
801
|
// Used internally for styling
|
|
804
|
-
[`refresher-${
|
|
802
|
+
[`refresher-${mode}`]: true,
|
|
805
803
|
'refresher-native': this.nativeRefresher,
|
|
806
804
|
'refresher-active': this.state !== 1 /* RefresherState.Inactive */,
|
|
807
805
|
'refresher-pulling': this.state === 2 /* RefresherState.Pulling */,
|
|
@@ -817,7 +815,6 @@ const Refresher = class {
|
|
|
817
815
|
}; }
|
|
818
816
|
};
|
|
819
817
|
Refresher.style = {
|
|
820
|
-
ionic: IonRefresherIonicStyle0,
|
|
821
818
|
ios: IonRefresherIosStyle0,
|
|
822
819
|
md: IonRefresherMdStyle0
|
|
823
820
|
};
|
|
@@ -832,7 +829,6 @@ const RefresherContent = class {
|
|
|
832
829
|
this.refreshingText = undefined;
|
|
833
830
|
}
|
|
834
831
|
componentWillLoad() {
|
|
835
|
-
const theme = getIonTheme(this);
|
|
836
832
|
if (this.pullingIcon === undefined) {
|
|
837
833
|
/**
|
|
838
834
|
* The native iOS refresher uses a spinner instead of
|
|
@@ -840,11 +836,13 @@ const RefresherContent = class {
|
|
|
840
836
|
* the native iOS refresher.
|
|
841
837
|
*/
|
|
842
838
|
const hasRubberBandScrolling = supportsRubberBandScrolling();
|
|
839
|
+
const mode = getIonMode(this);
|
|
843
840
|
const overflowRefresher = hasRubberBandScrolling ? 'lines' : arrowDown;
|
|
844
|
-
this.pullingIcon = config.get('refreshingIcon',
|
|
841
|
+
this.pullingIcon = config.get('refreshingIcon', mode === 'ios' && hasRubberBandScrolling ? config.get('spinner', overflowRefresher) : 'circular');
|
|
845
842
|
}
|
|
846
843
|
if (this.refreshingSpinner === undefined) {
|
|
847
|
-
|
|
844
|
+
const mode = getIonMode(this);
|
|
845
|
+
this.refreshingSpinner = config.get('refreshingSpinner', config.get('spinner', mode === 'ios' ? 'lines' : 'circular'));
|
|
848
846
|
}
|
|
849
847
|
}
|
|
850
848
|
renderPullingText() {
|
|
@@ -864,10 +862,8 @@ const RefresherContent = class {
|
|
|
864
862
|
render() {
|
|
865
863
|
const pullingIcon = this.pullingIcon;
|
|
866
864
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
867
|
-
const
|
|
868
|
-
return (h(Host, { key: '
|
|
869
|
-
[theme]: true,
|
|
870
|
-
} }, h("div", { key: 'bfcfe123ee64018a5788cc9d8742287f3a981682', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("div", { class: "spinner-arrow-container" }, h("ion-spinner", { name: this.pullingIcon, paused: true }), theme === 'md' && this.pullingIcon === 'circular' && (h("div", { class: "arrow-container" }, h("ion-icon", { icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("ion-icon", { icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '3e0abc2a65509625c5ea14e5dddcd833b8d5c34d', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { class: "refresher-refreshing-icon" }, h("ion-spinner", { name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
865
|
+
const mode = getIonMode(this);
|
|
866
|
+
return (h(Host, { key: 'c84cb333293a4b8f749505268d019698f9df431c', class: mode }, h("div", { key: 'fb3c0cd2ca4636762060b6615fc2da3ce93da20c', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("div", { class: "spinner-arrow-container" }, h("ion-spinner", { name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { class: "arrow-container" }, h("ion-icon", { icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("ion-icon", { icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '4a099f6a15854d9432d5e7ee8ade1023a6051965', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { class: "refresher-refreshing-icon" }, h("ion-spinner", { name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
871
867
|
}
|
|
872
868
|
get el() { return getElement(this); }
|
|
873
869
|
};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h,
|
|
4
|
+
import { r as registerInstance, h, f as Host, i as getElement, d as createEvent } from './index-6e4709ff.js';
|
|
5
5
|
import { j as reorderThreeOutline, k as reorderTwoSharp } from './index-e2cf2ceb.js';
|
|
6
|
-
import {
|
|
7
|
-
import { f as findClosestIonContent, g as getScrollElement } from './index-
|
|
6
|
+
import { b as getIonMode } from './ionic-global-c4e0c089.js';
|
|
7
|
+
import { f as findClosestIonContent, g as getScrollElement } from './index-5cc724f3.js';
|
|
8
8
|
import { r as raf } from './helpers-da915de8.js';
|
|
9
9
|
import { a as hapticSelectionStart, b as hapticSelectionChanged, h as hapticSelectionEnd } from './haptic-ac164e4c.js';
|
|
10
|
+
import './index-9b0d46f4.js';
|
|
10
11
|
import './capacitor-59395cbd.js';
|
|
11
12
|
import './index-a5d50daf.js';
|
|
12
13
|
|
|
13
|
-
const ionicReorderMdCss = ":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:1.9375rem;opacity:0.3}";
|
|
14
|
-
const IonReorderIonicStyle0 = ionicReorderMdCss;
|
|
15
|
-
|
|
16
14
|
const reorderIosCss = ":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:2.125rem;opacity:0.4}";
|
|
17
15
|
const IonReorderIosStyle0 = reorderIosCss;
|
|
18
16
|
|
|
@@ -33,16 +31,13 @@ const Reorder = class {
|
|
|
33
31
|
}
|
|
34
32
|
}
|
|
35
33
|
render() {
|
|
36
|
-
const
|
|
37
|
-
const reorderIcon =
|
|
38
|
-
return (h(Host, { key: '
|
|
39
|
-
[theme]: true,
|
|
40
|
-
} }, h("slot", { key: '020bf9424b64d050e85dde330acc2c92917d515d' }, h("ion-icon", { key: '753a238e178dcd8a1a7a5611b553ee6dac878255', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
34
|
+
const mode = getIonMode(this);
|
|
35
|
+
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
36
|
+
return (h(Host, { key: '4e02357926b0208480a043ee3fe0617633daca76', class: mode }, h("slot", { key: 'cedcbcdcc9702af91d00ee20664cb8be634f62d1' }, h("ion-icon", { key: 'd78d7035eae7a235f428132c2a80c8e0538c4441', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
41
37
|
}
|
|
42
38
|
get el() { return getElement(this); }
|
|
43
39
|
};
|
|
44
40
|
Reorder.style = {
|
|
45
|
-
ionic: IonReorderIonicStyle0,
|
|
46
41
|
ios: IonReorderIosStyle0,
|
|
47
42
|
md: IonReorderMdStyle0
|
|
48
43
|
};
|
|
@@ -283,9 +278,9 @@ const ReorderGroup = class {
|
|
|
283
278
|
return this.scrollEl.scrollTop - this.scrollElInitial;
|
|
284
279
|
}
|
|
285
280
|
render() {
|
|
286
|
-
const
|
|
287
|
-
return (h(Host, { key: '
|
|
288
|
-
[
|
|
281
|
+
const mode = getIonMode(this);
|
|
282
|
+
return (h(Host, { key: 'b3a4a278423a196c0980ab8d03062175d8b1f52a', class: {
|
|
283
|
+
[mode]: true,
|
|
289
284
|
'reorder-enabled': !this.disabled,
|
|
290
285
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
291
286
|
} }));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance,
|
|
5
|
-
import {
|
|
4
|
+
import { r as registerInstance, e as readTask, w as writeTask, h, i as getElement, f as Host } from './index-6e4709ff.js';
|
|
5
|
+
import { b as getIonMode } from './ionic-global-c4e0c089.js';
|
|
6
6
|
|
|
7
7
|
const rippleEffectCss = ":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}";
|
|
8
8
|
const IonRippleEffectStyle0 = rippleEffectCss;
|
|
@@ -63,9 +63,9 @@ const RippleEffect = class {
|
|
|
63
63
|
return this.type === 'unbounded';
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
const
|
|
67
|
-
return (h(Host, { key: '
|
|
68
|
-
[
|
|
66
|
+
const mode = getIonMode(this);
|
|
67
|
+
return (h(Host, { key: 'ca0ab0deaa7902cbc95e62d4b0c5baeac4387b41', role: "presentation", class: {
|
|
68
|
+
[mode]: true,
|
|
69
69
|
unbounded: this.unbounded,
|
|
70
70
|
} }));
|
|
71
71
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance,
|
|
4
|
+
import { r as registerInstance, d as createEvent, i as getElement, h, f as Host } from './index-6e4709ff.js';
|
|
5
5
|
import { c as componentOnReady, o as debounce } from './helpers-da915de8.js';
|
|
6
6
|
import { o as openURL, c as createColorClasses } from './theme-01f3f29c.js';
|
|
7
|
-
import {
|
|
7
|
+
import { b as getIonMode } from './ionic-global-c4e0c089.js';
|
|
8
8
|
|
|
9
9
|
const Route = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -872,16 +872,16 @@ const RouterLink = class {
|
|
|
872
872
|
this.target = undefined;
|
|
873
873
|
}
|
|
874
874
|
render() {
|
|
875
|
-
const
|
|
875
|
+
const mode = getIonMode(this);
|
|
876
876
|
const attrs = {
|
|
877
877
|
href: this.href,
|
|
878
878
|
rel: this.rel,
|
|
879
879
|
target: this.target,
|
|
880
880
|
};
|
|
881
|
-
return (h(Host, { key: '
|
|
882
|
-
[
|
|
881
|
+
return (h(Host, { key: '3affa4bc9806eaef4e1985c9ef7bb298342cbe95', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
882
|
+
[mode]: true,
|
|
883
883
|
'ion-activatable': true,
|
|
884
|
-
}) }, h("a", Object.assign({ key: '
|
|
884
|
+
}) }, h("a", Object.assign({ key: 'b957040fd9f8bdc1cd1fd338734c9734522c2fc3' }, attrs), h("slot", { key: 'cbf39dbce40865418fc9cd7e09a32d6c6b8f9f69' }))));
|
|
885
885
|
}
|
|
886
886
|
};
|
|
887
887
|
RouterLink.style = IonRouterLinkStyle0;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance,
|
|
4
|
+
import { r as registerInstance, d as createEvent, j as forceUpdate, h, f as Host, i as getElement } from './index-6e4709ff.js';
|
|
5
5
|
import { e as debounceEvent, h as inheritAttributes, c as componentOnReady, r as raf } from './helpers-da915de8.js';
|
|
6
6
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
7
7
|
import { c as createColorClasses } from './theme-01f3f29c.js';
|
|
8
8
|
import { a as arrowBackSharp, b as closeCircle, d as closeSharp, s as searchOutline, e as searchSharp } from './index-e2cf2ceb.js';
|
|
9
|
-
import { c as config,
|
|
10
|
-
|
|
11
|
-
const ionicSearchbarMdCss = ".sc-ion-searchbar-ionic-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ionic-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic,.ion-color.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic,.ion-color.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ionic{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ionic{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ionic{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ionic::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ionic::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ionic{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ionic>div.sc-ion-searchbar-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ionic{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ionic:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic{display:block}.searchbar-disabled.sc-ion-searchbar-ionic-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ionic-h{--background:var(--ion-background-color, #fff);--border-radius:2px;--box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--cancel-button-color:var(--ion-color-step-900, var(--ion-text-color-step-100, #1a1a1a));--clear-button-color:initial;--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--icon-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;background:inherit}.searchbar-search-icon.sc-ion-searchbar-ionic{top:11px;width:1.3125rem;height:1.3125rem}.searchbar-search-icon.sc-ion-searchbar-ionic{inset-inline-start:16px}.searchbar-cancel-button.sc-ion-searchbar-ionic{top:0;background-color:transparent;font-size:1.5em}.searchbar-cancel-button.sc-ion-searchbar-ionic{inset-inline-start:9px}.searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-cancel-button.sc-ion-searchbar-ionic{position:absolute}.searchbar-search-icon.ion-activated.sc-ion-searchbar-ionic,.searchbar-cancel-button.ion-activated.sc-ion-searchbar-ionic{background-color:transparent}.searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:3.4375rem;padding-inline-start:3.4375rem;-webkit-padding-end:3.4375rem;padding-inline-end:3.4375rem;padding-top:0.375rem;padding-bottom:0.375rem;background-position:left 8px center;height:auto;font-size:1rem;font-weight:400;line-height:30px}[dir=rtl].sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic,[dir=rtl] .sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{background-position:right 8px center}[dir=rtl].sc-ion-searchbar-ionic .searchbar-input.sc-ion-searchbar-ionic{background-position:right 8px center}@supports selector(:dir(rtl)){.searchbar-input.sc-ion-searchbar-ionic:dir(rtl){background-position:right 8px center}}.searchbar-clear-button.sc-ion-searchbar-ionic{top:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:absolute;height:100%;border:0;background-color:transparent}.searchbar-clear-button.sc-ion-searchbar-ionic{inset-inline-end:13px}.searchbar-clear-button.ion-activated.sc-ion-searchbar-ionic{background-color:transparent}.searchbar-clear-icon.sc-ion-searchbar-ionic{width:1.375rem;height:100%}.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic{display:block}.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic,.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{display:block}.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic+.searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic+.searchbar-search-icon.sc-ion-searchbar-ionic{display:none}ion-toolbar.sc-ion-searchbar-ionic-h,ion-toolbar .sc-ion-searchbar-ionic-h{-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px;padding-top:3px;padding-bottom:3px}";
|
|
12
|
-
const IonSearchbarIonicStyle0 = ionicSearchbarMdCss;
|
|
9
|
+
import { c as config, b as getIonMode } from './ionic-global-c4e0c089.js';
|
|
13
10
|
|
|
14
11
|
const searchbarIosCss = ".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #0054e9);--clear-button-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;min-height:60px;contain:content}.searchbar-input-container.sc-ion-searchbar-ios{min-height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px);top:0;position:absolute;width:1.375rem;height:100%;contain:strict}.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start:5px}.searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:6px;padding-bottom:6px;height:100%;font-size:1.0625rem;font-weight:400;contain:strict}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem;-webkit-padding-end:1.75rem;padding-inline-end:1.75rem}.searchbar-clear-button.sc-ion-searchbar-ios{top:0;background-position:center;position:absolute;width:1.875rem;height:100%;border:0;background-color:transparent}.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}.searchbar-clear-icon.sc-ion-searchbar-ios{width:1.125rem;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:17px}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:0;margin-inline-start:0}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.875rem;padding-inline-start:1.875rem}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-margin-end:-100%;margin-inline-end:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;min-height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}";
|
|
15
12
|
const IonSearchbarIosStyle0 = searchbarIosCss;
|
|
@@ -265,10 +262,10 @@ const Searchbar = class {
|
|
|
265
262
|
positionElements() {
|
|
266
263
|
const value = this.getValue();
|
|
267
264
|
const prevAlignLeft = this.shouldAlignLeft;
|
|
268
|
-
const
|
|
265
|
+
const mode = getIonMode(this);
|
|
269
266
|
const shouldAlignLeft = !this.animated || value.trim() !== '' || !!this.focused;
|
|
270
267
|
this.shouldAlignLeft = shouldAlignLeft;
|
|
271
|
-
if (
|
|
268
|
+
if (mode !== 'ios') {
|
|
272
269
|
return;
|
|
273
270
|
}
|
|
274
271
|
if (prevAlignLeft !== shouldAlignLeft) {
|
|
@@ -386,15 +383,15 @@ const Searchbar = class {
|
|
|
386
383
|
return true;
|
|
387
384
|
}
|
|
388
385
|
render() {
|
|
389
|
-
const { cancelButtonText } = this;
|
|
386
|
+
const { cancelButtonText, autocapitalize } = this;
|
|
390
387
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
391
|
-
const
|
|
392
|
-
const clearIcon = this.clearIcon || (
|
|
393
|
-
const searchIcon = this.searchIcon || (
|
|
388
|
+
const mode = getIonMode(this);
|
|
389
|
+
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
390
|
+
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
394
391
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
395
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
396
|
-
return (h(Host, { key: '
|
|
397
|
-
[
|
|
392
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '988915b91dd135bb3a4ba5ff31b2765f78cc05a0', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '239b7d21a29a527f515dcdf7ec1fc87f1aa1cc54', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
393
|
+
return (h(Host, { key: '78cb90f96e83e11b158baf600af907ee7512abba', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
394
|
+
[mode]: true,
|
|
398
395
|
'searchbar-animated': animated,
|
|
399
396
|
'searchbar-disabled': this.disabled,
|
|
400
397
|
'searchbar-no-animate': animated && this.noAnimate,
|
|
@@ -403,14 +400,14 @@ const Searchbar = class {
|
|
|
403
400
|
'searchbar-has-focus': this.focused,
|
|
404
401
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
405
402
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
406
|
-
}) }, h("div", { key: '
|
|
403
|
+
}) }, h("div", { key: '50660dbb27cc15bc69d22fa61e7be643fc6a75c2', class: "searchbar-input-container" }, h("input", Object.assign({ key: 'b84654d68aa77e4f30b9009d7e2e04dfee96717e', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, h("ion-icon", { key: '7b1ddb05941fd0ada3b256bdeaf4e29153917546', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: '3219fff5d78ee3fe0ae092e5218b1ab0b1ba2766', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
407
404
|
/**
|
|
408
405
|
* This prevents mobile browsers from
|
|
409
406
|
* blurring the input when the clear
|
|
410
407
|
* button is activated.
|
|
411
408
|
*/
|
|
412
409
|
ev.preventDefault();
|
|
413
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
410
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '859e781c418d1a03992c12f4466f77ac042266e8', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
414
411
|
}
|
|
415
412
|
get el() { return getElement(this); }
|
|
416
413
|
static get watchers() { return {
|
|
@@ -423,7 +420,6 @@ const Searchbar = class {
|
|
|
423
420
|
};
|
|
424
421
|
let searchbarIds = 0;
|
|
425
422
|
Searchbar.style = {
|
|
426
|
-
ionic: IonSearchbarIonicStyle0,
|
|
427
423
|
ios: IonSearchbarIosStyle0,
|
|
428
424
|
md: IonSearchbarMdStyle0
|
|
429
425
|
};
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance,
|
|
4
|
+
import { r as registerInstance, d as createEvent, w as writeTask, h, f as Host, i as getElement, j as forceUpdate } from './index-6e4709ff.js';
|
|
5
5
|
import { r as raf, a as addEventListener, b as removeEventListener, h as inheritAttributes } from './helpers-da915de8.js';
|
|
6
6
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
7
7
|
import { c as createColorClasses, h as hostContext } from './theme-01f3f29c.js';
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
const ionicSegmentMdCss = ":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:transparent;grid-auto-columns:minmax(auto, 360px)}:host(.in-toolbar){min-height:var(--min-height)}:host(.segment-scrollable) ::slotted(ion-segment-button){min-width:auto}";
|
|
11
|
-
const IonSegmentIonicStyle0 = ionicSegmentMdCss;
|
|
8
|
+
import { b as getIonMode } from './ionic-global-c4e0c089.js';
|
|
12
9
|
|
|
13
10
|
const segmentIosCss = ":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:auto}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}";
|
|
14
11
|
const IonSegmentIosStyle0 = segmentIosCss;
|
|
@@ -428,15 +425,15 @@ const Segment = class {
|
|
|
428
425
|
current.setFocus();
|
|
429
426
|
}
|
|
430
427
|
render() {
|
|
431
|
-
const
|
|
432
|
-
return (h(Host, { key: '
|
|
433
|
-
[
|
|
428
|
+
const mode = getIonMode(this);
|
|
429
|
+
return (h(Host, { key: 'c11b46ad7311cf015402f3a6d4d58316d8d48faa', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
430
|
+
[mode]: true,
|
|
434
431
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
435
432
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
436
433
|
'segment-activated': this.activated,
|
|
437
434
|
'segment-disabled': this.disabled,
|
|
438
435
|
'segment-scrollable': this.scrollable,
|
|
439
|
-
}) }, h("slot", { key: '
|
|
436
|
+
}) }, h("slot", { key: '47ef8ff809cc11ea27fda5116cae25540b0a6f92' })));
|
|
440
437
|
}
|
|
441
438
|
get el() { return getElement(this); }
|
|
442
439
|
static get watchers() { return {
|
|
@@ -447,14 +444,10 @@ const Segment = class {
|
|
|
447
444
|
}; }
|
|
448
445
|
};
|
|
449
446
|
Segment.style = {
|
|
450
|
-
ionic: IonSegmentIonicStyle0,
|
|
451
447
|
ios: IonSegmentIosStyle0,
|
|
452
448
|
md: IonSegmentMdStyle0
|
|
453
449
|
};
|
|
454
450
|
|
|
455
|
-
const ionicSegmentButtonMdCss = ":host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:var(--color-checked);--background-focused:var(--color-checked);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #0054e9);--indicator-box-shadow:none;--indicator-color:var(--color-checked);--indicator-height:2px;--indicator-transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--padding-top:0;--padding-end:16px;--padding-bottom:0;--padding-start:16px;--transition:color 0.15s linear 0s, opacity 0.15s linear 0s;min-width:90px;min-height:48px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);font-size:14px;font-weight:500;letter-spacing:0.06em;line-height:40px;text-transform:uppercase}:host(.segment-button-disabled){opacity:0.3}:host(.in-segment-color){background:none;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color) ion-ripple-effect{color:var(--ion-color-base)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked) .button-native{color:var(--ion-color-base)}:host(.in-segment-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color:hover) .button-native::after{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-segment-color)){--background:var(--ion-toolbar-segment-background, none);--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6));--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-color-primary, #0054e9));--indicator-color:var(--ion-toolbar-segment-color-checked, var(--color-checked))}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:rgba(var(--ion-color-contrast-rgb), 0.6)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color)) .button-native::after{background:var(--ion-color-contrast)}}::slotted(ion-icon){margin-top:12px;margin-bottom:12px;font-size:24px}::slotted(ion-label){margin-top:12px;margin-bottom:12px}:host(.segment-button-layout-icon-top) ::slotted(ion-label),:host(.segment-button-layout-icon-bottom) ::slotted(ion-icon){margin-top:0}:host(.segment-button-layout-icon-top) ::slotted(ion-icon),:host(.segment-button-layout-icon-bottom) ::slotted(ion-label){margin-bottom:0}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}:host(.segment-button-has-icon-only) ::slotted(ion-icon){margin-top:12px;margin-bottom:12px}:host(.segment-button-has-label-only) ::slotted(ion-label){margin-top:12px;margin-bottom:12px}.segment-button-indicator{left:0;right:0;bottom:0}.segment-button-indicator-background{background:var(--indicator-color)}:host(.in-toolbar:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-toolbar-segment-indicator-color, var(--indicator-color))}:host(.in-toolbar-color:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-color-contrast)}";
|
|
456
|
-
const IonSegmentButtonIonicStyle0 = ionicSegmentButtonMdCss;
|
|
457
|
-
|
|
458
451
|
const segmentButtonIosCss = ":host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:none;--background-hover-opacity:0;--background-focused:none;--background-focused-opacity:0;--border-radius:7px;--border-width:1px;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--border-style:solid;--indicator-box-shadow:0 0 5px rgba(0, 0, 0, 0.16);--indicator-color:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)));--indicator-height:100%;--indicator-transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--transition:100ms all linear;--padding-top:0;--padding-end:13px;--padding-bottom:0;--padding-start:13px;margin-top:2px;margin-bottom:2px;position:relative;-ms-flex-direction:row;flex-direction:row;min-width:70px;min-height:28px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-size:13px;font-weight:450;line-height:37px}:host::before{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;-webkit-transition:160ms opacity ease-in-out;transition:160ms opacity ease-in-out;-webkit-transition-delay:100ms;transition-delay:100ms;border-left:var(--border-width) var(--border-style) var(--border-color);content:\"\";opacity:1;will-change:opacity}:host(:first-of-type)::before{border-left-color:transparent}:host(.segment-button-disabled){opacity:0.3}::slotted(ion-icon){font-size:24px}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:2px;margin-inline-end:2px}.segment-button-indicator{-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;left:0;right:0;top:0;bottom:0}.segment-button-indicator-background{border-radius:var(--border-radius);background:var(--indicator-color)}.segment-button-indicator-background{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked)::before,:host(.segment-button-after-checked)::before{opacity:0}:host(.segment-button-checked){z-index:-1}:host(.segment-button-activated){--indicator-transform:scale(0.95)}:host(.ion-focused) .button-native{opacity:0.7}@media (any-hover: hover){:host(:hover) .button-native{opacity:0.5}:host(.segment-button-checked:hover) .button-native{opacity:1}}:host(.in-segment-color){background:none;color:var(--ion-text-color, #000)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)))}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native,:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-text-color, #000)}}:host(.in-toolbar:not(.in-segment-color)){--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, var(--ion-toolbar-color), initial);--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-toolbar-color), initial);--indicator-color:var(--ion-toolbar-segment-indicator-color, var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff))))}:host(.in-toolbar-color) .segment-button-indicator-background{background:var(--ion-color-contrast)}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color):hover) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color):hover) .button-native{color:var(--ion-color-base)}}";
|
|
459
452
|
const IonSegmentButtonIosStyle0 = segmentButtonIosCss;
|
|
460
453
|
|
|
@@ -526,10 +519,10 @@ const SegmentButton = class {
|
|
|
526
519
|
}
|
|
527
520
|
render() {
|
|
528
521
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
529
|
-
const
|
|
522
|
+
const mode = getIonMode(this);
|
|
530
523
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
531
|
-
return (h(Host, { key: '
|
|
532
|
-
[
|
|
524
|
+
return (h(Host, { key: '67fab48aa470e71df51854a12d9fc3d744435c8f', class: {
|
|
525
|
+
[mode]: true,
|
|
533
526
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
534
527
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
535
528
|
'in-segment': hostContext('ion-segment', this.el),
|
|
@@ -544,10 +537,10 @@ const SegmentButton = class {
|
|
|
544
537
|
'ion-activatable': true,
|
|
545
538
|
'ion-activatable-instant': true,
|
|
546
539
|
'ion-focusable': true,
|
|
547
|
-
} }, h("button", Object.assign({ key: '
|
|
540
|
+
} }, h("button", Object.assign({ key: 'dcc61cd35f1ff3535241c21630ae5f36166f6a7e', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '8ea97d13b245a0ac3a37d2452180e8638565f0c7', class: "button-inner" }, h("slot", { key: 'b6abce60c1fa41db06b7af8a4de026f7d940f8d4' })), mode === 'md' && h("ion-ripple-effect", null)), h("div", { key: '2ce136fd46ca6a8b8f2c3a681672a08c6d6c3657', part: "indicator", class: {
|
|
548
541
|
'segment-button-indicator': true,
|
|
549
542
|
'segment-button-indicator-animated': true,
|
|
550
|
-
} }, h("div", { key: '
|
|
543
|
+
} }, h("div", { key: 'eac73d7b71edeecb92b6cdfc5a489ce6413bfb60', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
551
544
|
}
|
|
552
545
|
get el() { return getElement(this); }
|
|
553
546
|
static get watchers() { return {
|
|
@@ -555,7 +548,6 @@ const SegmentButton = class {
|
|
|
555
548
|
}; }
|
|
556
549
|
};
|
|
557
550
|
SegmentButton.style = {
|
|
558
|
-
ionic: IonSegmentButtonIonicStyle0,
|
|
559
551
|
ios: IonSegmentButtonIosStyle0,
|
|
560
552
|
md: IonSegmentButtonMdStyle0
|
|
561
553
|
};
|