@ionic/core 8.0.0-dev.11709245047.1565a499 → 8.0.0-dev.11711035263.183d2423
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 +3 -3
- package/components/alert.js +2 -2
- package/components/animation.js +9 -250
- package/components/backdrop.js +1 -1
- package/components/button.js +2 -2
- package/components/buttons.js +3 -3
- package/components/checkbox.js +3 -3
- package/components/data.js +23 -38
- package/components/haptic.js +6 -54
- package/components/hardware-back-button.js +3 -3
- package/components/helpers.js +1 -54
- package/components/index7.js +3 -1
- package/components/index9.js +1 -1
- package/components/input-shims.js +2 -1
- package/components/input.utils.js +12 -0
- package/components/ion-app.js +4 -4
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +2 -2
- package/components/ion-badge.js +2 -2
- package/components/ion-breadcrumb.js +2 -2
- package/components/ion-breadcrumbs.js +2 -2
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +2 -2
- package/components/ion-card-subtitle.js +2 -2
- package/components/ion-card-title.js +2 -2
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +2 -2
- package/components/ion-col.js +2 -2
- package/components/ion-content.js +3 -3
- package/components/ion-datetime-button.js +11 -10
- package/components/ion-datetime.js +75 -12
- package/components/ion-fab-button.js +2 -2
- package/components/ion-fab-list.js +2 -2
- package/components/ion-fab.js +2 -2
- package/components/ion-footer.js +2 -2
- package/components/ion-grid.js +2 -2
- package/components/ion-header.js +3 -3
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-password-toggle.d.ts +11 -0
- package/components/ion-input-password-toggle.js +132 -0
- package/components/ion-input.js +28 -9
- package/components/ion-item-divider.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +3 -3
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +7 -28
- package/components/ion-modal.js +37 -5
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +43 -1
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +137 -45
- package/components/ion-refresher-content.js +2 -2
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +2 -2
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-router.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +35 -6
- package/components/ion-segment-button.js +3 -3
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +28 -34
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +5 -6
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +4 -4
- package/components/ion-toolbar.js +2 -2
- package/components/item.js +30 -97
- package/components/label.js +4 -4
- package/components/list-header.js +2 -2
- package/components/overlays.js +140 -55
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +25 -6
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +4 -4
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +13 -19
- package/components/spinner.js +1 -1
- package/css/palettes/dark.always.css.map +1 -0
- package/css/{themes → palettes}/dark.class.css +4 -4
- package/css/palettes/dark.class.css.map +1 -0
- package/css/palettes/dark.system.css.map +1 -0
- package/css/palettes/high-contrast-dark.always.css.map +1 -0
- package/css/{themes → palettes}/high-contrast-dark.class.css +10 -10
- package/css/palettes/high-contrast-dark.class.css.map +1 -0
- package/css/palettes/high-contrast-dark.system.css.map +1 -0
- package/css/palettes/high-contrast.always.css.map +1 -0
- package/css/{themes → palettes}/high-contrast.class.css +31 -31
- package/css/palettes/high-contrast.class.css.map +1 -0
- package/css/palettes/high-contrast.system.css.map +1 -0
- package/dist/cjs/{animation-4ad55058.js → animation-b4fdf128.js} +9 -250
- package/dist/cjs/{app-globals-92ad1b3d.js → app-globals-e132c781.js} +1 -1
- package/dist/cjs/{button-active-8f6a8e77.js → button-active-e2ed5329.js} +2 -2
- package/dist/cjs/{data-e2bf21de.js → data-21dc0f81.js} +22 -39
- package/dist/cjs/{framework-delegate-53817ef1.js → framework-delegate-df3a2b04.js} +1 -1
- package/dist/cjs/{haptic-b882e0bb.js → haptic-f6b37aa3.js} +6 -54
- package/dist/cjs/{hardware-back-button-2696acaf.js → hardware-back-button-1c67a5a2.js} +5 -5
- package/dist/cjs/{helpers-b71ca811.js → helpers-71097d9c.js} +0 -54
- package/dist/cjs/{index-f52c6d38.js → index-073c7cdc.js} +4 -0
- package/dist/cjs/{index-0ffe376d.js → index-2d21d526.js} +443 -14
- package/dist/cjs/{index-347883f6.js → index-7479ea5a.js} +1 -1
- package/dist/cjs/{index-7574e3d2.js → index-a91a3e24.js} +1 -1
- package/dist/cjs/{index-16fc2c94.js → index-c2191aa0.js} +4 -4
- package/dist/cjs/{index-88b3bd6f.js → index-ef9261f8.js} +4 -4
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-a5abf69e.js → input-shims-77b14f24.js} +4 -3
- package/dist/cjs/{input.utils-5175aea1.js → input.utils-ca74d73a.js} +13 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-action-sheet.cjs.entry.js +12 -12
- package/dist/cjs/ion-alert.cjs.entry.js +11 -11
- package/dist/cjs/ion-app_8.cjs.entry.js +30 -30
- package/dist/cjs/ion-avatar_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-back-button.cjs.entry.js +6 -6
- package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-button_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-card_5.cjs.entry.js +11 -11
- package/dist/cjs/ion-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/ion-chip.cjs.entry.js +4 -4
- package/dist/cjs/ion-col_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-datetime-button.cjs.entry.js +14 -13
- package/dist/cjs/ion-datetime_3.cjs.entry.js +85 -25
- package/dist/cjs/ion-fab_3.cjs.entry.js +10 -10
- package/dist/cjs/ion-img.cjs.entry.js +4 -4
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +93 -0
- package/dist/cjs/ion-input.cjs.entry.js +30 -12
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +38 -93
- package/dist/cjs/ion-loading.cjs.entry.js +9 -9
- package/dist/cjs/ion-menu_3.cjs.entry.js +18 -39
- package/dist/cjs/ion-modal.cjs.entry.js +46 -14
- package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column.cjs.entry.js +29 -10
- package/dist/cjs/ion-picker.cjs.entry.js +4 -4
- package/dist/cjs/ion-popover.cjs.entry.js +11 -11
- package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +140 -48
- package/dist/cjs/ion-refresher_2.cjs.entry.js +9 -9
- package/dist/cjs/ion-reorder_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +5 -5
- package/dist/cjs/ion-searchbar.cjs.entry.js +32 -8
- package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +18 -18
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-tab_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +9 -10
- package/dist/cjs/ion-toast.cjs.entry.js +9 -9
- package/dist/cjs/ion-toggle.cjs.entry.js +8 -8
- package/dist/cjs/{ionic-global-59a10130.js → ionic-global-5762eca9.js} +1 -1
- package/dist/cjs/ionic.cjs.js +28 -5
- package/dist/cjs/{ios.transition-b102ee38.js → ios.transition-2bb1c4d1.js} +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-a5454240.js → md.transition-c0afd670.js} +4 -4
- package/dist/cjs/{notch-controller-8e0ae870.js → notch-controller-0042ad49.js} +1 -1
- package/dist/cjs/{overlays-6b7d156b.js → overlays-30b83581.js} +142 -56
- package/dist/cjs/{status-tap-b60dcbd8.js → status-tap-dc3b8fda.js} +3 -3
- package/dist/cjs/{swipe-back-72c5c8b7.js → swipe-back-29e88360.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/action-sheet/action-sheet.js +3 -3
- package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +2 -2
- package/dist/collection/components/alert/test/a11y/alert.e2e.js +5 -1
- package/dist/collection/components/alert/test/basic/alert.e2e.js +1 -1
- package/dist/collection/components/app/app.js +4 -4
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/back-button/back-button.js +2 -2
- package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +1 -1
- package/dist/collection/components/backdrop/backdrop.js +1 -1
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/badge/test/a11y/badge.e2e.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button/test/a11y/button.e2e.js +2 -2
- package/dist/collection/components/buttons/buttons.js +2 -2
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-header/card-header.js +2 -2
- package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
- package/dist/collection/components/card-title/card-title.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/test/checkbox.spec.js +12 -0
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/datetime/datetime.js +56 -12
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +80 -1
- package/dist/collection/components/datetime/test/format.spec.js +65 -15
- package/dist/collection/components/datetime/utils/format.js +24 -37
- package/dist/collection/components/datetime/utils/validate.js +45 -0
- package/dist/collection/components/datetime-button/datetime-button.js +11 -10
- package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +65 -0
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +1 -1
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.ios.css +5 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/header/test/basic/header.e2e.js +77 -0
- package/dist/collection/components/img/img.js +1 -1
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.ios.css +15 -3
- package/dist/collection/components/input/input.js +26 -29
- package/dist/collection/components/input/input.md.css +17 -5
- package/dist/collection/components/input/test/a11y/input.e2e.js +1 -1
- package/dist/collection/components/input/test/highlight/input.e2e.js +144 -0
- package/dist/collection/components/input/test/item/input.e2e.js +21 -0
- package/dist/collection/components/input/test/slot/input.e2e.js +8 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.ios.css +0 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +183 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.md.css +0 -0
- package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +21 -0
- package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +38 -0
- package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +76 -0
- package/dist/collection/components/item/item.ios.css +6 -198
- package/dist/collection/components/item/item.js +22 -170
- package/dist/collection/components/item/item.md.css +12 -375
- package/dist/collection/components/item/test/basic/item.e2e.js +0 -5
- package/dist/collection/components/item/test/buttons/item.e2e.js +20 -4
- package/dist/collection/components/item/test/item.spec.js +1 -1
- package/dist/collection/components/item-divider/item-divider.md.css +4 -14
- package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +1 -1
- package/dist/collection/components/label/label.ios.css +0 -5
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/label.md.css +0 -75
- package/dist/collection/components/label/test/a11y/label.e2e.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/loading/test/a11y/loading.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +16 -30
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +1 -1
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +37 -5
- package/dist/collection/components/modal/test/modal-attributes.spec.js +32 -0
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +25 -6
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +5 -4
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/progress-bar/test/a11y/progress-bar.e2e.js +1 -1
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +1 -1
- package/dist/collection/components/range/range.js +137 -45
- package/dist/collection/components/range/test/a11y/range.e2e.js +1 -1
- package/dist/collection/components/range/test/label/range.spec.js +24 -0
- package/dist/collection/components/range/test/range-events.e2e.js +27 -0
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher/test/a11y/refresher.e2e.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-link/test/a11y/router-link.e2e.js +1 -1
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +84 -5
- package/dist/collection/components/searchbar/test/searchbar.spec.js +20 -2
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment/test/a11y/segment.e2e.js +1 -1
- package/dist/collection/components/segment-button/segment-button.js +3 -3
- package/dist/collection/components/select/select.ios.css +7 -2
- package/dist/collection/components/select/select.js +7 -7
- package/dist/collection/components/select/select.md.css +6 -29
- package/dist/collection/components/select/test/a11y/select.e2e.js +1 -1
- package/dist/collection/components/select/test/highlight/select.e2e.js +88 -4
- package/dist/collection/components/select/test/select.spec.js +22 -0
- package/dist/collection/components/select/test/slot/select.e2e.js +8 -0
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/select-popover/test/a11y/select-popover.e2e.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +1 -1
- package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +144 -0
- package/dist/collection/components/textarea/test/item/textarea.e2e.js +21 -0
- package/dist/collection/components/textarea/test/slot/textarea.e2e.js +8 -0
- package/dist/collection/components/textarea/textarea.ios.css +4 -22
- package/dist/collection/components/textarea/textarea.js +2 -26
- package/dist/collection/components/textarea/textarea.md.css +6 -17
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/test/a11y/toast.e2e.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +1 -1
- package/dist/collection/components/toggle/toggle.js +4 -4
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/css/test/a11y/typography.e2e.js +1 -1
- package/dist/collection/themes/test/colors/theme.e2e.js +2 -2
- package/dist/collection/utils/animation/animation-utils.js +0 -102
- package/dist/collection/utils/animation/animation.js +10 -141
- package/dist/collection/utils/animation/test/animation.spec.js +0 -89
- package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +0 -4
- package/dist/collection/utils/animation/test/basic/animation.e2e.js +0 -4
- package/dist/collection/utils/animation/test/display/animation.e2e.js +0 -4
- package/dist/collection/utils/animation/test/hooks/animation.e2e.js +0 -4
- package/dist/collection/utils/animation/test/multiple/animation.e2e.js +0 -7
- package/dist/collection/utils/focus-trap.js +78 -0
- package/dist/collection/utils/forms/index.js +0 -1
- package/dist/collection/utils/hardware-back-button.js +2 -2
- package/dist/collection/utils/helpers.js +0 -53
- package/dist/collection/utils/input-shims/input-shims.js +2 -1
- package/dist/collection/utils/native/haptic.js +6 -54
- package/dist/collection/utils/overlays.js +64 -53
- package/dist/collection/utils/slot-mutation-controller.js +12 -0
- package/dist/collection/utils/test/overlays/overlays.spec.js +53 -0
- package/dist/collection/utils/test/playwright/generator.js +17 -17
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +6 -6
- package/dist/docs.json +341 -193
- package/dist/esm/{animation-a4acf150.js → animation-eab5a4ca.js} +9 -250
- package/dist/esm/{app-globals-5cf6195b.js → app-globals-80842d68.js} +1 -1
- package/dist/esm/{button-active-4407b98c.js → button-active-824983fa.js} +2 -2
- package/dist/esm/{data-691286f1.js → data-ae11fd43.js} +23 -38
- package/dist/esm/{framework-delegate-1eb3236c.js → framework-delegate-3dede018.js} +1 -1
- package/dist/esm/{haptic-554688a5.js → haptic-ac164e4c.js} +6 -54
- package/dist/esm/{hardware-back-button-b410a047.js → hardware-back-button-fb295e3a.js} +5 -5
- package/dist/esm/{helpers-ae74b3c9.js → helpers-eab4f597.js} +1 -54
- package/dist/esm/{index-8758824c.js → index-0089f1fa.js} +4 -4
- package/dist/esm/{index-66871a1d.js → index-044b5a86.js} +1 -1
- package/dist/esm/{index-4c30cddd.js → index-5d6a0317.js} +443 -15
- package/dist/esm/{index-f7dc70ba.js → index-e2cf2ceb.js} +3 -1
- package/dist/esm/{index-1eff8599.js → index-f27077ac.js} +4 -4
- package/dist/esm/{index-1f563746.js → index-fa221975.js} +1 -1
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-d354e359.js → input-shims-196afa11.js} +4 -3
- package/dist/esm/{input.utils-482fc893.js → input.utils-426cc674.js} +13 -1
- package/dist/esm/ion-accordion_2.entry.js +4 -4
- package/dist/esm/ion-action-sheet.entry.js +12 -12
- package/dist/esm/ion-alert.entry.js +11 -11
- package/dist/esm/ion-app_8.entry.js +30 -30
- package/dist/esm/ion-avatar_3.entry.js +6 -6
- package/dist/esm/ion-back-button.entry.js +6 -6
- package/dist/esm/ion-backdrop.entry.js +3 -3
- package/dist/esm/ion-breadcrumb_2.entry.js +8 -8
- package/dist/esm/ion-button_2.entry.js +5 -5
- package/dist/esm/ion-card_5.entry.js +11 -11
- package/dist/esm/ion-checkbox.entry.js +6 -6
- package/dist/esm/ion-chip.entry.js +4 -4
- package/dist/esm/ion-col_3.entry.js +7 -7
- package/dist/esm/ion-datetime-button.entry.js +14 -13
- package/dist/esm/ion-datetime_3.entry.js +85 -25
- package/dist/esm/ion-fab_3.entry.js +10 -10
- package/dist/esm/ion-img.entry.js +4 -4
- package/dist/esm/ion-infinite-scroll_2.entry.js +7 -7
- package/dist/esm/ion-input-password-toggle.entry.js +89 -0
- package/dist/esm/ion-input.entry.js +30 -12
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +38 -93
- package/dist/esm/ion-loading.entry.js +9 -9
- package/dist/esm/ion-menu_3.entry.js +18 -39
- package/dist/esm/ion-modal.entry.js +46 -14
- package/dist/esm/ion-nav_2.entry.js +8 -8
- package/dist/esm/ion-picker-column-option.entry.js +5 -5
- package/dist/esm/ion-picker-column.entry.js +29 -10
- package/dist/esm/ion-picker.entry.js +4 -4
- package/dist/esm/ion-popover.entry.js +11 -11
- package/dist/esm/ion-progress-bar.entry.js +4 -4
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +140 -48
- package/dist/esm/ion-refresher_2.entry.js +9 -9
- package/dist/esm/ion-reorder_2.entry.js +8 -8
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +5 -5
- package/dist/esm/ion-searchbar.entry.js +32 -8
- package/dist/esm/ion-segment_2.entry.js +8 -8
- package/dist/esm/ion-select_3.entry.js +18 -18
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +7 -7
- package/dist/esm/ion-tab_2.entry.js +6 -6
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +9 -10
- package/dist/esm/ion-toast.entry.js +9 -9
- package/dist/esm/ion-toggle.entry.js +8 -8
- package/dist/esm/{ionic-global-ad9a1810.js → ionic-global-a589c12c.js} +1 -1
- package/dist/esm/ionic.js +29 -6
- package/dist/esm/{ios.transition-189b73b7.js → ios.transition-632deb95.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-c9761eef.js → md.transition-3bcf4011.js} +4 -4
- package/dist/esm/{notch-controller-18bf9f76.js → notch-controller-cff691e5.js} +1 -1
- package/dist/esm/{overlays-c69d2a07.js → overlays-d41f74ac.js} +142 -57
- package/dist/esm/{status-tap-1d638ee6.js → status-tap-45595148.js} +3 -3
- package/dist/esm/{swipe-back-348f1971.js → swipe-back-57844616.js} +1 -1
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-80842d68.js +4 -0
- package/dist/esm-es5/{button-active-4407b98c.js → button-active-824983fa.js} +1 -1
- package/dist/esm-es5/data-ae11fd43.js +4 -0
- package/dist/esm-es5/{framework-delegate-1eb3236c.js → framework-delegate-3dede018.js} +1 -1
- package/dist/esm-es5/haptic-ac164e4c.js +4 -0
- package/dist/esm-es5/hardware-back-button-fb295e3a.js +4 -0
- package/dist/esm-es5/helpers-eab4f597.js +4 -0
- package/dist/esm-es5/{index-8758824c.js → index-0089f1fa.js} +1 -1
- package/dist/esm-es5/{index-66871a1d.js → index-044b5a86.js} +1 -1
- package/dist/esm-es5/index-5d6a0317.js +5 -0
- package/dist/esm-es5/{index-f7dc70ba.js → index-e2cf2ceb.js} +1 -1
- package/dist/esm-es5/{index-1eff8599.js → index-f27077ac.js} +1 -1
- package/dist/esm-es5/{index-1f563746.js → index-fa221975.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-d354e359.js → input-shims-196afa11.js} +1 -1
- package/dist/esm-es5/input.utils-426cc674.js +4 -0
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +4 -0
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-ad9a1810.js → ionic-global-a589c12c.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-189b73b7.js → ios.transition-632deb95.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-3bcf4011.js +4 -0
- package/dist/esm-es5/{notch-controller-18bf9f76.js → notch-controller-cff691e5.js} +1 -1
- package/dist/esm-es5/overlays-d41f74ac.js +4 -0
- package/dist/esm-es5/{status-tap-1d638ee6.js → status-tap-45595148.js} +1 -1
- package/dist/esm-es5/{swipe-back-348f1971.js → swipe-back-57844616.js} +1 -1
- package/dist/html.html-data.json +93 -27
- 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-5d7e32ce.js → p-031c5621.js} +1 -1
- package/dist/ionic/{p-1a4db355.system.entry.js → p-04bdc816.system.entry.js} +2 -2
- package/dist/ionic/p-07759435.system.js +4 -0
- package/dist/ionic/{p-4bbc949f.system.entry.js → p-07927036.system.entry.js} +1 -1
- package/dist/ionic/p-0e4c9e45.system.js +4 -0
- package/dist/ionic/{p-3c51cf97.system.entry.js → p-103ec049.system.entry.js} +1 -1
- package/dist/ionic/{p-f7d802e1.entry.js → p-126207f8.entry.js} +1 -1
- package/dist/ionic/{p-4dfe0487.system.entry.js → p-1d3f79b2.system.entry.js} +1 -1
- package/dist/ionic/{p-6e14d3ca.system.entry.js → p-1d528988.system.entry.js} +1 -1
- package/dist/ionic/p-1e955a45.system.js +4 -0
- package/dist/ionic/p-20bf9f84.entry.js +4 -0
- package/dist/ionic/{p-6dbea874.system.entry.js → p-210248f5.system.entry.js} +1 -1
- package/dist/ionic/{p-3d77b300.system.entry.js → p-219c17cf.system.entry.js} +1 -1
- package/dist/ionic/{p-de0a7606.system.entry.js → p-23838a94.system.entry.js} +1 -1
- package/dist/ionic/{p-ceceac26.js → p-239906f1.js} +1 -1
- package/dist/ionic/{p-916a4e14.entry.js → p-2807660b.entry.js} +1 -1
- package/dist/ionic/{p-0612cdcc.system.entry.js → p-282bd5f9.system.entry.js} +1 -1
- package/dist/ionic/p-29ef3b9b.entry.js +4 -0
- package/dist/ionic/{p-8a50f8d6.system.js → p-2cc2c631.system.js} +1 -1
- package/dist/ionic/p-2d34b04a.system.entry.js +4 -0
- package/dist/ionic/p-2f53c3eb.js +4 -0
- package/dist/ionic/{p-174856b4.system.js → p-31794e40.system.js} +1 -1
- package/dist/ionic/{p-c880c809.js → p-325c61a4.js} +1 -1
- package/dist/ionic/p-34b8c5bc.entry.js +4 -0
- package/dist/ionic/{p-cefbb7b7.entry.js → p-3599e243.entry.js} +1 -1
- package/dist/ionic/p-364044f0.js +4 -0
- package/dist/ionic/{p-3807cd45.system.entry.js → p-3739de23.system.entry.js} +1 -1
- package/dist/ionic/{p-d84c9fc4.entry.js → p-3785c067.entry.js} +1 -1
- package/dist/ionic/p-3895e131.system.entry.js +4 -0
- package/dist/ionic/p-38b129b6.entry.js +4 -0
- package/dist/ionic/p-38e25e67.js +4 -0
- package/dist/ionic/{p-3209217f.entry.js → p-3ad1b1c5.entry.js} +1 -1
- package/dist/ionic/p-3bf7a38d.system.entry.js +4 -0
- package/dist/ionic/{p-2dcf2ec2.system.entry.js → p-3c1aac30.system.entry.js} +1 -1
- package/dist/ionic/{p-d7c78a97.system.entry.js → p-3d55c50f.system.entry.js} +1 -1
- package/dist/ionic/{p-fd783a38.system.entry.js → p-3e6e53fe.system.entry.js} +1 -1
- package/dist/ionic/{p-174b0d50.system.entry.js → p-40976b1c.system.entry.js} +1 -1
- package/dist/ionic/{p-acf70e64.system.entry.js → p-456ae20a.system.entry.js} +1 -1
- package/dist/ionic/p-468e20c0.system.entry.js +4 -0
- package/dist/ionic/p-49e5401f.entry.js +4 -0
- package/dist/ionic/{p-c9e21694.system.entry.js → p-4a20a758.system.entry.js} +1 -1
- package/dist/ionic/p-4a3055ef.system.js +4 -0
- package/dist/ionic/{p-e46adaf1.system.entry.js → p-4b318f5e.system.entry.js} +1 -1
- package/dist/ionic/{p-b2d58604.system.entry.js → p-4d21e85e.system.entry.js} +2 -2
- package/dist/ionic/p-4decdc16.system.entry.js +4 -0
- package/dist/ionic/{p-ef9736b9.entry.js → p-50633cad.entry.js} +1 -1
- package/dist/ionic/{p-1f79e54a.entry.js → p-527e1d8a.entry.js} +1 -1
- package/dist/ionic/{p-6aeb0272.entry.js → p-5644df37.entry.js} +1 -1
- package/dist/ionic/p-564554d0.system.js +4 -0
- package/dist/ionic/{p-16e06393.system.js → p-56864c25.system.js} +1 -1
- package/dist/ionic/{p-f7c3d736.system.entry.js → p-57a3b59e.system.entry.js} +1 -1
- package/dist/ionic/{p-8fe3c4ef.entry.js → p-5b4b977f.entry.js} +1 -1
- package/dist/ionic/p-5b52897c.js +4 -0
- package/dist/ionic/{p-415ccddd.entry.js → p-5c6d4276.entry.js} +1 -1
- package/dist/ionic/{p-9f84474d.entry.js → p-5f6c0372.entry.js} +1 -1
- package/dist/ionic/{p-97248203.system.entry.js → p-647981a4.system.entry.js} +1 -1
- package/dist/ionic/{p-f0a7e80b.js → p-652a7913.js} +1 -1
- package/dist/ionic/p-659d8f84.entry.js +4 -0
- package/dist/ionic/p-668607c2.system.js +4 -0
- package/dist/ionic/{p-5d530ae5.entry.js → p-66e50777.entry.js} +1 -1
- package/dist/ionic/{p-eb9803e9.system.js → p-6a62da36.system.js} +1 -1
- package/dist/ionic/p-6f734552.system.entry.js +4 -0
- package/dist/ionic/{p-1df25966.entry.js → p-7002bc75.entry.js} +1 -1
- package/dist/ionic/{p-de55ec45.js → p-78b3da77.js} +1 -1
- package/dist/ionic/{p-5133c4a3.system.entry.js → p-7abeea68.system.entry.js} +1 -1
- package/dist/ionic/{p-df6a1571.entry.js → p-7b8ece87.entry.js} +1 -1
- package/dist/ionic/p-7c4c37ae.system.js +4 -0
- package/dist/ionic/p-7c7e495d.system.js +4 -0
- package/dist/ionic/p-84025e3c.entry.js +4 -0
- package/dist/ionic/{p-ec77b7ad.system.entry.js → p-8412860b.system.entry.js} +1 -1
- package/dist/ionic/p-8543c360.system.entry.js +4 -0
- package/dist/ionic/{p-12b55b00.system.entry.js → p-86bdb32e.system.entry.js} +1 -1
- package/dist/ionic/p-8818519d.entry.js +4 -0
- package/dist/ionic/{p-ef636601.entry.js → p-887984fc.entry.js} +1 -1
- package/dist/ionic/p-89b61afc.js +4 -0
- package/dist/ionic/{p-1d545773.entry.js → p-8ed900e4.entry.js} +1 -1
- package/dist/ionic/p-9146695e.system.js +4 -0
- package/dist/ionic/{p-0dca0eee.system.entry.js → p-91567c90.system.entry.js} +1 -1
- package/dist/ionic/{p-f2473724.js → p-91a83ede.js} +1 -1
- package/dist/ionic/{p-c8d61b6c.system.entry.js → p-92b05b70.system.entry.js} +1 -1
- package/dist/ionic/p-96c06026.entry.js +4 -0
- package/dist/ionic/p-978f4710.js +4 -0
- package/dist/ionic/{p-973c7550.system.entry.js → p-9a4b9c91.system.entry.js} +1 -1
- package/dist/ionic/p-9b5d033a.system.entry.js +4 -0
- package/dist/ionic/p-9d00a694.system.entry.js +4 -0
- package/dist/ionic/{p-6525a8cd.system.js → p-9e3177a5.system.js} +1 -1
- package/dist/ionic/p-9fd5857a.system.entry.js +4 -0
- package/dist/ionic/{p-1e07fdb2.system.entry.js → p-a2dc2ef1.system.entry.js} +2 -2
- package/dist/ionic/p-a3dae2ce.js +4 -0
- package/dist/ionic/{p-8d4d902b.js → p-a600a3e3.js} +1 -1
- package/dist/ionic/{p-5f9fbad0.entry.js → p-a668e0d4.entry.js} +1 -1
- package/dist/ionic/{p-80704be1.entry.js → p-a6ac25f2.entry.js} +1 -1
- package/dist/ionic/p-a6bce1f5.js +4 -0
- package/dist/ionic/{p-34d0f143.system.entry.js → p-a7270027.system.entry.js} +1 -1
- package/dist/ionic/p-a93873de.system.js +4 -0
- package/dist/ionic/p-a9d2fa95.entry.js +4 -0
- package/dist/ionic/{p-98e6b3b8.system.js → p-ab6879e7.system.js} +1 -1
- package/dist/ionic/{p-717c4b72.entry.js → p-ac585dba.entry.js} +1 -1
- package/dist/ionic/{p-89ca4c4b.system.js → p-af9256a0.system.js} +1 -1
- package/dist/ionic/p-b05c33d0.system.entry.js +4 -0
- package/dist/ionic/{p-2b3544ad.entry.js → p-b141e253.entry.js} +1 -1
- package/dist/ionic/{p-5d64e680.entry.js → p-b6d1ce6c.entry.js} +1 -1
- package/dist/ionic/p-bb01ff24.system.entry.js +4 -0
- package/dist/ionic/p-bb151f4b.entry.js +4 -0
- package/dist/ionic/p-c385e49d.entry.js +4 -0
- package/dist/ionic/p-c3f5d0e7.js +4 -0
- package/dist/ionic/p-c629d22b.system.js +5 -0
- package/dist/ionic/{p-15708968.js → p-c6f9f3eb.js} +1 -1
- package/dist/ionic/p-c7e16491.js +4 -0
- package/dist/ionic/p-c83741f7.entry.js +4 -0
- package/dist/ionic/{p-993da5df.entry.js → p-c8383c20.entry.js} +1 -1
- package/dist/ionic/{p-d7dc29c5.entry.js → p-c947155d.entry.js} +1 -1
- package/dist/ionic/{p-00a762c9.entry.js → p-cb970588.entry.js} +1 -1
- package/dist/ionic/{p-31e02742.system.js → p-cbb9269d.system.js} +1 -1
- package/dist/ionic/{p-dd7c79ce.system.entry.js → p-cc769fb6.system.entry.js} +1 -1
- package/dist/ionic/{p-5797981d.system.entry.js → p-cc978d16.system.entry.js} +2 -2
- package/dist/ionic/{p-b434ded7.system.entry.js → p-ce436e94.system.entry.js} +1 -1
- package/dist/ionic/{p-6ad90d41.entry.js → p-ce9eafa3.entry.js} +1 -1
- package/dist/ionic/p-cf07fee5.entry.js +4 -0
- package/dist/ionic/p-d0adc028.system.entry.js +4 -0
- package/dist/ionic/p-d0d674d0.entry.js +4 -0
- package/dist/ionic/p-d35d485c.entry.js +4 -0
- package/dist/ionic/p-d60342e3.js +4 -0
- package/dist/ionic/{p-e3a7214b.system.js → p-d704f798.system.js} +1 -1
- package/dist/ionic/p-d80b7e31.system.js +4 -0
- package/dist/ionic/p-d834c508.entry.js +4 -0
- package/dist/ionic/p-da2b833b.js +4 -0
- package/dist/ionic/{p-385f66bc.entry.js → p-da5bbd4f.entry.js} +1 -1
- package/dist/ionic/{p-5e70f800.system.entry.js → p-dbd782ec.system.entry.js} +1 -1
- package/dist/ionic/{p-e1819aee.js → p-e066780e.js} +1 -1
- package/dist/ionic/{p-1ea88de9.system.js → p-e0d52ee3.system.js} +2 -2
- package/dist/ionic/p-e170e351.js +4 -0
- package/dist/ionic/{p-0a8a78db.system.entry.js → p-e1d4298f.system.entry.js} +1 -1
- package/dist/ionic/p-e7b0b64d.system.js +4 -0
- package/dist/ionic/p-e7cd7553.system.js +4 -0
- package/dist/ionic/p-f270059b.entry.js +4 -0
- package/dist/ionic/p-f40aa619.entry.js +4 -0
- package/dist/ionic/{p-c6dbc089.system.entry.js → p-f47c47f2.system.entry.js} +1 -1
- package/dist/ionic/p-f687573e.system.js +4 -0
- package/dist/ionic/p-f8502e85.js +5 -0
- package/dist/ionic/p-facad328.entry.js +4 -0
- package/dist/ionic/{p-ab427719.entry.js → p-fbf23235.entry.js} +1 -1
- package/dist/ionic/{p-3c47c5c8.system.entry.js → p-fe5ff8fb.system.entry.js} +1 -1
- package/dist/ionic/{p-9d795c4b.entry.js → p-fe8f0dd2.entry.js} +1 -1
- package/dist/types/components/datetime/datetime-interface.d.ts +10 -0
- package/dist/types/components/datetime/datetime.d.ts +10 -1
- package/dist/types/components/datetime/utils/format.d.ts +7 -13
- package/dist/types/components/datetime/utils/validate.d.ts +8 -0
- package/dist/types/components/input/input.d.ts +7 -6
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +37 -0
- package/dist/types/components/item/item.d.ts +0 -32
- package/dist/types/components/menu/menu-interface.d.ts +1 -0
- package/dist/types/components/menu/menu.d.ts +2 -4
- package/dist/types/components/range/range.d.ts +29 -0
- package/dist/types/components/searchbar/searchbar.d.ts +38 -0
- package/dist/types/components/textarea/textarea.d.ts +1 -6
- package/dist/types/components/toggle/toggle.d.ts +1 -1
- package/dist/types/components.d.ts +86 -50
- package/dist/types/utils/animation/animation-utils.d.ts +0 -12
- package/dist/types/utils/focus-trap.d.ts +35 -0
- package/dist/types/utils/forms/index.d.ts +0 -1
- package/dist/types/utils/hardware-back-button.d.ts +1 -1
- package/dist/types/utils/helpers.d.ts +0 -19
- package/dist/types/utils/overlays.d.ts +0 -6
- package/dist/types/utils/test/playwright/generator.d.ts +3 -3
- package/hydrate/index.js +854 -822
- package/package.json +7 -2
- package/components/note.js +0 -48
- package/css/themes/dark.always.css.map +0 -1
- package/css/themes/dark.class.css.map +0 -1
- package/css/themes/dark.system.css.map +0 -1
- package/css/themes/high-contrast-dark.always.css.map +0 -1
- package/css/themes/high-contrast-dark.class.css.map +0 -1
- package/css/themes/high-contrast-dark.system.css.map +0 -1
- package/css/themes/high-contrast.always.css.map +0 -1
- package/css/themes/high-contrast.class.css.map +0 -1
- package/css/themes/high-contrast.system.css.map +0 -1
- package/dist/collection/components/item/test/legacy/disabled/item.e2e.js +0 -14
- package/dist/collection/components/modal/test/a11y/modal.spec.js +0 -22
- package/dist/collection/utils/forms/form-controller.js +0 -61
- package/dist/collection/utils/test/aria.spec.js +0 -80
- package/dist/esm-es5/animation-a4acf150.js +0 -4
- package/dist/esm-es5/app-globals-5cf6195b.js +0 -4
- package/dist/esm-es5/data-691286f1.js +0 -4
- package/dist/esm-es5/haptic-554688a5.js +0 -4
- package/dist/esm-es5/hardware-back-button-b410a047.js +0 -4
- package/dist/esm-es5/helpers-ae74b3c9.js +0 -4
- package/dist/esm-es5/index-4c30cddd.js +0 -5
- package/dist/esm-es5/input.utils-482fc893.js +0 -4
- package/dist/esm-es5/md.transition-c9761eef.js +0 -4
- package/dist/esm-es5/overlays-c69d2a07.js +0 -4
- package/dist/ionic/p-069388dd.system.js +0 -4
- package/dist/ionic/p-0b34d3a7.system.js +0 -4
- package/dist/ionic/p-0dfbbdbe.entry.js +0 -4
- package/dist/ionic/p-0f25a7bb.system.js +0 -4
- package/dist/ionic/p-0f81df5e.entry.js +0 -4
- package/dist/ionic/p-11bb459e.system.entry.js +0 -4
- package/dist/ionic/p-13e8ad2e.entry.js +0 -4
- package/dist/ionic/p-17082c91.system.js +0 -4
- package/dist/ionic/p-19f6ac6c.system.js +0 -4
- package/dist/ionic/p-1deadb7f.system.js +0 -4
- package/dist/ionic/p-2c768965.entry.js +0 -4
- package/dist/ionic/p-32fb7d95.entry.js +0 -4
- package/dist/ionic/p-42f189f4.js +0 -4
- package/dist/ionic/p-446f3909.system.entry.js +0 -4
- package/dist/ionic/p-4a8f173c.system.js +0 -4
- package/dist/ionic/p-4e7abe76.js +0 -4
- package/dist/ionic/p-5289aade.js +0 -4
- package/dist/ionic/p-5dbf7222.entry.js +0 -4
- package/dist/ionic/p-5eabaa80.js +0 -4
- package/dist/ionic/p-60a92a48.system.entry.js +0 -4
- package/dist/ionic/p-640fac4a.system.entry.js +0 -4
- package/dist/ionic/p-66e6860f.system.js +0 -4
- package/dist/ionic/p-6d659d62.entry.js +0 -4
- package/dist/ionic/p-7292add8.entry.js +0 -4
- package/dist/ionic/p-72fa96bf.system.js +0 -5
- package/dist/ionic/p-75861cd3.entry.js +0 -4
- package/dist/ionic/p-760dbd5e.js +0 -4
- package/dist/ionic/p-7e185a31.entry.js +0 -4
- package/dist/ionic/p-831269de.js +0 -4
- package/dist/ionic/p-892e2567.system.entry.js +0 -4
- package/dist/ionic/p-8ab308e9.js +0 -4
- package/dist/ionic/p-8b8b900d.entry.js +0 -4
- package/dist/ionic/p-90b3e3b0.system.entry.js +0 -4
- package/dist/ionic/p-93e79b55.js +0 -4
- package/dist/ionic/p-94f85e19.system.entry.js +0 -4
- package/dist/ionic/p-96107183.js +0 -4
- package/dist/ionic/p-986a47ee.system.entry.js +0 -4
- package/dist/ionic/p-9c93fdcd.js +0 -4
- package/dist/ionic/p-9d6f351e.js +0 -4
- package/dist/ionic/p-9e3b3f15.system.js +0 -4
- package/dist/ionic/p-9ecc1e42.entry.js +0 -4
- package/dist/ionic/p-a6cc38d4.js +0 -4
- package/dist/ionic/p-a9126aab.system.entry.js +0 -4
- package/dist/ionic/p-bca27ea7.entry.js +0 -4
- package/dist/ionic/p-c68e75ea.system.js +0 -4
- package/dist/ionic/p-c995da88.system.js +0 -4
- package/dist/ionic/p-cb944b1a.system.js +0 -4
- package/dist/ionic/p-cd0ffc8c.entry.js +0 -4
- package/dist/ionic/p-d13689a6.entry.js +0 -4
- package/dist/ionic/p-d47a1a78.system.entry.js +0 -4
- package/dist/ionic/p-d8643420.system.entry.js +0 -4
- package/dist/ionic/p-d9b6b588.entry.js +0 -4
- package/dist/ionic/p-db121960.js +0 -4
- package/dist/ionic/p-df504a37.system.js +0 -4
- package/dist/ionic/p-dfb6de03.system.js +0 -4
- package/dist/ionic/p-e311af42.entry.js +0 -4
- package/dist/ionic/p-e755046f.system.entry.js +0 -4
- package/dist/ionic/p-ed7a529f.js +0 -5
- package/dist/ionic/p-f1437574.entry.js +0 -4
- package/dist/ionic/p-f7ccf8d9.entry.js +0 -4
- package/dist/types/utils/forms/form-controller.d.ts +0 -15
- package/css/{themes → palettes}/dark.always.css +0 -0
- package/css/{themes → palettes}/dark.css +0 -0
- package/css/{themes → palettes}/dark.css.map +0 -0
- package/css/{themes → palettes}/dark.system.css +0 -0
- package/css/{themes → palettes}/high-contrast-dark.always.css +1 -1
- package/css/{themes → palettes}/high-contrast-dark.css +0 -0
- package/css/{themes → palettes}/high-contrast-dark.css.map +0 -0
- package/css/{themes → palettes}/high-contrast-dark.system.css +1 -1
- package/css/{themes → palettes}/high-contrast.always.css +25 -25
- package/css/{themes → palettes}/high-contrast.css +0 -0
- package/css/{themes → palettes}/high-contrast.css.map +0 -0
- package/css/{themes → palettes}/high-contrast.system.css +25 -25
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, d as createEvent, h,
|
|
5
|
-
import { f as findClosestIonContent, d as disableContentScrollY, r as resetContentScrollY } from './index-
|
|
6
|
-
import { j as clamp, e as debounceEvent, i as inheritAriaAttributes,
|
|
4
|
+
import { r as registerInstance, d as createEvent, h, f as Host, i as getElement } from './index-5d6a0317.js';
|
|
5
|
+
import { f as findClosestIonContent, d as disableContentScrollY, r as resetContentScrollY } from './index-044b5a86.js';
|
|
6
|
+
import { j as clamp, e as debounceEvent, i as inheritAriaAttributes, d as renderHiddenInput } from './helpers-eab4f597.js';
|
|
7
7
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
8
8
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
9
9
|
import { h as hostContext, c as createColorClasses } from './theme-01f3f29c.js';
|
|
10
|
-
import { b as getIonMode } from './ionic-global-
|
|
10
|
+
import { b as getIonMode } from './ionic-global-a589c12c.js';
|
|
11
11
|
|
|
12
12
|
function getDecimalPlaces(n) {
|
|
13
13
|
if (n % 1 === 0)
|
|
@@ -94,8 +94,14 @@ const Range = class {
|
|
|
94
94
|
el: rangeSlider,
|
|
95
95
|
gestureName: 'range',
|
|
96
96
|
gesturePriority: 100,
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
/**
|
|
98
|
+
* Provide a threshold since the drag movement
|
|
99
|
+
* might be a user scrolling the view.
|
|
100
|
+
* If this is true, then the range
|
|
101
|
+
* should not move.
|
|
102
|
+
*/
|
|
103
|
+
threshold: 10,
|
|
104
|
+
onStart: () => this.onStart(),
|
|
99
105
|
onMove: (ev) => this.onMove(ev),
|
|
100
106
|
onEnd: (ev) => this.onEnd(ev),
|
|
101
107
|
});
|
|
@@ -261,33 +267,93 @@ const Range = class {
|
|
|
261
267
|
this.value = this.ensureValueInBounds(this.value);
|
|
262
268
|
this.ionChange.emit({ value: this.value });
|
|
263
269
|
}
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
270
|
+
/**
|
|
271
|
+
* The value should be updated on touch end or
|
|
272
|
+
* when the component is being dragged.
|
|
273
|
+
* This follows the native behavior of mobile devices.
|
|
274
|
+
*
|
|
275
|
+
* For example: When the user lifts their finger from the
|
|
276
|
+
* screen after tapping the bar or dragging the bar or knob.
|
|
277
|
+
*/
|
|
278
|
+
onStart() {
|
|
279
|
+
this.ionKnobMoveStart.emit({ value: this.ensureValueInBounds(this.value) });
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* The value should be updated while dragging the
|
|
283
|
+
* bar or knob.
|
|
284
|
+
*
|
|
285
|
+
* While the user is dragging, the view
|
|
286
|
+
* should not scroll. This is to prevent the user from
|
|
287
|
+
* feeling disoriented while dragging.
|
|
288
|
+
*
|
|
289
|
+
* The user can scroll on the view if the knob or
|
|
290
|
+
* bar is not being dragged.
|
|
291
|
+
*
|
|
292
|
+
* @param detail The details of the gesture event.
|
|
293
|
+
*/
|
|
294
|
+
onMove(detail) {
|
|
295
|
+
const { contentEl, pressedKnob } = this;
|
|
296
|
+
const currentX = detail.currentX;
|
|
297
|
+
/**
|
|
298
|
+
* Since the user is dragging on the bar or knob, the view should not scroll.
|
|
299
|
+
*
|
|
300
|
+
* This only needs to be done once.
|
|
301
|
+
*/
|
|
302
|
+
if (contentEl && this.initialContentScrollY === undefined) {
|
|
267
303
|
this.initialContentScrollY = disableContentScrollY(contentEl);
|
|
268
304
|
}
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
305
|
+
/**
|
|
306
|
+
* The `pressedKnob` can be undefined if the user just
|
|
307
|
+
* started dragging the knob.
|
|
308
|
+
*
|
|
309
|
+
* This is necessary to determine which knob the user is dragging,
|
|
310
|
+
* especially when it's a dual knob.
|
|
311
|
+
* Plus, it determines when to apply certain styles.
|
|
312
|
+
*
|
|
313
|
+
* This only needs to be done once since the knob won't change
|
|
314
|
+
* while the user is dragging.
|
|
315
|
+
*/
|
|
316
|
+
if (pressedKnob === undefined) {
|
|
317
|
+
this.setPressedKnob(currentX);
|
|
275
318
|
}
|
|
276
|
-
this.pressedKnob = !this.dualKnobs || Math.abs(this.ratioA - ratio) < Math.abs(this.ratioB - ratio) ? 'A' : 'B';
|
|
277
|
-
this.setFocus(this.pressedKnob);
|
|
278
|
-
// update the active knob's position
|
|
279
319
|
this.update(currentX);
|
|
280
|
-
this.ionKnobMoveStart.emit({ value: this.ensureValueInBounds(this.value) });
|
|
281
|
-
}
|
|
282
|
-
onMove(detail) {
|
|
283
|
-
this.update(detail.currentX);
|
|
284
320
|
}
|
|
321
|
+
/**
|
|
322
|
+
* The value should be updated on touch end:
|
|
323
|
+
* - When the user lifts their finger from the screen after
|
|
324
|
+
* tapping the bar.
|
|
325
|
+
*
|
|
326
|
+
* @param detail The details of the gesture or mouse event.
|
|
327
|
+
*/
|
|
285
328
|
onEnd(detail) {
|
|
286
329
|
const { contentEl, initialContentScrollY } = this;
|
|
287
|
-
|
|
330
|
+
const currentX = detail.currentX || detail.clientX;
|
|
331
|
+
/**
|
|
332
|
+
* The `pressedKnob` can be undefined if the user never
|
|
333
|
+
* dragged the knob. They just tapped on the bar.
|
|
334
|
+
*
|
|
335
|
+
* This is necessary to determine which knob the user is changing,
|
|
336
|
+
* especially when it's a dual knob.
|
|
337
|
+
* Plus, it determines when to apply certain styles.
|
|
338
|
+
*/
|
|
339
|
+
if (this.pressedKnob === undefined) {
|
|
340
|
+
this.setPressedKnob(currentX);
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* The user is no longer dragging the bar or
|
|
344
|
+
* knob (if they were dragging it).
|
|
345
|
+
*
|
|
346
|
+
* The user can now scroll on the view in the next gesture event.
|
|
347
|
+
*/
|
|
348
|
+
if (contentEl && initialContentScrollY !== undefined) {
|
|
288
349
|
resetContentScrollY(contentEl, initialContentScrollY);
|
|
289
350
|
}
|
|
290
|
-
|
|
351
|
+
// update the active knob's position
|
|
352
|
+
this.update(currentX);
|
|
353
|
+
/**
|
|
354
|
+
* Reset the pressed knob to undefined since the user
|
|
355
|
+
* may start dragging a different knob in the next gesture event.
|
|
356
|
+
*/
|
|
291
357
|
this.pressedKnob = undefined;
|
|
292
358
|
this.emitValueChange();
|
|
293
359
|
this.ionKnobMoveEnd.emit({ value: this.ensureValueInBounds(this.value) });
|
|
@@ -314,6 +380,16 @@ const Range = class {
|
|
|
314
380
|
// Update input value
|
|
315
381
|
this.updateValue();
|
|
316
382
|
}
|
|
383
|
+
setPressedKnob(currentX) {
|
|
384
|
+
const rect = (this.rect = this.rangeSlider.getBoundingClientRect());
|
|
385
|
+
// figure out which knob they started closer to
|
|
386
|
+
let ratio = clamp(0, (currentX - rect.left) / rect.width, 1);
|
|
387
|
+
if (isRTL(this.el)) {
|
|
388
|
+
ratio = 1 - ratio;
|
|
389
|
+
}
|
|
390
|
+
this.pressedKnob = !this.dualKnobs || Math.abs(this.ratioA - ratio) < Math.abs(this.ratioB - ratio) ? 'A' : 'B';
|
|
391
|
+
this.setFocus(this.pressedKnob);
|
|
392
|
+
}
|
|
317
393
|
get valA() {
|
|
318
394
|
return ratioToValue(this.ratioA, this.min, this.max, this.step);
|
|
319
395
|
}
|
|
@@ -384,16 +460,7 @@ const Range = class {
|
|
|
384
460
|
}
|
|
385
461
|
renderRangeSlider() {
|
|
386
462
|
var _a;
|
|
387
|
-
const { min, max, step,
|
|
388
|
-
/**
|
|
389
|
-
* Look for external label, ion-label, or aria-labelledby.
|
|
390
|
-
* If none, see if user placed an aria-label on the host
|
|
391
|
-
* and use that instead.
|
|
392
|
-
*/
|
|
393
|
-
let { labelText } = getAriaLabel(el, rangeId);
|
|
394
|
-
if (labelText === undefined || labelText === null) {
|
|
395
|
-
labelText = inheritedAttributes['aria-label'];
|
|
396
|
-
}
|
|
463
|
+
const { min, max, step, handleKeyboard, pressedKnob, disabled, pin, ratioLower, ratioUpper, pinFormatter, inheritedAttributes, } = this;
|
|
397
464
|
let barStart = `${ratioLower * 100}%`;
|
|
398
465
|
let barEnd = `${100 - ratioUpper * 100}%`;
|
|
399
466
|
const rtl = isRTL(this.el);
|
|
@@ -453,11 +520,36 @@ const Range = class {
|
|
|
453
520
|
ticks.push(tick);
|
|
454
521
|
}
|
|
455
522
|
}
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
523
|
+
return (h("div", { class: "range-slider", ref: (rangeEl) => (this.rangeSlider = rangeEl),
|
|
524
|
+
/**
|
|
525
|
+
* Since the gesture has a threshold, the value
|
|
526
|
+
* won't change until the user has dragged past
|
|
527
|
+
* the threshold. This is to prevent the range
|
|
528
|
+
* from moving when the user is scrolling.
|
|
529
|
+
*
|
|
530
|
+
* This results in the value not being updated
|
|
531
|
+
* and the event emitters not being triggered
|
|
532
|
+
* if the user taps on the range. This is why
|
|
533
|
+
* we need to listen for the "pointerUp" event.
|
|
534
|
+
*/
|
|
535
|
+
onPointerUp: (ev) => {
|
|
536
|
+
/**
|
|
537
|
+
* If the user drags the knob on the web
|
|
538
|
+
* version (does not occur on mobile),
|
|
539
|
+
* the "pointerUp" event will be triggered
|
|
540
|
+
* along with the gesture's events.
|
|
541
|
+
* This leads to duplicate events.
|
|
542
|
+
*
|
|
543
|
+
* By checking if the pressedKnob is undefined,
|
|
544
|
+
* we can determine if the "pointerUp" event was
|
|
545
|
+
* triggered by a tap or a drag. If it was
|
|
546
|
+
* dragged, the pressedKnob will be defined.
|
|
547
|
+
*/
|
|
548
|
+
if (this.pressedKnob === undefined) {
|
|
549
|
+
this.onStart();
|
|
550
|
+
this.onEnd(ev);
|
|
551
|
+
}
|
|
552
|
+
} }, ticks.map((tick) => (h("div", { style: tickStyle(tick), role: "presentation", class: {
|
|
461
553
|
'range-tick': true,
|
|
462
554
|
'range-tick-active': tick.active,
|
|
463
555
|
}, part: tick.active ? 'tick-active' : 'tick' }))), h("div", { class: "range-bar-container" }, h("div", { class: "range-bar", role: "presentation", part: "bar" }), h("div", { class: {
|
|
@@ -475,8 +567,7 @@ const Range = class {
|
|
|
475
567
|
handleKeyboard,
|
|
476
568
|
min,
|
|
477
569
|
max,
|
|
478
|
-
|
|
479
|
-
labelledBy,
|
|
570
|
+
inheritedAttributes,
|
|
480
571
|
}), this.dualKnobs &&
|
|
481
572
|
renderKnob(rtl, {
|
|
482
573
|
knob: 'B',
|
|
@@ -489,8 +580,7 @@ const Range = class {
|
|
|
489
580
|
handleKeyboard,
|
|
490
581
|
min,
|
|
491
582
|
max,
|
|
492
|
-
|
|
493
|
-
labelledBy,
|
|
583
|
+
inheritedAttributes,
|
|
494
584
|
})));
|
|
495
585
|
}
|
|
496
586
|
render() {
|
|
@@ -510,7 +600,7 @@ const Range = class {
|
|
|
510
600
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
511
601
|
const mode = getIonMode(this);
|
|
512
602
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
513
|
-
return (h(Host, { key: '
|
|
603
|
+
return (h(Host, { key: '201677b1146738b96d74081e59d3e13a8472326e', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
514
604
|
[mode]: true,
|
|
515
605
|
'in-item': inItem,
|
|
516
606
|
'range-disabled': disabled,
|
|
@@ -519,10 +609,10 @@ const Range = class {
|
|
|
519
609
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
520
610
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
521
611
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
522
|
-
}) }, h("label", { key: '
|
|
612
|
+
}) }, h("label", { key: '055dda4f2673432e639b7efdbb01b2794c91e705', class: "range-wrapper", id: "range-label" }, h("div", { key: '3efe1eda1f68810a739a42b7655f2dd71beccf1e', class: {
|
|
523
613
|
'label-text-wrapper': true,
|
|
524
614
|
'label-text-wrapper-hidden': !hasLabel,
|
|
525
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
615
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '31458b02c2973f4ecf4a10de4c0ae1c4befda37a', class: "native-wrapper" }, h("slot", { key: '21c78b192f312396bd86bf52a0888312ffefea8a', name: "start" }), this.renderRangeSlider(), h("slot", { key: '843193879728ccfec62b4becb1b57d64b6d96804', name: "end" })))));
|
|
526
616
|
}
|
|
527
617
|
get el() { return getElement(this); }
|
|
528
618
|
static get watchers() { return {
|
|
@@ -534,13 +624,15 @@ const Range = class {
|
|
|
534
624
|
"value": ["valueChanged"]
|
|
535
625
|
}; }
|
|
536
626
|
};
|
|
537
|
-
const renderKnob = (rtl, { knob, value, ratio, min, max, disabled, pressed, pin, handleKeyboard,
|
|
627
|
+
const renderKnob = (rtl, { knob, value, ratio, min, max, disabled, pressed, pin, handleKeyboard, pinFormatter, inheritedAttributes }) => {
|
|
538
628
|
const start = rtl ? 'right' : 'left';
|
|
539
629
|
const knobStyle = () => {
|
|
540
630
|
const style = {};
|
|
541
631
|
style[start] = `${ratio * 100}%`;
|
|
542
632
|
return style;
|
|
543
633
|
};
|
|
634
|
+
// The aria label should be preferred over visible text if both are specified
|
|
635
|
+
const ariaLabel = inheritedAttributes['aria-label'];
|
|
544
636
|
return (h("div", { onKeyDown: (ev) => {
|
|
545
637
|
const key = ev.key;
|
|
546
638
|
if (key === 'ArrowLeft' || key === 'ArrowDown') {
|
|
@@ -562,7 +654,7 @@ const renderKnob = (rtl, { knob, value, ratio, min, max, disabled, pressed, pin,
|
|
|
562
654
|
'range-knob-max': value === max,
|
|
563
655
|
'ion-activatable': true,
|
|
564
656
|
'ion-focusable': true,
|
|
565
|
-
}, style: knobStyle(), role: "slider", tabindex: disabled ? -1 : 0, "aria-label":
|
|
657
|
+
}, style: knobStyle(), role: "slider", tabindex: disabled ? -1 : 0, "aria-label": ariaLabel !== undefined ? ariaLabel : null, "aria-labelledby": ariaLabel === undefined ? 'range-label' : null, "aria-valuemin": min, "aria-valuemax": max, "aria-disabled": disabled ? 'true' : null, "aria-valuenow": value }, pin && (h("div", { class: "range-pin", role: "presentation", part: "pin" }, pinFormatter(value))), h("div", { class: "range-knob", role: "presentation", part: "knob" })));
|
|
566
658
|
};
|
|
567
659
|
const ratioToValue = (ratio, min, max, step) => {
|
|
568
660
|
let value = (max - min) * ratio;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { w as writeTask, r as registerInstance, d as createEvent, e as readTask, h,
|
|
4
|
+
import { w as writeTask, r as registerInstance, d as createEvent, e as readTask, h, i as getElement, f as Host } from './index-5d6a0317.js';
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
|
|
6
|
-
import { I as ION_CONTENT_CLASS_SELECTOR, b as ION_CONTENT_ELEMENT_SELECTOR, p as printIonContentErrorMsg, g as getScrollElement } from './index-
|
|
7
|
-
import { t as transitionEndAsync, c as componentOnReady, j as clamp, g as getElementRoot, r as raf } from './helpers-
|
|
8
|
-
import { d as hapticImpact, I as ImpactStyle } from './haptic-
|
|
9
|
-
import { b as getIonMode, c as config } from './ionic-global-
|
|
10
|
-
import { c as createAnimation } from './animation-
|
|
6
|
+
import { I as ION_CONTENT_CLASS_SELECTOR, b as ION_CONTENT_ELEMENT_SELECTOR, p as printIonContentErrorMsg, g as getScrollElement } from './index-044b5a86.js';
|
|
7
|
+
import { t as transitionEndAsync, c as componentOnReady, j as clamp, g as getElementRoot, r as raf } from './helpers-eab4f597.js';
|
|
8
|
+
import { d as hapticImpact, I as ImpactStyle } from './haptic-ac164e4c.js';
|
|
9
|
+
import { b as getIonMode, c as config } from './ionic-global-a589c12c.js';
|
|
10
|
+
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
11
11
|
import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-49c88215.js';
|
|
12
|
-
import { h as caretBackSharp, i as arrowDown } from './index-
|
|
12
|
+
import { h as caretBackSharp, i as arrowDown } from './index-e2cf2ceb.js';
|
|
13
13
|
import { S as SPINNERS } from './spinner-configs-964f7cf3.js';
|
|
14
14
|
import './index-9b0d46f4.js';
|
|
15
15
|
import './capacitor-59395cbd.js';
|
|
@@ -796,7 +796,7 @@ const Refresher = class {
|
|
|
796
796
|
}
|
|
797
797
|
render() {
|
|
798
798
|
const mode = getIonMode(this);
|
|
799
|
-
return (h(Host, { key: '
|
|
799
|
+
return (h(Host, { key: '8e4a99ce208ea3162186e91ba0d1e289b4f247a0', slot: "fixed", class: {
|
|
800
800
|
[mode]: true,
|
|
801
801
|
// Used internally for styling
|
|
802
802
|
[`refresher-${mode}`]: true,
|
|
@@ -863,7 +863,7 @@ const RefresherContent = class {
|
|
|
863
863
|
const pullingIcon = this.pullingIcon;
|
|
864
864
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
865
865
|
const mode = getIonMode(this);
|
|
866
|
-
return (h(Host, { key: '
|
|
866
|
+
return (h(Host, { key: 'c84cb333293a4b8f749505268d019698f9df431c', class: mode }, h("div", { key: 'fb3c0cd2ca4636762060b6615fc2da3ce93da20c', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("div", { class: "spinner-arrow-container" }, h("ion-spinner", { name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { class: "arrow-container" }, h("ion-icon", { icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("ion-icon", { icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '4a099f6a15854d9432d5e7ee8ade1023a6051965', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { class: "refresher-refreshing-icon" }, h("ion-spinner", { name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
867
867
|
}
|
|
868
868
|
get el() { return getElement(this); }
|
|
869
869
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h,
|
|
5
|
-
import { j as reorderThreeOutline, k as reorderTwoSharp } from './index-
|
|
6
|
-
import { b as getIonMode } from './ionic-global-
|
|
7
|
-
import { f as findClosestIonContent, g as getScrollElement } from './index-
|
|
8
|
-
import { r as raf } from './helpers-
|
|
9
|
-
import { a as hapticSelectionStart, b as hapticSelectionChanged, h as hapticSelectionEnd } from './haptic-
|
|
4
|
+
import { r as registerInstance, h, f as Host, i as getElement, d as createEvent } from './index-5d6a0317.js';
|
|
5
|
+
import { j as reorderThreeOutline, k as reorderTwoSharp } from './index-e2cf2ceb.js';
|
|
6
|
+
import { b as getIonMode } from './ionic-global-a589c12c.js';
|
|
7
|
+
import { f as findClosestIonContent, g as getScrollElement } from './index-044b5a86.js';
|
|
8
|
+
import { r as raf } from './helpers-eab4f597.js';
|
|
9
|
+
import { a as hapticSelectionStart, b as hapticSelectionChanged, h as hapticSelectionEnd } from './haptic-ac164e4c.js';
|
|
10
10
|
import './index-9b0d46f4.js';
|
|
11
11
|
import './capacitor-59395cbd.js';
|
|
12
12
|
import './index-a5d50daf.js';
|
|
@@ -33,7 +33,7 @@ const Reorder = class {
|
|
|
33
33
|
render() {
|
|
34
34
|
const mode = getIonMode(this);
|
|
35
35
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '4e02357926b0208480a043ee3fe0617633daca76', class: mode }, h("slot", { key: 'cedcbcdcc9702af91d00ee20664cb8be634f62d1' }, h("ion-icon", { key: 'd78d7035eae7a235f428132c2a80c8e0538c4441', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
37
37
|
}
|
|
38
38
|
get el() { return getElement(this); }
|
|
39
39
|
};
|
|
@@ -279,7 +279,7 @@ const ReorderGroup = class {
|
|
|
279
279
|
}
|
|
280
280
|
render() {
|
|
281
281
|
const mode = getIonMode(this);
|
|
282
|
-
return (h(Host, { key: '
|
|
282
|
+
return (h(Host, { key: 'b3a4a278423a196c0980ab8d03062175d8b1f52a', class: {
|
|
283
283
|
[mode]: true,
|
|
284
284
|
'reorder-enabled': !this.disabled,
|
|
285
285
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, e as readTask, w as writeTask, h,
|
|
5
|
-
import { b as getIonMode } from './ionic-global-
|
|
4
|
+
import { r as registerInstance, e as readTask, w as writeTask, h, i as getElement, f as Host } from './index-5d6a0317.js';
|
|
5
|
+
import { b as getIonMode } from './ionic-global-a589c12c.js';
|
|
6
6
|
|
|
7
7
|
const rippleEffectCss = ":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}";
|
|
8
8
|
const IonRippleEffectStyle0 = rippleEffectCss;
|
|
@@ -64,7 +64,7 @@ const RippleEffect = class {
|
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
66
|
const mode = getIonMode(this);
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: 'ca0ab0deaa7902cbc95e62d4b0c5baeac4387b41', role: "presentation", class: {
|
|
68
68
|
[mode]: true,
|
|
69
69
|
unbounded: this.unbounded,
|
|
70
70
|
} }));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, d as createEvent,
|
|
5
|
-
import { c as componentOnReady,
|
|
4
|
+
import { r as registerInstance, d as createEvent, i as getElement, h, f as Host } from './index-5d6a0317.js';
|
|
5
|
+
import { c as componentOnReady, o as debounce } from './helpers-eab4f597.js';
|
|
6
6
|
import { o as openURL, c as createColorClasses } from './theme-01f3f29c.js';
|
|
7
|
-
import { b as getIonMode } from './ionic-global-
|
|
7
|
+
import { b as getIonMode } from './ionic-global-a589c12c.js';
|
|
8
8
|
|
|
9
9
|
const Route = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -878,10 +878,10 @@ const RouterLink = class {
|
|
|
878
878
|
rel: this.rel,
|
|
879
879
|
target: this.target,
|
|
880
880
|
};
|
|
881
|
-
return (h(Host, { key: '
|
|
881
|
+
return (h(Host, { key: '3affa4bc9806eaef4e1985c9ef7bb298342cbe95', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
882
882
|
[mode]: true,
|
|
883
883
|
'ion-activatable': true,
|
|
884
|
-
}) }, h("a", Object.assign({ key: '
|
|
884
|
+
}) }, h("a", Object.assign({ key: 'b957040fd9f8bdc1cd1fd338734c9734522c2fc3' }, attrs), h("slot", { key: 'cbf39dbce40865418fc9cd7e09a32d6c6b8f9f69' }))));
|
|
885
885
|
}
|
|
886
886
|
};
|
|
887
887
|
RouterLink.style = IonRouterLinkStyle0;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, d as createEvent,
|
|
5
|
-
import { e as debounceEvent, c as componentOnReady, r as raf } from './helpers-
|
|
4
|
+
import { r as registerInstance, d as createEvent, j as forceUpdate, h, f as Host, i as getElement } from './index-5d6a0317.js';
|
|
5
|
+
import { e as debounceEvent, h as inheritAttributes, c as componentOnReady, r as raf } from './helpers-eab4f597.js';
|
|
6
6
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
7
7
|
import { c as createColorClasses } from './theme-01f3f29c.js';
|
|
8
|
-
import { a as arrowBackSharp, b as closeCircle, d as closeSharp, s as searchOutline, e as searchSharp } from './index-
|
|
9
|
-
import { c as config, b as getIonMode } from './ionic-global-
|
|
8
|
+
import { a as arrowBackSharp, b as closeCircle, d as closeSharp, s as searchOutline, e as searchSharp } from './index-e2cf2ceb.js';
|
|
9
|
+
import { c as config, b as getIonMode } from './ionic-global-a589c12c.js';
|
|
10
10
|
|
|
11
11
|
const searchbarIosCss = ".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #0054e9);--clear-button-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;min-height:60px;contain:content}.searchbar-input-container.sc-ion-searchbar-ios{min-height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px);top:0;position:absolute;width:1.375rem;height:100%;contain:strict}.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start:5px}.searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:6px;padding-bottom:6px;height:100%;font-size:1.0625rem;font-weight:400;contain:strict}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem;-webkit-padding-end:1.75rem;padding-inline-end:1.75rem}.searchbar-clear-button.sc-ion-searchbar-ios{top:0;background-position:center;position:absolute;width:1.875rem;height:100%;border:0;background-color:transparent}.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}.searchbar-clear-icon.sc-ion-searchbar-ios{width:1.125rem;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:17px}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:0;margin-inline-start:0}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.875rem;padding-inline-start:1.875rem}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-margin-end:-100%;margin-inline-end:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;min-height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}";
|
|
12
12
|
const IonSearchbarIosStyle0 = searchbarIosCss;
|
|
@@ -27,6 +27,7 @@ const Searchbar = class {
|
|
|
27
27
|
this.isCancelVisible = false;
|
|
28
28
|
this.shouldAlignLeft = true;
|
|
29
29
|
this.inputId = `ion-searchbar-${searchbarIds++}`;
|
|
30
|
+
this.inheritedAttributes = {};
|
|
30
31
|
/**
|
|
31
32
|
* Clears the input field and triggers the control change.
|
|
32
33
|
*/
|
|
@@ -127,6 +128,7 @@ const Searchbar = class {
|
|
|
127
128
|
this.noAnimate = true;
|
|
128
129
|
this.color = undefined;
|
|
129
130
|
this.animated = false;
|
|
131
|
+
this.autocapitalize = undefined;
|
|
130
132
|
this.autocomplete = 'off';
|
|
131
133
|
this.autocorrect = 'off';
|
|
132
134
|
this.cancelButtonIcon = config.get('backButtonIcon', arrowBackSharp);
|
|
@@ -136,6 +138,8 @@ const Searchbar = class {
|
|
|
136
138
|
this.disabled = false;
|
|
137
139
|
this.inputmode = undefined;
|
|
138
140
|
this.enterkeyhint = undefined;
|
|
141
|
+
this.maxlength = undefined;
|
|
142
|
+
this.minlength = undefined;
|
|
139
143
|
this.name = this.inputId;
|
|
140
144
|
this.placeholder = 'Search';
|
|
141
145
|
this.searchIcon = undefined;
|
|
@@ -145,6 +149,21 @@ const Searchbar = class {
|
|
|
145
149
|
this.type = 'search';
|
|
146
150
|
this.value = '';
|
|
147
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* lang and dir are globally enumerated attributes.
|
|
154
|
+
* As a result, creating these as properties
|
|
155
|
+
* can have unintended side effects. Instead, we
|
|
156
|
+
* listen for attribute changes and inherit them
|
|
157
|
+
* to the inner `<input>` element.
|
|
158
|
+
*/
|
|
159
|
+
onLangChanged(newValue) {
|
|
160
|
+
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { lang: newValue });
|
|
161
|
+
forceUpdate(this);
|
|
162
|
+
}
|
|
163
|
+
onDirChanged(newValue) {
|
|
164
|
+
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { dir: newValue });
|
|
165
|
+
forceUpdate(this);
|
|
166
|
+
}
|
|
148
167
|
debounceChanged() {
|
|
149
168
|
const { ionInput, debounce, originalIonInput } = this;
|
|
150
169
|
/**
|
|
@@ -169,6 +188,9 @@ const Searchbar = class {
|
|
|
169
188
|
connectedCallback() {
|
|
170
189
|
this.emitStyle();
|
|
171
190
|
}
|
|
191
|
+
componentWillLoad() {
|
|
192
|
+
this.inheritedAttributes = Object.assign({}, inheritAttributes(this.el, ['lang', 'dir']));
|
|
193
|
+
}
|
|
172
194
|
componentDidLoad() {
|
|
173
195
|
this.originalIonInput = this.ionInput;
|
|
174
196
|
this.positionElements();
|
|
@@ -367,8 +389,8 @@ const Searchbar = class {
|
|
|
367
389
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
368
390
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
369
391
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
370
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
371
|
-
return (h(Host, { key: '
|
|
392
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '357baebd94c44bd75fadaee6c43ca261cb36516d', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '38072b92ed12399960d85cf11742047380cf2e79', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
393
|
+
return (h(Host, { key: '6a76813d220a641865b75a5e9108e799d2e0837a', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
372
394
|
[mode]: true,
|
|
373
395
|
'searchbar-animated': animated,
|
|
374
396
|
'searchbar-disabled': this.disabled,
|
|
@@ -378,17 +400,19 @@ const Searchbar = class {
|
|
|
378
400
|
'searchbar-has-focus': this.focused,
|
|
379
401
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
380
402
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
381
|
-
}) }, h("div", { key: '
|
|
403
|
+
}) }, h("div", { key: '5fdabe22f96678dbd4e347decce679b207a12e87', class: "searchbar-input-container" }, h("input", Object.assign({ key: 'e577208d0133cc085ea247c4a17c07216aee7fde', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, h("ion-icon", { key: '1375dc21c565683ba9cb9adde08d3f20b40ffa79', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: '57b1941ffb96a8e657661181c9b145e969513375', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
382
404
|
/**
|
|
383
405
|
* This prevents mobile browsers from
|
|
384
406
|
* blurring the input when the clear
|
|
385
407
|
* button is activated.
|
|
386
408
|
*/
|
|
387
409
|
ev.preventDefault();
|
|
388
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
410
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '42c4dd4cdf30e72ebda989d0b8814ac2e7bce561', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
389
411
|
}
|
|
390
412
|
get el() { return getElement(this); }
|
|
391
413
|
static get watchers() { return {
|
|
414
|
+
"lang": ["onLangChanged"],
|
|
415
|
+
"dir": ["onDirChanged"],
|
|
392
416
|
"debounce": ["debounceChanged"],
|
|
393
417
|
"value": ["valueChanged"],
|
|
394
418
|
"showCancelButton": ["showCancelButtonChanged"]
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, d as createEvent, w as writeTask, h,
|
|
5
|
-
import { r as raf, a as addEventListener, b as removeEventListener, h as inheritAttributes } from './helpers-
|
|
4
|
+
import { r as registerInstance, d as createEvent, w as writeTask, h, f as Host, i as getElement, j as forceUpdate } from './index-5d6a0317.js';
|
|
5
|
+
import { r as raf, a as addEventListener, b as removeEventListener, h as inheritAttributes } from './helpers-eab4f597.js';
|
|
6
6
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
7
7
|
import { c as createColorClasses, h as hostContext } from './theme-01f3f29c.js';
|
|
8
|
-
import { b as getIonMode } from './ionic-global-
|
|
8
|
+
import { b as getIonMode } from './ionic-global-a589c12c.js';
|
|
9
9
|
|
|
10
10
|
const segmentIosCss = ":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:auto}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}";
|
|
11
11
|
const IonSegmentIosStyle0 = segmentIosCss;
|
|
@@ -426,14 +426,14 @@ const Segment = class {
|
|
|
426
426
|
}
|
|
427
427
|
render() {
|
|
428
428
|
const mode = getIonMode(this);
|
|
429
|
-
return (h(Host, { key: '
|
|
429
|
+
return (h(Host, { key: 'c11b46ad7311cf015402f3a6d4d58316d8d48faa', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
430
430
|
[mode]: true,
|
|
431
431
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
432
432
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
433
433
|
'segment-activated': this.activated,
|
|
434
434
|
'segment-disabled': this.disabled,
|
|
435
435
|
'segment-scrollable': this.scrollable,
|
|
436
|
-
}) }, h("slot", { key: '
|
|
436
|
+
}) }, h("slot", { key: '47ef8ff809cc11ea27fda5116cae25540b0a6f92' })));
|
|
437
437
|
}
|
|
438
438
|
get el() { return getElement(this); }
|
|
439
439
|
static get watchers() { return {
|
|
@@ -521,7 +521,7 @@ const SegmentButton = class {
|
|
|
521
521
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
522
522
|
const mode = getIonMode(this);
|
|
523
523
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
524
|
-
return (h(Host, { key: '
|
|
524
|
+
return (h(Host, { key: '67fab48aa470e71df51854a12d9fc3d744435c8f', class: {
|
|
525
525
|
[mode]: true,
|
|
526
526
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
527
527
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -537,10 +537,10 @@ const SegmentButton = class {
|
|
|
537
537
|
'ion-activatable': true,
|
|
538
538
|
'ion-activatable-instant': true,
|
|
539
539
|
'ion-focusable': true,
|
|
540
|
-
} }, h("button", Object.assign({ key: '
|
|
540
|
+
} }, h("button", Object.assign({ key: 'dcc61cd35f1ff3535241c21630ae5f36166f6a7e', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '8ea97d13b245a0ac3a37d2452180e8638565f0c7', class: "button-inner" }, h("slot", { key: 'b6abce60c1fa41db06b7af8a4de026f7d940f8d4' })), mode === 'md' && h("ion-ripple-effect", null)), h("div", { key: '2ce136fd46ca6a8b8f2c3a681672a08c6d6c3657', part: "indicator", class: {
|
|
541
541
|
'segment-button-indicator': true,
|
|
542
542
|
'segment-button-indicator-animated': true,
|
|
543
|
-
} }, h("div", { key: '
|
|
543
|
+
} }, h("div", { key: 'eac73d7b71edeecb92b6cdfc5a489ce6413bfb60', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
544
544
|
}
|
|
545
545
|
get el() { return getElement(this); }
|
|
546
546
|
static get watchers() { return {
|