@ionic/core 8.4.2-dev.11736507189.18234064 → 8.4.2-dev.11736797843.16cc5058
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 +40 -29
- package/components/alert.js +46 -33
- package/components/animation.js +1 -1
- package/components/backdrop.js +15 -10
- package/components/button.js +36 -58
- package/components/buttons.js +19 -11
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +44 -39
- package/components/content.js +34 -16
- package/components/data.js +4 -4
- package/components/focus-visible.js +1 -8
- package/components/framework-delegate.js +1 -3
- package/components/hardware-back-button.js +115 -0
- package/components/header.js +24 -26
- package/components/helpers.js +1 -4
- package/components/index2.js +2 -2
- package/components/index4.js +9 -8
- package/components/index5.js +3 -27
- package/components/index6.js +20 -114
- package/components/index7.js +27 -163
- package/components/index8.js +128 -0
- package/{dist/esm/index-62b4a18b.js → components/index9.js} +2 -4
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +2 -1
- package/components/ion-accordion-group.js +23 -27
- package/components/ion-accordion.js +44 -43
- package/components/ion-app.js +77 -9
- package/components/ion-avatar.js +3 -52
- package/components/ion-back-button.js +27 -36
- package/components/ion-badge.js +8 -45
- package/components/ion-breadcrumb.js +28 -58
- package/components/ion-breadcrumbs.js +17 -15
- package/components/ion-card-content.js +7 -11
- package/components/ion-card-header.js +10 -10
- package/components/ion-card-subtitle.js +5 -10
- package/components/ion-card-title.js +5 -10
- package/components/ion-card.js +22 -23
- package/components/ion-chip.js +14 -46
- package/components/ion-col.js +5 -29
- package/components/ion-datetime-button.js +18 -17
- package/components/ion-datetime.js +138 -141
- package/components/ion-fab-button.js +42 -46
- package/components/ion-fab-list.js +11 -5
- package/components/ion-fab.js +15 -8
- package/components/ion-footer.js +22 -21
- package/components/ion-grid.js +8 -5
- package/components/ion-img.js +2 -9
- package/components/ion-infinite-scroll-content.js +8 -15
- package/components/ion-infinite-scroll.js +31 -9
- package/components/ion-input-password-toggle.js +18 -57
- package/components/ion-input.js +84 -152
- package/components/ion-item-divider.js +12 -10
- package/components/ion-item-group.js +5 -9
- package/components/ion-item-option.js +20 -36
- package/components/ion-item-options.js +9 -9
- package/components/ion-item-sliding.js +8 -5
- package/components/ion-loading.js +39 -25
- package/components/ion-menu-button.js +22 -33
- package/components/ion-menu-toggle.js +13 -8
- package/components/ion-menu.js +29 -15
- package/components/ion-nav-link.js +5 -5
- package/components/ion-nav.js +9 -13
- package/components/ion-note.js +5 -10
- package/components/ion-picker-legacy.js +47 -24
- package/components/ion-progress-bar.js +22 -12
- package/components/ion-range.js +71 -32
- package/components/ion-refresher-content.js +9 -32
- package/components/ion-refresher.js +57 -11
- package/components/ion-reorder-group.js +8 -5
- package/components/ion-reorder.js +5 -31
- package/components/ion-route-redirect.js +0 -2
- package/components/ion-route.js +6 -4
- package/components/ion-router-link.js +11 -12
- package/components/ion-router-outlet.js +9 -7
- package/components/ion-router.js +18 -0
- package/components/ion-row.js +2 -5
- package/components/ion-searchbar.js +90 -116
- package/components/ion-segment-button.js +24 -17
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +5 -7
- package/components/ion-segment.js +27 -18
- package/components/ion-select-option.js +5 -6
- package/components/ion-select.js +76 -138
- package/components/ion-skeleton-text.js +8 -6
- package/components/ion-split-pane.js +16 -13
- package/components/ion-tab-bar.js +13 -33
- package/components/ion-tab-button.js +15 -36
- package/components/ion-tab.js +3 -5
- package/components/ion-tabs.js +4 -4
- package/components/ion-text.js +5 -6
- package/components/ion-textarea.js +70 -67
- package/components/ion-thumbnail.js +2 -5
- package/components/ion-toast.js +59 -53
- package/components/ion-toggle.js +51 -87
- package/components/ionic-global.js +84 -374
- package/components/ios.transition.js +0 -1
- package/components/item.js +27 -49
- package/components/keyboard-controller.js +2 -4
- package/components/label.js +5 -11
- package/components/list-header.js +5 -11
- package/components/list.js +9 -30
- package/components/modal.js +113 -76
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +5 -4
- package/components/picker-column-option.js +21 -10
- package/components/picker-column.js +30 -13
- package/components/picker-column2.js +4 -5
- package/components/picker.js +4 -8
- package/components/popover.js +130 -39
- package/components/radio-group.js +11 -9
- package/components/radio.js +33 -21
- package/components/ripple-effect.js +17 -18
- package/components/select-modal.js +5 -7
- package/components/select-popover.js +5 -13
- package/components/spinner.js +12 -39
- package/components/status-tap.js +1 -1
- package/components/title.js +7 -13
- package/components/toolbar.js +7 -12
- 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.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-58015a44.js → animation-b4fdf128.js} +2 -2
- package/dist/cjs/{app-globals-d64148d3.js → app-globals-d2d85416.js} +1 -1
- package/dist/cjs/{button-active-ec1fd1d8.js → button-active-8d4c8099.js} +2 -2
- package/dist/cjs/{capacitor-454dd071.js → capacitor-c04564bf.js} +3 -3
- package/dist/cjs/{data-b726dbee.js → data-21dc0f81.js} +6 -6
- package/dist/{esm/focus-visible-501aff19.js → cjs/focus-visible-7a0ce04f.js} +3 -8
- package/dist/cjs/{framework-delegate-32f1a0e4.js → framework-delegate-55f5683a.js} +2 -4
- package/dist/cjs/{haptic-7c25be74.js → haptic-f6b37aa3.js} +1 -1
- package/dist/cjs/hardware-back-button-f0972dab.js +122 -0
- package/dist/cjs/{helpers-4e2936d2.js → helpers-afaa9001.js} +1 -4
- package/dist/cjs/{index-8f975cf4.js → index-213cabf1.js} +12 -12
- package/dist/cjs/{index-73f75efb.js → index-2e7a27db.js} +1205 -837
- package/dist/cjs/{index-03fbee1d.js → index-38a015a8.js} +15 -14
- package/dist/cjs/index-5915f9b3.js +38 -0
- package/dist/cjs/{index-604c36ae.js → index-5b6a7459.js} +3 -3
- package/dist/cjs/{index-0e0c6196.js → index-9509ecad.js} +7 -9
- package/dist/cjs/index-c8d52405.js +10 -0
- package/dist/cjs/index.cjs.js +13 -11
- package/dist/cjs/{input-shims-4b4d2251.js → input-shims-9e59ef62.js} +17 -18
- package/dist/cjs/{input.utils-fb1debe4.js → input.utils-611cde0b.js} +5 -4
- package/dist/cjs/ion-accordion_2.cjs.entry.js +69 -71
- package/dist/cjs/ion-action-sheet.cjs.entry.js +51 -38
- package/dist/cjs/ion-alert.cjs.entry.js +60 -44
- package/dist/cjs/ion-app_8.cjs.entry.js +212 -122
- package/dist/cjs/ion-avatar_3.cjs.entry.js +10 -95
- package/dist/cjs/ion-back-button.cjs.entry.js +30 -39
- package/dist/cjs/ion-backdrop.cjs.entry.js +16 -12
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +45 -73
- package/dist/cjs/ion-button_2.cjs.entry.js +41 -64
- package/dist/cjs/ion-card_5.cjs.entry.js +47 -62
- package/dist/cjs/ion-checkbox.cjs.entry.js +46 -40
- package/dist/cjs/ion-chip.cjs.entry.js +14 -45
- package/dist/cjs/ion-col_3.cjs.entry.js +14 -39
- package/dist/cjs/ion-datetime-button.cjs.entry.js +25 -25
- package/dist/cjs/ion-datetime_3.cjs.entry.js +271 -251
- package/dist/cjs/ion-fab_3.cjs.entry.js +67 -58
- package/dist/cjs/ion-img.cjs.entry.js +4 -12
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +44 -28
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +21 -60
- package/dist/cjs/ion-input.cjs.entry.js +88 -153
- package/dist/cjs/ion-item-option_3.cjs.entry.js +37 -49
- package/dist/cjs/ion-item_8.cjs.entry.js +71 -129
- package/dist/cjs/ion-loading.cjs.entry.js +50 -33
- package/dist/cjs/ion-menu_3.cjs.entry.js +71 -60
- package/dist/cjs/ion-modal.cjs.entry.js +159 -120
- package/dist/cjs/ion-nav_2.cjs.entry.js +21 -25
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +23 -13
- package/dist/cjs/ion-picker-column.cjs.entry.js +35 -19
- package/dist/cjs/ion-picker.cjs.entry.js +6 -11
- package/dist/cjs/ion-popover.cjs.entry.js +141 -49
- package/dist/cjs/ion-progress-bar.cjs.entry.js +25 -15
- package/dist/cjs/ion-radio_2.cjs.entry.js +45 -32
- package/dist/cjs/ion-range.cjs.entry.js +78 -40
- package/dist/cjs/ion-refresher_2.cjs.entry.js +74 -49
- package/dist/cjs/ion-reorder_2.cjs.entry.js +17 -38
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +17 -19
- package/dist/cjs/ion-route_4.cjs.entry.js +37 -21
- package/dist/cjs/ion-searchbar.cjs.entry.js +92 -118
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +6 -8
- package/dist/cjs/ion-segment_2.cjs.entry.js +52 -37
- package/dist/cjs/ion-select-modal.cjs.entry.js +13 -13
- package/dist/cjs/ion-select_3.cjs.entry.js +91 -158
- package/dist/cjs/ion-spinner.cjs.entry.js +13 -39
- package/dist/cjs/ion-split-pane.cjs.entry.js +17 -15
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +34 -71
- package/dist/cjs/ion-tab_2.cjs.entry.js +10 -13
- package/dist/cjs/ion-text.cjs.entry.js +6 -8
- package/dist/cjs/ion-textarea.cjs.entry.js +76 -71
- package/dist/cjs/ion-toast.cjs.entry.js +89 -81
- package/dist/cjs/ion-toggle.cjs.entry.js +55 -90
- package/dist/cjs/ionic-global-3c758a1a.js +237 -0
- package/dist/cjs/ionic.cjs.js +5 -6
- package/dist/cjs/{ios.transition-2bb0f7d5.js → ios.transition-ac964d6c.js} +7 -7
- package/dist/cjs/{keyboard-53c12a15.js → keyboard-0272231f.js} +1 -1
- package/dist/cjs/{keyboard-0a5d46dd.js → keyboard-af1bb365.js} +3 -5
- package/dist/cjs/{keyboard-controller-102bad3e.js → keyboard-controller-c05e747a.js} +9 -11
- package/dist/cjs/loader.cjs.js +4 -5
- package/dist/cjs/{md.transition-cf600117.js → md.transition-45089eda.js} +7 -6
- package/dist/cjs/{notch-controller-ea70e230.js → notch-controller-d69150f5.js} +4 -4
- package/dist/cjs/{overlays-542a90b3.js → overlays-56fecd6c.js} +20 -19
- package/dist/cjs/{status-tap-aa97d209.js → status-tap-84e22ef3.js} +4 -5
- package/dist/cjs/{swipe-back-27975274.js → swipe-back-0303a5e4.js} +1 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.ios.css +58 -73
- package/dist/collection/components/accordion/accordion.js +58 -44
- 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 +37 -45
- 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 +78 -34
- 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 +88 -37
- package/dist/collection/components/alert/alert.md.css +1 -19
- package/dist/collection/components/app/app.js +78 -12
- package/dist/collection/components/avatar/avatar.ios.css +0 -12
- package/dist/collection/components/avatar/avatar.js +4 -92
- package/dist/collection/components/avatar/avatar.md.css +0 -12
- package/dist/collection/components/back-button/back-button.ios.css +48 -60
- package/dist/collection/components/back-button/back-button.js +42 -35
- 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 +21 -12
- package/dist/collection/components/backdrop/backdrop.md.css +1 -13
- package/dist/collection/components/badge/badge.ios.css +3 -106
- package/dist/collection/components/badge/badge.js +10 -78
- package/dist/collection/components/badge/badge.md.css +3 -106
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +8 -20
- package/dist/collection/components/breadcrumb/breadcrumb.js +55 -57
- 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 +29 -17
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -6
- package/dist/collection/components/button/button.ios.css +36 -129
- package/dist/collection/components/button/button.js +74 -64
- package/dist/collection/components/button/button.md.css +40 -120
- package/dist/collection/components/buttons/buttons.ios.css +7 -59
- package/dist/collection/components/buttons/buttons.js +22 -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 +43 -40
- 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 +18 -13
- 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 +10 -14
- 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 +10 -14
- package/dist/collection/components/card-title/card-title.md.css +0 -73
- package/dist/collection/components/checkbox/checkbox.ios.css +2 -20
- package/dist/collection/components/checkbox/checkbox.js +64 -73
- package/dist/collection/components/checkbox/checkbox.md.css +3 -21
- package/dist/collection/components/chip/chip.ios.css +1 -20
- package/dist/collection/components/chip/chip.js +20 -78
- 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 +53 -35
- package/dist/collection/components/content/content.css +2 -8
- package/dist/collection/components/content/content.js +47 -18
- package/dist/collection/components/datetime/datetime.ios.css +86 -237
- package/dist/collection/components/datetime/datetime.js +201 -144
- package/dist/collection/components/datetime/datetime.md.css +86 -237
- package/dist/collection/components/datetime/utils/data.js +3 -3
- package/dist/collection/components/datetime-button/datetime-button.ios.css +0 -6
- package/dist/collection/components/datetime-button/datetime-button.js +26 -19
- 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 +22 -11
- package/dist/collection/components/fab-button/fab-button.ios.css +6 -18
- package/dist/collection/components/fab-button/fab-button.js +76 -50
- 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 +15 -9
- package/dist/collection/components/footer/footer.ios.css +2 -14
- package/dist/collection/components/footer/footer.js +29 -23
- 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 +10 -9
- package/dist/collection/components/header/header.ios.css +10 -25
- package/dist/collection/components/header/header.js +30 -44
- package/dist/collection/components/header/header.md.css +8 -23
- package/dist/collection/components/img/img.js +6 -12
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +36 -12
- 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 +14 -18
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -12
- package/dist/collection/components/input/input.ios.css +2 -21
- package/dist/collection/components/input/input.js +163 -179
- package/dist/collection/components/input/input.md.css +4 -43
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +24 -52
- package/dist/collection/components/item/item.ios.css +69 -109
- package/dist/collection/components/item/item.js +59 -53
- 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 +19 -12
- 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 +36 -51
- 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 +13 -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 +9 -8
- package/dist/collection/components/label/label.ios.css +0 -18
- package/dist/collection/components/label/label.js +12 -13
- 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 +16 -48
- 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 +12 -15
- 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 +79 -29
- 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 +42 -15
- 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 +32 -31
- package/dist/collection/components/menu-button/menu-button.md.css +15 -49
- package/dist/collection/components/menu-toggle/menu-toggle.js +17 -11
- 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 +158 -79
- 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 +23 -19
- package/dist/collection/components/nav-link/nav-link.js +15 -11
- package/dist/collection/components/note/note.ios.css +0 -12
- package/dist/collection/components/note/note.js +10 -14
- 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 +37 -14
- 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 +29 -14
- 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 +81 -28
- 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 +7 -6
- 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 +193 -48
- 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 +33 -11
- 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 +48 -21
- package/dist/collection/components/radio/radio.md.css +91 -134
- package/dist/collection/components/radio-group/radio-group.js +19 -13
- package/dist/collection/components/range/range.ios.css +85 -128
- package/dist/collection/components/range/range.js +102 -31
- 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 +70 -11
- package/dist/collection/components/refresher/refresher.md.css +2 -15
- package/dist/collection/components/refresher-content/refresher-content.js +15 -32
- 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 +9 -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 +17 -14
- package/dist/collection/components/route/route.js +19 -11
- package/dist/collection/components/route-redirect/route-redirect.js +4 -4
- package/dist/collection/components/router/router.js +22 -4
- package/dist/collection/components/router-link/router-link.css +2 -8
- package/dist/collection/components/router-link/router-link.js +23 -16
- package/dist/collection/components/router-outlet/router-outlet.css +1 -7
- package/dist/collection/components/router-outlet/router-outlet.js +21 -11
- 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 +143 -120
- 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 +40 -18
- 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 +35 -17
- package/dist/collection/components/segment-button/segment-button.md.css +107 -148
- 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 +9 -7
- package/dist/collection/components/segment-view/segment-view.md.css +0 -6
- package/dist/collection/components/select/select.ios.css +121 -187
- package/dist/collection/components/select/select.js +120 -159
- package/dist/collection/components/select/select.md.css +226 -184
- package/dist/collection/components/select-modal/select-modal.ios.css +186 -0
- package/dist/collection/components/select-modal/select-modal.js +10 -6
- package/dist/collection/components/select-modal/select-modal.md.css +3 -7
- package/dist/collection/components/select-option/select-option.js +9 -10
- package/dist/collection/components/select-popover/select-popover.ios.css +0 -18
- package/dist/collection/components/select-popover/select-popover.js +17 -16
- 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 +10 -9
- package/dist/collection/components/spinner/{spinner.ionic.css → spinner.css} +0 -63
- package/dist/collection/components/spinner/spinner.js +17 -49
- package/dist/collection/components/split-pane/split-pane.ios.css +2 -20
- package/dist/collection/components/split-pane/split-pane.js +22 -15
- package/dist/collection/components/split-pane/split-pane.md.css +2 -20
- package/dist/collection/components/tab/tab.js +12 -10
- package/dist/collection/components/tab-bar/tab-bar.ios.css +43 -71
- package/dist/collection/components/tab-bar/tab-bar.js +21 -67
- package/dist/collection/components/tab-bar/tab-bar.md.css +43 -71
- package/dist/collection/components/tab-button/tab-button.ios.css +88 -103
- package/dist/collection/components/tab-button/tab-button.js +32 -51
- package/dist/collection/components/tab-button/tab-button.md.css +88 -103
- package/dist/collection/components/tabs/tabs.css +1 -7
- package/dist/collection/components/tabs/tabs.js +5 -6
- package/dist/collection/components/text/text.css +0 -6
- package/dist/collection/components/text/text.js +8 -10
- package/dist/collection/components/textarea/textarea.ios.css +96 -201
- package/dist/collection/components/textarea/textarea.js +132 -89
- package/dist/collection/components/textarea/textarea.md.css +97 -214
- 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 +11 -17
- 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 +107 -73
- package/dist/collection/components/toast/toast.md.css +35 -74
- package/dist/collection/components/toggle/toggle.ios.css +120 -166
- package/dist/collection/components/toggle/toggle.js +69 -83
- package/dist/collection/components/toggle/toggle.md.css +120 -163
- package/dist/collection/components/toolbar/toolbar.ios.css +47 -90
- package/dist/collection/components/toolbar/toolbar.js +12 -14
- 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 -7
- package/dist/collection/utils/framework-delegate.js +1 -3
- package/dist/collection/utils/helpers.js +1 -3
- 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.d.ts +8 -0
- package/dist/docs.json +2219 -7864
- package/dist/esm/{animation-f1a88600.js → animation-eab5a4ca.js} +1 -1
- package/dist/esm/{app-globals-eceadabb.js → app-globals-1318774c.js} +1 -1
- package/dist/esm/{button-active-321f0dba.js → button-active-10b36beb.js} +2 -2
- package/dist/esm/{capacitor-6b0341c8.js → capacitor-59395cbd.js} +1 -1
- package/dist/esm/{data-a753c96a.js → data-ae11fd43.js} +4 -4
- package/dist/{cjs/focus-visible-9aa87fa3.js → esm/focus-visible-dd40d69f.js} +1 -11
- package/dist/esm/{framework-delegate-3e4a8c9f.js → framework-delegate-63d1a679.js} +2 -4
- package/dist/esm/{haptic-dd6c0ea9.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm/hardware-back-button-0a284222.js +116 -0
- package/dist/esm/{helpers-f08d15bd.js → helpers-da915de8.js} +1 -4
- package/dist/esm/{index-59f81cb8.js → index-13b48bcb.js} +6 -6
- package/dist/esm/{index-7bd160c2.js → index-5cc724f3.js} +2 -2
- package/dist/esm/index-79b30591.js +167 -0
- package/dist/esm/index-9b0d46f4.js +34 -0
- package/dist/esm/index-a5d50daf.js +7 -0
- package/dist/esm/{index-d997525d.js → index-e2cf2ceb.js} +1 -1
- package/dist/esm/{index-31109e63.js → index-ed9a6c67.js} +11 -10
- package/dist/esm/{index-723c0e5d.js → index-fcdfc1aa.js} +1206 -838
- package/dist/esm/index.js +13 -11
- package/dist/esm/{input-shims-6be83e59.js → input-shims-0314bbe5.js} +6 -7
- package/dist/esm/{input.utils-67459bae.js → input.utils-09c71bc7.js} +3 -2
- package/dist/esm/ion-accordion_2.entry.js +68 -70
- package/dist/esm/ion-action-sheet.entry.js +51 -38
- package/dist/esm/ion-alert.entry.js +57 -41
- package/dist/esm/ion-app_8.entry.js +199 -109
- package/dist/esm/ion-avatar_3.entry.js +10 -95
- package/dist/esm/ion-back-button.entry.js +29 -38
- package/dist/esm/ion-backdrop.entry.js +16 -12
- package/dist/esm/ion-breadcrumb_2.entry.js +46 -74
- package/dist/esm/ion-button_2.entry.js +38 -61
- package/dist/esm/ion-card_5.entry.js +47 -62
- package/dist/esm/ion-checkbox.entry.js +46 -40
- package/dist/esm/ion-chip.entry.js +14 -45
- package/dist/esm/ion-col_3.entry.js +14 -39
- package/dist/esm/ion-datetime-button.entry.js +21 -21
- package/dist/esm/ion-datetime_3.entry.js +197 -177
- package/dist/esm/ion-fab_3.entry.js +68 -59
- package/dist/esm/ion-img.entry.js +4 -12
- package/dist/esm/ion-infinite-scroll_2.entry.js +41 -25
- package/dist/esm/ion-input-password-toggle.entry.js +19 -58
- package/dist/esm/ion-input.entry.js +89 -154
- package/dist/esm/ion-item-option_3.entry.js +37 -49
- package/dist/esm/ion-item_8.entry.js +71 -129
- package/dist/esm/ion-loading.entry.js +47 -30
- package/dist/esm/ion-menu_3.entry.js +70 -59
- package/dist/esm/ion-modal.entry.js +123 -84
- package/dist/esm/ion-nav_2.entry.js +19 -23
- package/dist/esm/ion-picker-column-option.entry.js +23 -13
- package/dist/esm/ion-picker-column.entry.js +34 -18
- package/dist/esm/ion-picker.entry.js +6 -11
- package/dist/esm/ion-popover.entry.js +138 -46
- package/dist/esm/ion-progress-bar.entry.js +24 -14
- package/dist/esm/ion-radio_2.entry.js +45 -32
- package/dist/esm/ion-range.entry.js +73 -35
- package/dist/esm/ion-refresher_2.entry.js +71 -46
- package/dist/esm/ion-reorder_2.entry.js +18 -39
- package/dist/esm/ion-ripple-effect.entry.js +17 -19
- package/dist/esm/ion-route_4.entry.js +37 -21
- package/dist/esm/ion-searchbar.entry.js +92 -118
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +6 -8
- package/dist/esm/ion-segment_2.entry.js +52 -37
- package/dist/esm/ion-select-modal.entry.js +13 -13
- package/dist/esm/ion-select_3.entry.js +92 -159
- package/dist/esm/ion-spinner.entry.js +11 -37
- package/dist/esm/ion-split-pane.entry.js +17 -15
- package/dist/esm/ion-tab-bar_2.entry.js +33 -70
- package/dist/esm/ion-tab_2.entry.js +10 -13
- package/dist/esm/ion-text.entry.js +6 -8
- package/dist/esm/ion-textarea.entry.js +76 -71
- package/dist/esm/ion-toast.entry.js +65 -57
- package/dist/esm/ion-toggle.entry.js +56 -91
- package/dist/esm/ionic-global-6b9f2b5a.js +231 -0
- package/dist/esm/ionic.js +6 -7
- package/dist/esm/{ios.transition-06b78ea0.js → ios.transition-1cb16beb.js} +7 -7
- package/dist/esm/{keyboard-5b1b354d.js → keyboard-52278bd7.js} +3 -5
- package/dist/esm/{keyboard-9bbd546a.js → keyboard-73175e24.js} +1 -1
- package/dist/esm/{keyboard-controller-aff395fd.js → keyboard-controller-ec5c2bfa.js} +3 -5
- package/dist/esm/loader.js +5 -6
- package/dist/esm/{md.transition-e5712bda.js → md.transition-20f80721.js} +7 -6
- package/dist/esm/{notch-controller-c0bd22ff.js → notch-controller-55b09e11.js} +2 -2
- package/dist/esm/{overlays-66cb5522.js → overlays-6163edd5.js} +7 -6
- package/dist/esm/{status-tap-edf9f395.js → status-tap-6971c722.js} +4 -5
- package/dist/esm/{swipe-back-17c42610.js → swipe-back-e5394307.js} +1 -2
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-1318774c.js +4 -0
- package/dist/esm-es5/{button-active-321f0dba.js → button-active-10b36beb.js} +1 -1
- package/dist/esm-es5/capacitor-59395cbd.js +4 -0
- package/dist/esm-es5/data-ae11fd43.js +4 -0
- package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
- package/dist/esm-es5/framework-delegate-63d1a679.js +4 -0
- package/dist/esm-es5/{haptic-dd6c0ea9.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm-es5/hardware-back-button-0a284222.js +4 -0
- package/dist/esm-es5/helpers-da915de8.js +4 -0
- package/dist/esm-es5/index-13b48bcb.js +4 -0
- package/dist/esm-es5/index-5cc724f3.js +4 -0
- package/dist/esm-es5/{index-62b4a18b.js → index-79b30591.js} +1 -1
- package/dist/esm-es5/index-9b0d46f4.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-ed9a6c67.js +4 -0
- package/dist/esm-es5/index-fcdfc1aa.js +5 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-0314bbe5.js +4 -0
- package/dist/esm-es5/input.utils-09c71bc7.js +4 -0
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment-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-6b9f2b5a.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-1cb16beb.js +4 -0
- package/dist/esm-es5/{keyboard-5b1b354d.js → keyboard-52278bd7.js} +1 -1
- package/dist/esm-es5/{keyboard-9bbd546a.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-20f80721.js +4 -0
- package/dist/esm-es5/notch-controller-55b09e11.js +4 -0
- package/dist/esm-es5/overlays-6163edd5.js +4 -0
- package/dist/esm-es5/status-tap-6971c722.js +4 -0
- package/dist/esm-es5/swipe-back-e5394307.js +4 -0
- package/dist/html.html-data.json +203 -2341
- 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-009f82b0.entry.js +4 -0
- package/dist/ionic/p-00d0d756.system.entry.js +4 -0
- package/dist/ionic/p-02a67bb6.entry.js +4 -0
- package/dist/ionic/p-06db9f72.system.entry.js +4 -0
- package/dist/ionic/p-06e58c4e.js +4 -0
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/p-0b7a6f61.system.entry.js +4 -0
- package/dist/ionic/p-0c06e09b.system.js +4 -0
- package/dist/ionic/p-0e3657b4.system.entry.js +4 -0
- package/dist/ionic/p-0f461830.entry.js +4 -0
- package/dist/ionic/p-1050c06b.entry.js +4 -0
- package/dist/ionic/p-10e0c150.entry.js +4 -0
- package/dist/ionic/p-12130ed6.entry.js +4 -0
- package/dist/ionic/p-12f321c2.system.entry.js +4 -0
- package/dist/ionic/p-13672c38.system.entry.js +4 -0
- package/dist/ionic/p-1424bf51.system.entry.js +4 -0
- package/dist/ionic/p-14862d17.js +4 -0
- package/dist/ionic/p-15764963.entry.js +4 -0
- package/dist/ionic/p-178f8860.js +4 -0
- package/dist/ionic/p-19d9e3c1.entry.js +4 -0
- package/dist/ionic/{p-dbd39afd.system.js → p-19ea7bff.system.js} +1 -1
- package/dist/ionic/p-1a02bce6.system.js +4 -0
- package/dist/ionic/p-1c152e5e.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-1fd5d9bc.system.js +4 -0
- package/dist/ionic/p-20034878.entry.js +4 -0
- package/dist/ionic/p-231bc1a6.entry.js +4 -0
- package/dist/ionic/p-256d6439.system.entry.js +4 -0
- package/dist/ionic/p-25ffd217.system.entry.js +4 -0
- package/dist/ionic/p-2690b1de.js +4 -0
- package/dist/ionic/{p-93e47936.js → p-27281edd.js} +1 -1
- package/dist/ionic/p-2799a566.entry.js +4 -0
- package/dist/ionic/p-27c32980.system.entry.js +4 -0
- package/dist/ionic/p-28dfa27e.entry.js +4 -0
- package/dist/ionic/p-2af55ad8.entry.js +4 -0
- package/dist/ionic/p-2b7827c7.js +4 -0
- package/dist/ionic/p-2d31d826.entry.js +4 -0
- package/dist/ionic/p-2e092bfc.js +4 -0
- package/dist/ionic/p-2e25154e.entry.js +4 -0
- package/dist/ionic/p-33e4b80b.entry.js +4 -0
- package/dist/ionic/{p-12d6df53.js → p-34b11c24.js} +1 -1
- package/dist/ionic/p-39d3c108.entry.js +4 -0
- package/dist/ionic/p-39f7d87a.system.entry.js +4 -0
- package/dist/ionic/p-3ad285e3.system.js +4 -0
- package/dist/ionic/p-3be897c8.system.entry.js +4 -0
- package/dist/ionic/p-3cc276f4.js +4 -0
- package/dist/ionic/{p-f8c63ac0.system.js → p-3e9fea9e.system.js} +2 -2
- package/dist/ionic/p-40b63137.js +4 -0
- package/dist/ionic/p-47dc25dc.system.entry.js +4 -0
- package/dist/ionic/p-48da821c.system.js +4 -0
- package/dist/ionic/p-49e8212a.entry.js +4 -0
- package/dist/ionic/p-4c2d5b80.system.js +4 -0
- package/dist/ionic/p-4c553a2a.system.entry.js +4 -0
- package/dist/ionic/p-4e9cfad5.system.entry.js +4 -0
- package/dist/ionic/p-50d264fa.system.entry.js +4 -0
- package/dist/ionic/p-515d6848.system.entry.js +4 -0
- package/dist/ionic/p-548a72aa.system.entry.js +4 -0
- package/dist/ionic/p-550a3b74.system.entry.js +4 -0
- package/dist/ionic/p-56b2ba69.system.entry.js +4 -0
- package/dist/ionic/p-576c3a98.js +4 -0
- package/dist/ionic/p-58f53534.entry.js +4 -0
- package/dist/ionic/p-5d9ac963.entry.js +4 -0
- package/dist/ionic/p-5ed6403e.system.entry.js +4 -0
- package/dist/ionic/p-639d0578.system.entry.js +4 -0
- package/dist/ionic/p-64bbdc67.entry.js +4 -0
- package/dist/ionic/p-65d01407.entry.js +4 -0
- package/dist/ionic/p-6b2e506b.entry.js +4 -0
- package/dist/ionic/p-6b6a8f94.system.entry.js +4 -0
- package/dist/ionic/p-6d119deb.system.entry.js +4 -0
- package/dist/ionic/p-7148eaf9.system.js +4 -0
- package/dist/ionic/p-72812e99.js +4 -0
- package/dist/ionic/p-72bc8a1c.js +4 -0
- package/dist/ionic/p-72bfbdb8.entry.js +4 -0
- package/dist/ionic/{p-a510e9c0.js → p-782beb5a.js} +1 -1
- package/dist/ionic/p-78667ff0.entry.js +4 -0
- package/dist/ionic/p-78c786a5.system.entry.js +4 -0
- package/dist/ionic/p-792919fd.system.js +4 -0
- package/dist/ionic/{p-41c19986.system.js → p-7a1241fe.system.js} +1 -1
- package/dist/ionic/p-7b30edcc.js +4 -0
- package/dist/ionic/p-7b5771f9.entry.js +4 -0
- package/dist/ionic/p-7e58bbf9.system.js +5 -0
- package/dist/ionic/p-81757650.entry.js +4 -0
- package/dist/ionic/p-825e7bd7.system.entry.js +4 -0
- package/dist/ionic/p-8318c25d.entry.js +4 -0
- package/dist/ionic/p-861176bf.js +5 -0
- package/dist/ionic/p-8635f5e6.system.js +4 -0
- package/dist/ionic/p-87a5a16c.system.entry.js +4 -0
- package/dist/ionic/p-87ce1c7b.system.entry.js +4 -0
- package/dist/ionic/{p-4626fb32.system.js → p-8985cdb6.system.js} +1 -1
- package/dist/ionic/{p-4c275462.js → p-89b61afc.js} +1 -1
- package/dist/ionic/p-8dd3da91.entry.js +4 -0
- package/dist/ionic/p-8e640927.entry.js +4 -0
- package/dist/ionic/p-8ef7a3d4.js +4 -0
- package/dist/ionic/p-900bf295.system.entry.js +4 -0
- package/dist/ionic/{p-62887754.system.js → p-9146695e.system.js} +1 -1
- package/dist/ionic/p-9437291a.system.entry.js +4 -0
- package/dist/ionic/{p-f193945e.system.js → p-95902a17.system.js} +1 -1
- package/dist/ionic/p-96cc4814.js +4 -0
- package/dist/ionic/{p-82cb4235.js → p-976cffa3.js} +1 -1
- package/dist/ionic/p-9a87fe2d.entry.js +4 -0
- package/dist/ionic/p-9b48727c.system.entry.js +4 -0
- package/dist/ionic/{p-3e91ea3a.system.js → p-9ea607bd.system.js} +2 -2
- package/dist/ionic/p-a049797d.system.entry.js +4 -0
- package/dist/ionic/p-a09686af.system.entry.js +4 -0
- package/dist/ionic/p-a15ddedb.system.js +4 -0
- package/dist/ionic/{p-94816e7a.system.js → p-a93873de.system.js} +1 -1
- package/dist/ionic/p-aa92906a.entry.js +4 -0
- package/dist/ionic/p-abe101da.system.js +4 -0
- package/dist/ionic/p-ae304d51.system.entry.js +4 -0
- package/dist/ionic/p-ae830361.entry.js +4 -0
- package/dist/ionic/{p-f1e11e93.entry.js → p-aee73160.entry.js} +1 -1
- package/dist/ionic/p-af19e17f.entry.js +4 -0
- package/dist/ionic/{p-18f86177.system.js → p-b06ac4a5.system.js} +1 -1
- package/dist/ionic/p-b13c5a74.system.js +4 -0
- package/dist/ionic/p-b51e4004.js +4 -0
- package/dist/ionic/p-b5400a4e.entry.js +4 -0
- package/dist/ionic/p-b84b4728.system.entry.js +4 -0
- package/dist/ionic/p-bc35609f.system.entry.js +4 -0
- package/dist/ionic/p-c29e3a26.entry.js +4 -0
- package/dist/ionic/p-c468af8a.system.js +4 -0
- package/dist/ionic/p-c5bbf6c1.system.entry.js +4 -0
- package/dist/ionic/p-c61cc894.js +4 -0
- package/dist/ionic/p-c7d9e292.system.js +4 -0
- package/dist/ionic/{p-11266916.js → p-c7e16491.js} +1 -1
- package/dist/ionic/p-ccba2087.system.entry.js +4 -0
- package/dist/ionic/p-cdf6fc3a.system.entry.js +4 -0
- package/dist/ionic/{p-58aa8a36.system.js → p-cec30029.system.js} +1 -1
- package/dist/ionic/p-d3e8f550.entry.js +4 -0
- package/dist/ionic/p-d46804b1.system.entry.js +4 -0
- package/dist/ionic/p-d47265c8.js +4 -0
- package/dist/ionic/{p-aaccbb95.js → p-d60342e3.js} +1 -1
- package/dist/ionic/p-da1d2cb3.entry.js +4 -0
- package/dist/ionic/{p-58f16ef6.js → p-da2b833b.js} +1 -1
- package/dist/ionic/p-dbdccd05.entry.js +4 -0
- package/dist/ionic/p-dc480111.entry.js +4 -0
- package/dist/ionic/p-dc75988a.system.entry.js +4 -0
- package/dist/ionic/p-de104ff8.system.js +4 -0
- package/dist/ionic/p-dfb78785.system.js +4 -0
- package/dist/ionic/p-e3177e13.system.entry.js +4 -0
- package/dist/ionic/p-e4e3296d.system.js +4 -0
- package/dist/ionic/p-e8d1ae44.system.entry.js +4 -0
- package/dist/ionic/p-e992e256.js +4 -0
- package/dist/ionic/p-eb82a2ad.entry.js +4 -0
- package/dist/ionic/p-ebef8e16.system.entry.js +4 -0
- package/dist/ionic/p-f03983ca.system.entry.js +4 -0
- package/dist/ionic/p-f244eea8.system.entry.js +4 -0
- package/dist/ionic/p-f2e5ec87.entry.js +4 -0
- package/dist/ionic/p-f5aef6f1.system.entry.js +4 -0
- package/dist/ionic/p-f5b1cfba.entry.js +4 -0
- package/dist/ionic/{p-44ad86d7.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/p-f8ff5ad1.entry.js +4 -0
- package/dist/ionic/p-fa459c81.entry.js +4 -0
- package/dist/ionic/p-fa7120fe.entry.js +4 -0
- package/dist/ionic/p-fbebb25d.entry.js +4 -0
- package/dist/ionic/p-fc8bdbc9.system.entry.js +4 -0
- package/dist/ionic/p-fca658be.system.entry.js +4 -0
- package/dist/ionic/p-fdb92b6d.entry.js +4 -0
- package/dist/ionic/p-fe10600c.js +4 -0
- package/dist/ionic/p-fe5dca01.system.entry.js +4 -0
- package/dist/ionic/p-fe6ab8d4.entry.js +4 -0
- package/dist/ionic/p-fee6c9c2.system.entry.js +4 -0
- package/dist/ionic/p-ff4b7e40.system.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 -4
- package/dist/types/components/avatar/avatar.d.ts +0 -28
- 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 -23
- 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 +3 -3
- package/dist/types/components/datetime-button/datetime-button.d.ts +1 -2
- package/dist/types/components/fab/fab.d.ts +0 -4
- package/dist/types/components/fab-button/fab-button.d.ts +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 -2
- package/dist/types/components/radio/radio.d.ts +1 -2
- package/dist/types/components/radio-group/radio-group.d.ts +0 -4
- package/dist/types/components/range/range.d.ts +1 -2
- package/dist/types/components/refresher/refresher.d.ts +1 -2
- package/dist/types/components/refresher-content/refresher-content.d.ts +0 -4
- package/dist/types/components/reorder/reorder.d.ts +0 -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 +8 -30
- package/dist/types/components/segment/segment.d.ts +1 -2
- package/dist/types/components/segment-button/segment-button.d.ts +1 -2
- package/dist/types/components/select/select.d.ts +7 -35
- 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 -16
- 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 +183 -1383
- package/dist/types/global/ionic-global.d.ts +2 -27
- package/dist/types/interface.d.ts +0 -3
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/dist/types/utils/config.d.ts +2 -106
- package/dist/types/utils/focus-visible.d.ts +0 -1
- package/dist/types/utils/overlays-interface.d.ts +1 -31
- package/dist/types/utils/test/playwright/generator.d.ts +2 -31
- package/hydrate/index.d.ts +10 -4
- package/hydrate/index.js +3839 -3747
- package/hydrate/index.mjs +3839 -3747
- 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/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/ionic-global-14af9c21.js +0 -535
- 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 -268
- package/dist/collection/components/backdrop/backdrop.ionic.css +0 -151
- package/dist/collection/components/badge/badge.ionic.css +0 -249
- package/dist/collection/components/button/button.ionic.css +0 -589
- 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 -402
- package/dist/collection/components/chip/chip.ionic.css +0 -160
- package/dist/collection/components/datetime/datetime.ionic.css +0 -673
- package/dist/collection/components/header/header.ionic.css +0 -86
- package/dist/collection/components/input/input.ionic.css +0 -1096
- 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 -239
- package/dist/collection/components/radio/radio.ionic.css +0 -424
- 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 -345
- 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 -706
- 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 -282
- package/dist/collection/components/textarea/textarea.ionic.css +0 -834
- 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 -419
- 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/ionic-global-3c97a4aa.js +0 -521
- package/dist/esm/list-6524700c.js +0 -6
- package/dist/esm/x-a64bcd9f.js +0 -6
- package/dist/esm-es5/animation-f1a88600.js +0 -4
- package/dist/esm-es5/app-globals-eceadabb.js +0 -4
- package/dist/esm-es5/capacitor-6b0341c8.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-a753c96a.js +0 -4
- package/dist/esm-es5/focus-visible-501aff19.js +0 -4
- package/dist/esm-es5/framework-delegate-3e4a8c9f.js +0 -4
- package/dist/esm-es5/helpers-f08d15bd.js +0 -4
- package/dist/esm-es5/index-31109e63.js +0 -4
- package/dist/esm-es5/index-59f81cb8.js +0 -4
- package/dist/esm-es5/index-723c0e5d.js +0 -5
- package/dist/esm-es5/index-7bd160c2.js +0 -4
- package/dist/esm-es5/input-shims-6be83e59.js +0 -4
- package/dist/esm-es5/input.utils-67459bae.js +0 -4
- package/dist/esm-es5/ionic-global-3c97a4aa.js +0 -4
- package/dist/esm-es5/ios.transition-06b78ea0.js +0 -4
- package/dist/esm-es5/keyboard-controller-aff395fd.js +0 -4
- package/dist/esm-es5/list-6524700c.js +0 -4
- package/dist/esm-es5/md.transition-e5712bda.js +0 -4
- package/dist/esm-es5/notch-controller-c0bd22ff.js +0 -4
- package/dist/esm-es5/overlays-66cb5522.js +0 -4
- package/dist/esm-es5/status-tap-edf9f395.js +0 -4
- package/dist/esm-es5/swipe-back-17c42610.js +0 -4
- package/dist/esm-es5/x-a64bcd9f.js +0 -4
- package/dist/ionic/p-01d80901.system.js +0 -4
- package/dist/ionic/p-038a6294.js +0 -4
- package/dist/ionic/p-06ec4706.js +0 -4
- package/dist/ionic/p-06f2f110.system.entry.js +0 -4
- package/dist/ionic/p-09125f4f.entry.js +0 -4
- package/dist/ionic/p-096e5f6d.system.entry.js +0 -4
- package/dist/ionic/p-09c6b5e4.js +0 -4
- package/dist/ionic/p-0a0ce78f.system.entry.js +0 -4
- package/dist/ionic/p-0ae8c3eb.entry.js +0 -4
- package/dist/ionic/p-0fa218e9.system.js +0 -5
- package/dist/ionic/p-101ccd60.system.entry.js +0 -4
- package/dist/ionic/p-112120d7.system.js +0 -4
- package/dist/ionic/p-12337305.system.entry.js +0 -4
- package/dist/ionic/p-156d17cd.js +0 -4
- package/dist/ionic/p-18892506.entry.js +0 -4
- package/dist/ionic/p-1abd1c99.entry.js +0 -4
- package/dist/ionic/p-1cf1141c.system.entry.js +0 -4
- package/dist/ionic/p-1dd2b0af.entry.js +0 -4
- package/dist/ionic/p-1eeb9796.entry.js +0 -4
- package/dist/ionic/p-1efa63f2.js +0 -4
- package/dist/ionic/p-23b31425.entry.js +0 -4
- package/dist/ionic/p-243adf8c.js +0 -4
- package/dist/ionic/p-24f15ce4.system.entry.js +0 -4
- package/dist/ionic/p-25cc2477.entry.js +0 -4
- package/dist/ionic/p-27258d5a.entry.js +0 -4
- package/dist/ionic/p-29ca4da2.entry.js +0 -4
- package/dist/ionic/p-2e35a770.system.js +0 -4
- package/dist/ionic/p-2ef115ec.system.entry.js +0 -4
- package/dist/ionic/p-2fe21cb8.system.entry.js +0 -4
- package/dist/ionic/p-330e703e.entry.js +0 -4
- package/dist/ionic/p-33dc4514.js +0 -4
- package/dist/ionic/p-346c67b0.js +0 -4
- package/dist/ionic/p-3583dd40.system.entry.js +0 -4
- package/dist/ionic/p-3608e72b.entry.js +0 -4
- package/dist/ionic/p-398b00a5.system.entry.js +0 -4
- package/dist/ionic/p-3c4c73f9.system.entry.js +0 -4
- package/dist/ionic/p-3ce95a91.entry.js +0 -4
- package/dist/ionic/p-3d61263b.system.entry.js +0 -4
- package/dist/ionic/p-3d7eb7bf.system.entry.js +0 -4
- package/dist/ionic/p-41f06734.entry.js +0 -4
- package/dist/ionic/p-4219582c.system.js +0 -4
- package/dist/ionic/p-429dd2b5.system.js +0 -4
- package/dist/ionic/p-4385e3fb.system.entry.js +0 -4
- package/dist/ionic/p-4459a66e.system.js +0 -4
- package/dist/ionic/p-46787abb.system.js +0 -4
- package/dist/ionic/p-47fd935c.system.js +0 -4
- package/dist/ionic/p-4a39ba11.entry.js +0 -4
- package/dist/ionic/p-4a6d4288.entry.js +0 -4
- package/dist/ionic/p-4a869870.entry.js +0 -4
- package/dist/ionic/p-4ac4f52a.system.entry.js +0 -4
- package/dist/ionic/p-4b4e4592.system.entry.js +0 -4
- package/dist/ionic/p-4c9e1b2c.js +0 -4
- package/dist/ionic/p-51371e21.system.js +0 -4
- package/dist/ionic/p-530c591a.entry.js +0 -4
- package/dist/ionic/p-55546d77.system.entry.js +0 -4
- package/dist/ionic/p-556778bd.system.js +0 -4
- package/dist/ionic/p-5684893b.system.entry.js +0 -4
- package/dist/ionic/p-57de8d54.system.entry.js +0 -4
- package/dist/ionic/p-58c64779.system.entry.js +0 -4
- package/dist/ionic/p-5a6b3c0d.entry.js +0 -4
- package/dist/ionic/p-5a6d245d.system.entry.js +0 -4
- package/dist/ionic/p-5b57d327.system.js +0 -4
- package/dist/ionic/p-5ce35a03.js +0 -4
- package/dist/ionic/p-5deb874f.entry.js +0 -4
- package/dist/ionic/p-5eb8561f.system.entry.js +0 -4
- package/dist/ionic/p-607c9c33.js +0 -4
- package/dist/ionic/p-60d21ee9.system.entry.js +0 -4
- package/dist/ionic/p-61eefc4d.system.entry.js +0 -4
- package/dist/ionic/p-63fde7fe.entry.js +0 -4
- package/dist/ionic/p-6433742e.system.entry.js +0 -4
- package/dist/ionic/p-67b6e18d.entry.js +0 -4
- package/dist/ionic/p-6a0dd6bc.js +0 -4
- package/dist/ionic/p-6bc2795b.entry.js +0 -4
- package/dist/ionic/p-6bd1c0ee.system.entry.js +0 -4
- package/dist/ionic/p-6caa76ec.js +0 -4
- package/dist/ionic/p-6cbca6c5.system.entry.js +0 -4
- package/dist/ionic/p-6dc32e8b.entry.js +0 -4
- package/dist/ionic/p-6e53290f.system.entry.js +0 -4
- package/dist/ionic/p-7071d7ca.js +0 -4
- package/dist/ionic/p-70e5bb40.entry.js +0 -4
- package/dist/ionic/p-72cbf799.system.entry.js +0 -4
- package/dist/ionic/p-74d76684.js +0 -4
- package/dist/ionic/p-7607d8ba.system.entry.js +0 -4
- package/dist/ionic/p-78ed8923.js +0 -4
- package/dist/ionic/p-7a858bae.system.js +0 -4
- package/dist/ionic/p-7d36cf9f.system.entry.js +0 -4
- package/dist/ionic/p-815f649a.system.entry.js +0 -4
- package/dist/ionic/p-81b72701.entry.js +0 -4
- package/dist/ionic/p-822e47a9.system.js +0 -4
- package/dist/ionic/p-83948e48.js +0 -5
- package/dist/ionic/p-8463212e.js +0 -4
- package/dist/ionic/p-84667060.entry.js +0 -4
- package/dist/ionic/p-857ba8d4.entry.js +0 -4
- package/dist/ionic/p-86d98446.system.entry.js +0 -4
- package/dist/ionic/p-86e9a917.system.entry.js +0 -4
- package/dist/ionic/p-871f4046.entry.js +0 -4
- package/dist/ionic/p-8956f9a8.system.entry.js +0 -4
- package/dist/ionic/p-8b0f0a87.entry.js +0 -4
- package/dist/ionic/p-8dbfae64.entry.js +0 -4
- package/dist/ionic/p-903c544a.js +0 -4
- package/dist/ionic/p-916bc9ed.system.entry.js +0 -4
- package/dist/ionic/p-92646426.js +0 -4
- package/dist/ionic/p-94fc2104.system.entry.js +0 -4
- package/dist/ionic/p-986855d6.js +0 -4
- package/dist/ionic/p-9abb7d9b.entry.js +0 -4
- package/dist/ionic/p-9ac1a506.system.js +0 -4
- package/dist/ionic/p-a1cdc742.js +0 -4
- package/dist/ionic/p-a2814291.system.js +0 -4
- package/dist/ionic/p-a538ab98.js +0 -4
- package/dist/ionic/p-a5a9206f.entry.js +0 -4
- package/dist/ionic/p-a685da08.system.entry.js +0 -4
- package/dist/ionic/p-a98061d0.entry.js +0 -4
- package/dist/ionic/p-a9af4103.js +0 -4
- package/dist/ionic/p-ac1c2b6a.js +0 -4
- package/dist/ionic/p-b18c52cd.entry.js +0 -4
- package/dist/ionic/p-b517144d.system.entry.js +0 -4
- package/dist/ionic/p-b5dc9a32.system.entry.js +0 -4
- package/dist/ionic/p-b79f3ded.entry.js +0 -4
- package/dist/ionic/p-b80582fe.system.entry.js +0 -4
- package/dist/ionic/p-b8b89651.system.entry.js +0 -4
- package/dist/ionic/p-bbcec459.system.js +0 -4
- package/dist/ionic/p-bcdd3eaf.entry.js +0 -4
- package/dist/ionic/p-be87ec25.entry.js +0 -4
- package/dist/ionic/p-c248c88d.system.js +0 -4
- package/dist/ionic/p-c373eebd.system.js +0 -4
- package/dist/ionic/p-c9d5da01.entry.js +0 -4
- package/dist/ionic/p-cdff6a80.system.entry.js +0 -4
- package/dist/ionic/p-cea92c46.system.js +0 -4
- package/dist/ionic/p-d4862803.entry.js +0 -4
- package/dist/ionic/p-d6ed3be1.entry.js +0 -4
- package/dist/ionic/p-d9edb291.entry.js +0 -4
- package/dist/ionic/p-dc286a59.entry.js +0 -4
- package/dist/ionic/p-df09db21.entry.js +0 -4
- package/dist/ionic/p-df4b88fc.system.entry.js +0 -4
- package/dist/ionic/p-e3b70846.system.js +0 -4
- package/dist/ionic/p-ea3ca474.system.js +0 -4
- package/dist/ionic/p-eb4ba253.entry.js +0 -4
- package/dist/ionic/p-ebd641e4.system.entry.js +0 -4
- package/dist/ionic/p-ebe94d15.entry.js +0 -4
- package/dist/ionic/p-eda736d7.entry.js +0 -4
- package/dist/ionic/p-ee17be82.entry.js +0 -4
- package/dist/ionic/p-eee899d5.system.entry.js +0 -4
- package/dist/ionic/p-f116fb3f.system.js +0 -4
- package/dist/ionic/p-f25ad420.system.entry.js +0 -4
- package/dist/ionic/p-f44c9c6e.system.entry.js +0 -4
- package/dist/ionic/p-f5be97b8.entry.js +0 -4
- package/dist/ionic/p-f8123284.entry.js +0 -4
- package/dist/ionic/p-f99cf3f7.system.entry.js +0 -4
- package/dist/ionic/p-fff78cd2.system.entry.js +0 -4
- /package/dist/collection/components/{refresher-content/refresher-content.css → input-password-toggle/input-password-toggle.css} +0 -0
package/components/ion-menu.js
CHANGED
|
@@ -5,20 +5,17 @@ import { proxyCustomElement, HTMLElement, createEvent, Build, h, Host } from '@s
|
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier.js';
|
|
6
6
|
import { o as getPresentedOverlay, B as BACKDROP, n as focusFirstDescendant, q as focusLastDescendant, G as GESTURE } from './overlays.js';
|
|
7
7
|
import { G as GESTURE_CONTROLLER } from './gesture-controller.js';
|
|
8
|
-
import {
|
|
8
|
+
import { shouldUseCloseWatcher } from './hardware-back-button.js';
|
|
9
9
|
import { m as isEndSide, i as inheritAriaAttributes, n as assert, k as clamp } from './helpers.js';
|
|
10
10
|
import { m as menuController } from './index4.js';
|
|
11
|
+
import { c as config, b as getIonMode, a as isPlatform } from './ionic-global.js';
|
|
11
12
|
import { h as hostContext } from './theme.js';
|
|
12
|
-
import { c as config } from './config2.js';
|
|
13
13
|
import { d as defineCustomElement$2 } from './backdrop.js';
|
|
14
14
|
|
|
15
|
-
const
|
|
16
|
-
const IonMenuIonicStyle0 = ionicMenuMdCss;
|
|
17
|
-
|
|
18
|
-
const menuIosCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);right:0;left:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){right:0;left:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{right:0;left:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-pane-visible.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";
|
|
15
|
+
const menuIosCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-pane-visible.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";
|
|
19
16
|
const IonMenuIosStyle0 = menuIosCss;
|
|
20
17
|
|
|
21
|
-
const menuMdCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);
|
|
18
|
+
const menuMdCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-pane-visible.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}";
|
|
22
19
|
const IonMenuMdStyle0 = menuMdCss;
|
|
23
20
|
|
|
24
21
|
const iosEasing = 'cubic-bezier(0.32,0.72,0,1)';
|
|
@@ -63,14 +60,32 @@ const Menu = /*@__PURE__*/ proxyCustomElement(class Menu extends HTMLElement {
|
|
|
63
60
|
}
|
|
64
61
|
this.trapKeyboardFocus(ev, document);
|
|
65
62
|
};
|
|
63
|
+
/**
|
|
64
|
+
* If true, then the menu should be
|
|
65
|
+
* visible within a split pane.
|
|
66
|
+
* If false, then the menu is hidden.
|
|
67
|
+
* However, the menu-button/menu-toggle
|
|
68
|
+
* components can be used to open the
|
|
69
|
+
* menu.
|
|
70
|
+
*/
|
|
66
71
|
this.isPaneVisible = false;
|
|
67
72
|
this.isEndSide = false;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
73
|
+
/**
|
|
74
|
+
* If `true`, the menu is disabled.
|
|
75
|
+
*/
|
|
71
76
|
this.disabled = false;
|
|
77
|
+
/**
|
|
78
|
+
* Which side of the view the menu should be placed.
|
|
79
|
+
*/
|
|
72
80
|
this.side = 'start';
|
|
81
|
+
/**
|
|
82
|
+
* If `true`, swiping the menu is enabled.
|
|
83
|
+
*/
|
|
73
84
|
this.swipeGesture = true;
|
|
85
|
+
/**
|
|
86
|
+
* The edge threshold for dragging the menu open.
|
|
87
|
+
* If a drag/swipe happens over this value, the menu is not triggered.
|
|
88
|
+
*/
|
|
74
89
|
this.maxEdgeStart = 50;
|
|
75
90
|
}
|
|
76
91
|
typeChanged(type, oldType) {
|
|
@@ -620,20 +635,20 @@ const Menu = /*@__PURE__*/ proxyCustomElement(class Menu extends HTMLElement {
|
|
|
620
635
|
}
|
|
621
636
|
render() {
|
|
622
637
|
const { type, disabled, el, isPaneVisible, inheritedAttributes, side } = this;
|
|
623
|
-
const
|
|
638
|
+
const mode = getIonMode(this);
|
|
624
639
|
/**
|
|
625
640
|
* If the Close Watcher is enabled then
|
|
626
641
|
* the ionBackButton listener in the menu controller
|
|
627
642
|
* will handle closing the menu when Escape is pressed.
|
|
628
643
|
*/
|
|
629
|
-
return (h(Host, { key: '
|
|
630
|
-
[
|
|
644
|
+
return (h(Host, { key: 'da96fdb4c5ddf60e615cc4cdda7ccdb3fd7e089b', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
645
|
+
[mode]: true,
|
|
631
646
|
[`menu-type-${type}`]: true,
|
|
632
647
|
'menu-enabled': !disabled,
|
|
633
648
|
[`menu-side-${side}`]: true,
|
|
634
649
|
'menu-pane-visible': isPaneVisible,
|
|
635
650
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
636
|
-
} }, h("div", { key: '
|
|
651
|
+
} }, h("div", { key: '894e680fe227534711128c7aca980964ddb5a08a', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: 'e9f5934518dc0cceaeadf1f2820614595fec6bc9' })), h("ion-backdrop", { key: '7282077817657b1bb6c155f1404c0a519fece993', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
637
652
|
}
|
|
638
653
|
get el() { return this; }
|
|
639
654
|
static get watchers() { return {
|
|
@@ -643,7 +658,6 @@ const Menu = /*@__PURE__*/ proxyCustomElement(class Menu extends HTMLElement {
|
|
|
643
658
|
"swipeGesture": ["swipeGestureChanged"]
|
|
644
659
|
}; }
|
|
645
660
|
static get style() { return {
|
|
646
|
-
ionic: IonMenuIonicStyle0,
|
|
647
661
|
ios: IonMenuIosStyle0,
|
|
648
662
|
md: IonMenuMdStyle0
|
|
649
663
|
}; }
|
|
@@ -27,16 +27,16 @@ const NavLink = /*@__PURE__*/ proxyCustomElement(class NavLink extends HTMLEleme
|
|
|
27
27
|
constructor() {
|
|
28
28
|
super();
|
|
29
29
|
this.__registerHost();
|
|
30
|
+
/**
|
|
31
|
+
* The transition direction when navigating to another page.
|
|
32
|
+
*/
|
|
33
|
+
this.routerDirection = 'forward';
|
|
30
34
|
this.onClick = () => {
|
|
31
35
|
return navLink(this.el, this.routerDirection, this.component, this.componentProps, this.routerAnimation);
|
|
32
36
|
};
|
|
33
|
-
this.component = undefined;
|
|
34
|
-
this.componentProps = undefined;
|
|
35
|
-
this.routerDirection = 'forward';
|
|
36
|
-
this.routerAnimation = undefined;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return h(Host, { key: '
|
|
39
|
+
return h(Host, { key: 'd2f8545b4fbd5aa25ef36eb01dffbc5d35ccfbb9', onClick: this.onClick });
|
|
40
40
|
}
|
|
41
41
|
get el() { return this; }
|
|
42
42
|
}, [0, "ion-nav-link", {
|
package/components/ion-nav.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Build } from '@stencil/core/internal/client';
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier.js';
|
|
6
6
|
import { n as assert, s as shallowEqualStringMap } from './helpers.js';
|
|
7
|
-
import { p as printIonWarning
|
|
7
|
+
import { p as printIonWarning } from './index6.js';
|
|
8
8
|
import { l as lifecycle, t as transition, s as setPageHidden, d as LIFECYCLE_WILL_UNLOAD, b as LIFECYCLE_WILL_LEAVE, c as LIFECYCLE_DID_LEAVE } from './index2.js';
|
|
9
|
-
import { c as config } from './
|
|
9
|
+
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
10
10
|
import { a as attachComponent } from './framework-delegate.js';
|
|
11
11
|
|
|
12
12
|
const VIEW_STATE_NEW = 1;
|
|
@@ -76,7 +76,7 @@ const convertToViews = (pages) => {
|
|
|
76
76
|
.filter((v) => v !== null);
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
-
const navCss = ":host{
|
|
79
|
+
const navCss = ":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";
|
|
80
80
|
const IonNavStyle0 = navCss;
|
|
81
81
|
|
|
82
82
|
const Nav = /*@__PURE__*/ proxyCustomElement(class Nav extends HTMLElement {
|
|
@@ -94,12 +94,10 @@ const Nav = /*@__PURE__*/ proxyCustomElement(class Nav extends HTMLElement {
|
|
|
94
94
|
this.destroyed = false;
|
|
95
95
|
this.views = [];
|
|
96
96
|
this.didLoad = false;
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
/**
|
|
98
|
+
* If `true`, the nav should animate the transition of components.
|
|
99
|
+
*/
|
|
99
100
|
this.animated = true;
|
|
100
|
-
this.animation = undefined;
|
|
101
|
-
this.rootParams = undefined;
|
|
102
|
-
this.root = undefined;
|
|
103
101
|
}
|
|
104
102
|
swipeGestureChanged() {
|
|
105
103
|
if (this.gesture) {
|
|
@@ -748,13 +746,11 @@ const Nav = /*@__PURE__*/ proxyCustomElement(class Nav extends HTMLElement {
|
|
|
748
746
|
}
|
|
749
747
|
}
|
|
750
748
|
: undefined;
|
|
751
|
-
const
|
|
752
|
-
const mode = getIonMode(this, theme);
|
|
749
|
+
const mode = getIonMode(this);
|
|
753
750
|
const enteringEl = enteringView.element;
|
|
754
751
|
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
|
|
755
752
|
const leavingEl = leavingView && leavingView.element;
|
|
756
|
-
const animationOpts = Object.assign(Object.assign({ mode,
|
|
757
|
-
theme, showGoBack: this.canGoBackSync(enteringView), baseEl: this.el, progressCallback, animated: this.animated && config.getBoolean('animated', true), enteringEl,
|
|
753
|
+
const animationOpts = Object.assign(Object.assign({ mode, showGoBack: this.canGoBackSync(enteringView), baseEl: this.el, progressCallback, animated: this.animated && config.getBoolean('animated', true), enteringEl,
|
|
758
754
|
leavingEl }, opts), { animationBuilder: opts.animationBuilder || this.animation || config.get('navAnimation') });
|
|
759
755
|
const { hasCompleted } = await transition(animationOpts);
|
|
760
756
|
return this.transitionFinish(hasCompleted, enteringView, leavingView, opts);
|
|
@@ -907,7 +903,7 @@ const Nav = /*@__PURE__*/ proxyCustomElement(class Nav extends HTMLElement {
|
|
|
907
903
|
}
|
|
908
904
|
}
|
|
909
905
|
render() {
|
|
910
|
-
return h("slot", { key: '
|
|
906
|
+
return h("slot", { key: 'dfe98cb6604a2015a49f41beffebdd2da957dfff' });
|
|
911
907
|
}
|
|
912
908
|
get el() { return this; }
|
|
913
909
|
static get watchers() { return {
|
package/components/ion-note.js
CHANGED
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { c as createColorClasses } from './theme.js';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const ionicNoteMdCss = ":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));font-size:0.875rem}";
|
|
9
|
-
const IonNoteIonicStyle0 = ionicNoteMdCss;
|
|
6
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
10
7
|
|
|
11
8
|
const noteIosCss = ":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6));font-size:max(14px, 1rem)}";
|
|
12
9
|
const IonNoteIosStyle0 = noteIosCss;
|
|
@@ -19,16 +16,14 @@ const Note = /*@__PURE__*/ proxyCustomElement(class Note extends HTMLElement {
|
|
|
19
16
|
super();
|
|
20
17
|
this.__registerHost();
|
|
21
18
|
this.__attachShadow();
|
|
22
|
-
this.color = undefined;
|
|
23
19
|
}
|
|
24
20
|
render() {
|
|
25
|
-
const
|
|
26
|
-
return (h(Host, { key: '
|
|
27
|
-
[
|
|
28
|
-
}) }, h("slot", { key: '
|
|
21
|
+
const mode = getIonMode(this);
|
|
22
|
+
return (h(Host, { key: '10a3495bc21166176986441479f8f7539029d161', class: createColorClasses(this.color, {
|
|
23
|
+
[mode]: true,
|
|
24
|
+
}) }, h("slot", { key: 'b6a9459e1b85f608fafd060a4bfeb11637ebe873' })));
|
|
29
25
|
}
|
|
30
26
|
static get style() { return {
|
|
31
|
-
ionic: IonNoteIonicStyle0,
|
|
32
27
|
ios: IonNoteIosStyle0,
|
|
33
28
|
md: IonNoteMdStyle0
|
|
34
29
|
}; }
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { r as raf } from './helpers.js';
|
|
6
6
|
import { c as createLockController } from './lock-controller.js';
|
|
7
|
-
import { p as printIonWarning
|
|
7
|
+
import { p as printIonWarning } from './index6.js';
|
|
8
8
|
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays.js';
|
|
9
9
|
import { g as getClassMap } from './theme.js';
|
|
10
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
10
11
|
import { c as createAnimation } from './animation.js';
|
|
11
12
|
import { d as defineCustomElement$3 } from './backdrop.js';
|
|
12
13
|
import { d as defineCustomElement$2 } from './picker-column2.js';
|
|
@@ -55,10 +56,10 @@ const iosLeaveAnimation = (baseEl) => {
|
|
|
55
56
|
.addAnimation([backdropAnimation, wrapperAnimation]);
|
|
56
57
|
};
|
|
57
58
|
|
|
58
|
-
const pickerIosCss = ".sc-ion-picker-legacy-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-ios-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-ios-h{display:none}.picker-wrapper.sc-ion-picker-legacy-ios{border-radius:var(--border-radius);
|
|
59
|
+
const pickerIosCss = ".sc-ion-picker-legacy-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-ios-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-ios-h{display:none}.picker-wrapper.sc-ion-picker-legacy-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-ios:active,.picker-button.sc-ion-picker-legacy-ios:focus{outline:none}.picker-columns.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-ios,.picker-below-highlight.sc-ion-picker-legacy-ios{display:none;pointer-events:none}.sc-ion-picker-legacy-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-legacy-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-legacy-ios:last-child .picker-button.sc-ion-picker-legacy-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-legacy-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-legacy-ios,.picker-button.ion-activated.sc-ion-picker-legacy-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:16px}.picker-columns.sc-ion-picker-legacy-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-legacy-ios{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-ios{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}";
|
|
59
60
|
const IonPickerLegacyIosStyle0 = pickerIosCss;
|
|
60
61
|
|
|
61
|
-
const pickerMdCss = ".sc-ion-picker-legacy-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-md-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-md-h{display:none}.picker-wrapper.sc-ion-picker-legacy-md{border-radius:var(--border-radius);
|
|
62
|
+
const pickerMdCss = ".sc-ion-picker-legacy-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-md-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-md-h{display:none}.picker-wrapper.sc-ion-picker-legacy-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-md:active,.picker-button.sc-ion-picker-legacy-md:focus{outline:none}.picker-columns.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-md,.picker-below-highlight.sc-ion-picker-legacy-md{display:none;pointer-events:none}.sc-ion-picker-legacy-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-legacy-md,.picker-button.ion-activated.sc-ion-picker-legacy-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}.picker-columns.sc-ion-picker-legacy-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-legacy-md{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-md{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}";
|
|
62
63
|
const IonPickerLegacyMdStyle0 = pickerMdCss;
|
|
63
64
|
|
|
64
65
|
const Picker = /*@__PURE__*/ proxyCustomElement(class Picker extends HTMLElement {
|
|
@@ -76,33 +77,55 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class Picker extends HTMLElement
|
|
|
76
77
|
this.delegateController = createDelegateController(this);
|
|
77
78
|
this.lockController = createLockController();
|
|
78
79
|
this.triggerController = createTriggerController();
|
|
79
|
-
this.onBackdropTap = () => {
|
|
80
|
-
this.dismiss(undefined, BACKDROP);
|
|
81
|
-
};
|
|
82
|
-
this.dispatchCancelHandler = (ev) => {
|
|
83
|
-
const role = ev.detail.role;
|
|
84
|
-
if (isCancel(role)) {
|
|
85
|
-
const cancelButton = this.buttons.find((b) => b.role === 'cancel');
|
|
86
|
-
this.callButtonHandler(cancelButton);
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
80
|
this.presented = false;
|
|
90
|
-
|
|
91
|
-
this.delegate = undefined;
|
|
81
|
+
/** @internal */
|
|
92
82
|
this.hasController = false;
|
|
83
|
+
/**
|
|
84
|
+
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
|
85
|
+
*/
|
|
93
86
|
this.keyboardClose = true;
|
|
94
|
-
|
|
95
|
-
|
|
87
|
+
/**
|
|
88
|
+
* Array of buttons to be displayed at the top of the picker.
|
|
89
|
+
*/
|
|
96
90
|
this.buttons = [];
|
|
91
|
+
/**
|
|
92
|
+
* Array of columns to be displayed in the picker.
|
|
93
|
+
*/
|
|
97
94
|
this.columns = [];
|
|
98
|
-
|
|
95
|
+
/**
|
|
96
|
+
* Number of milliseconds to wait before dismissing the picker.
|
|
97
|
+
*/
|
|
99
98
|
this.duration = 0;
|
|
99
|
+
/**
|
|
100
|
+
* If `true`, a backdrop will be displayed behind the picker.
|
|
101
|
+
*/
|
|
100
102
|
this.showBackdrop = true;
|
|
103
|
+
/**
|
|
104
|
+
* If `true`, the picker will be dismissed when the backdrop is clicked.
|
|
105
|
+
*/
|
|
101
106
|
this.backdropDismiss = true;
|
|
107
|
+
/**
|
|
108
|
+
* If `true`, the picker will animate.
|
|
109
|
+
*/
|
|
102
110
|
this.animated = true;
|
|
103
|
-
|
|
111
|
+
/**
|
|
112
|
+
* If `true`, the picker will open. If `false`, the picker will close.
|
|
113
|
+
* Use this if you need finer grained control over presentation, otherwise
|
|
114
|
+
* just use the pickerController or the `trigger` property.
|
|
115
|
+
* Note: `isOpen` will not automatically be set back to `false` when
|
|
116
|
+
* the picker dismisses. You will need to do that in your code.
|
|
117
|
+
*/
|
|
104
118
|
this.isOpen = false;
|
|
105
|
-
this.
|
|
119
|
+
this.onBackdropTap = () => {
|
|
120
|
+
this.dismiss(undefined, BACKDROP);
|
|
121
|
+
};
|
|
122
|
+
this.dispatchCancelHandler = (ev) => {
|
|
123
|
+
const role = ev.detail.role;
|
|
124
|
+
if (isCancel(role)) {
|
|
125
|
+
const cancelButton = this.buttons.find((b) => b.role === 'cancel');
|
|
126
|
+
this.callButtonHandler(cancelButton);
|
|
127
|
+
}
|
|
128
|
+
};
|
|
106
129
|
}
|
|
107
130
|
onIsOpenChange(newValue, oldValue) {
|
|
108
131
|
if (newValue === true && oldValue === false) {
|
|
@@ -241,12 +264,12 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class Picker extends HTMLElement
|
|
|
241
264
|
}
|
|
242
265
|
render() {
|
|
243
266
|
const { htmlAttributes } = this;
|
|
244
|
-
const
|
|
245
|
-
return (h(Host, Object.assign({ key: '
|
|
267
|
+
const mode = getIonMode(this);
|
|
268
|
+
return (h(Host, Object.assign({ key: '0712fa8732141848e50ad2e08e2ba66ef2a48991', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
246
269
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
247
|
-
}, class: Object.assign({ [
|
|
270
|
+
}, class: Object.assign({ [mode]: true,
|
|
248
271
|
// Used internally for styling
|
|
249
|
-
[`picker-${
|
|
272
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: 'c997632ef0488698739664012de5a6494de438b6', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '20045054a76cca997b410835fa6b305af22dcb12', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'a73a6ac20b685ed9694d4fa95ea236ce5d63fdbf', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '1221cdcc2ff013deeba12170129c8fe78308330c', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: '45038a58430a4251100797b902e7034243137564', class: "picker-columns" }, h("div", { key: 'c579bb69cddd4090912855ffd7f59536280f34b9', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: '978c6632d82a97d053b729c9de65dd3af4c4cee2', class: "picker-below-highlight" }))), h("div", { key: 'e7e9dc437a3cf6d559e2cb0df71af69047a2ae31', tabindex: "0", "aria-hidden": "true" })));
|
|
250
273
|
}
|
|
251
274
|
get el() { return this; }
|
|
252
275
|
static get watchers() { return {
|
|
@@ -4,16 +4,12 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { k as clamp } from './helpers.js';
|
|
6
6
|
import { c as createColorClasses } from './theme.js';
|
|
7
|
-
import { c as config } from './
|
|
8
|
-
import { c as getIonTheme } from './ionic-global.js';
|
|
7
|
+
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
9
8
|
|
|
10
|
-
const
|
|
11
|
-
const IonProgressBarIonicStyle0 = ionicProgressBarMdCss;
|
|
12
|
-
|
|
13
|
-
const progressBarIosCss = ":host{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);--progress-background:var(--ion-color-primary, #0054e9);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{right:0;left:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{right:0;left:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--background) 0%, var(--background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{border-radius:9999px;height:4px}:host(.progress-bar-solid){--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}";
|
|
9
|
+
const progressBarIosCss = ":host{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);--progress-background:var(--ion-color-primary, #0054e9);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--background) 0%, var(--background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{border-radius:9999px;height:4px}:host(.progress-bar-solid){--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}";
|
|
14
10
|
const IonProgressBarIosStyle0 = progressBarIosCss;
|
|
15
11
|
|
|
16
|
-
const progressBarMdCss = ":host{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);--progress-background:var(--ion-color-primary, #0054e9);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{
|
|
12
|
+
const progressBarMdCss = ":host{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);--progress-background:var(--ion-color-primary, #0054e9);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--background) 0%, var(--background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:4px}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}";
|
|
17
13
|
const IonProgressBarMdStyle0 = progressBarMdCss;
|
|
18
14
|
|
|
19
15
|
const ProgressBar = /*@__PURE__*/ proxyCustomElement(class ProgressBar extends HTMLElement {
|
|
@@ -21,20 +17,35 @@ const ProgressBar = /*@__PURE__*/ proxyCustomElement(class ProgressBar extends H
|
|
|
21
17
|
super();
|
|
22
18
|
this.__registerHost();
|
|
23
19
|
this.__attachShadow();
|
|
20
|
+
/**
|
|
21
|
+
* The state of the progress bar, based on if the time the process takes is known or not.
|
|
22
|
+
* Default options are: `"determinate"` (no animation), `"indeterminate"` (animate from left to right).
|
|
23
|
+
*/
|
|
24
24
|
this.type = 'determinate';
|
|
25
|
+
/**
|
|
26
|
+
* If true, reverse the progress bar direction.
|
|
27
|
+
*/
|
|
25
28
|
this.reversed = false;
|
|
29
|
+
/**
|
|
30
|
+
* The value determines how much of the active bar should display when the
|
|
31
|
+
* `type` is `"determinate"`.
|
|
32
|
+
* The value should be between [0, 1].
|
|
33
|
+
*/
|
|
26
34
|
this.value = 0;
|
|
35
|
+
/**
|
|
36
|
+
* If the buffer and value are smaller than 1, the buffer circles will show.
|
|
37
|
+
* The buffer should be between [0, 1].
|
|
38
|
+
*/
|
|
27
39
|
this.buffer = 1;
|
|
28
|
-
this.color = undefined;
|
|
29
40
|
}
|
|
30
41
|
render() {
|
|
31
42
|
const { color, type, reversed, value, buffer } = this;
|
|
32
43
|
const paused = config.getBoolean('_testing');
|
|
33
|
-
const
|
|
44
|
+
const mode = getIonMode(this);
|
|
34
45
|
// If the progress is displayed as a solid bar.
|
|
35
46
|
const progressSolid = buffer === 1;
|
|
36
|
-
return (h(Host, { key: '
|
|
37
|
-
[
|
|
47
|
+
return (h(Host, { key: '8d8ddf0b26fe33803d3a6168cbedd523d1a888e7', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
48
|
+
[mode]: true,
|
|
38
49
|
[`progress-bar-${type}`]: true,
|
|
39
50
|
'progress-paused': paused,
|
|
40
51
|
'progress-bar-reversed': document.dir === 'rtl' ? !reversed : reversed,
|
|
@@ -42,7 +53,6 @@ const ProgressBar = /*@__PURE__*/ proxyCustomElement(class ProgressBar extends H
|
|
|
42
53
|
}) }, type === 'indeterminate' ? renderIndeterminate() : renderProgress(value, buffer)));
|
|
43
54
|
}
|
|
44
55
|
static get style() { return {
|
|
45
|
-
ionic: IonProgressBarIonicStyle0,
|
|
46
56
|
ios: IonProgressBarIosStyle0,
|
|
47
57
|
md: IonProgressBarMdStyle0
|
|
48
58
|
}; }
|