@ionic/core 8.5.2-dev.11743424594.169340bf → 8.5.2-dev.11743531350.19e040aa
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 +8 -13
- package/components/alert.js +10 -15
- package/components/animation.js +1 -1
- package/components/backdrop.js +6 -10
- package/components/button.js +11 -41
- package/components/buttons.js +7 -11
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +12 -30
- package/components/content.js +12 -14
- package/components/data.js +6 -6
- package/components/focus-visible.js +1 -23
- package/components/framework-delegate.js +1 -3
- package/components/hardware-back-button.js +115 -0
- package/components/header.js +15 -24
- package/components/helpers.js +3 -54
- package/components/index2.js +2 -2
- package/components/index4.js +9 -8
- package/components/index5.js +3 -27
- package/components/index6.js +24 -110
- package/components/index7.js +27 -163
- package/components/index8.js +128 -0
- package/{dist/esm/index-0c65e393.js → components/index9.js} +2 -5
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +2 -1
- package/components/ion-accordion-group.js +6 -25
- package/components/ion-accordion.js +17 -36
- package/components/ion-app.js +77 -14
- package/components/ion-avatar.js +5 -58
- package/components/ion-back-button.js +19 -29
- package/components/ion-badge.js +9 -50
- package/components/ion-breadcrumb.js +11 -45
- package/components/ion-breadcrumbs.js +5 -9
- package/components/ion-card-content.js +7 -11
- 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 +9 -17
- package/components/ion-chip.js +8 -45
- package/components/ion-col.js +5 -5
- package/components/ion-datetime-button.js +6 -9
- package/components/ion-datetime.js +21 -99
- package/components/ion-fab-button.js +10 -33
- package/components/ion-fab-list.js +5 -5
- package/components/ion-fab.js +6 -6
- package/components/ion-footer.js +12 -18
- package/components/ion-grid.js +5 -5
- package/components/ion-img.js +2 -5
- package/components/ion-infinite-scroll-content.js +8 -13
- package/components/ion-infinite-scroll.js +5 -5
- package/components/ion-input-password-toggle.js +14 -53
- package/components/ion-input.js +20 -118
- package/components/ion-item-divider.js +5 -9
- package/components/ion-item-group.js +5 -9
- package/components/ion-item-option.js +8 -28
- package/components/ion-item-options.js +5 -9
- package/components/ion-item-sliding.js +5 -5
- package/components/ion-loading.js +8 -13
- package/components/ion-menu-button.js +10 -28
- package/components/ion-menu-toggle.js +5 -5
- package/components/ion-menu.js +8 -12
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +6 -8
- package/components/ion-note.js +5 -9
- package/components/ion-picker-legacy.js +8 -7
- package/components/ion-progress-bar.js +7 -28
- package/components/ion-range.js +28 -15
- package/components/ion-refresher-content.js +9 -28
- package/components/ion-refresher.js +7 -11
- package/components/ion-reorder-group.js +5 -5
- package/components/ion-reorder.js +5 -31
- package/components/ion-router-link.js +6 -6
- package/components/ion-router-outlet.js +3 -4
- package/components/ion-row.js +2 -5
- package/components/ion-searchbar.js +18 -141
- package/components/ion-segment-button.js +25 -60
- package/components/ion-segment-content.js +2 -2
- package/components/ion-segment-view.js +2 -6
- package/components/ion-segment.js +7 -11
- package/components/ion-select-option.js +2 -5
- package/components/ion-select.js +33 -120
- package/components/ion-skeleton-text.js +5 -6
- package/components/ion-split-pane.js +8 -12
- package/components/ion-tab-bar.js +8 -31
- package/components/ion-tab-button.js +7 -28
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +2 -2
- package/components/ion-text.js +5 -5
- package/components/ion-textarea.js +11 -48
- package/components/ion-thumbnail.js +2 -5
- package/components/ion-toast.js +11 -30
- package/components/ion-toggle.js +18 -77
- package/components/ionic-global.js +82 -378
- package/components/ios.transition.js +0 -1
- package/components/item.js +11 -41
- package/components/keyboard-controller.js +2 -4
- package/components/label.js +5 -9
- package/components/list-header.js +5 -9
- package/components/list.js +6 -29
- package/components/modal.js +21 -51
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +5 -4
- package/components/picker-column-option.js +5 -9
- package/components/picker-column.js +8 -7
- package/components/picker-column2.js +4 -4
- package/components/picker.js +4 -8
- package/components/popover.js +8 -11
- package/components/radio-group.js +5 -11
- package/components/radio.js +8 -12
- package/components/ripple-effect.js +8 -18
- package/components/select-modal.js +3 -3
- package/components/select-popover.js +2 -9
- package/components/spinner.js +9 -36
- package/components/status-tap.js +1 -1
- package/components/title.js +7 -11
- package/components/toolbar.js +7 -11
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{animation-124b7017.js → animation-b4fdf128.js} +2 -2
- package/dist/cjs/{app-globals-04316582.js → app-globals-dd592863.js} +1 -1
- package/dist/cjs/{button-active-6c0ef0f0.js → button-active-43e2b419.js} +1 -1
- package/dist/cjs/{capacitor-ec2a454d.js → capacitor-c04564bf.js} +3 -3
- package/dist/cjs/{data-ae8423e6.js → data-27cc2c9c.js} +8 -8
- package/dist/{esm/focus-visible-6827442c.js → cjs/focus-visible-7a0ce04f.js} +3 -23
- package/dist/cjs/{framework-delegate-4de32fdc.js → framework-delegate-50a86d56.js} +2 -4
- package/dist/cjs/{haptic-f262299e.js → haptic-f6b37aa3.js} +1 -1
- package/dist/cjs/hardware-back-button-5a99001f.js +122 -0
- package/dist/cjs/{helpers-4211d834.js → helpers-3a248559.js} +2 -54
- package/dist/cjs/index-48b2a28e.js +46 -0
- package/dist/cjs/{index-943c0438.js → index-4b70187a.js} +15 -14
- package/dist/cjs/{index-f835dc22.js → index-509ca0d3.js} +3 -3
- package/dist/cjs/index-c8d52405.js +10 -0
- package/dist/cjs/{index-3d31ef2d.js → index-e36bd277.js} +7 -10
- package/dist/cjs/{index-042a8f38.js → index-e630fd95.js} +12 -12
- package/dist/cjs/index.cjs.js +12 -11
- package/dist/cjs/{input-shims-c93f3c7f.js → input-shims-22a9973f.js} +18 -18
- package/dist/cjs/{input.utils-00741e7b.js → input.utils-e82b8ed0.js} +5 -4
- package/dist/cjs/ion-accordion_2.cjs.entry.js +24 -62
- package/dist/cjs/ion-action-sheet.cjs.entry.js +18 -22
- package/dist/cjs/ion-alert.cjs.entry.js +23 -26
- package/dist/cjs/ion-app_8.cjs.entry.js +152 -113
- package/dist/cjs/ion-avatar_3.cjs.entry.js +11 -102
- package/dist/cjs/ion-back-button.cjs.entry.js +21 -32
- package/dist/cjs/ion-backdrop.cjs.entry.js +6 -11
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +15 -54
- package/dist/cjs/ion-button_2.cjs.entry.js +15 -47
- package/dist/cjs/ion-card_5.cjs.entry.js +28 -53
- package/dist/cjs/ion-checkbox.cjs.entry.js +13 -31
- package/dist/cjs/ion-chip.cjs.entry.js +7 -43
- package/dist/cjs/ion-col_3.cjs.entry.js +10 -14
- package/dist/cjs/ion-datetime-button.cjs.entry.js +12 -17
- package/dist/cjs/ion-datetime_3.cjs.entry.js +115 -191
- package/dist/cjs/ion-fab_3.cjs.entry.js +19 -43
- package/dist/cjs/ion-img.cjs.entry.js +3 -8
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +17 -22
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +16 -55
- package/dist/cjs/ion-input.cjs.entry.js +23 -119
- package/dist/cjs/ion-item-option_3.cjs.entry.js +17 -41
- package/dist/cjs/ion-item_8.cjs.entry.js +41 -114
- package/dist/cjs/ion-loading.cjs.entry.js +18 -21
- package/dist/cjs/ion-menu_3.cjs.entry.js +29 -49
- package/dist/cjs/ion-modal.cjs.entry.js +70 -99
- package/dist/cjs/ion-nav_2.cjs.entry.js +13 -16
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +6 -12
- package/dist/cjs/ion-picker-column.cjs.entry.js +12 -13
- package/dist/cjs/ion-picker.cjs.entry.js +5 -11
- package/dist/cjs/ion-popover.cjs.entry.js +18 -21
- package/dist/cjs/ion-progress-bar.cjs.entry.js +8 -29
- package/dist/cjs/ion-radio_2.cjs.entry.js +13 -25
- package/dist/cjs/ion-range.cjs.entry.js +34 -23
- package/dist/cjs/ion-refresher_2.cjs.entry.js +23 -45
- package/dist/cjs/ion-reorder_2.cjs.entry.js +13 -38
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +7 -18
- package/dist/cjs/ion-route_4.cjs.entry.js +7 -9
- package/dist/cjs/ion-searchbar.cjs.entry.js +17 -139
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -6
- package/dist/cjs/ion-segment_2.cjs.entry.js +31 -72
- package/dist/cjs/ion-select-modal.cjs.entry.js +10 -9
- package/dist/cjs/ion-select_3.cjs.entry.js +40 -134
- package/dist/cjs/ion-spinner.cjs.entry.js +9 -35
- package/dist/cjs/ion-split-pane.cjs.entry.js +8 -13
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +20 -61
- package/dist/cjs/ion-tab_2.cjs.entry.js +6 -8
- package/dist/cjs/ion-text.cjs.entry.js +5 -6
- package/dist/cjs/ion-textarea.cjs.entry.js +16 -52
- package/dist/cjs/ion-toast.cjs.entry.js +42 -60
- package/dist/cjs/ion-toggle.cjs.entry.js +22 -81
- package/dist/cjs/ionic-global-acb665ad.js +227 -0
- package/dist/cjs/ionic.cjs.js +3 -4
- package/dist/cjs/{ios.transition-cdf1959e.js → ios.transition-ae7afca9.js} +6 -7
- package/dist/cjs/{keyboard-924ba9a2.js → keyboard-0272231f.js} +1 -1
- package/dist/cjs/{keyboard-9cd4a473.js → keyboard-af1bb365.js} +3 -5
- package/dist/cjs/{keyboard-controller-dc7a55c4.js → keyboard-controller-c05e747a.js} +9 -11
- package/dist/cjs/loader.cjs.js +3 -4
- package/dist/cjs/{md.transition-6a00a3e7.js → md.transition-26003e25.js} +6 -6
- package/dist/cjs/{notch-controller-14681d65.js → notch-controller-ae03a497.js} +4 -4
- package/dist/cjs/{overlays-288b775b.js → overlays-a0c6b23f.js} +20 -19
- package/dist/cjs/{status-tap-a41ad873.js → status-tap-03023755.js} +4 -5
- package/dist/cjs/{swipe-back-cf9385d3.js → swipe-back-cd0d9f77.js} +1 -3
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/accordion/accordion.ios.css +58 -73
- package/dist/collection/components/accordion/accordion.js +21 -37
- package/dist/collection/components/accordion/accordion.md.css +59 -67
- package/dist/collection/components/accordion-group/accordion-group.ios.css +4 -16
- package/dist/collection/components/accordion-group/accordion-group.js +8 -43
- package/dist/collection/components/accordion-group/accordion-group.md.css +4 -22
- package/dist/collection/components/action-sheet/action-sheet.ios.css +6 -18
- package/dist/collection/components/action-sheet/action-sheet.js +10 -14
- package/dist/collection/components/action-sheet/action-sheet.md.css +5 -17
- package/dist/collection/components/alert/alert.ios.css +1 -19
- package/dist/collection/components/alert/alert.js +12 -15
- package/dist/collection/components/alert/alert.md.css +1 -19
- package/dist/collection/components/app/app.js +80 -22
- package/dist/collection/components/avatar/avatar.ios.css +0 -13
- package/dist/collection/components/avatar/avatar.js +4 -113
- package/dist/collection/components/avatar/avatar.md.css +0 -90
- package/dist/collection/components/back-button/back-button.ios.css +48 -60
- package/dist/collection/components/back-button/back-button.js +19 -27
- package/dist/collection/components/back-button/back-button.md.css +48 -60
- package/dist/collection/components/backdrop/backdrop.ios.css +1 -13
- package/dist/collection/components/backdrop/backdrop.js +6 -12
- package/dist/collection/components/backdrop/backdrop.md.css +1 -13
- package/dist/collection/components/badge/badge.ios.css +4 -147
- package/dist/collection/components/badge/badge.js +9 -97
- package/dist/collection/components/badge/badge.md.css +4 -131
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +8 -20
- package/dist/collection/components/breadcrumb/breadcrumb.js +11 -43
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +8 -20
- 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 +37 -131
- package/dist/collection/components/button/button.js +16 -46
- package/dist/collection/components/button/button.md.css +41 -122
- package/dist/collection/components/buttons/buttons.ios.css +7 -59
- package/dist/collection/components/buttons/buttons.js +8 -14
- package/dist/collection/components/buttons/buttons.md.css +3 -55
- package/dist/collection/components/card/card.ios.css +14 -65
- package/dist/collection/components/card/card.js +10 -34
- package/dist/collection/components/card/card.md.css +14 -65
- package/dist/collection/components/card-content/card-content.ios.css +1 -16
- package/dist/collection/components/card-content/card-content.js +8 -11
- package/dist/collection/components/card-content/card-content.md.css +1 -16
- package/dist/collection/components/card-header/card-header.ios.css +15 -27
- package/dist/collection/components/card-header/card-header.js +9 -12
- package/dist/collection/components/card-header/card-header.md.css +15 -27
- 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 -73
- package/dist/collection/components/card-title/card-title.js +8 -11
- package/dist/collection/components/card-title/card-title.md.css +0 -73
- package/dist/collection/components/checkbox/checkbox.ios.css +119 -179
- package/dist/collection/components/checkbox/checkbox.js +14 -64
- package/dist/collection/components/checkbox/checkbox.md.css +120 -180
- package/dist/collection/components/chip/chip.ios.css +1 -20
- package/dist/collection/components/chip/chip.js +8 -77
- package/dist/collection/components/chip/chip.md.css +1 -20
- 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 +2 -8
- package/dist/collection/components/content/content.js +11 -16
- package/dist/collection/components/datetime/datetime.ios.css +86 -237
- package/dist/collection/components/datetime/datetime.js +20 -98
- package/dist/collection/components/datetime/datetime.md.css +86 -237
- package/dist/collection/components/datetime/utils/data.js +5 -5
- 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 +1 -25
- package/dist/collection/components/fab/fab.js +5 -9
- package/dist/collection/components/fab-button/fab-button.ios.css +6 -18
- package/dist/collection/components/fab-button/fab-button.js +15 -36
- package/dist/collection/components/fab-button/fab-button.md.css +8 -20
- 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 +2 -14
- package/dist/collection/components/footer/footer.js +15 -20
- 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 +10 -25
- package/dist/collection/components/header/header.js +17 -42
- package/dist/collection/components/header/header.md.css +8 -23
- 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 +135 -215
- package/dist/collection/components/input/input.js +30 -144
- package/dist/collection/components/input/input.md.css +137 -237
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +12 -48
- package/dist/collection/components/item/item.ios.css +69 -109
- package/dist/collection/components/item/item.js +16 -44
- package/dist/collection/components/item/item.md.css +68 -120
- 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 +2 -14
- package/dist/collection/components/item-option/item-option.js +8 -43
- package/dist/collection/components/item-option/item-option.md.css +2 -14
- 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 -47
- package/dist/collection/components/list/list.md.css +2 -20
- 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 +1 -13
- package/dist/collection/components/loading/loading.js +10 -13
- package/dist/collection/components/loading/loading.md.css +1 -13
- package/dist/collection/components/menu/menu.ios.css +3 -15
- package/dist/collection/components/menu/menu.js +7 -12
- package/dist/collection/components/menu/menu.md.css +3 -15
- package/dist/collection/components/menu-button/menu-button.ios.css +14 -48
- package/dist/collection/components/menu-button/menu-button.js +10 -26
- package/dist/collection/components/menu-button/menu-button.md.css +15 -49
- package/dist/collection/components/menu-toggle/menu-toggle.js +5 -8
- package/dist/collection/components/modal/animations/sheet.js +2 -8
- package/dist/collection/components/modal/gestures/sheet.js +6 -10
- package/dist/collection/components/modal/modal.ios.css +63 -106
- package/dist/collection/components/modal/modal.js +11 -47
- package/dist/collection/components/modal/modal.md.css +63 -106
- package/dist/collection/components/nav/nav.css +1 -7
- 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 +3 -15
- package/dist/collection/components/picker/picker.js +5 -8
- package/dist/collection/components/picker/picker.md.css +3 -15
- package/dist/collection/components/picker-column/picker-column.css +2 -9
- 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 +1 -13
- package/dist/collection/components/picker-legacy/picker.js +6 -7
- package/dist/collection/components/picker-legacy/picker.md.css +1 -13
- 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 +1 -13
- package/dist/collection/components/popover/popover.js +12 -15
- package/dist/collection/components/popover/popover.md.css +1 -13
- package/dist/collection/components/progress-bar/progress-bar.ios.css +2 -8
- package/dist/collection/components/progress-bar/progress-bar.js +7 -42
- package/dist/collection/components/progress-bar/progress-bar.md.css +2 -8
- package/dist/collection/components/radio/radio.ios.css +91 -134
- package/dist/collection/components/radio/radio.js +9 -12
- package/dist/collection/components/radio/radio.md.css +91 -134
- package/dist/collection/components/radio-group/radio-group.ios.css +18 -42
- package/dist/collection/components/radio-group/radio-group.js +5 -13
- package/dist/collection/components/radio-group/radio-group.md.css +18 -42
- package/dist/collection/components/range/range.ios.css +85 -128
- package/dist/collection/components/range/range.js +27 -14
- package/dist/collection/components/range/range.md.css +85 -128
- package/dist/collection/components/refresher/refresher.ios.css +1 -14
- package/dist/collection/components/refresher/refresher.js +8 -11
- package/dist/collection/components/refresher/refresher.md.css +2 -15
- package/dist/collection/components/refresher-content/refresher-content.js +7 -28
- package/dist/collection/components/reorder/reorder.ios.css +0 -6
- package/dist/collection/components/reorder/reorder.js +6 -33
- 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.common.css → ripple-effect.css} +1 -7
- package/dist/collection/components/ripple-effect/ripple-effect.js +6 -14
- 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 +2 -8
- package/dist/collection/components/router-link/router-link.js +5 -9
- package/dist/collection/components/router-outlet/router-outlet.css +1 -7
- 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 +18 -56
- package/dist/collection/components/searchbar/searchbar.js +29 -179
- package/dist/collection/components/searchbar/searchbar.md.css +18 -56
- package/dist/collection/components/segment/segment.ios.css +2 -45
- package/dist/collection/components/segment/segment.js +8 -11
- package/dist/collection/components/segment/segment.md.css +2 -45
- package/dist/collection/components/segment-button/segment-button.ios.css +105 -146
- package/dist/collection/components/segment-button/segment-button.js +26 -60
- package/dist/collection/components/segment-button/segment-button.md.css +107 -148
- package/dist/collection/components/segment-content/segment-content.css +9 -0
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.ios.css +0 -6
- package/dist/collection/components/segment-view/segment-view.js +4 -6
- package/dist/collection/components/segment-view/segment-view.md.css +0 -6
- package/dist/collection/components/select/select.ios.css +134 -267
- package/dist/collection/components/select/select.js +55 -157
- package/dist/collection/components/select/select.md.css +136 -283
- package/dist/collection/components/select-modal/select-modal.ios.css +0 -18
- package/dist/collection/components/select-modal/select-modal.js +3 -3
- package/dist/collection/components/select-modal/select-modal.md.css +3 -7
- 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.ionic.css → spinner.css} +0 -63
- package/dist/collection/components/spinner/spinner.js +6 -46
- package/dist/collection/components/split-pane/split-pane.ios.css +2 -20
- package/dist/collection/components/split-pane/split-pane.js +8 -14
- package/dist/collection/components/split-pane/split-pane.md.css +2 -20
- package/dist/collection/components/tab/tab.js +2 -6
- package/dist/collection/components/tab-bar/tab-bar.ios.css +43 -71
- package/dist/collection/components/tab-bar/tab-bar.js +10 -65
- package/dist/collection/components/tab-bar/tab-bar.md.css +43 -71
- package/dist/collection/components/tab-button/tab-button.ios.css +90 -166
- package/dist/collection/components/tab-button/tab-button.js +8 -43
- package/dist/collection/components/tab-button/tab-button.md.css +88 -132
- package/dist/collection/components/tabs/tabs.css +1 -7
- 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 +96 -205
- package/dist/collection/components/textarea/textarea.js +16 -69
- package/dist/collection/components/textarea/textarea.md.css +97 -218
- 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 +4 -32
- package/dist/collection/components/title/title.js +7 -13
- package/dist/collection/components/title/title.md.css +4 -32
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ios.css +35 -74
- package/dist/collection/components/toast/toast.js +10 -45
- package/dist/collection/components/toast/toast.md.css +35 -74
- package/dist/collection/components/toggle/toggle.ios.css +129 -245
- package/dist/collection/components/toggle/toggle.js +18 -73
- package/dist/collection/components/toggle/toggle.md.css +129 -242
- package/dist/collection/components/toolbar/toolbar.ios.css +47 -90
- package/dist/collection/components/toolbar/toolbar.js +10 -13
- package/dist/collection/components/toolbar/toolbar.md.css +47 -90
- package/dist/collection/global/ionic-global.js +13 -229
- package/dist/collection/utils/focus-visible.js +0 -22
- package/dist/collection/utils/framework-delegate.js +1 -3
- package/dist/collection/utils/helpers.js +2 -52
- package/dist/collection/utils/keyboard/keyboard-controller.js +1 -3
- 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/overlays.js +1 -2
- package/dist/collection/utils/test/playwright/generator.js +23 -48
- package/dist/collection/utils/test/playwright/page/utils/goto.js +5 -14
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +2 -16
- package/dist/collection/utils/transition/ios.transition.js +0 -1
- package/dist/docs.json +331 -7486
- package/dist/esm/{animation-12d440f3.js → animation-eab5a4ca.js} +1 -1
- package/dist/esm/{app-globals-2497eeed.js → app-globals-7b6cbf1a.js} +1 -1
- package/dist/esm/{button-active-8f33f086.js → button-active-90f1dbc4.js} +2 -2
- package/dist/esm/{capacitor-39edcb1f.js → capacitor-59395cbd.js} +1 -1
- package/dist/esm/{data-591c1b05.js → data-174ad5e0.js} +6 -6
- package/dist/{cjs/focus-visible-fe3acfb5.js → esm/focus-visible-dd40d69f.js} +1 -27
- package/dist/esm/{framework-delegate-9ad3e427.js → framework-delegate-2eea1763.js} +2 -4
- package/dist/esm/{haptic-946542b8.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm/hardware-back-button-864101a3.js +116 -0
- package/dist/esm/{helpers-ea1f7324.js → helpers-78efeec3.js} +3 -54
- package/dist/esm/index-40894f4b.js +167 -0
- package/dist/esm/{index-4c3c5d46.js → index-527b9e34.js} +1 -1
- package/dist/esm/index-738d7504.js +42 -0
- package/dist/esm/index-a5d50daf.js +7 -0
- package/dist/esm/{index-d997525d.js → index-e2cf2ceb.js} +1 -1
- package/dist/esm/{index-f36a3fa4.js → index-e919e353.js} +2 -2
- package/dist/esm/{index-eb1203fa.js → index-ecb55b8d.js} +6 -6
- package/dist/esm/{index-036caa00.js → index-f9f5d018.js} +11 -10
- package/dist/esm/index.js +13 -12
- package/dist/esm/{input-shims-96f8d7c2.js → input-shims-7dc1f6dc.js} +8 -8
- package/dist/esm/{input.utils-22a20c3a.js → input.utils-28bf4ef0.js} +3 -2
- package/dist/esm/ion-accordion_2.entry.js +24 -62
- package/dist/esm/ion-action-sheet.entry.js +19 -23
- package/dist/esm/ion-alert.entry.js +21 -24
- package/dist/esm/ion-app_8.entry.js +140 -101
- package/dist/esm/ion-avatar_3.entry.js +13 -104
- package/dist/esm/ion-back-button.entry.js +21 -32
- package/dist/esm/ion-backdrop.entry.js +7 -12
- package/dist/esm/ion-breadcrumb_2.entry.js +17 -56
- package/dist/esm/ion-button_2.entry.js +13 -45
- package/dist/esm/ion-card_5.entry.js +29 -54
- package/dist/esm/ion-checkbox.entry.js +14 -32
- package/dist/esm/ion-chip.entry.js +8 -44
- package/dist/esm/ion-col_3.entry.js +11 -15
- package/dist/esm/ion-datetime-button.entry.js +9 -14
- package/dist/esm/ion-datetime_3.entry.js +41 -117
- package/dist/esm/ion-fab_3.entry.js +21 -45
- package/dist/esm/ion-img.entry.js +4 -9
- package/dist/esm/ion-infinite-scroll_2.entry.js +15 -20
- package/dist/esm/ion-input-password-toggle.entry.js +15 -54
- package/dist/esm/ion-input.entry.js +25 -121
- package/dist/esm/ion-item-option_3.entry.js +18 -42
- package/dist/esm/ion-item_8.entry.js +42 -115
- package/dist/esm/ion-loading.entry.js +16 -19
- package/dist/esm/ion-menu_3.entry.js +29 -49
- package/dist/esm/ion-modal.entry.js +31 -60
- package/dist/esm/ion-nav_2.entry.js +12 -15
- package/dist/esm/ion-picker-column-option.entry.js +7 -13
- package/dist/esm/ion-picker-column.entry.js +12 -13
- package/dist/esm/ion-picker.entry.js +6 -12
- package/dist/esm/ion-popover.entry.js +16 -19
- package/dist/esm/ion-progress-bar.entry.js +8 -29
- package/dist/esm/ion-radio_2.entry.js +14 -26
- package/dist/esm/ion-range.entry.js +30 -19
- package/dist/esm/ion-refresher_2.entry.js +21 -43
- package/dist/esm/ion-reorder_2.entry.js +15 -40
- package/dist/esm/ion-ripple-effect.entry.js +8 -19
- package/dist/esm/ion-route_4.entry.js +8 -10
- package/dist/esm/ion-searchbar.entry.js +19 -141
- package/dist/esm/ion-segment-content.entry.js +3 -3
- package/dist/esm/ion-segment-view.entry.js +3 -7
- package/dist/esm/ion-segment_2.entry.js +32 -73
- package/dist/esm/ion-select-modal.entry.js +11 -10
- package/dist/esm/ion-select_3.entry.js +42 -136
- package/dist/esm/ion-spinner.entry.js +8 -34
- package/dist/esm/ion-split-pane.entry.js +9 -14
- package/dist/esm/ion-tab-bar_2.entry.js +20 -61
- package/dist/esm/ion-tab_2.entry.js +7 -9
- package/dist/esm/ion-text.entry.js +6 -7
- package/dist/esm/ion-textarea.entry.js +17 -53
- package/dist/esm/ion-toast.entry.js +17 -35
- package/dist/esm/ion-toggle.entry.js +23 -82
- package/dist/esm/ionic-global-ca86cf32.js +221 -0
- package/dist/esm/ionic.js +5 -6
- package/dist/esm/{ios.transition-cbbf0bd1.js → ios.transition-7fe5dbea.js} +7 -8
- package/dist/esm/{keyboard-0af19ead.js → keyboard-52278bd7.js} +3 -5
- package/dist/esm/{keyboard-ceb6990d.js → keyboard-73175e24.js} +1 -1
- package/dist/esm/{keyboard-controller-7e2da6b9.js → keyboard-controller-ec5c2bfa.js} +3 -5
- package/dist/esm/loader.js +5 -6
- package/dist/esm/{md.transition-21c93656.js → md.transition-8dc58b46.js} +7 -7
- package/dist/esm/{notch-controller-cd983e05.js → notch-controller-00d92e89.js} +2 -2
- package/dist/esm/{overlays-d60b1d1e.js → overlays-1bc809ec.js} +7 -6
- package/dist/esm/{status-tap-bf78b74d.js → status-tap-f6d08e9e.js} +5 -6
- package/dist/esm/{swipe-back-fff82194.js → swipe-back-07df2095.js} +1 -3
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-7b6cbf1a.js +4 -0
- package/dist/esm-es5/{button-active-8f33f086.js → button-active-90f1dbc4.js} +1 -1
- package/dist/esm-es5/capacitor-59395cbd.js +4 -0
- package/dist/esm-es5/data-174ad5e0.js +4 -0
- package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
- package/dist/esm-es5/framework-delegate-2eea1763.js +4 -0
- package/dist/esm-es5/{haptic-946542b8.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm-es5/hardware-back-button-864101a3.js +4 -0
- package/dist/esm-es5/helpers-78efeec3.js +4 -0
- package/dist/esm-es5/index-40894f4b.js +4 -0
- package/dist/esm-es5/{index-4c3c5d46.js → index-527b9e34.js} +1 -1
- package/dist/esm-es5/index-738d7504.js +4 -0
- package/dist/esm-es5/index-a5d50daf.js +4 -0
- package/dist/esm-es5/{index-d997525d.js → index-e2cf2ceb.js} +1 -1
- package/dist/esm-es5/index-e919e353.js +4 -0
- package/dist/esm-es5/index-ecb55b8d.js +4 -0
- package/dist/esm-es5/index-f9f5d018.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-7dc1f6dc.js +4 -0
- package/dist/esm-es5/input.utils-28bf4ef0.js +4 -0
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment-content.entry.js +1 -1
- package/dist/esm-es5/ion-segment-view.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic-global-ca86cf32.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-7fe5dbea.js +4 -0
- package/dist/esm-es5/{keyboard-0af19ead.js → keyboard-52278bd7.js} +1 -1
- package/dist/esm-es5/{keyboard-ceb6990d.js → keyboard-73175e24.js} +1 -1
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-8dc58b46.js +4 -0
- package/dist/esm-es5/notch-controller-00d92e89.js +4 -0
- package/dist/esm-es5/overlays-1bc809ec.js +4 -0
- package/dist/esm-es5/status-tap-f6d08e9e.js +4 -0
- package/dist/esm-es5/swipe-back-07df2095.js +4 -0
- package/dist/html.html-data.json +203 -2445
- 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-027a48f1.entry.js +4 -0
- package/dist/ionic/p-056b4c2a.system.entry.js +4 -0
- package/dist/ionic/p-058b7f35.js +4 -0
- package/dist/ionic/p-05b65d7a.entry.js +4 -0
- package/dist/ionic/p-0904eb08.entry.js +4 -0
- package/dist/ionic/p-0a456b7f.entry.js +4 -0
- package/dist/ionic/p-0adb6909.system.entry.js +4 -0
- package/dist/ionic/p-0bedc891.system.entry.js +4 -0
- package/dist/ionic/p-0d1be7c9.system.entry.js +4 -0
- package/dist/ionic/p-0ec5b7cf.system.js +4 -0
- package/dist/ionic/p-15bb1dde.system.js +4 -0
- package/dist/ionic/p-16130556.entry.js +4 -0
- package/dist/ionic/p-16491015.entry.js +4 -0
- package/dist/ionic/p-180b4f9a.entry.js +4 -0
- package/dist/ionic/p-19c32a76.entry.js +4 -0
- package/dist/ionic/{p-e028d393.system.js → p-1bf5ec17.system.js} +1 -1
- package/dist/ionic/p-1c1d781d.system.entry.js +4 -0
- package/dist/ionic/p-1c8b3ac9.entry.js +4 -0
- package/dist/ionic/p-1de5dfcd.system.entry.js +4 -0
- package/dist/ionic/p-1dfc11b3.system.js +4 -0
- package/dist/ionic/p-1e4371bd.js +4 -0
- package/dist/ionic/{p-115d74cd.system.js → p-1e955a45.system.js} +1 -1
- package/dist/ionic/p-21891ead.js +4 -0
- package/dist/ionic/{p-2d30c885.js → p-22bc235f.js} +1 -1
- package/dist/ionic/{p-de9f68cb.js → p-27281edd.js} +1 -1
- package/dist/ionic/p-28c81576.entry.js +4 -0
- package/dist/ionic/p-29a5b4e4.entry.js +4 -0
- package/dist/ionic/p-29da3dcd.entry.js +4 -0
- package/dist/ionic/p-2a2c6bf4.system.entry.js +4 -0
- package/dist/ionic/p-2b7827c7.js +4 -0
- package/dist/ionic/p-317c1c08.entry.js +4 -0
- package/dist/ionic/p-33518a04.entry.js +4 -0
- package/dist/ionic/p-35b469f6.system.entry.js +4 -0
- package/dist/ionic/p-35f14792.entry.js +4 -0
- package/dist/ionic/p-383a6058.entry.js +4 -0
- package/dist/ionic/p-3855fef7.system.js +4 -0
- package/dist/ionic/p-38eaf9cf.system.entry.js +4 -0
- package/dist/ionic/p-3dad3534.system.js +4 -0
- package/dist/ionic/p-3f4327f7.js +4 -0
- package/dist/ionic/p-40388335.system.js +4 -0
- package/dist/ionic/p-41e70fa2.entry.js +4 -0
- package/dist/ionic/p-44fde7d5.system.entry.js +4 -0
- package/dist/ionic/p-44ff75ea.js +4 -0
- package/dist/ionic/p-455cd7cc.system.js +4 -0
- package/dist/ionic/p-4630688e.system.entry.js +4 -0
- package/dist/ionic/p-48ded460.entry.js +4 -0
- package/dist/ionic/p-49d53551.system.entry.js +4 -0
- package/dist/ionic/p-4b07c60a.system.js +4 -0
- package/dist/ionic/p-4eeca839.system.entry.js +4 -0
- package/dist/ionic/p-50e0ce13.entry.js +4 -0
- package/dist/ionic/p-5578033e.system.entry.js +4 -0
- package/dist/ionic/p-579c78d2.system.entry.js +4 -0
- package/dist/ionic/p-597ff9af.js +4 -0
- package/dist/ionic/p-5b420123.entry.js +4 -0
- package/dist/ionic/p-5b97abc9.entry.js +4 -0
- package/dist/ionic/p-5fb1321f.entry.js +4 -0
- package/dist/ionic/p-5fe5dc2c.system.entry.js +4 -0
- package/dist/ionic/p-607aa181.entry.js +4 -0
- package/dist/ionic/p-61373098.js +4 -0
- package/dist/ionic/p-6155027f.system.entry.js +4 -0
- package/dist/ionic/p-61e794fb.entry.js +4 -0
- package/dist/ionic/p-624ecf03.js +4 -0
- package/dist/ionic/p-63d1da62.system.entry.js +4 -0
- package/dist/ionic/p-64d8ac48.js +4 -0
- package/dist/ionic/p-657ada6a.entry.js +4 -0
- package/dist/ionic/p-65943bec.system.entry.js +4 -0
- package/dist/ionic/p-65e732b9.entry.js +4 -0
- package/dist/ionic/{p-578d5013.js → p-66a5d6a8.js} +1 -1
- package/dist/ionic/p-6c044a1d.system.js +4 -0
- package/dist/ionic/p-7058a5e4.system.entry.js +4 -0
- package/dist/ionic/p-705fda69.system.js +4 -0
- package/dist/ionic/p-707408c5.system.entry.js +4 -0
- package/dist/ionic/p-70abb1f2.system.entry.js +4 -0
- package/dist/ionic/p-747f9517.entry.js +4 -0
- package/dist/ionic/p-7514f2f5.entry.js +4 -0
- package/dist/ionic/p-756e4559.js +4 -0
- package/dist/ionic/p-772d1657.system.js +4 -0
- package/dist/ionic/p-77aa5fef.system.entry.js +4 -0
- package/dist/ionic/p-792919fd.system.js +4 -0
- package/dist/ionic/p-7b30edcc.js +4 -0
- package/dist/ionic/p-7b886108.system.entry.js +4 -0
- package/dist/ionic/p-7c9daa6f.entry.js +4 -0
- package/dist/ionic/p-7cc33a9a.system.js +4 -0
- package/dist/ionic/p-7e3b5638.system.entry.js +4 -0
- package/dist/ionic/p-824fe96b.system.entry.js +4 -0
- package/dist/ionic/p-87b0d2c9.entry.js +4 -0
- package/dist/ionic/{p-f3fed3f9.system.js → p-8985cdb6.system.js} +1 -1
- package/dist/ionic/{p-2c0735b6.js → p-89b61afc.js} +1 -1
- package/dist/ionic/p-8b1c1fd7.entry.js +4 -0
- package/dist/ionic/p-8b22be32.system.entry.js +4 -0
- package/dist/ionic/p-8d98e2bb.entry.js +4 -0
- package/dist/ionic/p-8f94769b.entry.js +4 -0
- package/dist/ionic/p-912131e9.system.entry.js +4 -0
- package/dist/ionic/{p-5df8d52a.system.js → p-9146695e.system.js} +1 -1
- package/dist/ionic/p-959cf042.system.entry.js +4 -0
- package/dist/ionic/{p-d197eaeb.system.js → p-978bdf4c.system.js} +1 -1
- package/dist/ionic/p-9870728f.js +4 -0
- package/dist/ionic/p-9af7f110.js +4 -0
- package/dist/ionic/p-9b069739.entry.js +4 -0
- package/dist/ionic/{p-b3b40a2f.system.js → p-9e45532a.system.js} +1 -1
- package/dist/ionic/p-a26d7667.system.entry.js +4 -0
- package/dist/ionic/p-a3c931ad.system.js +4 -0
- package/dist/ionic/{p-42e12526.system.js → p-a4866e3e.system.js} +1 -1
- package/dist/ionic/p-a520973b.entry.js +4 -0
- package/dist/ionic/{p-c0abf8f8.system.js → p-a6625de8.system.js} +1 -1
- package/dist/ionic/p-a768ae50.entry.js +4 -0
- package/dist/ionic/p-a9198501.system.entry.js +4 -0
- package/dist/ionic/{p-2b8078c3.system.js → p-a93873de.system.js} +1 -1
- package/dist/ionic/p-ab7337e1.entry.js +4 -0
- package/dist/ionic/p-abe101da.system.js +4 -0
- package/dist/ionic/p-ac09b6e9.system.entry.js +4 -0
- package/dist/ionic/p-ac58d726.system.entry.js +4 -0
- package/dist/ionic/{p-6eb15fc1.system.js → p-b06ac4a5.system.js} +1 -1
- package/dist/ionic/p-b1673667.entry.js +4 -0
- package/dist/ionic/p-b1f9fbe8.system.entry.js +4 -0
- package/dist/ionic/p-b2ee0628.system.entry.js +4 -0
- package/dist/ionic/p-b87a9f1d.entry.js +4 -0
- package/dist/ionic/p-b8a461f5.system.entry.js +4 -0
- package/dist/ionic/p-b9fa7882.js +4 -0
- package/dist/ionic/p-bf64af90.system.js +4 -0
- package/dist/ionic/p-c005cc37.entry.js +4 -0
- package/dist/ionic/p-c27c57ea.system.entry.js +4 -0
- package/dist/ionic/p-c3f9d9fe.js +4 -0
- package/dist/ionic/p-c468af8a.system.js +4 -0
- package/dist/ionic/p-c53c414d.system.entry.js +4 -0
- package/dist/ionic/p-c609b315.system.entry.js +4 -0
- package/dist/ionic/p-c61cc894.js +4 -0
- package/dist/ionic/p-c63d8dc1.js +4 -0
- package/dist/ionic/{p-a92ad86c.js → p-c7e16491.js} +1 -1
- package/dist/ionic/p-cbebc567.entry.js +4 -0
- package/dist/ionic/p-ccb740ea.entry.js +4 -0
- package/dist/ionic/p-cec54707.system.entry.js +4 -0
- package/dist/ionic/p-d40f2b7a.js +4 -0
- package/dist/ionic/p-d47265c8.js +4 -0
- package/dist/ionic/p-d70a9e6d.system.js +4 -0
- package/dist/ionic/p-d882f1e2.system.entry.js +4 -0
- package/dist/ionic/{p-58f16ef6.js → p-da2b833b.js} +1 -1
- package/dist/ionic/p-db3b409e.system.entry.js +4 -0
- package/dist/ionic/p-dcfb7283.entry.js +4 -0
- package/dist/ionic/p-df54ab6b.system.entry.js +4 -0
- package/dist/ionic/p-e0d0bc88.system.entry.js +4 -0
- package/dist/ionic/p-e29c5aab.system.entry.js +4 -0
- package/dist/ionic/p-e2ce5f8b.entry.js +4 -0
- package/dist/ionic/p-e3e4eed7.entry.js +4 -0
- package/dist/ionic/p-e4683bfd.system.entry.js +4 -0
- package/dist/ionic/p-e4d2c281.entry.js +4 -0
- package/dist/ionic/p-e6cdfa96.system.entry.js +4 -0
- package/dist/ionic/p-e6e0331b.entry.js +4 -0
- package/dist/ionic/p-e8245753.entry.js +4 -0
- package/dist/ionic/p-e89451e8.system.entry.js +4 -0
- package/dist/ionic/p-e958e381.system.entry.js +4 -0
- package/dist/ionic/p-ece78e7b.js +4 -0
- package/dist/ionic/p-ee86cfff.system.js +4 -0
- package/dist/ionic/p-ef4292b9.js +4 -0
- package/dist/ionic/{p-d2536fe8.system.js → p-f11a9436.system.js} +1 -1
- package/dist/ionic/p-f201b53a.system.js +4 -0
- package/dist/ionic/{p-34fa2a61.system.js → p-f23124c4.system.js} +2 -2
- package/dist/ionic/p-f6bb9be7.system.entry.js +4 -0
- package/dist/ionic/{p-2cbcecdb.js → p-f7ce606e.js} +1 -1
- package/dist/ionic/p-f834322a.entry.js +4 -0
- package/dist/ionic/p-f896194a.system.entry.js +4 -0
- package/dist/ionic/p-fa70eaab.entry.js +4 -0
- package/dist/ionic/p-ff6be116.entry.js +4 -0
- package/dist/ionic/p-ffa3ba3c.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +3 -5
- package/dist/types/components/accordion-group/accordion-group.d.ts +1 -12
- 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 +2 -6
- package/dist/types/components/avatar/avatar.d.ts +0 -32
- 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 -29
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -4
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +4 -15
- package/dist/types/components/buttons/buttons.d.ts +1 -5
- package/dist/types/components/card/card.d.ts +1 -8
- 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 +4 -14
- package/dist/types/components/chip/chip.d.ts +1 -19
- 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 -26
- package/dist/types/components/datetime/utils/data.d.ts +5 -5
- 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 +3 -5
- 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 -9
- 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 +5 -31
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +0 -2
- package/dist/types/components/item/item.d.ts +4 -11
- 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 -11
- 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 -15
- 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 -3
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +0 -3
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +7 -4
- package/dist/types/components/modal/modal.d.ts +1 -11
- 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 +6 -3
- package/dist/types/components/popover/popover.d.ts +5 -6
- package/dist/types/components/progress-bar/progress-bar.d.ts +1 -10
- 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 +10 -3
- 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 -9
- 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 +9 -51
- package/dist/types/components/segment/segment.d.ts +1 -2
- package/dist/types/components/segment-button/segment-button.d.ts +2 -4
- package/dist/types/components/select/select.d.ts +13 -41
- 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 -15
- 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 -22
- package/dist/types/components/tab-button/tab-button.d.ts +1 -11
- 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 +4 -17
- 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 -12
- package/dist/types/components/toggle/toggle.d.ts +1 -15
- package/dist/types/components/toolbar/toolbar.d.ts +3 -4
- package/dist/types/components.d.ts +191 -1461
- package/dist/types/global/ionic-global.d.ts +2 -27
- package/dist/types/interface.d.ts +0 -3
- package/dist/types/utils/config.d.ts +2 -106
- package/dist/types/utils/focus-visible.d.ts +0 -13
- package/dist/types/utils/helpers.d.ts +0 -12
- package/dist/types/utils/overlays-interface.d.ts +1 -31
- package/dist/types/utils/test/playwright/generator.d.ts +2 -31
- package/hydrate/index.js +907 -2596
- package/hydrate/index.mjs +907 -2596
- package/package.json +5 -10
- package/components/caret-down.js +0 -6
- package/components/caret-left.js +0 -6
- package/components/caret-right.js +0 -6
- package/components/config2.js +0 -79
- package/components/ion-divider.d.ts +0 -11
- package/components/ion-divider.js +0 -59
- package/components/list2.js +0 -6
- package/components/x.js +0 -6
- package/css/ionic/bundle.ionic.css +0 -1
- package/css/ionic/bundle.ionic.css.map +0 -1
- package/css/ionic/core.ionic.css +0 -1
- package/css/ionic/core.ionic.css.map +0 -1
- package/css/ionic/global.bundle.ionic.css +0 -1
- package/css/ionic/global.bundle.ionic.css.map +0 -1
- package/css/ionic/ionic-swiper.ionic.css +0 -1
- package/css/ionic/ionic-swiper.ionic.css.map +0 -1
- package/css/ionic/link.ionic.css +0 -1
- package/css/ionic/link.ionic.css.map +0 -1
- package/css/ionic/structure.ionic.css +0 -1
- package/css/ionic/structure.ionic.css.map +0 -1
- package/css/ionic/typography.ionic.css +0 -1
- package/css/ionic/typography.ionic.css.map +0 -1
- package/css/ionic/utils.bundle.ionic.css +0 -1
- package/css/ionic/utils.bundle.ionic.css.map +0 -1
- package/dist/cjs/caret-down-3c215cff.js +0 -8
- package/dist/cjs/caret-left-2bb66970.js +0 -8
- package/dist/cjs/caret-right-88e03970.js +0 -8
- package/dist/cjs/config-aff4ff52.js +0 -84
- package/dist/cjs/ion-divider.cjs.entry.js +0 -43
- package/dist/cjs/ionic-global-5c446a5e.js +0 -531
- package/dist/cjs/list-2930c629.js +0 -8
- package/dist/cjs/x-81a8f51c.js +0 -8
- package/dist/collection/components/accordion/accordion.ionic.css +0 -197
- package/dist/collection/components/accordion-group/accordion-group.ionic.css +0 -95
- package/dist/collection/components/avatar/avatar.ionic.css +0 -374
- package/dist/collection/components/backdrop/backdrop.ionic.css +0 -150
- package/dist/collection/components/badge/badge.ionic.css +0 -333
- package/dist/collection/components/button/button.ionic.css +0 -609
- package/dist/collection/components/buttons/buttons.ionic.css +0 -100
- package/dist/collection/components/card/card.ionic.css +0 -137
- package/dist/collection/components/card-content/card-content.ionic.css +0 -90
- package/dist/collection/components/card-header/card-header.ionic.css +0 -87
- package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +0 -146
- package/dist/collection/components/checkbox/checkbox.ionic.css +0 -519
- package/dist/collection/components/chip/chip.ionic.css +0 -160
- package/dist/collection/components/datetime/datetime.ionic.css +0 -673
- package/dist/collection/components/divider/divider.ionic.css +0 -150
- package/dist/collection/components/divider/divider.ios.css +0 -87
- package/dist/collection/components/divider/divider.js +0 -76
- package/dist/collection/components/divider/divider.md.css +0 -87
- package/dist/collection/components/header/header.ionic.css +0 -86
- package/dist/collection/components/input/input.ionic.css +0 -922
- package/dist/collection/components/input-password-toggle/input-password-toggle.common.css +0 -61
- package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +0 -141
- package/dist/collection/components/item/item.ionic.css +0 -497
- package/dist/collection/components/item-option/item-option.ionic.css +0 -332
- package/dist/collection/components/item-options/item-options.ionic.css +0 -259
- package/dist/collection/components/list/list.ionic.css +0 -192
- package/dist/collection/components/list-header/list-header.ionic.css +0 -236
- package/dist/collection/components/menu-button/menu-button.ionic.css +0 -238
- package/dist/collection/components/modal/modal.ionic.css +0 -245
- package/dist/collection/components/progress-bar/progress-bar.ionic.css +0 -333
- package/dist/collection/components/radio/radio.ionic.css +0 -424
- package/dist/collection/components/radio-group/radio-group.ionic.css +0 -127
- package/dist/collection/components/range/range.ionic.css +0 -555
- package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +0 -154
- package/dist/collection/components/searchbar/searchbar.ionic.css +0 -628
- package/dist/collection/components/segment/segment.ionic.css +0 -117
- package/dist/collection/components/segment-button/segment-button.ionic.css +0 -355
- package/dist/collection/components/select/select.ionic.css +0 -829
- package/dist/collection/components/select-modal/select-modal.ionic.css +0 -121
- package/dist/collection/components/spinner/spinner.common.css +0 -199
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +0 -188
- package/dist/collection/components/tab-button/tab-button.ionic.css +0 -327
- package/dist/collection/components/textarea/textarea.ionic.css +0 -879
- package/dist/collection/components/title/title.ionic.css +0 -145
- package/dist/collection/components/toast/toast.ionic.css +0 -377
- package/dist/collection/components/toggle/toggle.ionic.css +0 -525
- package/dist/collection/components/toolbar/toolbar.ionic.css +0 -233
- package/dist/esm/caret-down-3eaad1cc.js +0 -6
- package/dist/esm/caret-left-33424bb0.js +0 -6
- package/dist/esm/caret-right-68d856ad.js +0 -6
- package/dist/esm/config-84eb9670.js +0 -79
- package/dist/esm/ion-divider.entry.js +0 -39
- package/dist/esm/ionic-global-b30d2cc2.js +0 -517
- package/dist/esm/list-6524700c.js +0 -6
- package/dist/esm/x-a64bcd9f.js +0 -6
- package/dist/esm-es5/animation-12d440f3.js +0 -4
- package/dist/esm-es5/app-globals-2497eeed.js +0 -4
- package/dist/esm-es5/capacitor-39edcb1f.js +0 -4
- package/dist/esm-es5/caret-down-3eaad1cc.js +0 -4
- package/dist/esm-es5/caret-left-33424bb0.js +0 -4
- package/dist/esm-es5/caret-right-68d856ad.js +0 -4
- package/dist/esm-es5/config-84eb9670.js +0 -4
- package/dist/esm-es5/data-591c1b05.js +0 -4
- package/dist/esm-es5/focus-visible-6827442c.js +0 -4
- package/dist/esm-es5/framework-delegate-9ad3e427.js +0 -4
- package/dist/esm-es5/helpers-ea1f7324.js +0 -4
- package/dist/esm-es5/index-036caa00.js +0 -4
- package/dist/esm-es5/index-0c65e393.js +0 -4
- package/dist/esm-es5/index-eb1203fa.js +0 -4
- package/dist/esm-es5/index-f36a3fa4.js +0 -4
- package/dist/esm-es5/input-shims-96f8d7c2.js +0 -4
- package/dist/esm-es5/input.utils-22a20c3a.js +0 -4
- package/dist/esm-es5/ion-divider.entry.js +0 -4
- package/dist/esm-es5/ionic-global-b30d2cc2.js +0 -4
- package/dist/esm-es5/ios.transition-cbbf0bd1.js +0 -4
- package/dist/esm-es5/keyboard-controller-7e2da6b9.js +0 -4
- package/dist/esm-es5/list-6524700c.js +0 -4
- package/dist/esm-es5/md.transition-21c93656.js +0 -4
- package/dist/esm-es5/notch-controller-cd983e05.js +0 -4
- package/dist/esm-es5/overlays-d60b1d1e.js +0 -4
- package/dist/esm-es5/status-tap-bf78b74d.js +0 -4
- package/dist/esm-es5/swipe-back-fff82194.js +0 -4
- package/dist/esm-es5/x-a64bcd9f.js +0 -4
- package/dist/ionic/p-007e89b7.system.entry.js +0 -4
- package/dist/ionic/p-01717254.entry.js +0 -4
- package/dist/ionic/p-0175d2ed.system.js +0 -4
- package/dist/ionic/p-01d80901.system.js +0 -4
- package/dist/ionic/p-047943a4.entry.js +0 -4
- package/dist/ionic/p-04ca2bc3.system.js +0 -4
- package/dist/ionic/p-051208d8.system.js +0 -4
- package/dist/ionic/p-0571060e.system.js +0 -4
- package/dist/ionic/p-06a7a822.system.entry.js +0 -4
- package/dist/ionic/p-06ec4706.js +0 -4
- package/dist/ionic/p-0a2ad7af.system.entry.js +0 -4
- package/dist/ionic/p-0b07a566.system.entry.js +0 -4
- package/dist/ionic/p-0c5e0dc8.system.entry.js +0 -4
- package/dist/ionic/p-0c6ba6d6.entry.js +0 -4
- package/dist/ionic/p-0e25995f.entry.js +0 -4
- package/dist/ionic/p-0eaae446.js +0 -4
- package/dist/ionic/p-107ddb23.entry.js +0 -4
- package/dist/ionic/p-11ac6c97.entry.js +0 -4
- package/dist/ionic/p-1613cd36.system.entry.js +0 -4
- package/dist/ionic/p-17f49808.system.entry.js +0 -4
- package/dist/ionic/p-195c7099.system.entry.js +0 -4
- package/dist/ionic/p-1a3b4566.system.entry.js +0 -4
- package/dist/ionic/p-1bb9592a.entry.js +0 -4
- package/dist/ionic/p-1c8f3fef.system.entry.js +0 -4
- package/dist/ionic/p-1ee39457.system.entry.js +0 -4
- package/dist/ionic/p-1fd5c378.system.js +0 -4
- package/dist/ionic/p-20ec20dc.system.js +0 -4
- package/dist/ionic/p-243adf8c.js +0 -4
- package/dist/ionic/p-266448a7.system.entry.js +0 -4
- package/dist/ionic/p-29b8f112.js +0 -4
- package/dist/ionic/p-2a1b5646.system.js +0 -4
- package/dist/ionic/p-2a4ebf7b.entry.js +0 -4
- package/dist/ionic/p-2a6e60d2.system.entry.js +0 -4
- package/dist/ionic/p-2aca2df7.entry.js +0 -4
- package/dist/ionic/p-2c4d0578.system.entry.js +0 -4
- package/dist/ionic/p-2cede1ff.system.entry.js +0 -4
- package/dist/ionic/p-2f14ca13.js +0 -4
- package/dist/ionic/p-31956865.system.entry.js +0 -4
- package/dist/ionic/p-36b11a30.system.entry.js +0 -4
- package/dist/ionic/p-3775da84.system.entry.js +0 -4
- package/dist/ionic/p-396bdcf7.js +0 -4
- package/dist/ionic/p-3cdea564.system.entry.js +0 -4
- package/dist/ionic/p-3dd43dba.system.entry.js +0 -4
- package/dist/ionic/p-3e9058ad.js +0 -4
- package/dist/ionic/p-40ea7c52.js +0 -4
- package/dist/ionic/p-4279f787.entry.js +0 -4
- package/dist/ionic/p-429dd2b5.system.js +0 -4
- package/dist/ionic/p-42acd60b.system.entry.js +0 -4
- package/dist/ionic/p-43b4ca5b.entry.js +0 -4
- package/dist/ionic/p-443152fd.js +0 -4
- package/dist/ionic/p-4459a66e.system.js +0 -4
- package/dist/ionic/p-458a5952.system.entry.js +0 -4
- package/dist/ionic/p-46204887.entry.js +0 -4
- package/dist/ionic/p-47fda111.entry.js +0 -4
- package/dist/ionic/p-495eb25e.entry.js +0 -4
- package/dist/ionic/p-4a066788.system.entry.js +0 -4
- package/dist/ionic/p-534b5031.js +0 -4
- package/dist/ionic/p-579b4a63.entry.js +0 -4
- package/dist/ionic/p-583f0c5f.js +0 -4
- package/dist/ionic/p-58a30d90.entry.js +0 -4
- package/dist/ionic/p-59294db9.entry.js +0 -4
- package/dist/ionic/p-59920a82.system.entry.js +0 -4
- package/dist/ionic/p-5b57d327.system.js +0 -4
- package/dist/ionic/p-5c586ac1.entry.js +0 -4
- package/dist/ionic/p-5c9aab48.system.entry.js +0 -4
- package/dist/ionic/p-5dce701d.js +0 -4
- package/dist/ionic/p-607c9c33.js +0 -4
- package/dist/ionic/p-61977a32.entry.js +0 -4
- package/dist/ionic/p-64771457.system.entry.js +0 -4
- package/dist/ionic/p-64b99a88.entry.js +0 -4
- package/dist/ionic/p-653e4810.entry.js +0 -4
- package/dist/ionic/p-6620dffa.entry.js +0 -4
- package/dist/ionic/p-663ace5f.entry.js +0 -4
- package/dist/ionic/p-66a495c4.system.entry.js +0 -4
- package/dist/ionic/p-6761a590.js +0 -4
- package/dist/ionic/p-689a94b3.system.entry.js +0 -4
- package/dist/ionic/p-6a0dd6bc.js +0 -4
- package/dist/ionic/p-6bf6e9e8.entry.js +0 -4
- package/dist/ionic/p-6ce59667.entry.js +0 -4
- package/dist/ionic/p-7071d7ca.js +0 -4
- package/dist/ionic/p-70d36cb8.system.js +0 -4
- package/dist/ionic/p-71d96a02.system.entry.js +0 -4
- package/dist/ionic/p-72d019c5.system.entry.js +0 -4
- package/dist/ionic/p-730993c9.system.entry.js +0 -4
- package/dist/ionic/p-787d9af9.js +0 -4
- package/dist/ionic/p-78abe8f7.system.entry.js +0 -4
- package/dist/ionic/p-78fbb151.system.js +0 -4
- package/dist/ionic/p-7ac37962.entry.js +0 -4
- package/dist/ionic/p-7beb0900.system.entry.js +0 -4
- package/dist/ionic/p-7d8e1a3d.system.entry.js +0 -4
- package/dist/ionic/p-7dbbb35d.entry.js +0 -4
- package/dist/ionic/p-80263807.system.js +0 -4
- package/dist/ionic/p-85bb90f6.entry.js +0 -4
- package/dist/ionic/p-85cee6c9.entry.js +0 -4
- package/dist/ionic/p-86a390a7.js +0 -4
- package/dist/ionic/p-883ff61d.system.entry.js +0 -4
- package/dist/ionic/p-8870fcbd.entry.js +0 -4
- package/dist/ionic/p-8af79b5c.entry.js +0 -4
- package/dist/ionic/p-8cba58fa.system.entry.js +0 -4
- package/dist/ionic/p-8cfd2546.entry.js +0 -4
- package/dist/ionic/p-8d7684b7.entry.js +0 -4
- package/dist/ionic/p-8f3bd9ab.system.js +0 -4
- package/dist/ionic/p-90ac5fdf.entry.js +0 -4
- package/dist/ionic/p-90ec152d.system.js +0 -4
- package/dist/ionic/p-91ce2114.entry.js +0 -4
- package/dist/ionic/p-91f7f574.entry.js +0 -4
- package/dist/ionic/p-97ce7496.system.entry.js +0 -4
- package/dist/ionic/p-981b8086.entry.js +0 -4
- package/dist/ionic/p-999a0cef.system.entry.js +0 -4
- package/dist/ionic/p-9b177519.js +0 -4
- package/dist/ionic/p-9dab7e7c.js +0 -4
- package/dist/ionic/p-9e9999d5.entry.js +0 -4
- package/dist/ionic/p-a3144a1e.entry.js +0 -4
- package/dist/ionic/p-a3ad8084.system.js +0 -4
- package/dist/ionic/p-a4c11918.system.entry.js +0 -4
- package/dist/ionic/p-a4c64c42.entry.js +0 -4
- package/dist/ionic/p-a8ce5285.system.entry.js +0 -4
- package/dist/ionic/p-a9af4103.js +0 -4
- package/dist/ionic/p-b1618321.entry.js +0 -4
- package/dist/ionic/p-b6baf215.entry.js +0 -4
- package/dist/ionic/p-bcfc28b7.system.entry.js +0 -4
- package/dist/ionic/p-bd215938.system.entry.js +0 -4
- package/dist/ionic/p-be1800d4.js +0 -4
- package/dist/ionic/p-befb004d.entry.js +0 -4
- package/dist/ionic/p-c043a4c8.entry.js +0 -4
- package/dist/ionic/p-c248c88d.system.js +0 -4
- package/dist/ionic/p-c27342bf.system.entry.js +0 -4
- package/dist/ionic/p-c47cb709.js +0 -4
- package/dist/ionic/p-c8e12c1c.system.entry.js +0 -4
- package/dist/ionic/p-cef4553b.entry.js +0 -4
- package/dist/ionic/p-cff47c26.system.entry.js +0 -4
- package/dist/ionic/p-d2e6afa9.system.js +0 -4
- package/dist/ionic/p-d35e20cf.system.entry.js +0 -4
- package/dist/ionic/p-d4a21287.js +0 -4
- package/dist/ionic/p-d534a6c8.entry.js +0 -4
- package/dist/ionic/p-d760d709.entry.js +0 -4
- package/dist/ionic/p-da7bd63e.system.entry.js +0 -4
- package/dist/ionic/p-de32ae2a.system.entry.js +0 -4
- package/dist/ionic/p-deb05ec4.js +0 -4
- package/dist/ionic/p-dff0b93b.system.entry.js +0 -4
- package/dist/ionic/p-e028d3f1.entry.js +0 -4
- package/dist/ionic/p-e341e1ec.system.entry.js +0 -4
- package/dist/ionic/p-e3b70846.system.js +0 -4
- package/dist/ionic/p-e913a8ec.system.entry.js +0 -4
- package/dist/ionic/p-eb15cdb8.entry.js +0 -4
- package/dist/ionic/p-ef7f7ba9.js +0 -4
- package/dist/ionic/p-effec462.system.js +0 -4
- package/dist/ionic/p-f4a27763.entry.js +0 -4
- package/dist/ionic/p-f63db3d4.entry.js +0 -4
- package/dist/ionic/p-fa6f50b3.entry.js +0 -4
- package/dist/ionic/p-fb0197d6.system.entry.js +0 -4
- package/dist/ionic/p-fcedca77.system.js +0 -4
- package/dist/ionic/p-fdcaa201.system.js +0 -4
- package/dist/types/components/divider/divider.d.ts +0 -20
- /package/dist/collection/components/{refresher-content/refresher-content.css → input-password-toggle/input-password-toggle.css} +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { c as config } from './config2.js';
|
|
5
4
|
import { c as componentOnReady } from './helpers.js';
|
|
6
5
|
|
|
7
6
|
// TODO(FW-2832): types
|
|
@@ -103,8 +102,7 @@ const CoreDelegate = () => {
|
|
|
103
102
|
* Get the root of the app and
|
|
104
103
|
* add the overlay there.
|
|
105
104
|
*/
|
|
106
|
-
const
|
|
107
|
-
const app = document.querySelector(appRootSelector) || document.body;
|
|
105
|
+
const app = document.querySelector('ion-app') || document.body;
|
|
108
106
|
/**
|
|
109
107
|
* Create a placeholder comment so that
|
|
110
108
|
* we can return this component to where
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { w as win } from './index5.js';
|
|
5
|
+
import { c as config } from './ionic-global.js';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* CloseWatcher is a newer API that lets
|
|
9
|
+
* use detect the hardware back button event
|
|
10
|
+
* in a web browser: https://caniuse.com/?search=closewatcher
|
|
11
|
+
* However, not every browser supports it yet.
|
|
12
|
+
*
|
|
13
|
+
* This needs to be a function so that we can
|
|
14
|
+
* check the config once it has been set.
|
|
15
|
+
* Otherwise, this code would be evaluated the
|
|
16
|
+
* moment this file is evaluated which could be
|
|
17
|
+
* before the config is set.
|
|
18
|
+
*/
|
|
19
|
+
const shouldUseCloseWatcher = () => config.get('experimentalCloseWatcher', false) && win !== undefined && 'CloseWatcher' in win;
|
|
20
|
+
/**
|
|
21
|
+
* When hardwareBackButton: false in config,
|
|
22
|
+
* we need to make sure we also block the default
|
|
23
|
+
* webview behavior. If we don't then it will be
|
|
24
|
+
* possible for users to navigate backward while
|
|
25
|
+
* an overlay is still open. Additionally, it will
|
|
26
|
+
* give the appearance that the hardwareBackButton
|
|
27
|
+
* config is not working as the page transition
|
|
28
|
+
* will still happen.
|
|
29
|
+
*/
|
|
30
|
+
const blockHardwareBackButton = () => {
|
|
31
|
+
document.addEventListener('backbutton', () => { }); // eslint-disable-line
|
|
32
|
+
};
|
|
33
|
+
const startHardwareBackButton = () => {
|
|
34
|
+
const doc = document;
|
|
35
|
+
let busy = false;
|
|
36
|
+
const backButtonCallback = () => {
|
|
37
|
+
if (busy) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
let index = 0;
|
|
41
|
+
let handlers = [];
|
|
42
|
+
const ev = new CustomEvent('ionBackButton', {
|
|
43
|
+
bubbles: false,
|
|
44
|
+
detail: {
|
|
45
|
+
register(priority, handler) {
|
|
46
|
+
handlers.push({ priority, handler, id: index++ });
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
doc.dispatchEvent(ev);
|
|
51
|
+
const executeAction = async (handlerRegister) => {
|
|
52
|
+
try {
|
|
53
|
+
if (handlerRegister === null || handlerRegister === void 0 ? void 0 : handlerRegister.handler) {
|
|
54
|
+
const result = handlerRegister.handler(processHandlers);
|
|
55
|
+
if (result != null) {
|
|
56
|
+
await result;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
catch (e) {
|
|
61
|
+
console.error(e);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
const processHandlers = () => {
|
|
65
|
+
if (handlers.length > 0) {
|
|
66
|
+
let selectedHandler = {
|
|
67
|
+
priority: Number.MIN_SAFE_INTEGER,
|
|
68
|
+
handler: () => undefined,
|
|
69
|
+
id: -1,
|
|
70
|
+
};
|
|
71
|
+
handlers.forEach((handler) => {
|
|
72
|
+
if (handler.priority >= selectedHandler.priority) {
|
|
73
|
+
selectedHandler = handler;
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
busy = true;
|
|
77
|
+
handlers = handlers.filter((handler) => handler.id !== selectedHandler.id);
|
|
78
|
+
executeAction(selectedHandler).then(() => (busy = false));
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
processHandlers();
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* If the CloseWatcher is defined then
|
|
85
|
+
* we don't want to also listen for the native
|
|
86
|
+
* backbutton event otherwise we may get duplicate
|
|
87
|
+
* events firing.
|
|
88
|
+
*/
|
|
89
|
+
if (shouldUseCloseWatcher()) {
|
|
90
|
+
let watcher;
|
|
91
|
+
const configureWatcher = () => {
|
|
92
|
+
watcher === null || watcher === void 0 ? void 0 : watcher.destroy();
|
|
93
|
+
watcher = new win.CloseWatcher();
|
|
94
|
+
/**
|
|
95
|
+
* Once a close request happens
|
|
96
|
+
* the watcher gets destroyed.
|
|
97
|
+
* As a result, we need to re-configure
|
|
98
|
+
* the watcher so we can respond to other
|
|
99
|
+
* close requests.
|
|
100
|
+
*/
|
|
101
|
+
watcher.onclose = () => {
|
|
102
|
+
backButtonCallback();
|
|
103
|
+
configureWatcher();
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
configureWatcher();
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
doc.addEventListener('backbutton', backButtonCallback);
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
const OVERLAY_BACK_BUTTON_PRIORITY = 100;
|
|
113
|
+
const MENU_BACK_BUTTON_PRIORITY = 99; // 1 less than overlay priority since menu is displayed behind overlays
|
|
114
|
+
|
|
115
|
+
export { MENU_BACK_BUTTON_PRIORITY, OVERLAY_BACK_BUTTON_PRIORITY, blockHardwareBackButton, shouldUseCloseWatcher, startHardwareBackButton };
|
package/components/header.js
CHANGED
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { readTask, writeTask, proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { g as getScrollElement, f as findIonContent, p as printIonContentErrorMsg } from './
|
|
5
|
+
import { g as getScrollElement, f as findIonContent, p as printIonContentErrorMsg } from './index8.js';
|
|
6
6
|
import { k as clamp, i as inheritAriaAttributes } from './helpers.js';
|
|
7
7
|
import { h as hostContext } from './theme.js';
|
|
8
|
-
import {
|
|
9
|
-
import { c as getIonTheme } from './ionic-global.js';
|
|
8
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
10
9
|
|
|
11
10
|
const TRANSITION = 'all 0.2s ease-in-out';
|
|
12
11
|
const cloneElement = (tagName) => {
|
|
@@ -203,13 +202,10 @@ const handleHeaderFade = (scrollEl, baseEl, condenseHeader) => {
|
|
|
203
202
|
});
|
|
204
203
|
};
|
|
205
204
|
|
|
206
|
-
const
|
|
207
|
-
const IonHeaderIonicStyle0 = headerIonicCss;
|
|
208
|
-
|
|
209
|
-
const headerIosCss = "ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}ion-header{z-index:10}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{right:0;left:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:0.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header.header-ios:not(.header-collapse-main):has(~ion-content ion-header.header-ios[collapse=condense],~ion-content ion-header.header-ios.header-collapse-condense){opacity:0}";
|
|
205
|
+
const headerIosCss = "ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header.header-ios:not(.header-collapse-main):has(~ion-content ion-header.header-ios[collapse=condense],~ion-content ion-header.header-ios.header-collapse-condense){opacity:0}";
|
|
210
206
|
const IonHeaderIosStyle0 = headerIosCss;
|
|
211
207
|
|
|
212
|
-
const headerMdCss = "ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100
|
|
208
|
+
const headerMdCss = "ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}";
|
|
213
209
|
const IonHeaderMdStyle0 = headerMdCss;
|
|
214
210
|
|
|
215
211
|
const Header = /*@__PURE__*/ proxyCustomElement(class Header extends HTMLElement {
|
|
@@ -229,7 +225,6 @@ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends HTMLElement
|
|
|
229
225
|
handleHeaderFade(this.scrollEl, this.el, condenseHeader);
|
|
230
226
|
};
|
|
231
227
|
this.collapse = undefined;
|
|
232
|
-
this.divider = false;
|
|
233
228
|
this.translucent = false;
|
|
234
229
|
}
|
|
235
230
|
componentWillLoad() {
|
|
@@ -245,17 +240,16 @@ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends HTMLElement
|
|
|
245
240
|
this.destroyCollapsibleHeader();
|
|
246
241
|
}
|
|
247
242
|
async checkCollapsibleHeader() {
|
|
248
|
-
const
|
|
249
|
-
if (
|
|
243
|
+
const mode = getIonMode(this);
|
|
244
|
+
if (mode !== 'ios') {
|
|
250
245
|
return;
|
|
251
246
|
}
|
|
252
247
|
const { collapse } = this;
|
|
253
248
|
const hasCondense = collapse === 'condense';
|
|
254
249
|
const hasFade = collapse === 'fade';
|
|
255
250
|
this.destroyCollapsibleHeader();
|
|
256
|
-
const appRootSelector = config.get('appRootSelector', 'ion-app');
|
|
257
251
|
if (hasCondense) {
|
|
258
|
-
const pageEl = this.el.closest(
|
|
252
|
+
const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');
|
|
259
253
|
const contentEl = pageEl ? findIonContent(pageEl) : null;
|
|
260
254
|
// Cloned elements are always needed in iOS transition
|
|
261
255
|
writeTask(() => {
|
|
@@ -266,7 +260,7 @@ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends HTMLElement
|
|
|
266
260
|
await this.setupCondenseHeader(contentEl, pageEl);
|
|
267
261
|
}
|
|
268
262
|
else if (hasFade) {
|
|
269
|
-
const pageEl = this.el.closest(
|
|
263
|
+
const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');
|
|
270
264
|
const contentEl = pageEl ? findIonContent(pageEl) : null;
|
|
271
265
|
if (!contentEl) {
|
|
272
266
|
printIonContentErrorMsg(this.el);
|
|
@@ -341,30 +335,27 @@ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends HTMLElement
|
|
|
341
335
|
});
|
|
342
336
|
}
|
|
343
337
|
render() {
|
|
344
|
-
const { translucent, inheritedAttributes
|
|
345
|
-
const
|
|
338
|
+
const { translucent, inheritedAttributes } = this;
|
|
339
|
+
const mode = getIonMode(this);
|
|
346
340
|
const collapse = this.collapse || 'none';
|
|
347
341
|
// banner role must be at top level, so remove role if inside a menu
|
|
348
342
|
const roleType = hostContext('ion-menu', this.el) ? 'none' : 'banner';
|
|
349
|
-
return (h(Host, Object.assign({ key: '
|
|
350
|
-
[
|
|
343
|
+
return (h(Host, Object.assign({ key: 'b6cc27f0b08afc9fcc889683525da765d80ba672', role: roleType, class: {
|
|
344
|
+
[mode]: true,
|
|
351
345
|
// Used internally for styling
|
|
352
|
-
[`header-${
|
|
346
|
+
[`header-${mode}`]: true,
|
|
353
347
|
[`header-translucent`]: this.translucent,
|
|
354
348
|
[`header-collapse-${collapse}`]: true,
|
|
355
|
-
[`header-translucent-${
|
|
356
|
-
|
|
357
|
-
} }, inheritedAttributes), theme === 'ios' && translucent && h("div", { key: 'c1c77a735ed96e93a5ee9511415c19a80989dbc9', class: "header-background" }), h("slot", { key: '13a06aa2aa3358ba3d4f61fe6119b8506b866c14' })));
|
|
349
|
+
[`header-translucent-${mode}`]: this.translucent,
|
|
350
|
+
} }, inheritedAttributes), mode === 'ios' && translucent && h("div", { key: '395766d4dcee3398bc91960db21f922095292f14', class: "header-background" }), h("slot", { key: '09a67ece27b258ff1248805d43d92a49b2c6859a' })));
|
|
358
351
|
}
|
|
359
352
|
get el() { return this; }
|
|
360
353
|
static get style() { return {
|
|
361
|
-
ionic: IonHeaderIonicStyle0,
|
|
362
354
|
ios: IonHeaderIosStyle0,
|
|
363
355
|
md: IonHeaderMdStyle0
|
|
364
356
|
}; }
|
|
365
357
|
}, [36, "ion-header", {
|
|
366
358
|
"collapse": [1],
|
|
367
|
-
"divider": [4],
|
|
368
359
|
"translucent": [4]
|
|
369
360
|
}]);
|
|
370
361
|
function defineCustomElement() {
|
package/components/helpers.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { focusElements } from './focus-visible.js';
|
|
5
|
-
import { c as config } from './config2.js';
|
|
6
|
-
|
|
7
4
|
const transitionEndAsync = (el, expectedDuration = 0) => {
|
|
8
5
|
return new Promise((resolve) => {
|
|
9
6
|
transitionEnd(el, expectedDuration, resolve);
|
|
@@ -205,17 +202,6 @@ const raf = (h) => {
|
|
|
205
202
|
const hasShadowDom = (el) => {
|
|
206
203
|
return !!el.shadowRoot && !!el.attachShadow;
|
|
207
204
|
};
|
|
208
|
-
/**
|
|
209
|
-
* Focuses a given element while ensuring proper focus management
|
|
210
|
-
* within the Ionic framework. If the element is marked as `ion-focusable`,
|
|
211
|
-
* this function will delegate focus handling to `ion-app` or manually
|
|
212
|
-
* apply focus when a custom app root is used.
|
|
213
|
-
*
|
|
214
|
-
* This function helps maintain accessibility and expected focus behavior
|
|
215
|
-
* in both standard and custom root environments.
|
|
216
|
-
*
|
|
217
|
-
* @param el - The element to focus.
|
|
218
|
-
*/
|
|
219
205
|
const focusVisibleElement = (el) => {
|
|
220
206
|
el.focus();
|
|
221
207
|
/**
|
|
@@ -227,36 +213,9 @@ const focusVisibleElement = (el) => {
|
|
|
227
213
|
* which will let us explicitly set the elements to focus.
|
|
228
214
|
*/
|
|
229
215
|
if (el.classList.contains('ion-focusable')) {
|
|
230
|
-
const
|
|
231
|
-
const app = el.closest(appRootSelector);
|
|
216
|
+
const app = el.closest('ion-app');
|
|
232
217
|
if (app) {
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* If the app root is the default, then it will be
|
|
236
|
-
* in charge of setting focus. This is because the
|
|
237
|
-
* focus-visible utility is attached to the app root
|
|
238
|
-
* and will handle setting focus on the correct element.
|
|
239
|
-
*/
|
|
240
|
-
app.setFocus([el]);
|
|
241
|
-
}
|
|
242
|
-
else {
|
|
243
|
-
/**
|
|
244
|
-
* When using a custom app root selector, the focus-visible
|
|
245
|
-
* utility is not available to manage focus automatically.
|
|
246
|
-
* If we set focus immediately, the element may not be fully
|
|
247
|
-
* rendered or interactive, especially if it was just added
|
|
248
|
-
* to the DOM. Using requestAnimationFrame ensures that focus
|
|
249
|
-
* is applied on the next frame, allowing the DOM to settle
|
|
250
|
-
* before changing focus.
|
|
251
|
-
*/
|
|
252
|
-
requestAnimationFrame(() => {
|
|
253
|
-
/**
|
|
254
|
-
* The focus-visible utility is used to set focus on an
|
|
255
|
-
* element that uses `ion-focusable`.
|
|
256
|
-
*/
|
|
257
|
-
focusElements([el]);
|
|
258
|
-
});
|
|
259
|
-
}
|
|
218
|
+
app.setFocus([el]);
|
|
260
219
|
}
|
|
261
220
|
}
|
|
262
221
|
};
|
|
@@ -371,16 +330,6 @@ const shallowEqualStringMap = (map1, map2) => {
|
|
|
371
330
|
}
|
|
372
331
|
return true;
|
|
373
332
|
};
|
|
374
|
-
const getNextSiblingOfType = (element) => {
|
|
375
|
-
let sibling = element.nextSibling;
|
|
376
|
-
while (sibling) {
|
|
377
|
-
if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
|
|
378
|
-
return sibling;
|
|
379
|
-
}
|
|
380
|
-
sibling = sibling.nextSibling;
|
|
381
|
-
}
|
|
382
|
-
return null;
|
|
383
|
-
};
|
|
384
333
|
/**
|
|
385
334
|
* Checks input for usable number. Not NaN and not Infinite.
|
|
386
335
|
*/
|
|
@@ -388,4 +337,4 @@ const isSafeNumber = (input) => {
|
|
|
388
337
|
return typeof input === 'number' && !isNaN(input) && isFinite(input);
|
|
389
338
|
};
|
|
390
339
|
|
|
391
|
-
export { addEventListener as a, removeEventListener as b, componentOnReady as c, inheritAttributes as d, renderHiddenInput as e, focusVisibleElement as f, getElementRoot as g, hasShadowDom as h, inheritAriaAttributes as i, hasLazyBuild as j, clamp as k, debounceEvent as l, isEndSide as m, assert as n, isSafeNumber as o, debounce as p,
|
|
340
|
+
export { addEventListener as a, removeEventListener as b, componentOnReady as c, inheritAttributes as d, renderHiddenInput as e, focusVisibleElement as f, getElementRoot as g, hasShadowDom as h, inheritAriaAttributes as i, hasLazyBuild as j, clamp as k, debounceEvent as l, isEndSide as m, assert as n, isSafeNumber as o, debounce as p, pointerCoord as q, raf as r, shallowEqualStringMap as s, transitionEndAsync as t };
|
package/components/index2.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { c as config } from './
|
|
4
|
+
import { c as config } from './ionic-global.js';
|
|
5
5
|
import { writeTask, Build } from '@stencil/core/internal/client';
|
|
6
|
-
import { p as printIonWarning } from './
|
|
6
|
+
import { p as printIonWarning } from './index6.js';
|
|
7
7
|
import { r as raf } from './helpers.js';
|
|
8
8
|
|
|
9
9
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
package/components/index4.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { d as doc } from './index5.js';
|
|
5
|
+
import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button.js';
|
|
6
|
+
import { p as printIonWarning } from './index6.js';
|
|
5
7
|
import { c as componentOnReady } from './helpers.js';
|
|
8
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
6
9
|
import { c as createAnimation } from './animation.js';
|
|
7
10
|
|
|
8
11
|
/**
|
|
@@ -45,10 +48,10 @@ const menuOverlayAnimation = (menu) => {
|
|
|
45
48
|
}
|
|
46
49
|
menuAnimation.addElement(menu.menuInnerEl).fromTo('transform', `translateX(${closedX})`, `translateX(${openedX})`);
|
|
47
50
|
const mode = getIonMode(menu);
|
|
48
|
-
const
|
|
49
|
-
const opacity =
|
|
51
|
+
const isIos = mode === 'ios';
|
|
52
|
+
const opacity = isIos ? 0.2 : 0.25;
|
|
50
53
|
backdropAnimation.addElement(menu.backdropEl).fromTo('opacity', 0.01, opacity);
|
|
51
|
-
return baseAnimation(
|
|
54
|
+
return baseAnimation(isIos).addAnimation([menuAnimation, backdropAnimation]);
|
|
52
55
|
};
|
|
53
56
|
|
|
54
57
|
/**
|
|
@@ -61,7 +64,6 @@ const menuPushAnimation = (menu) => {
|
|
|
61
64
|
let menuClosedX;
|
|
62
65
|
const mode = getIonMode(menu);
|
|
63
66
|
const width = menu.width;
|
|
64
|
-
const isIOS = mode === 'ios';
|
|
65
67
|
if (menu.isEndSide) {
|
|
66
68
|
contentOpenedX = -width + 'px';
|
|
67
69
|
menuClosedX = width + 'px';
|
|
@@ -77,7 +79,7 @@ const menuPushAnimation = (menu) => {
|
|
|
77
79
|
.addElement(menu.contentEl)
|
|
78
80
|
.fromTo('transform', 'translateX(0px)', `translateX(${contentOpenedX})`);
|
|
79
81
|
const backdropAnimation = createAnimation().addElement(menu.backdropEl).fromTo('opacity', 0.01, 0.32);
|
|
80
|
-
return baseAnimation(
|
|
82
|
+
return baseAnimation(mode === 'ios').addAnimation([menuAnimation, contentAnimation, backdropAnimation]);
|
|
81
83
|
};
|
|
82
84
|
|
|
83
85
|
/**
|
|
@@ -87,12 +89,11 @@ const menuPushAnimation = (menu) => {
|
|
|
87
89
|
*/
|
|
88
90
|
const menuRevealAnimation = (menu) => {
|
|
89
91
|
const mode = getIonMode(menu);
|
|
90
|
-
const isIOS = mode === 'ios';
|
|
91
92
|
const openedX = menu.width * (menu.isEndSide ? -1 : 1) + 'px';
|
|
92
93
|
const contentOpen = createAnimation()
|
|
93
94
|
.addElement(menu.contentEl) // REVIEW
|
|
94
95
|
.fromTo('transform', 'translateX(0px)', `translateX(${openedX})`);
|
|
95
|
-
return baseAnimation(
|
|
96
|
+
return baseAnimation(mode === 'ios').addAnimation(contentOpen);
|
|
96
97
|
};
|
|
97
98
|
|
|
98
99
|
const createMenuController = () => {
|
package/components/index5.js
CHANGED
|
@@ -1,31 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
const arrowDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>";
|
|
7
|
-
const caretBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>";
|
|
8
|
-
const caretDownSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 144l192 224 192-224H64z'/></svg>";
|
|
9
|
-
const caretUpSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M448 368L256 144 64 368h384z'/></svg>";
|
|
10
|
-
const checkmarkOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M416 128L192 384l-96-96' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
11
|
-
const chevronBack = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144' class='ionicon-fill-none'/></svg>";
|
|
12
|
-
const chevronDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' class='ionicon-fill-none'/></svg>";
|
|
13
|
-
const chevronExpand = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M136 208l120-104 120 104M136 304l120 104 120-104' stroke-width='48' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none'/></svg>";
|
|
14
|
-
const chevronForward = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";
|
|
15
|
-
const chevronForwardOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";
|
|
16
|
-
const close = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z'/></svg>";
|
|
17
|
-
const closeCircle = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z'/></svg>";
|
|
18
|
-
const closeSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M400 145.49L366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49z'/></svg>";
|
|
19
|
-
const ellipseOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='192' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
20
|
-
const ellipsisHorizontal = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>";
|
|
21
|
-
const eye = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='64'/><path d='M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 00-.1-34.76zM256 352a96 96 0 1196-96 96.11 96.11 0 01-96 96z'/></svg>";
|
|
22
|
-
const eyeOff = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M432 448a15.92 15.92 0 01-11.31-4.69l-352-352a16 16 0 0122.62-22.62l352 352A16 16 0 01432 448zM248 315.85l-51.79-51.79a2 2 0 00-3.39 1.69 64.11 64.11 0 0053.49 53.49 2 2 0 001.69-3.39zM264 196.15L315.87 248a2 2 0 003.4-1.69 64.13 64.13 0 00-53.55-53.55 2 2 0 00-1.72 3.39z'/><path d='M491 273.36a32.2 32.2 0 00-.1-34.76c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.68 96a226.54 226.54 0 00-71.82 11.79 4 4 0 00-1.56 6.63l47.24 47.24a4 4 0 003.82 1.05 96 96 0 01116 116 4 4 0 001.05 3.81l67.95 68a4 4 0 005.4.24 343.81 343.81 0 0067.24-77.4zM256 352a96 96 0 01-93.3-118.63 4 4 0 00-1.05-3.81l-66.84-66.87a4 4 0 00-5.41-.23c-24.39 20.81-47 46.13-67.67 75.72a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.39 76.14 98.28 100.65C162.06 402 207.92 416 255.68 416a238.22 238.22 0 0072.64-11.55 4 4 0 001.61-6.64l-47.47-47.46a4 4 0 00-3.81-1.05A96 96 0 01256 352z'/></svg>";
|
|
23
|
-
const menuOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-miterlimit='10' d='M80 160h352M80 256h352M80 352h352' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
24
|
-
const menuSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 384h384v-42.67H64zm0-106.67h384v-42.66H64zM64 128v42.67h384V128z'/></svg>";
|
|
25
|
-
const removeOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M400 256H112' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
26
|
-
const reorderThreeOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M96 256h320M96 176h320M96 336h320' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
27
|
-
const reorderTwoSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-linejoin='round' stroke-width='44' d='M118 304h276M118 208h276' class='ionicon-fill-none'/></svg>";
|
|
28
|
-
const searchOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-miterlimit='10' d='M338.29 338.29L448 448' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
29
|
-
const searchSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M464 428L339.92 303.9a160.48 160.48 0 0030.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0094.58-30.72L428 464zM209.32 319.69a110.38 110.38 0 11110.37-110.37 110.5 110.5 0 01-110.37 110.37z'/></svg>";
|
|
4
|
+
const win = typeof window !== 'undefined' ? window : undefined;
|
|
5
|
+
const doc = typeof document !== 'undefined' ? document : undefined;
|
|
30
6
|
|
|
31
|
-
export {
|
|
7
|
+
export { doc as d, win as w };
|
package/components/index6.js
CHANGED
|
@@ -1,128 +1,42 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { c as
|
|
5
|
-
import { f as printRequiredElementError } from './ionic-global.js';
|
|
4
|
+
import { c as config } from './ionic-global.js';
|
|
6
5
|
|
|
7
|
-
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
8
|
-
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
9
|
-
const ION_CONTENT_CLASS_SELECTOR = '.ion-content-scroll-host';
|
|
10
6
|
/**
|
|
11
|
-
*
|
|
7
|
+
* Logs a warning to the console with an Ionic prefix
|
|
8
|
+
* to indicate the library that is warning the developer.
|
|
12
9
|
*
|
|
13
|
-
*
|
|
14
|
-
* scroll events. With virtual scroll implementations this will be the host element for
|
|
15
|
-
* the scroll viewport.
|
|
10
|
+
* @param message - The string message to be logged to the console.
|
|
16
11
|
*/
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* returning the inner scroll element.
|
|
22
|
-
*
|
|
23
|
-
* For `ion-content` the scroll target will be the result
|
|
24
|
-
* of the `getScrollElement` function.
|
|
25
|
-
*
|
|
26
|
-
* For custom implementations it will be the element host
|
|
27
|
-
* or a selector within the host, if supplied through `scrollTarget`.
|
|
28
|
-
*/
|
|
29
|
-
const getScrollElement = async (el) => {
|
|
30
|
-
if (isIonContent(el)) {
|
|
31
|
-
await new Promise((resolve) => componentOnReady(el, resolve));
|
|
32
|
-
return el.getScrollElement();
|
|
12
|
+
const printIonWarning = (message, ...params) => {
|
|
13
|
+
const logLevel = config.get('logLevel', "WARN" /* LogLevel.WARN */);
|
|
14
|
+
if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
15
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
33
16
|
}
|
|
34
|
-
return el;
|
|
35
17
|
};
|
|
36
18
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
* First we try to query the custom scroll host selector in cases where
|
|
43
|
-
* the implementation is using an outer `ion-content` with an inner custom
|
|
44
|
-
* scroll container.
|
|
45
|
-
*/
|
|
46
|
-
const customContentHost = el.querySelector(ION_CONTENT_CLASS_SELECTOR);
|
|
47
|
-
if (customContentHost) {
|
|
48
|
-
return customContentHost;
|
|
49
|
-
}
|
|
50
|
-
return el.querySelector(ION_CONTENT_SELECTOR);
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Queries the closest element matching the selector for IonContent.
|
|
54
|
-
*/
|
|
55
|
-
const findClosestIonContent = (el) => {
|
|
56
|
-
return el.closest(ION_CONTENT_SELECTOR);
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Scrolls to the top of the element. If an `ion-content` is found, it will scroll
|
|
60
|
-
* using the public API `scrollToTop` with a duration.
|
|
61
|
-
*/
|
|
62
|
-
const scrollToTop = (el, durationMs) => {
|
|
63
|
-
if (isIonContent(el)) {
|
|
64
|
-
const content = el;
|
|
65
|
-
return content.scrollToTop(durationMs);
|
|
66
|
-
}
|
|
67
|
-
return Promise.resolve(el.scrollTo({
|
|
68
|
-
top: 0,
|
|
69
|
-
left: 0,
|
|
70
|
-
behavior: durationMs > 0 ? 'smooth' : 'auto',
|
|
71
|
-
}));
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* Scrolls by a specified X/Y distance in the component. If an `ion-content` is found, it will scroll
|
|
75
|
-
* using the public API `scrollByPoint` with a duration.
|
|
19
|
+
* Logs an error to the console with an Ionic prefix
|
|
20
|
+
* to indicate the library that is warning the developer.
|
|
21
|
+
*
|
|
22
|
+
* @param message - The string message to be logged to the console.
|
|
23
|
+
* @param params - Additional arguments to supply to the console.error.
|
|
76
24
|
*/
|
|
77
|
-
const
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
return
|
|
25
|
+
const printIonError = (message, ...params) => {
|
|
26
|
+
const logLevel = config.get('logLevel', "ERROR" /* LogLevel.ERROR */);
|
|
27
|
+
if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
28
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
81
29
|
}
|
|
82
|
-
return Promise.resolve(el.scrollBy({
|
|
83
|
-
top: y,
|
|
84
|
-
left: x,
|
|
85
|
-
behavior: durationMs > 0 ? 'smooth' : 'auto',
|
|
86
|
-
}));
|
|
87
30
|
};
|
|
88
31
|
/**
|
|
89
32
|
* Prints an error informing developers that an implementation requires an element to be used
|
|
90
|
-
* within
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
};
|
|
95
|
-
/**
|
|
96
|
-
* Several components in Ionic need to prevent scrolling
|
|
97
|
-
* during a gesture (card modal, range, item sliding, etc).
|
|
98
|
-
* Use this utility to account for ion-content and custom content hosts.
|
|
33
|
+
* within a specific selector.
|
|
34
|
+
*
|
|
35
|
+
* @param el The web component element this is requiring the element.
|
|
36
|
+
* @param targetSelectors The selector or selectors that were not found.
|
|
99
37
|
*/
|
|
100
|
-
const
|
|
101
|
-
|
|
102
|
-
const ionContent = contentEl;
|
|
103
|
-
const initialScrollY = ionContent.scrollY;
|
|
104
|
-
ionContent.scrollY = false;
|
|
105
|
-
/**
|
|
106
|
-
* This should be passed into resetContentScrollY
|
|
107
|
-
* so that we can revert ion-content's scrollY to the
|
|
108
|
-
* correct state. For example, if scrollY = false
|
|
109
|
-
* initially, we do not want to enable scrolling
|
|
110
|
-
* when we call resetContentScrollY.
|
|
111
|
-
*/
|
|
112
|
-
return initialScrollY;
|
|
113
|
-
}
|
|
114
|
-
else {
|
|
115
|
-
contentEl.style.setProperty('overflow', 'hidden');
|
|
116
|
-
return true;
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
const resetContentScrollY = (contentEl, initialScrollY) => {
|
|
120
|
-
if (isIonContent(contentEl)) {
|
|
121
|
-
contentEl.scrollY = initialScrollY;
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
contentEl.style.removeProperty('overflow');
|
|
125
|
-
}
|
|
38
|
+
const printRequiredElementError = (el, ...targetSelectors) => {
|
|
39
|
+
return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);
|
|
126
40
|
};
|
|
127
41
|
|
|
128
|
-
export {
|
|
42
|
+
export { printIonError as a, printRequiredElementError as b, printIonWarning as p };
|