voyager-ionic-core 8.0.0-beta.1 → 8.0.0-beta.3
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/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/hardware-back-button.js +3 -3
- package/components/helpers.js +1 -54
- package/components/index9.js +1 -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.js +6 -6
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +3 -3
- package/components/ion-modal.js +3 -3
- 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 +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- 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 +34 -5
- 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 +27 -33
- 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 -5
- 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 +3 -3
- package/components/ion-toolbar.js +2 -2
- package/components/item.js +11 -92
- package/components/label.js +5 -5
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/overlays.js +61 -19
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +8 -4
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +1 -1
- package/components/radio.js +3 -3
- 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-58ecfe20.js} +1 -1
- package/dist/cjs/{app-globals-4d26cb5a.js → app-globals-e132c781.js} +1 -1
- package/dist/cjs/{button-active-e447f58b.js → button-active-60ecf64d.js} +1 -1
- 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/{hardware-back-button-4cb049f1.js → hardware-back-button-1c67a5a2.js} +5 -5
- package/dist/cjs/{helpers-b71ca811.js → helpers-71097d9c.js} +0 -54
- package/dist/cjs/{index-92bb95d6.js → index-14ae0c27.js} +4 -4
- package/dist/cjs/{index-bbc5b1f7.js → index-289297dc.js} +4 -4
- package/dist/cjs/{index-ea266398.js → index-2d21d526.js} +441 -12
- 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.cjs.js +11 -11
- package/dist/cjs/{input-shims-679d87bc.js → input-shims-77b14f24.js} +2 -2
- package/dist/cjs/{input.utils-5175aea1.js → input.utils-ca74d73a.js} +13 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +11 -11
- package/dist/cjs/ion-alert.cjs.entry.js +10 -10
- 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 +5 -5
- package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +7 -7
- 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 +83 -23
- package/dist/cjs/ion-fab_3.cjs.entry.js +9 -9
- 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.cjs.entry.js +10 -10
- package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-item_8.cjs.entry.js +23 -92
- package/dist/cjs/ion-loading.cjs.entry.js +9 -9
- package/dist/cjs/ion-menu_3.cjs.entry.js +14 -14
- package/dist/cjs/ion-modal.cjs.entry.js +12 -12
- 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 +11 -7
- package/dist/cjs/ion-picker.cjs.entry.js +4 -4
- package/dist/cjs/ion-popover.cjs.entry.js +10 -10
- package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-range.cjs.entry.js +140 -48
- package/dist/cjs/ion-refresher_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
- 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 +31 -7
- package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +17 -17
- 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 -9
- package/dist/cjs/ion-toast.cjs.entry.js +9 -9
- package/dist/cjs/ion-toggle.cjs.entry.js +6 -6
- package/dist/cjs/{ionic-global-59aa7eb7.js → ionic-global-5762eca9.js} +1 -1
- package/dist/cjs/ionic.cjs.js +28 -5
- package/dist/cjs/{ios.transition-997fe325.js → ios.transition-8e0ca8ed.js} +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-2b76c2c6.js → md.transition-5d0f134b.js} +4 -4
- package/dist/cjs/{notch-controller-8e0ae870.js → notch-controller-0042ad49.js} +1 -1
- package/dist/cjs/{overlays-3d02b54f.js → overlays-30b83581.js} +64 -22
- package/dist/cjs/{status-tap-3761c2d4.js → status-tap-dc3b8fda.js} +3 -3
- package/dist/cjs/{swipe-back-5b71fc62.js → swipe-back-49825f1f.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -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 +77 -0
- 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 +4 -2
- package/dist/collection/components/input/input.js +3 -3
- package/dist/collection/components/input/input.md.css +6 -4
- 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/slot/input.e2e.js +8 -0
- package/dist/collection/components/item/item.ios.css +5 -197
- package/dist/collection/components/item/item.js +4 -166
- package/dist/collection/components/item/item.md.css +7 -360
- 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.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- 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 +2 -2
- 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/list.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 +12 -6
- 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 +3 -3
- 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 +8 -4
- 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 +2 -2
- 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/radio.js +3 -3
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +1 -1
- package/dist/collection/components/radio-group/radio-group.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/slot/textarea.e2e.js +8 -0
- package/dist/collection/components/textarea/textarea.ios.css +4 -22
- package/dist/collection/components/textarea/textarea.js +2 -2
- 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/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/overlays.js +61 -19
- 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 +159 -190
- package/dist/esm/{animation-a4acf150.js → animation-6a3c0abb.js} +1 -1
- package/dist/esm/{app-globals-cfb6787b.js → app-globals-80842d68.js} +1 -1
- package/dist/esm/{button-active-454e5c57.js → button-active-c6e18fac.js} +1 -1
- 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/{hardware-back-button-3a14f99e.js → hardware-back-button-fb295e3a.js} +5 -5
- package/dist/esm/{helpers-ae74b3c9.js → helpers-eab4f597.js} +1 -54
- package/dist/esm/{index-66871a1d.js → index-044b5a86.js} +1 -1
- package/dist/esm/{index-5847f4a9.js → index-136e99c8.js} +4 -4
- package/dist/esm/{index-9b6d6df3.js → index-5d6a0317.js} +441 -13
- package/dist/esm/{index-03086279.js → index-95a691d4.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-56c1f603.js → input-shims-196afa11.js} +2 -2
- package/dist/esm/{input.utils-482fc893.js → input.utils-426cc674.js} +13 -1
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +11 -11
- package/dist/esm/ion-alert.entry.js +10 -10
- 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 +5 -5
- package/dist/esm/ion-backdrop.entry.js +3 -3
- package/dist/esm/ion-breadcrumb_2.entry.js +7 -7
- 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 +83 -23
- package/dist/esm/ion-fab_3.entry.js +9 -9
- 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.entry.js +10 -10
- package/dist/esm/ion-item-option_3.entry.js +8 -8
- package/dist/esm/ion-item_8.entry.js +23 -92
- package/dist/esm/ion-loading.entry.js +9 -9
- package/dist/esm/ion-menu_3.entry.js +14 -14
- package/dist/esm/ion-modal.entry.js +12 -12
- 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 +11 -7
- package/dist/esm/ion-picker.entry.js +4 -4
- package/dist/esm/ion-popover.entry.js +10 -10
- package/dist/esm/ion-progress-bar.entry.js +4 -4
- package/dist/esm/ion-radio_2.entry.js +7 -7
- package/dist/esm/ion-range.entry.js +140 -48
- package/dist/esm/ion-refresher_2.entry.js +7 -7
- package/dist/esm/ion-reorder_2.entry.js +6 -6
- 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 +31 -7
- package/dist/esm/ion-segment_2.entry.js +8 -8
- package/dist/esm/ion-select_3.entry.js +17 -17
- 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 -9
- package/dist/esm/ion-toast.entry.js +9 -9
- package/dist/esm/ion-toggle.entry.js +6 -6
- package/dist/esm/{ionic-global-c976d684.js → ionic-global-a589c12c.js} +1 -1
- package/dist/esm/ionic.js +29 -6
- package/dist/esm/{ios.transition-a097dbf5.js → ios.transition-d1c8eea2.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-b4170ef7.js → md.transition-0d2de76d.js} +4 -4
- package/dist/esm/{notch-controller-18bf9f76.js → notch-controller-cff691e5.js} +1 -1
- package/dist/esm/{overlays-4ba3b255.js → overlays-d41f74ac.js} +64 -22
- package/dist/esm/{status-tap-7a12f017.js → status-tap-45595148.js} +3 -3
- package/dist/esm/{swipe-back-ae14449a.js → swipe-back-5aa5feeb.js} +1 -1
- package/dist/esm-es5/{animation-a4acf150.js → animation-6a3c0abb.js} +1 -1
- package/dist/esm-es5/app-globals-80842d68.js +4 -0
- package/dist/esm-es5/{button-active-454e5c57.js → button-active-c6e18fac.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/hardware-back-button-fb295e3a.js +4 -0
- package/dist/esm-es5/helpers-eab4f597.js +4 -0
- package/dist/esm-es5/{index-66871a1d.js → index-044b5a86.js} +1 -1
- package/dist/esm-es5/{index-5847f4a9.js → index-136e99c8.js} +1 -1
- package/dist/esm-es5/index-5d6a0317.js +5 -0
- package/dist/esm-es5/{index-03086279.js → index-95a691d4.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-56c1f603.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.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-c976d684.js → ionic-global-a589c12c.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-a097dbf5.js → ios.transition-d1c8eea2.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-0d2de76d.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-7a12f017.js → status-tap-45595148.js} +1 -1
- package/dist/esm-es5/{swipe-back-ae14449a.js → swipe-back-5aa5feeb.js} +1 -1
- package/dist/html.html-data.json +25 -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-97135baa.entry.js → p-0051ceb9.entry.js} +1 -1
- package/dist/ionic/p-00a6f38d.entry.js +4 -0
- package/dist/ionic/p-02a803dc.entry.js +4 -0
- package/dist/ionic/{p-5aa60929.js → p-031c5621.js} +1 -1
- package/dist/ionic/p-07759435.system.js +4 -0
- package/dist/ionic/{p-a06af32c.system.js → p-08a8971e.system.js} +1 -1
- package/dist/ionic/p-0e4c9e45.system.js +4 -0
- package/dist/ionic/{p-f7ed6a44.system.entry.js → p-103ec049.system.entry.js} +1 -1
- package/dist/ionic/p-1685d81c.system.entry.js +4 -0
- package/dist/ionic/{p-cb944b1a.system.js → p-17043350.system.js} +1 -1
- package/dist/ionic/{p-1bca443b.system.entry.js → p-17ee2784.system.entry.js} +1 -1
- package/dist/ionic/p-1807190c.entry.js +4 -0
- package/dist/ionic/{p-cb0e4100.system.entry.js → p-185db19b.system.entry.js} +2 -2
- package/dist/ionic/{p-602494c6.entry.js → p-1a8bbd2e.entry.js} +1 -1
- package/dist/ionic/{p-8aeed464.system.entry.js → p-1bb1ef31.system.entry.js} +1 -1
- package/dist/ionic/p-1c801dd4.entry.js +4 -0
- package/dist/ionic/{p-466bdeae.entry.js → p-2130b526.entry.js} +1 -1
- package/dist/ionic/{p-1c436e95.system.entry.js → p-219c17cf.system.entry.js} +1 -1
- package/dist/ionic/p-22b5c888.system.entry.js +4 -0
- package/dist/ionic/{p-1a5ed3fe.system.entry.js → p-23838a94.system.entry.js} +1 -1
- package/dist/ionic/{p-27594fc2.js → p-239906f1.js} +1 -1
- package/dist/ionic/{p-8d50220b.system.js → p-23cff6c1.system.js} +1 -1
- package/dist/ionic/p-23efc001.entry.js +4 -0
- package/dist/ionic/{p-a6cc38d4.js → p-244f56fd.js} +1 -1
- package/dist/ionic/p-27c668a0.entry.js +4 -0
- package/dist/ionic/{p-09872ec8.system.entry.js → p-282bd5f9.system.entry.js} +1 -1
- package/dist/ionic/{p-dcfc297d.system.entry.js → p-2852c537.system.entry.js} +1 -1
- package/dist/ionic/{p-85464e28.system.entry.js → p-294c47cd.system.entry.js} +2 -2
- package/dist/ionic/p-29ef3b9b.entry.js +4 -0
- package/dist/ionic/p-2bb65deb.entry.js +4 -0
- package/dist/ionic/{p-8a50f8d6.system.js → p-2cc2c631.system.js} +1 -1
- package/dist/ionic/p-2f53c3eb.js +4 -0
- package/dist/ionic/{p-7b795aee.system.entry.js → p-2f6bc4a9.system.entry.js} +1 -1
- package/dist/ionic/{p-6d95943d.system.js → p-30dfa360.system.js} +1 -1
- package/dist/ionic/{p-c880c809.js → p-325c61a4.js} +1 -1
- package/dist/ionic/p-34c50a42.system.entry.js +4 -0
- package/dist/ionic/p-364044f0.js +4 -0
- package/dist/ionic/{p-e38b3c29.entry.js → p-3785c067.entry.js} +1 -1
- package/dist/ionic/p-3ae4a2a2.entry.js +4 -0
- package/dist/ionic/p-3cd3214e.entry.js +4 -0
- package/dist/ionic/{p-874510e9.system.entry.js → p-3e6e53fe.system.entry.js} +1 -1
- package/dist/ionic/{p-d4d0538c.system.entry.js → p-40976b1c.system.entry.js} +1 -1
- package/dist/ionic/{p-fd94dd20.system.entry.js → p-42fecf9c.system.entry.js} +1 -1
- package/dist/ionic/{p-7541ca9f.system.entry.js → p-43c751c6.system.entry.js} +1 -1
- package/dist/ionic/p-4a3055ef.system.js +4 -0
- package/dist/ionic/{p-f6a6b7ef.system.entry.js → p-4d325220.system.entry.js} +1 -1
- package/dist/ionic/p-4d361c89.entry.js +4 -0
- package/dist/ionic/p-54c31b4f.entry.js +4 -0
- package/dist/ionic/{p-7665bbbc.system.entry.js → p-5a277399.system.entry.js} +1 -1
- package/dist/ionic/{p-1600d68c.system.entry.js → p-5ac63b19.system.entry.js} +1 -1
- package/dist/ionic/{p-ad2b216a.system.entry.js → p-5b2951c1.system.entry.js} +1 -1
- package/dist/ionic/p-5b52897c.js +4 -0
- package/dist/ionic/{p-e64277c4.entry.js → p-5e39b9d8.entry.js} +1 -1
- package/dist/ionic/{p-a5b7a286.entry.js → p-610f0e12.entry.js} +1 -1
- package/dist/ionic/p-668607c2.system.js +4 -0
- package/dist/ionic/{p-c3a2e5cc.entry.js → p-66e50777.entry.js} +1 -1
- package/dist/ionic/{p-4825e380.entry.js → p-6a448415.entry.js} +1 -1
- package/dist/ionic/{p-95e14c7b.system.js → p-6a62da36.system.js} +1 -1
- package/dist/ionic/p-6a888b39.system.entry.js +4 -0
- package/dist/ionic/{p-3410a9cb.system.js → p-6d9f8fac.system.js} +1 -1
- package/dist/ionic/{p-4c2cac66.entry.js → p-7002bc75.entry.js} +1 -1
- package/dist/ionic/{p-454b36f7.system.entry.js → p-70c278c4.system.entry.js} +1 -1
- package/dist/ionic/{p-7b44b443.entry.js → p-7680d0ec.entry.js} +1 -1
- package/dist/ionic/{p-1fa738c4.js → p-78b3da77.js} +1 -1
- package/dist/ionic/{p-cd366840.system.entry.js → p-7adde43c.system.entry.js} +1 -1
- package/dist/ionic/{p-03f63663.system.js → p-7c7e495d.system.js} +1 -1
- package/dist/ionic/p-7d29dff0.system.entry.js +4 -0
- package/dist/ionic/p-7d4d9c40.system.entry.js +4 -0
- package/dist/ionic/p-7e7d534c.js +4 -0
- package/dist/ionic/{p-a8cc0027.system.js → p-853bd866.system.js} +1 -1
- package/dist/ionic/{p-91a72ad6.system.entry.js → p-85f43165.system.entry.js} +2 -2
- package/dist/ionic/p-86c17a09.entry.js +4 -0
- package/dist/ionic/p-8a881b39.entry.js +4 -0
- package/dist/ionic/p-8dd3d9c3.system.entry.js +4 -0
- package/dist/ionic/{p-77982637.entry.js → p-8ed900e4.entry.js} +1 -1
- package/dist/ionic/{p-da83d833.system.entry.js → p-91567c90.system.entry.js} +1 -1
- package/dist/ionic/{p-aaca8dd4.system.entry.js → p-92b05b70.system.entry.js} +1 -1
- package/dist/ionic/{p-6fd26009.js → p-976c7c54.js} +1 -1
- package/dist/ionic/p-978f4710.js +4 -0
- package/dist/ionic/{p-65d3f0e9.js → p-98c86cdd.js} +1 -1
- package/dist/ionic/p-9b5d033a.system.entry.js +4 -0
- package/dist/ionic/{p-30892e0c.system.js → p-9e3177a5.system.js} +1 -1
- package/dist/ionic/{p-3bac30bf.system.entry.js → p-9e6a5e3d.system.entry.js} +1 -1
- package/dist/ionic/{p-ddc4e717.entry.js → p-a0e8f913.entry.js} +1 -1
- package/dist/ionic/p-a3dae2ce.js +4 -0
- package/dist/ionic/{p-1a68de09.entry.js → p-a4c287f9.entry.js} +1 -1
- package/dist/ionic/{p-8d4d902b.js → p-a600a3e3.js} +1 -1
- package/dist/ionic/{p-2b3e0d99.system.entry.js → p-a6b8342e.system.entry.js} +1 -1
- package/dist/ionic/p-a88b41d1.system.entry.js +4 -0
- package/dist/ionic/{p-f71082f7.entry.js → p-a94092b9.entry.js} +1 -1
- package/dist/ionic/p-ac6db4c2.js +4 -0
- package/dist/ionic/{p-c5b77291.system.entry.js → p-af2e3481.system.entry.js} +1 -1
- package/dist/ionic/{p-eec92f77.system.js → p-af9256a0.system.js} +1 -1
- package/dist/ionic/{p-780ff3b5.system.entry.js → p-b0aaa59a.system.entry.js} +1 -1
- package/dist/ionic/{p-f16bfd53.entry.js → p-b141e253.entry.js} +1 -1
- package/dist/ionic/{p-ded27993.entry.js → p-b1d9b078.entry.js} +1 -1
- package/dist/ionic/{p-feb66f6f.entry.js → p-ba0290d1.entry.js} +1 -1
- package/dist/ionic/{p-add93c7a.entry.js → p-bb5eba12.entry.js} +1 -1
- package/dist/ionic/{p-82f5375e.system.entry.js → p-bb608006.system.entry.js} +1 -1
- package/dist/ionic/p-c385e49d.entry.js +4 -0
- package/dist/ionic/p-c3f5d0e7.js +4 -0
- package/dist/ionic/{p-81869a97.system.entry.js → p-c41e0b5f.system.entry.js} +1 -1
- package/dist/ionic/p-c629d22b.system.js +5 -0
- package/dist/ionic/{p-15708968.js → p-c6f9f3eb.js} +1 -1
- package/dist/ionic/{p-d504bc71.entry.js → p-c8383c20.entry.js} +1 -1
- package/dist/ionic/{p-1e0a18a1.system.entry.js → p-cbf0a046.system.entry.js} +1 -1
- package/dist/ionic/{p-ebe0be94.system.entry.js → p-d0496c22.system.entry.js} +1 -1
- package/dist/ionic/{p-1ed99eba.system.entry.js → p-d286cfbe.system.entry.js} +1 -1
- package/dist/ionic/{p-b4bb9cd0.system.entry.js → p-d372938e.system.entry.js} +1 -1
- package/dist/ionic/{p-afcd4f49.entry.js → p-d4d17d47.entry.js} +1 -1
- package/dist/ionic/{p-6ef5f4da.entry.js → p-d5ab02f5.entry.js} +1 -1
- package/dist/ionic/p-d60342e3.js +4 -0
- package/dist/ionic/{p-816476b0.system.js → p-d704f798.system.js} +1 -1
- package/dist/ionic/{p-942c19cb.entry.js → p-d8090ce4.entry.js} +1 -1
- package/dist/ionic/p-d80b7e31.system.js +4 -0
- package/dist/ionic/{p-62f15daf.system.entry.js → p-d8ffe61c.system.entry.js} +2 -2
- package/dist/ionic/{p-25850474.entry.js → p-da5bbd4f.entry.js} +1 -1
- package/dist/ionic/{p-7cc01684.js → p-dad515dc.js} +1 -1
- package/dist/ionic/{p-5c3991e3.system.entry.js → p-db7fcadb.system.entry.js} +1 -1
- package/dist/ionic/{p-5a055df4.entry.js → p-dd9168f3.entry.js} +1 -1
- package/dist/ionic/{p-1ea88de9.system.js → p-e0d52ee3.system.js} +2 -2
- package/dist/ionic/p-e3611c25.entry.js +4 -0
- package/dist/ionic/p-e4ca94bd.js +4 -0
- package/dist/ionic/p-e7b0b64d.system.js +4 -0
- package/dist/ionic/{p-7a3fa32c.entry.js → p-ebc5b98f.entry.js} +1 -1
- package/dist/ionic/p-ec34194e.system.entry.js +4 -0
- package/dist/ionic/p-ec613387.entry.js +4 -0
- package/dist/ionic/{p-85cb4733.entry.js → p-ed3463be.entry.js} +1 -1
- package/dist/ionic/p-f1d1524c.entry.js +4 -0
- package/dist/ionic/p-f687573e.system.js +4 -0
- package/dist/ionic/p-f7a1318d.system.entry.js +4 -0
- package/dist/ionic/{p-8e83b7f1.system.entry.js → p-f7af3144.system.entry.js} +2 -2
- package/dist/ionic/p-f8502e85.js +5 -0
- package/dist/ionic/{p-a71dc777.system.js → p-f85a4df5.system.js} +1 -1
- package/dist/ionic/{p-f3d6085c.entry.js → p-fa8ee4c3.entry.js} +1 -1
- package/dist/ionic/{p-1ce172db.entry.js → p-fb870c48.entry.js} +1 -1
- package/dist/ionic/{p-c38c5dfc.system.js → p-fe1fd531.system.js} +1 -1
- package/dist/ionic/p-fe35b5c0.entry.js +4 -0
- 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/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 -2
- package/dist/types/components/range/range.d.ts +29 -0
- package/dist/types/components/searchbar/searchbar.d.ts +38 -0
- package/dist/types/components/toggle/toggle.d.ts +1 -1
- package/dist/types/components.d.ts +40 -48
- 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/test/playwright/generator.d.ts +3 -3
- package/hydrate/index.js +524 -428
- 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/utils/forms/form-controller.js +0 -61
- package/dist/collection/utils/test/aria.spec.js +0 -80
- package/dist/esm-es5/app-globals-cfb6787b.js +0 -4
- package/dist/esm-es5/data-691286f1.js +0 -4
- package/dist/esm-es5/hardware-back-button-3a14f99e.js +0 -4
- package/dist/esm-es5/helpers-ae74b3c9.js +0 -4
- package/dist/esm-es5/index-9b6d6df3.js +0 -5
- package/dist/esm-es5/input.utils-482fc893.js +0 -4
- package/dist/esm-es5/md.transition-b4170ef7.js +0 -4
- package/dist/esm-es5/overlays-4ba3b255.js +0 -4
- package/dist/ionic/p-060fdc03.entry.js +0 -4
- package/dist/ionic/p-069388dd.system.js +0 -4
- package/dist/ionic/p-06fccad7.entry.js +0 -4
- package/dist/ionic/p-0ca35c1d.system.entry.js +0 -4
- package/dist/ionic/p-134d4936.system.js +0 -4
- package/dist/ionic/p-19e79fe8.entry.js +0 -4
- package/dist/ionic/p-19f6ac6c.system.js +0 -4
- package/dist/ionic/p-22d2a891.js +0 -4
- package/dist/ionic/p-239262e4.system.entry.js +0 -4
- package/dist/ionic/p-300b2cf1.entry.js +0 -4
- package/dist/ionic/p-32bd7ed7.entry.js +0 -4
- package/dist/ionic/p-41970e75.entry.js +0 -4
- package/dist/ionic/p-43322b14.js +0 -4
- package/dist/ionic/p-4523be60.entry.js +0 -4
- package/dist/ionic/p-4a8f173c.system.js +0 -4
- package/dist/ionic/p-4ad02639.entry.js +0 -4
- package/dist/ionic/p-5289aade.js +0 -4
- package/dist/ionic/p-5afb6e48.entry.js +0 -4
- package/dist/ionic/p-60efe117.js +0 -5
- package/dist/ionic/p-6657681b.system.entry.js +0 -4
- package/dist/ionic/p-66e6860f.system.js +0 -4
- package/dist/ionic/p-6e1fa025.js +0 -4
- package/dist/ionic/p-6e5eeb35.entry.js +0 -4
- package/dist/ionic/p-6f6d56f1.entry.js +0 -4
- package/dist/ionic/p-70218e28.system.entry.js +0 -4
- package/dist/ionic/p-72bc2484.system.entry.js +0 -4
- package/dist/ionic/p-760dbd5e.js +0 -4
- package/dist/ionic/p-82d459c1.js +0 -4
- package/dist/ionic/p-842777af.js +0 -4
- package/dist/ionic/p-8ab308e9.js +0 -4
- package/dist/ionic/p-8ba5912c.entry.js +0 -4
- package/dist/ionic/p-8d602214.system.js +0 -5
- package/dist/ionic/p-8e3ee444.system.entry.js +0 -4
- package/dist/ionic/p-9382ebab.entry.js +0 -4
- package/dist/ionic/p-96391c0e.entry.js +0 -4
- package/dist/ionic/p-9d6f351e.js +0 -4
- package/dist/ionic/p-9e3b3f15.system.js +0 -4
- package/dist/ionic/p-a375c9f6.system.entry.js +0 -4
- package/dist/ionic/p-a58ec401.js +0 -4
- package/dist/ionic/p-b1a9e85a.system.entry.js +0 -4
- package/dist/ionic/p-baa409f1.system.entry.js +0 -4
- package/dist/ionic/p-bcb58446.entry.js +0 -4
- package/dist/ionic/p-c2336a9e.system.entry.js +0 -4
- package/dist/ionic/p-cbc3840e.entry.js +0 -4
- package/dist/ionic/p-cf852615.system.entry.js +0 -4
- package/dist/ionic/p-e15eda82.system.js +0 -4
- package/dist/ionic/p-e470466e.entry.js +0 -4
- package/dist/ionic/p-ef99a759.entry.js +0 -4
- package/dist/ionic/p-fc5ddbf6.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
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
const NAMESPACE = 'ionic';
|
|
5
|
-
const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Virtual DOM patching algorithm based on Snabbdom by
|
|
@@ -975,14 +974,44 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
975
974
|
if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
|
|
976
975
|
{
|
|
977
976
|
// we've got an old slot vnode and the wrapper is being replaced
|
|
978
|
-
// so let's move the old slot content
|
|
979
|
-
|
|
977
|
+
// so let's move the old slot content to the root of the element currently being rendered
|
|
978
|
+
relocateToHostRoot(oldParentVNode.$elm$);
|
|
980
979
|
}
|
|
981
980
|
}
|
|
982
981
|
}
|
|
983
982
|
}
|
|
984
983
|
return elm;
|
|
985
984
|
};
|
|
985
|
+
/**
|
|
986
|
+
* Relocates all child nodes of an element that were a part of a previous slot relocation
|
|
987
|
+
* to the root of the Stencil component currently being rendered. This happens when a parent
|
|
988
|
+
* element of a slot reference node dynamically changes and triggers a re-render. We cannot use
|
|
989
|
+
* `putBackInOriginalLocation()` because that may relocate nodes to elements that will not be re-rendered
|
|
990
|
+
* and so they will not be relocated again.
|
|
991
|
+
*
|
|
992
|
+
* @param parentElm The element potentially containing relocated nodes.
|
|
993
|
+
*/
|
|
994
|
+
const relocateToHostRoot = (parentElm) => {
|
|
995
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
996
|
+
const host = parentElm.closest(hostTagName.toLowerCase());
|
|
997
|
+
if (host != null) {
|
|
998
|
+
const contentRefNode = Array.from(host.childNodes).find((ref) => ref['s-cr']);
|
|
999
|
+
const childNodeArray = Array.from(parentElm.childNodes);
|
|
1000
|
+
// If we have a content ref, we need to invert the order of the nodes we're relocating
|
|
1001
|
+
// to preserve the correct order of elements in the DOM on future relocations
|
|
1002
|
+
for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {
|
|
1003
|
+
// Only relocate nodes that were slotted in
|
|
1004
|
+
if (childNode['s-sh'] != null) {
|
|
1005
|
+
host.insertBefore(childNode, contentRefNode !== null && contentRefNode !== void 0 ? contentRefNode : null);
|
|
1006
|
+
// Reset so we can correctly move the node around again.
|
|
1007
|
+
childNode['s-sh'] = undefined;
|
|
1008
|
+
// Need to tell the render pipeline to check to relocate slot content again
|
|
1009
|
+
checkSlotRelocate = true;
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
1014
|
+
};
|
|
986
1015
|
const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
987
1016
|
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
988
1017
|
const oldSlotChildNodes = parentElm.childNodes;
|
|
@@ -1388,7 +1417,12 @@ const patch = (oldVNode, newVNode, isInitialRender = false) => {
|
|
|
1388
1417
|
isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
|
|
1389
1418
|
}
|
|
1390
1419
|
{
|
|
1391
|
-
if (tag === 'slot' && !useNativeShadowDom)
|
|
1420
|
+
if (tag === 'slot' && !useNativeShadowDom) {
|
|
1421
|
+
if (oldVNode.$name$ !== newVNode.$name$) {
|
|
1422
|
+
newVNode.$elm$['s-sn'] = newVNode.$name$ || '';
|
|
1423
|
+
relocateToHostRoot(newVNode.$elm$.parentElement);
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1392
1426
|
else {
|
|
1393
1427
|
// either this is the first render of an element OR it's an update
|
|
1394
1428
|
// AND we already know it's possible it could have changed
|
|
@@ -1523,7 +1557,7 @@ const markSlotContentForRelocation = (elm) => {
|
|
|
1523
1557
|
if (!node['s-cn'] &&
|
|
1524
1558
|
!node['s-nr'] &&
|
|
1525
1559
|
node['s-hn'] !== childNode['s-hn'] &&
|
|
1526
|
-
(!
|
|
1560
|
+
(!node['s-sh'] || node['s-sh'] !== childNode['s-hn'])) {
|
|
1527
1561
|
// if `node` is located in the slot that `childNode` refers to (via the
|
|
1528
1562
|
// `'s-sn'` property) then we need to relocate it from it's current spot
|
|
1529
1563
|
// (under the host element parent) to the right slot location
|
|
@@ -1632,7 +1666,7 @@ const nullifyVNodeRefs = (vNode) => {
|
|
|
1632
1666
|
* @param isInitialLoad whether or not this is the first call after page load
|
|
1633
1667
|
*/
|
|
1634
1668
|
const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
1635
|
-
var _a, _b, _c, _d;
|
|
1669
|
+
var _a, _b, _c, _d, _e;
|
|
1636
1670
|
const hostElm = hostRef.$hostElement$;
|
|
1637
1671
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1638
1672
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
@@ -1718,7 +1752,7 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1718
1752
|
// to make sure they get inserted into their new how in the same order they were declared in their original location.
|
|
1719
1753
|
//
|
|
1720
1754
|
// TODO(STENCIL-914): Remove `experimentalSlotFixes` check
|
|
1721
|
-
{
|
|
1755
|
+
if ((insertBeforeNode && insertBeforeNode.nodeType === 1 /* NODE_TYPE.ElementNode */)) {
|
|
1722
1756
|
let orgLocationNode = (_a = nodeToRelocate['s-ol']) === null || _a === void 0 ? void 0 : _a.previousSibling;
|
|
1723
1757
|
while (orgLocationNode) {
|
|
1724
1758
|
let refNode = (_b = orgLocationNode['s-nr']) !== null && _b !== void 0 ? _b : null;
|
|
@@ -1738,10 +1772,6 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1738
1772
|
// since that the node to relocate
|
|
1739
1773
|
// has a different next sibling or parent relocated
|
|
1740
1774
|
if (nodeToRelocate !== insertBeforeNode) {
|
|
1741
|
-
if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
|
|
1742
|
-
// probably a component in the index.html that doesn't have its hostname set
|
|
1743
|
-
nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
|
|
1744
|
-
}
|
|
1745
1775
|
// Add it back to the dom but in its new home
|
|
1746
1776
|
// If we get to this point and `insertBeforeNode` is `null`, that means
|
|
1747
1777
|
// we're just going to append the node as the last child of the parent. Passing
|
|
@@ -1779,6 +1809,21 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1779
1809
|
// always reset
|
|
1780
1810
|
relocateNodes.length = 0;
|
|
1781
1811
|
}
|
|
1812
|
+
// Hide any elements that were projected through, but don't have a slot to go to.
|
|
1813
|
+
// Only an issue if there were no "slots" rendered. Otherwise, nodes are hidden correctly.
|
|
1814
|
+
// This _only_ happens for `scoped` components!
|
|
1815
|
+
if (cmpMeta.$flags$ & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
|
|
1816
|
+
for (const childNode of rootVnode.$elm$.childNodes) {
|
|
1817
|
+
if (childNode['s-hn'] !== hostTagName && !childNode['s-sh']) {
|
|
1818
|
+
// Store the initial value of `hidden` so we can reset it later when
|
|
1819
|
+
// moving nodes around.
|
|
1820
|
+
if (isInitialLoad && childNode['s-ih'] == null) {
|
|
1821
|
+
childNode['s-ih'] = (_e = childNode.hidden) !== null && _e !== void 0 ? _e : false;
|
|
1822
|
+
}
|
|
1823
|
+
childNode.hidden = true;
|
|
1824
|
+
}
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1782
1827
|
// Clear the content ref so we don't create a memory leak
|
|
1783
1828
|
contentRef = undefined;
|
|
1784
1829
|
};
|
|
@@ -2267,7 +2312,8 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
2267
2312
|
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
2268
2313
|
// Let the runtime know that the component has been initialized
|
|
2269
2314
|
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
2270
|
-
|
|
2315
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
2316
|
+
if (bundleId) {
|
|
2271
2317
|
// lazy loaded components
|
|
2272
2318
|
// request the component's implementation to be
|
|
2273
2319
|
// wired up with the host element
|
|
@@ -2314,6 +2360,14 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
2314
2360
|
endNewInstance();
|
|
2315
2361
|
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
2316
2362
|
}
|
|
2363
|
+
else {
|
|
2364
|
+
// sync constructor component
|
|
2365
|
+
Cstr = elm.constructor;
|
|
2366
|
+
// wait for the CustomElementRegistry to mark the component as ready before setting `isWatchReady`. Otherwise,
|
|
2367
|
+
// watchers may fire prematurely if `customElements.get()`/`customElements.whenDefined()` resolves _before_
|
|
2368
|
+
// Stencil has completed instantiating the component.
|
|
2369
|
+
customElements.whenDefined(cmpMeta.$tagName$).then(() => (hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */));
|
|
2370
|
+
}
|
|
2317
2371
|
if (Cstr.style) {
|
|
2318
2372
|
// this component has styles but we haven't registered them yet
|
|
2319
2373
|
let style = Cstr.style;
|
|
@@ -2461,6 +2515,370 @@ const disconnectedCallback = async (elm) => {
|
|
|
2461
2515
|
}
|
|
2462
2516
|
}
|
|
2463
2517
|
};
|
|
2518
|
+
const patchPseudoShadowDom = (hostElementPrototype, descriptorPrototype) => {
|
|
2519
|
+
patchCloneNode(hostElementPrototype);
|
|
2520
|
+
patchSlotAppendChild(hostElementPrototype);
|
|
2521
|
+
patchSlotAppend(hostElementPrototype);
|
|
2522
|
+
patchSlotPrepend(hostElementPrototype);
|
|
2523
|
+
patchSlotInsertAdjacentElement(hostElementPrototype);
|
|
2524
|
+
patchSlotInsertAdjacentHTML(hostElementPrototype);
|
|
2525
|
+
patchSlotInsertAdjacentText(hostElementPrototype);
|
|
2526
|
+
patchTextContent(hostElementPrototype);
|
|
2527
|
+
patchChildSlotNodes(hostElementPrototype, descriptorPrototype);
|
|
2528
|
+
patchSlotRemoveChild(hostElementPrototype);
|
|
2529
|
+
};
|
|
2530
|
+
const patchCloneNode = (HostElementPrototype) => {
|
|
2531
|
+
const orgCloneNode = HostElementPrototype.cloneNode;
|
|
2532
|
+
HostElementPrototype.cloneNode = function (deep) {
|
|
2533
|
+
const srcNode = this;
|
|
2534
|
+
const isShadowDom = srcNode.shadowRoot && supportsShadow ;
|
|
2535
|
+
const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);
|
|
2536
|
+
if (!isShadowDom && deep) {
|
|
2537
|
+
let i = 0;
|
|
2538
|
+
let slotted, nonStencilNode;
|
|
2539
|
+
const stencilPrivates = [
|
|
2540
|
+
's-id',
|
|
2541
|
+
's-cr',
|
|
2542
|
+
's-lr',
|
|
2543
|
+
's-rc',
|
|
2544
|
+
's-sc',
|
|
2545
|
+
's-p',
|
|
2546
|
+
's-cn',
|
|
2547
|
+
's-sr',
|
|
2548
|
+
's-sn',
|
|
2549
|
+
's-hn',
|
|
2550
|
+
's-ol',
|
|
2551
|
+
's-nr',
|
|
2552
|
+
's-si',
|
|
2553
|
+
];
|
|
2554
|
+
for (; i < srcNode.childNodes.length; i++) {
|
|
2555
|
+
slotted = srcNode.childNodes[i]['s-nr'];
|
|
2556
|
+
nonStencilNode = stencilPrivates.every((privateField) => !srcNode.childNodes[i][privateField]);
|
|
2557
|
+
if (slotted) {
|
|
2558
|
+
if (clonedNode.__appendChild) {
|
|
2559
|
+
clonedNode.__appendChild(slotted.cloneNode(true));
|
|
2560
|
+
}
|
|
2561
|
+
else {
|
|
2562
|
+
clonedNode.appendChild(slotted.cloneNode(true));
|
|
2563
|
+
}
|
|
2564
|
+
}
|
|
2565
|
+
if (nonStencilNode) {
|
|
2566
|
+
clonedNode.appendChild(srcNode.childNodes[i].cloneNode(true));
|
|
2567
|
+
}
|
|
2568
|
+
}
|
|
2569
|
+
}
|
|
2570
|
+
return clonedNode;
|
|
2571
|
+
};
|
|
2572
|
+
};
|
|
2573
|
+
/**
|
|
2574
|
+
* Patches the `appendChild` method on a `scoped` Stencil component.
|
|
2575
|
+
* The patch will attempt to find a slot with the same name as the node being appended
|
|
2576
|
+
* and insert it into the slot reference if found. Otherwise, it falls-back to the original
|
|
2577
|
+
* `appendChild` method.
|
|
2578
|
+
*
|
|
2579
|
+
* @param HostElementPrototype The Stencil component to be patched
|
|
2580
|
+
*/
|
|
2581
|
+
const patchSlotAppendChild = (HostElementPrototype) => {
|
|
2582
|
+
HostElementPrototype.__appendChild = HostElementPrototype.appendChild;
|
|
2583
|
+
HostElementPrototype.appendChild = function (newChild) {
|
|
2584
|
+
const slotName = (newChild['s-sn'] = getSlotName(newChild));
|
|
2585
|
+
const slotNode = getHostSlotNode(this.childNodes, slotName);
|
|
2586
|
+
if (slotNode) {
|
|
2587
|
+
const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);
|
|
2588
|
+
const appendAfter = slotChildNodes[slotChildNodes.length - 1];
|
|
2589
|
+
const insertedNode = appendAfter.parentNode.insertBefore(newChild, appendAfter.nextSibling);
|
|
2590
|
+
// Check if there is fallback content that should be hidden
|
|
2591
|
+
updateFallbackSlotVisibility(this);
|
|
2592
|
+
// Force a re-render of the host element
|
|
2593
|
+
forceUpdate(this);
|
|
2594
|
+
return insertedNode;
|
|
2595
|
+
}
|
|
2596
|
+
return this.__appendChild(newChild);
|
|
2597
|
+
};
|
|
2598
|
+
};
|
|
2599
|
+
/**
|
|
2600
|
+
* Patches the `removeChild` method on a `scoped` Stencil component.
|
|
2601
|
+
* This patch attempts to remove the specified node from a slot reference
|
|
2602
|
+
* if the slot exists. Otherwise, it falls-back to the original `removeChild` method.
|
|
2603
|
+
*
|
|
2604
|
+
* @param ElementPrototype The Stencil component to be patched
|
|
2605
|
+
*/
|
|
2606
|
+
const patchSlotRemoveChild = (ElementPrototype) => {
|
|
2607
|
+
ElementPrototype.__removeChild = ElementPrototype.removeChild;
|
|
2608
|
+
ElementPrototype.removeChild = function (toRemove) {
|
|
2609
|
+
if (toRemove && typeof toRemove['s-sn'] !== 'undefined') {
|
|
2610
|
+
const slotNode = getHostSlotNode(this.childNodes, toRemove['s-sn']);
|
|
2611
|
+
if (slotNode) {
|
|
2612
|
+
// Get all slot content
|
|
2613
|
+
const slotChildNodes = getHostSlotChildNodes(slotNode, toRemove['s-sn']);
|
|
2614
|
+
// See if any of the slotted content matches the node to remove
|
|
2615
|
+
const existingNode = slotChildNodes.find((n) => n === toRemove);
|
|
2616
|
+
if (existingNode) {
|
|
2617
|
+
existingNode.remove();
|
|
2618
|
+
// Check if there is fallback content that should be displayed if that
|
|
2619
|
+
// was the last node in the slot
|
|
2620
|
+
updateFallbackSlotVisibility(this);
|
|
2621
|
+
return;
|
|
2622
|
+
}
|
|
2623
|
+
}
|
|
2624
|
+
}
|
|
2625
|
+
return this.__removeChild(toRemove);
|
|
2626
|
+
};
|
|
2627
|
+
};
|
|
2628
|
+
/**
|
|
2629
|
+
* Patches the `prepend` method for a slotted node inside a scoped component.
|
|
2630
|
+
*
|
|
2631
|
+
* @param HostElementPrototype the `Element` to be patched
|
|
2632
|
+
*/
|
|
2633
|
+
const patchSlotPrepend = (HostElementPrototype) => {
|
|
2634
|
+
const originalPrepend = HostElementPrototype.prepend;
|
|
2635
|
+
HostElementPrototype.prepend = function (...newChildren) {
|
|
2636
|
+
newChildren.forEach((newChild) => {
|
|
2637
|
+
if (typeof newChild === 'string') {
|
|
2638
|
+
newChild = this.ownerDocument.createTextNode(newChild);
|
|
2639
|
+
}
|
|
2640
|
+
const slotName = (newChild['s-sn'] = getSlotName(newChild));
|
|
2641
|
+
const slotNode = getHostSlotNode(this.childNodes, slotName);
|
|
2642
|
+
if (slotNode) {
|
|
2643
|
+
const slotPlaceholder = document.createTextNode('');
|
|
2644
|
+
slotPlaceholder['s-nr'] = newChild;
|
|
2645
|
+
slotNode['s-cr'].parentNode.__appendChild(slotPlaceholder);
|
|
2646
|
+
newChild['s-ol'] = slotPlaceholder;
|
|
2647
|
+
const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);
|
|
2648
|
+
const appendAfter = slotChildNodes[0];
|
|
2649
|
+
return appendAfter.parentNode.insertBefore(newChild, appendAfter.nextSibling);
|
|
2650
|
+
}
|
|
2651
|
+
if (newChild.nodeType === 1 && !!newChild.getAttribute('slot')) {
|
|
2652
|
+
newChild.hidden = true;
|
|
2653
|
+
}
|
|
2654
|
+
return originalPrepend.call(this, newChild);
|
|
2655
|
+
});
|
|
2656
|
+
};
|
|
2657
|
+
};
|
|
2658
|
+
/**
|
|
2659
|
+
* Patches the `append` method for a slotted node inside a scoped component. The patched method uses
|
|
2660
|
+
* `appendChild` under-the-hood while creating text nodes for any new children that passed as bare strings.
|
|
2661
|
+
*
|
|
2662
|
+
* @param HostElementPrototype the `Element` to be patched
|
|
2663
|
+
*/
|
|
2664
|
+
const patchSlotAppend = (HostElementPrototype) => {
|
|
2665
|
+
HostElementPrototype.append = function (...newChildren) {
|
|
2666
|
+
newChildren.forEach((newChild) => {
|
|
2667
|
+
if (typeof newChild === 'string') {
|
|
2668
|
+
newChild = this.ownerDocument.createTextNode(newChild);
|
|
2669
|
+
}
|
|
2670
|
+
this.appendChild(newChild);
|
|
2671
|
+
});
|
|
2672
|
+
};
|
|
2673
|
+
};
|
|
2674
|
+
/**
|
|
2675
|
+
* Patches the `insertAdjacentHTML` method for a slotted node inside a scoped component. Specifically,
|
|
2676
|
+
* we only need to patch the behavior for the specific `beforeend` and `afterbegin` positions so the element
|
|
2677
|
+
* gets inserted into the DOM in the correct location.
|
|
2678
|
+
*
|
|
2679
|
+
* @param HostElementPrototype the `Element` to be patched
|
|
2680
|
+
*/
|
|
2681
|
+
const patchSlotInsertAdjacentHTML = (HostElementPrototype) => {
|
|
2682
|
+
const originalInsertAdjacentHtml = HostElementPrototype.insertAdjacentHTML;
|
|
2683
|
+
HostElementPrototype.insertAdjacentHTML = function (position, text) {
|
|
2684
|
+
if (position !== 'afterbegin' && position !== 'beforeend') {
|
|
2685
|
+
return originalInsertAdjacentHtml.call(this, position, text);
|
|
2686
|
+
}
|
|
2687
|
+
const container = this.ownerDocument.createElement('_');
|
|
2688
|
+
let node;
|
|
2689
|
+
container.innerHTML = text;
|
|
2690
|
+
if (position === 'afterbegin') {
|
|
2691
|
+
while ((node = container.firstChild)) {
|
|
2692
|
+
this.prepend(node);
|
|
2693
|
+
}
|
|
2694
|
+
}
|
|
2695
|
+
else if (position === 'beforeend') {
|
|
2696
|
+
while ((node = container.firstChild)) {
|
|
2697
|
+
this.append(node);
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
};
|
|
2701
|
+
};
|
|
2702
|
+
/**
|
|
2703
|
+
* Patches the `insertAdjacentText` method for a slotted node inside a scoped component. Specifically,
|
|
2704
|
+
* we only need to patch the behavior for the specific `beforeend` and `afterbegin` positions so the text node
|
|
2705
|
+
* gets inserted into the DOM in the correct location.
|
|
2706
|
+
*
|
|
2707
|
+
* @param HostElementPrototype the `Element` to be patched
|
|
2708
|
+
*/
|
|
2709
|
+
const patchSlotInsertAdjacentText = (HostElementPrototype) => {
|
|
2710
|
+
HostElementPrototype.insertAdjacentText = function (position, text) {
|
|
2711
|
+
this.insertAdjacentHTML(position, text);
|
|
2712
|
+
};
|
|
2713
|
+
};
|
|
2714
|
+
/**
|
|
2715
|
+
* Patches the `insertAdjacentElement` method for a slotted node inside a scoped component. Specifically,
|
|
2716
|
+
* we only need to patch the behavior for the specific `beforeend` and `afterbegin` positions so the element
|
|
2717
|
+
* gets inserted into the DOM in the correct location.
|
|
2718
|
+
*
|
|
2719
|
+
* @param HostElementPrototype the `Element` to be patched
|
|
2720
|
+
*/
|
|
2721
|
+
const patchSlotInsertAdjacentElement = (HostElementPrototype) => {
|
|
2722
|
+
const originalInsertAdjacentElement = HostElementPrototype.insertAdjacentElement;
|
|
2723
|
+
HostElementPrototype.insertAdjacentElement = function (position, element) {
|
|
2724
|
+
if (position !== 'afterbegin' && position !== 'beforeend') {
|
|
2725
|
+
return originalInsertAdjacentElement.call(this, position, element);
|
|
2726
|
+
}
|
|
2727
|
+
if (position === 'afterbegin') {
|
|
2728
|
+
this.prepend(element);
|
|
2729
|
+
return element;
|
|
2730
|
+
}
|
|
2731
|
+
else if (position === 'beforeend') {
|
|
2732
|
+
this.append(element);
|
|
2733
|
+
return element;
|
|
2734
|
+
}
|
|
2735
|
+
return element;
|
|
2736
|
+
};
|
|
2737
|
+
};
|
|
2738
|
+
/**
|
|
2739
|
+
* Patches the text content of an unnamed slotted node inside a scoped component
|
|
2740
|
+
* @param hostElementPrototype the `Element` to be patched
|
|
2741
|
+
*/
|
|
2742
|
+
const patchTextContent = (hostElementPrototype) => {
|
|
2743
|
+
const descriptor = Object.getOwnPropertyDescriptor(Node.prototype, 'textContent');
|
|
2744
|
+
Object.defineProperty(hostElementPrototype, '__textContent', descriptor);
|
|
2745
|
+
{
|
|
2746
|
+
// Patch `textContent` to mimic shadow root behavior
|
|
2747
|
+
Object.defineProperty(hostElementPrototype, 'textContent', {
|
|
2748
|
+
// To mimic shadow root behavior, we need to return the text content of all
|
|
2749
|
+
// nodes in a slot reference node
|
|
2750
|
+
get() {
|
|
2751
|
+
const slotRefNodes = getAllChildSlotNodes(this.childNodes);
|
|
2752
|
+
const textContent = slotRefNodes
|
|
2753
|
+
.map((node) => {
|
|
2754
|
+
var _a, _b;
|
|
2755
|
+
const text = [];
|
|
2756
|
+
// Need to get the text content of all nodes in the slot reference node
|
|
2757
|
+
let slotContent = node.nextSibling;
|
|
2758
|
+
while (slotContent && slotContent['s-sn'] === node['s-sn']) {
|
|
2759
|
+
if (slotContent.nodeType === 3 /* NODE_TYPES.TEXT_NODE */ || slotContent.nodeType === 1 /* NODE_TYPES.ELEMENT_NODE */) {
|
|
2760
|
+
text.push((_b = (_a = slotContent.textContent) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : '');
|
|
2761
|
+
}
|
|
2762
|
+
slotContent = slotContent.nextSibling;
|
|
2763
|
+
}
|
|
2764
|
+
return text.filter((ref) => ref !== '').join(' ');
|
|
2765
|
+
})
|
|
2766
|
+
.filter((text) => text !== '')
|
|
2767
|
+
.join(' ');
|
|
2768
|
+
// Pad the string to return
|
|
2769
|
+
return ' ' + textContent + ' ';
|
|
2770
|
+
},
|
|
2771
|
+
// To mimic shadow root behavior, we need to overwrite all nodes in a slot
|
|
2772
|
+
// reference node. If a default slot reference node exists, the text content will be
|
|
2773
|
+
// placed there. Otherwise, the new text node will be hidden
|
|
2774
|
+
set(value) {
|
|
2775
|
+
const slotRefNodes = getAllChildSlotNodes(this.childNodes);
|
|
2776
|
+
slotRefNodes.forEach((node) => {
|
|
2777
|
+
// Remove the existing content of the slot
|
|
2778
|
+
let slotContent = node.nextSibling;
|
|
2779
|
+
while (slotContent && slotContent['s-sn'] === node['s-sn']) {
|
|
2780
|
+
const tmp = slotContent;
|
|
2781
|
+
slotContent = slotContent.nextSibling;
|
|
2782
|
+
tmp.remove();
|
|
2783
|
+
}
|
|
2784
|
+
// If this is a default slot, add the text node in the slot location.
|
|
2785
|
+
// Otherwise, destroy the slot reference node
|
|
2786
|
+
if (node['s-sn'] === '') {
|
|
2787
|
+
const textNode = this.ownerDocument.createTextNode(value);
|
|
2788
|
+
textNode['s-sn'] = '';
|
|
2789
|
+
node.parentElement.insertBefore(textNode, node.nextSibling);
|
|
2790
|
+
}
|
|
2791
|
+
else {
|
|
2792
|
+
node.remove();
|
|
2793
|
+
}
|
|
2794
|
+
});
|
|
2795
|
+
},
|
|
2796
|
+
});
|
|
2797
|
+
}
|
|
2798
|
+
};
|
|
2799
|
+
const patchChildSlotNodes = (elm, cmpMeta) => {
|
|
2800
|
+
class FakeNodeList extends Array {
|
|
2801
|
+
item(n) {
|
|
2802
|
+
return this[n];
|
|
2803
|
+
}
|
|
2804
|
+
}
|
|
2805
|
+
// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
2806
|
+
if (cmpMeta.$flags$ & 8 /* CMP_FLAGS.needsShadowDomShim */) {
|
|
2807
|
+
const childNodesFn = elm.__lookupGetter__('childNodes');
|
|
2808
|
+
Object.defineProperty(elm, 'children', {
|
|
2809
|
+
get() {
|
|
2810
|
+
return this.childNodes.map((n) => n.nodeType === 1);
|
|
2811
|
+
},
|
|
2812
|
+
});
|
|
2813
|
+
Object.defineProperty(elm, 'childElementCount', {
|
|
2814
|
+
get() {
|
|
2815
|
+
return elm.children.length;
|
|
2816
|
+
},
|
|
2817
|
+
});
|
|
2818
|
+
Object.defineProperty(elm, 'childNodes', {
|
|
2819
|
+
get() {
|
|
2820
|
+
const childNodes = childNodesFn.call(this);
|
|
2821
|
+
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0 &&
|
|
2822
|
+
getHostRef(this).$flags$ & 2 /* HOST_FLAGS.hasRendered */) {
|
|
2823
|
+
const result = new FakeNodeList();
|
|
2824
|
+
for (let i = 0; i < childNodes.length; i++) {
|
|
2825
|
+
const slot = childNodes[i]['s-nr'];
|
|
2826
|
+
if (slot) {
|
|
2827
|
+
result.push(slot);
|
|
2828
|
+
}
|
|
2829
|
+
}
|
|
2830
|
+
return result;
|
|
2831
|
+
}
|
|
2832
|
+
return FakeNodeList.from(childNodes);
|
|
2833
|
+
},
|
|
2834
|
+
});
|
|
2835
|
+
}
|
|
2836
|
+
};
|
|
2837
|
+
/**
|
|
2838
|
+
* Recursively finds all slot reference nodes ('s-sr') in a series of child nodes.
|
|
2839
|
+
*
|
|
2840
|
+
* @param childNodes The set of child nodes to search for slot reference nodes.
|
|
2841
|
+
* @returns An array of slot reference nodes.
|
|
2842
|
+
*/
|
|
2843
|
+
const getAllChildSlotNodes = (childNodes) => {
|
|
2844
|
+
const slotRefNodes = [];
|
|
2845
|
+
for (const childNode of Array.from(childNodes)) {
|
|
2846
|
+
if (childNode['s-sr']) {
|
|
2847
|
+
slotRefNodes.push(childNode);
|
|
2848
|
+
}
|
|
2849
|
+
slotRefNodes.push(...getAllChildSlotNodes(childNode.childNodes));
|
|
2850
|
+
}
|
|
2851
|
+
return slotRefNodes;
|
|
2852
|
+
};
|
|
2853
|
+
const getSlotName = (node) => node['s-sn'] || (node.nodeType === 1 && node.getAttribute('slot')) || '';
|
|
2854
|
+
/**
|
|
2855
|
+
* Recursively searches a series of child nodes for a slot with the provided name.
|
|
2856
|
+
* @param childNodes the nodes to search for a slot with a specific name.
|
|
2857
|
+
* @param slotName the name of the slot to match on.
|
|
2858
|
+
* @returns a reference to the slot node that matches the provided name, `null` otherwise
|
|
2859
|
+
*/
|
|
2860
|
+
const getHostSlotNode = (childNodes, slotName) => {
|
|
2861
|
+
let i = 0;
|
|
2862
|
+
let childNode;
|
|
2863
|
+
for (; i < childNodes.length; i++) {
|
|
2864
|
+
childNode = childNodes[i];
|
|
2865
|
+
if (childNode['s-sr'] && childNode['s-sn'] === slotName) {
|
|
2866
|
+
return childNode;
|
|
2867
|
+
}
|
|
2868
|
+
childNode = getHostSlotNode(childNode.childNodes, slotName);
|
|
2869
|
+
if (childNode) {
|
|
2870
|
+
return childNode;
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
return null;
|
|
2874
|
+
};
|
|
2875
|
+
const getHostSlotChildNodes = (n, slotName) => {
|
|
2876
|
+
const childNodes = [n];
|
|
2877
|
+
while ((n = n.nextSibling) && n['s-sn'] === slotName) {
|
|
2878
|
+
childNodes.push(n);
|
|
2879
|
+
}
|
|
2880
|
+
return childNodes;
|
|
2881
|
+
};
|
|
2464
2882
|
const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
2465
2883
|
var _a;
|
|
2466
2884
|
const endBootstrap = createTime();
|
|
@@ -2557,6 +2975,14 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2557
2975
|
return getHostRef(this).$onReadyPromise$;
|
|
2558
2976
|
}
|
|
2559
2977
|
};
|
|
2978
|
+
// TODO(STENCIL-914): this check and `else` block can go away and be replaced by just the `scoped` check
|
|
2979
|
+
{
|
|
2980
|
+
// This check is intentionally not combined with the surrounding `experimentalSlotFixes` check
|
|
2981
|
+
// since, moving forward, we only want to patch the pseudo shadow DOM when the component is scoped
|
|
2982
|
+
if (cmpMeta.$flags$ & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
|
|
2983
|
+
patchPseudoShadowDom(HostElement.prototype, cmpMeta);
|
|
2984
|
+
}
|
|
2985
|
+
}
|
|
2560
2986
|
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
2561
2987
|
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
2562
2988
|
cmpTags.push(tagName);
|
|
@@ -2738,6 +3164,8 @@ const styles = /*@__PURE__*/ new Map();
|
|
|
2738
3164
|
const modeResolutionChain = [];
|
|
2739
3165
|
const win = typeof window !== 'undefined' ? window : {};
|
|
2740
3166
|
const doc = win.document || { head: {} };
|
|
3167
|
+
const H = (win.HTMLElement || class {
|
|
3168
|
+
});
|
|
2741
3169
|
const plt = {
|
|
2742
3170
|
$flags$: 0,
|
|
2743
3171
|
$resourcesUrl$: '',
|
|
@@ -2819,4 +3247,4 @@ const nextTick = (cb) => promiseResolve().then(cb);
|
|
|
2819
3247
|
const readTask = /*@__PURE__*/ queueTask(queueDomReads, false);
|
|
2820
3248
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
2821
3249
|
|
|
2822
|
-
export { Build as B,
|
|
3250
|
+
export { Build as B, H, setPlatformHelpers as a, bootstrapLazy as b, setMode as c, createEvent as d, readTask as e, Host as f, getMode as g, h, getElement as i, forceUpdate as j, getAssetPath as k, promiseResolve as p, registerInstance as r, setNonce as s, writeTask as w };
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-
|
|
5
|
+
import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-fb295e3a.js';
|
|
6
6
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
7
|
-
import { c as componentOnReady } from './helpers-
|
|
8
|
-
import { b as getIonMode } from './ionic-global-
|
|
9
|
-
import { c as createAnimation } from './animation-
|
|
7
|
+
import { c as componentOnReady } from './helpers-eab4f597.js';
|
|
8
|
+
import { b as getIonMode } from './ionic-global-a589c12c.js';
|
|
9
|
+
import { c as createAnimation } from './animation-6a3c0abb.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* baseAnimation
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import {
|
|
5
|
+
import { p as now, q as pointerCoord } from './helpers-eab4f597.js';
|
|
6
6
|
|
|
7
7
|
const startTapClick = (config) => {
|
|
8
8
|
if (doc === undefined) {
|
package/dist/esm/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
export { c as createAnimation } from './animation-
|
|
5
|
-
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-
|
|
6
|
-
export { iosTransitionAnimation } from './ios.transition-
|
|
7
|
-
export { mdTransitionAnimation } from './md.transition-
|
|
4
|
+
export { c as createAnimation } from './animation-6a3c0abb.js';
|
|
5
|
+
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-136e99c8.js';
|
|
6
|
+
export { iosTransitionAnimation } from './ios.transition-d1c8eea2.js';
|
|
7
|
+
export { mdTransitionAnimation } from './md.transition-0d2de76d.js';
|
|
8
8
|
export { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
|
|
9
9
|
export { createGesture } from './index-39782642.js';
|
|
10
|
-
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-
|
|
11
|
-
export { c as componentOnReady } from './helpers-
|
|
10
|
+
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-a589c12c.js';
|
|
11
|
+
export { c as componentOnReady } from './helpers-eab4f597.js';
|
|
12
12
|
export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-49c88215.js';
|
|
13
13
|
export { o as openURL } from './theme-01f3f29c.js';
|
|
14
|
-
export { m as menuController } from './index-
|
|
15
|
-
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-
|
|
14
|
+
export { m as menuController } from './index-95a691d4.js';
|
|
15
|
+
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-d41f74ac.js';
|
|
16
16
|
import './index-a5d50daf.js';
|
|
17
|
-
import './index-
|
|
17
|
+
import './index-5d6a0317.js';
|
|
18
18
|
import './gesture-controller-314a54f6.js';
|
|
19
|
-
import './hardware-back-button-
|
|
19
|
+
import './hardware-back-button-fb295e3a.js';
|
|
20
20
|
import './index-9b0d46f4.js';
|
|
21
|
-
import './framework-delegate-
|
|
21
|
+
import './framework-delegate-3dede018.js';
|
|
22
22
|
|
|
23
23
|
const IonicSlides = (opts) => {
|
|
24
24
|
const { swiper, extendParams } = opts;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { w as win, d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import { g as getScrollElement, c as scrollByPoint, f as findClosestIonContent } from './index-
|
|
6
|
-
import { a as addEventListener, b as removeEventListener, r as raf, c as componentOnReady } from './helpers-
|
|
5
|
+
import { g as getScrollElement, c as scrollByPoint, f as findClosestIonContent } from './index-044b5a86.js';
|
|
6
|
+
import { a as addEventListener, b as removeEventListener, r as raf, c as componentOnReady } from './helpers-eab4f597.js';
|
|
7
7
|
import { a as KeyboardResize, K as Keyboard } from './keyboard-73175e24.js';
|
|
8
8
|
import './index-9b0d46f4.js';
|
|
9
9
|
import './capacitor-59395cbd.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { w as win } from './index-a5d50daf.js';
|
|
5
|
-
import { r as raf } from './helpers-
|
|
5
|
+
import { r as raf } from './helpers-eab4f597.js';
|
|
6
6
|
import { a as printIonError } from './index-9b0d46f4.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -47,6 +47,18 @@ const createSlotMutationController = (el, slotName, mutationCallback) => {
|
|
|
47
47
|
});
|
|
48
48
|
hostMutationObserver.observe(el, {
|
|
49
49
|
childList: true,
|
|
50
|
+
/**
|
|
51
|
+
* This fixes an issue with the `ion-input` and
|
|
52
|
+
* `ion-textarea` not re-rendering in some cases
|
|
53
|
+
* when using the label slot functionality.
|
|
54
|
+
*
|
|
55
|
+
* HTML element patches in Stencil that are enabled
|
|
56
|
+
* by the `experimentalSlotFixes` flag in Stencil v4
|
|
57
|
+
* result in DOM manipulations that won't trigger
|
|
58
|
+
* the current mutation observer configuration and
|
|
59
|
+
* callback.
|
|
60
|
+
*/
|
|
61
|
+
subtree: true,
|
|
50
62
|
});
|
|
51
63
|
}
|
|
52
64
|
/**
|