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
|
@@ -95,10 +95,6 @@
|
|
|
95
95
|
*
|
|
96
96
|
* @prop --ripple-color: Color of the item ripple effect
|
|
97
97
|
*
|
|
98
|
-
* @prop --highlight-height: The height of the highlight on the item. Only applies to inputs and textareas using the legacy form syntax. DEPRECATED: Highlights can be styled on `ion-input` or `ion-textarea` when using the modern form syntax.
|
|
99
|
-
* @prop --highlight-color-focused: The color of the highlight on the item when focused. Only applies to inputs and textareas using the legacy form syntax. DEPRECATED: Highlights can be styled on `ion-input` or `ion-textarea` when using the modern form syntax.
|
|
100
|
-
* @prop --highlight-color-valid: The color of the highlight on the item when valid. Only applies to inputs and textareas using the legacy form syntax. DEPRECATED: Highlights can be styled on `ion-input` or `ion-textarea` when using the modern form syntax.
|
|
101
|
-
* @prop --highlight-color-invalid: The color of the highlight on the item when invalid. Only applies to inputs and textareas using the legacy form syntax. DEPRECATED: Highlights can be styled on `ion-input` or `ion-textarea` when using the modern form syntax.
|
|
102
98
|
*/
|
|
103
99
|
--border-radius: 0px;
|
|
104
100
|
--border-width: 0px;
|
|
@@ -113,8 +109,6 @@
|
|
|
113
109
|
--inner-padding-start: 0px;
|
|
114
110
|
--inner-padding-end: 0px;
|
|
115
111
|
--inner-box-shadow: none;
|
|
116
|
-
--show-full-highlight: 0;
|
|
117
|
-
--show-inset-highlight: 0;
|
|
118
112
|
--detail-icon-color: initial;
|
|
119
113
|
--detail-icon-font-size: 1.25em;
|
|
120
114
|
--detail-icon-opacity: 0.25;
|
|
@@ -137,13 +131,13 @@
|
|
|
137
131
|
box-sizing: border-box;
|
|
138
132
|
}
|
|
139
133
|
|
|
140
|
-
:host(.ion-color
|
|
134
|
+
:host(.ion-color) .item-native {
|
|
141
135
|
background: var(--ion-color-base);
|
|
142
136
|
color: var(--ion-color-contrast);
|
|
143
137
|
}
|
|
144
138
|
|
|
145
|
-
:host(.ion-color
|
|
146
|
-
:host(.ion-color
|
|
139
|
+
:host(.ion-color) .item-native,
|
|
140
|
+
:host(.ion-color) .item-inner {
|
|
147
141
|
border-color: var(--ion-color-shade);
|
|
148
142
|
}
|
|
149
143
|
|
|
@@ -277,7 +271,8 @@
|
|
|
277
271
|
z-index: -1;
|
|
278
272
|
}
|
|
279
273
|
|
|
280
|
-
button,
|
|
274
|
+
button,
|
|
275
|
+
a {
|
|
281
276
|
cursor: pointer;
|
|
282
277
|
user-select: none;
|
|
283
278
|
-webkit-user-drag: none;
|
|
@@ -325,37 +320,6 @@ button, a {
|
|
|
325
320
|
}
|
|
326
321
|
}
|
|
327
322
|
|
|
328
|
-
.item-bottom {
|
|
329
|
-
margin-left: 0;
|
|
330
|
-
margin-right: 0;
|
|
331
|
-
margin-top: 0;
|
|
332
|
-
margin-bottom: 0;
|
|
333
|
-
padding-top: 0;
|
|
334
|
-
padding-bottom: 0;
|
|
335
|
-
/* stylelint-disable */
|
|
336
|
-
padding-left: calc(var(--padding-start) + var(--ion-safe-area-left, 0px));
|
|
337
|
-
padding-right: calc(var(--inner-padding-end) + var(--ion-safe-area-right, 0px));
|
|
338
|
-
/* stylelint-enable */
|
|
339
|
-
display: flex;
|
|
340
|
-
justify-content: space-between;
|
|
341
|
-
}
|
|
342
|
-
:host-context([dir=rtl]) .item-bottom {
|
|
343
|
-
padding-left: calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));
|
|
344
|
-
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
[dir=rtl] .item-bottom {
|
|
348
|
-
padding-left: calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));
|
|
349
|
-
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
@supports selector(:dir(rtl)) {
|
|
353
|
-
.item-bottom:dir(rtl) {
|
|
354
|
-
padding-left: calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));
|
|
355
|
-
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
|
|
359
323
|
.item-detail-icon {
|
|
360
324
|
/**
|
|
361
325
|
* IonItem applies its own end padding. However,
|
|
@@ -423,101 +387,6 @@ button, a {
|
|
|
423
387
|
flex-direction: column;
|
|
424
388
|
}
|
|
425
389
|
|
|
426
|
-
.item-highlight,
|
|
427
|
-
.item-inner-highlight {
|
|
428
|
-
left: 0;
|
|
429
|
-
right: 0;
|
|
430
|
-
top: 0;
|
|
431
|
-
bottom: 0;
|
|
432
|
-
border-radius: inherit;
|
|
433
|
-
position: absolute;
|
|
434
|
-
width: 100%;
|
|
435
|
-
height: 100%;
|
|
436
|
-
transform: scaleX(0);
|
|
437
|
-
transition: transform 200ms, border-bottom-width 200ms;
|
|
438
|
-
z-index: 2;
|
|
439
|
-
box-sizing: border-box;
|
|
440
|
-
pointer-events: none;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
:host(.item-interactive.ion-focused),
|
|
444
|
-
:host(.item-interactive.item-has-focus),
|
|
445
|
-
:host(.item-interactive.ion-touched.ion-invalid) {
|
|
446
|
-
--full-highlight-height: calc(var(--highlight-height) * var(--show-full-highlight));
|
|
447
|
-
--inset-highlight-height: calc(var(--highlight-height) * var(--show-inset-highlight));
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
:host(.ion-focused) .item-highlight,
|
|
451
|
-
:host(.ion-focused) .item-inner-highlight,
|
|
452
|
-
:host(.item-has-focus) .item-highlight,
|
|
453
|
-
:host(.item-has-focus) .item-inner-highlight {
|
|
454
|
-
transform: scaleX(1);
|
|
455
|
-
border-style: var(--border-style);
|
|
456
|
-
border-color: var(--highlight-background);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
:host(.ion-focused) .item-highlight,
|
|
460
|
-
:host(.item-has-focus) .item-highlight {
|
|
461
|
-
border-width: var(--full-highlight-height);
|
|
462
|
-
opacity: var(--show-full-highlight);
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
:host(.ion-focused) .item-inner-highlight,
|
|
466
|
-
:host(.item-has-focus) .item-inner-highlight {
|
|
467
|
-
border-bottom-width: var(--inset-highlight-height);
|
|
468
|
-
opacity: var(--show-inset-highlight);
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
:host(.ion-focused.item-fill-solid) .item-highlight,
|
|
472
|
-
:host(.item-has-focus.item-fill-solid) .item-highlight {
|
|
473
|
-
border-width: calc(var(--full-highlight-height) - 1px);
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
:host(.ion-focused) .item-inner-highlight,
|
|
477
|
-
:host(.ion-focused:not(.item-fill-outline)) .item-highlight,
|
|
478
|
-
:host(.item-has-focus) .item-inner-highlight,
|
|
479
|
-
:host(.item-has-focus:not(.item-fill-outline)) .item-highlight {
|
|
480
|
-
border-top: none;
|
|
481
|
-
border-right: none;
|
|
482
|
-
border-left: none;
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
:host(.item-interactive.ion-focused),
|
|
486
|
-
:host(.item-interactive.item-has-focus) {
|
|
487
|
-
--highlight-background: var(--highlight-color-focused);
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
:host(.item-interactive.ion-valid) {
|
|
491
|
-
--highlight-background: var(--highlight-color-valid);
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
:host(.item-interactive.ion-invalid) {
|
|
495
|
-
--highlight-background: var(--highlight-color-invalid);
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
:host(.item-interactive.ion-invalid) ::slotted([slot=helper]) {
|
|
499
|
-
display: none;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
::slotted([slot=error]) {
|
|
503
|
-
display: none;
|
|
504
|
-
color: var(--highlight-color-invalid);
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
:host(.item-interactive.ion-invalid) ::slotted([slot=error]) {
|
|
508
|
-
display: block;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
:host(:not(.item-label)) ::slotted(ion-datetime) {
|
|
512
|
-
--padding-start: 0;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
:host(.item-label-stacked) ::slotted(ion-datetime),
|
|
516
|
-
:host(.item-label-floating) ::slotted(ion-datetime) {
|
|
517
|
-
--padding-start: 0;
|
|
518
|
-
width: 100%;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
390
|
:host(.item-multiple-inputs) ::slotted(ion-checkbox),
|
|
522
391
|
:host(.item-multiple-inputs) ::slotted(ion-datetime),
|
|
523
392
|
:host(.item-multiple-inputs) ::slotted(ion-radio) {
|
|
@@ -537,35 +406,6 @@ ion-ripple-effect {
|
|
|
537
406
|
color: var(--ripple-color);
|
|
538
407
|
}
|
|
539
408
|
|
|
540
|
-
:host(.item-fill-solid) ::slotted([slot=start]),
|
|
541
|
-
:host(.item-fill-solid) ::slotted([slot=end]),
|
|
542
|
-
:host(.item-fill-outline) ::slotted([slot=start]),
|
|
543
|
-
:host(.item-fill-outline) ::slotted([slot=end]) {
|
|
544
|
-
align-self: center;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
::slotted([slot=helper]),
|
|
548
|
-
::slotted([slot=error]),
|
|
549
|
-
.item-counter {
|
|
550
|
-
padding-top: 5px;
|
|
551
|
-
font-size: 0.75rem;
|
|
552
|
-
z-index: 1;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
.item-counter {
|
|
556
|
-
-webkit-margin-start: auto;
|
|
557
|
-
margin-inline-start: auto;
|
|
558
|
-
color: var(--ion-color-step-550, var(--ion-background-color-step-550, #737373));
|
|
559
|
-
white-space: nowrap;
|
|
560
|
-
padding-inline-start: 16px;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
@media (prefers-reduced-motion: reduce) {
|
|
564
|
-
.item-highlight,
|
|
565
|
-
.item-inner-highlight {
|
|
566
|
-
transition: none;
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
409
|
/**
|
|
570
410
|
* Convert a font size to a dynamic font size.
|
|
571
411
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -646,11 +486,6 @@ ion-ripple-effect {
|
|
|
646
486
|
--background-hover-opacity: .04;
|
|
647
487
|
--border-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));
|
|
648
488
|
--color: var(--ion-item-color, var(--ion-text-color, #000));
|
|
649
|
-
--highlight-height: 0px;
|
|
650
|
-
--highlight-color-focused: var(--ion-color-primary, #0054e9);
|
|
651
|
-
--highlight-color-valid: var(--ion-color-success, #2dd55b);
|
|
652
|
-
--highlight-color-invalid: var(--ion-color-danger, #c5000f);
|
|
653
|
-
--bottom-padding-start: 0px;
|
|
654
489
|
font-size: 1rem;
|
|
655
490
|
}
|
|
656
491
|
|
|
@@ -668,45 +503,22 @@ ion-ripple-effect {
|
|
|
668
503
|
opacity: 0.12;
|
|
669
504
|
}
|
|
670
505
|
|
|
671
|
-
:host(.item-interactive) {
|
|
672
|
-
--show-full-highlight: 0;
|
|
673
|
-
--show-inset-highlight: 1;
|
|
674
|
-
}
|
|
675
|
-
|
|
676
506
|
:host(.item-lines-full) {
|
|
677
507
|
--border-width: 0px 0px 0.55px 0px;
|
|
678
|
-
--show-full-highlight: 1;
|
|
679
|
-
--show-inset-highlight: 0;
|
|
680
508
|
}
|
|
681
509
|
|
|
682
510
|
:host(.item-lines-inset) {
|
|
683
511
|
--inner-border-width: 0px 0px 0.55px 0px;
|
|
684
|
-
--show-full-highlight: 0;
|
|
685
|
-
--show-inset-highlight: 1;
|
|
686
512
|
}
|
|
687
513
|
|
|
688
514
|
:host(.item-lines-inset),
|
|
689
515
|
:host(.item-lines-none) {
|
|
690
516
|
--border-width: 0px;
|
|
691
|
-
--show-full-highlight: 0;
|
|
692
517
|
}
|
|
693
518
|
|
|
694
519
|
:host(.item-lines-full),
|
|
695
520
|
:host(.item-lines-none) {
|
|
696
521
|
--inner-border-width: 0px;
|
|
697
|
-
--show-inset-highlight: 0;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
.item-highlight,
|
|
701
|
-
.item-inner-highlight {
|
|
702
|
-
transition: none;
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
:host(.item-has-focus) .item-inner-highlight,
|
|
706
|
-
:host(.item-has-focus) .item-highlight {
|
|
707
|
-
border-top: none;
|
|
708
|
-
border-right: none;
|
|
709
|
-
border-left: none;
|
|
710
522
|
}
|
|
711
523
|
|
|
712
524
|
::slotted([slot=start]) {
|
|
@@ -784,8 +596,4 @@ ion-ripple-effect {
|
|
|
784
596
|
:host(.item-label-floating),
|
|
785
597
|
:host(.item-label-stacked) {
|
|
786
598
|
--min-height: 68px;
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
:host(.item-label-fixed) ::slotted(ion-datetime) {
|
|
790
|
-
--padding-start: 0;
|
|
791
599
|
}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Host, forceUpdate, h } from "@stencil/core";
|
|
5
5
|
import { inheritAttributes, raf } from "../../utils/helpers";
|
|
6
|
-
import { printIonError, printIonWarning } from "../../utils/logging/index";
|
|
7
6
|
import { createColorClasses, hostContext, openURL } from "../../utils/theme";
|
|
8
7
|
import { chevronForward } from "ionicons/icons";
|
|
9
8
|
import { getIonMode } from "../../global/ionic-global";
|
|
@@ -13,8 +12,6 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
13
12
|
* @slot - Content is placed between the named slots if provided without a slot.
|
|
14
13
|
* @slot start - Content is placed to the left of the item text in LTR, and to the right in RTL.
|
|
15
14
|
* @slot end - Content is placed to the right of the item text in LTR, and to the left in RTL.
|
|
16
|
-
* @slot helper - Content is placed under the item and displayed when no error is detected. **DEPRECATED** Use the "helperText" property on ion-input or ion-textarea instead.
|
|
17
|
-
* @slot error - Content is placed under the item and displayed when an error is detected. **DEPRECATED** Use the "errorText" property on ion-input or ion-textarea instead.
|
|
18
15
|
*
|
|
19
16
|
* @part native - The native HTML button, anchor or div element that wraps all child elements.
|
|
20
17
|
* @part detail-icon - The chevron icon for the item. Only applies when `detail="true"`.
|
|
@@ -32,31 +29,18 @@ export class Item {
|
|
|
32
29
|
this.detailIcon = chevronForward;
|
|
33
30
|
this.disabled = false;
|
|
34
31
|
this.download = undefined;
|
|
35
|
-
this.fill = undefined;
|
|
36
|
-
this.shape = undefined;
|
|
37
32
|
this.href = undefined;
|
|
38
33
|
this.rel = undefined;
|
|
39
34
|
this.lines = undefined;
|
|
40
|
-
this.counter = false;
|
|
41
35
|
this.routerAnimation = undefined;
|
|
42
36
|
this.routerDirection = 'forward';
|
|
43
37
|
this.target = undefined;
|
|
44
38
|
this.type = 'button';
|
|
45
|
-
this.counterFormatter = undefined;
|
|
46
|
-
this.counterString = undefined;
|
|
47
39
|
}
|
|
48
40
|
buttonChanged() {
|
|
49
41
|
// Update the focusable option when the button option is changed
|
|
50
42
|
this.focusable = this.isFocusable();
|
|
51
43
|
}
|
|
52
|
-
counterFormatterChanged() {
|
|
53
|
-
this.updateCounterOutput(this.getFirstInput());
|
|
54
|
-
}
|
|
55
|
-
handleIonInput(ev) {
|
|
56
|
-
if (this.counter && ev.target === this.getFirstInput()) {
|
|
57
|
-
this.updateCounterOutput(ev.target);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
44
|
labelColorChanged(ev) {
|
|
61
45
|
const { color } = this;
|
|
62
46
|
// There will be a conflict with item color if
|
|
@@ -91,36 +75,12 @@ export class Item {
|
|
|
91
75
|
}
|
|
92
76
|
}
|
|
93
77
|
connectedCallback() {
|
|
94
|
-
if (this.counter) {
|
|
95
|
-
this.updateCounterOutput(this.getFirstInput());
|
|
96
|
-
}
|
|
97
78
|
this.hasStartEl();
|
|
98
79
|
}
|
|
99
80
|
componentWillLoad() {
|
|
100
81
|
this.inheritedAriaAttributes = inheritAttributes(this.el, ['aria-label']);
|
|
101
82
|
}
|
|
102
83
|
componentDidLoad() {
|
|
103
|
-
const { el, counter, counterFormatter, fill, shape } = this;
|
|
104
|
-
const hasHelperSlot = el.querySelector('[slot="helper"]') !== null;
|
|
105
|
-
if (hasHelperSlot) {
|
|
106
|
-
printIonWarning('The "helper" slot has been deprecated in favor of using the "helperText" property on ion-input or ion-textarea.', el);
|
|
107
|
-
}
|
|
108
|
-
const hasErrorSlot = el.querySelector('[slot="error"]') !== null;
|
|
109
|
-
if (hasErrorSlot) {
|
|
110
|
-
printIonWarning('The "error" slot has been deprecated in favor of using the "errorText" property on ion-input or ion-textarea.', el);
|
|
111
|
-
}
|
|
112
|
-
if (counter === true) {
|
|
113
|
-
printIonWarning('The "counter" property has been deprecated in favor of using the "counter" property on ion-input or ion-textarea.', el);
|
|
114
|
-
}
|
|
115
|
-
if (counterFormatter !== undefined) {
|
|
116
|
-
printIonWarning('The "counterFormatter" property has been deprecated in favor of using the "counterFormatter" property on ion-input or ion-textarea.', el);
|
|
117
|
-
}
|
|
118
|
-
if (fill !== undefined) {
|
|
119
|
-
printIonWarning('The "fill" property has been deprecated in favor of using the "fill" property on ion-input or ion-textarea.', el);
|
|
120
|
-
}
|
|
121
|
-
if (shape !== undefined) {
|
|
122
|
-
printIonWarning('The "shape" property has been deprecated in favor of using the "shape" property on ion-input or ion-textarea.', el);
|
|
123
|
-
}
|
|
124
84
|
raf(() => {
|
|
125
85
|
this.setMultipleInputs();
|
|
126
86
|
this.focusable = this.isFocusable();
|
|
@@ -165,33 +125,6 @@ export class Item {
|
|
|
165
125
|
const focusableChild = this.el.querySelector('.ion-focusable');
|
|
166
126
|
return this.canActivate() || focusableChild !== null;
|
|
167
127
|
}
|
|
168
|
-
getFirstInput() {
|
|
169
|
-
const inputs = this.el.querySelectorAll('ion-input, ion-textarea');
|
|
170
|
-
return inputs[0];
|
|
171
|
-
}
|
|
172
|
-
updateCounterOutput(inputEl) {
|
|
173
|
-
var _a, _b;
|
|
174
|
-
const { counter, counterFormatter, defaultCounterFormatter } = this;
|
|
175
|
-
if (counter && !this.multipleInputs && (inputEl === null || inputEl === void 0 ? void 0 : inputEl.maxlength) !== undefined) {
|
|
176
|
-
const length = (_b = (_a = inputEl === null || inputEl === void 0 ? void 0 : inputEl.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
177
|
-
if (counterFormatter === undefined) {
|
|
178
|
-
this.counterString = defaultCounterFormatter(length, inputEl.maxlength);
|
|
179
|
-
}
|
|
180
|
-
else {
|
|
181
|
-
try {
|
|
182
|
-
this.counterString = counterFormatter(length, inputEl.maxlength);
|
|
183
|
-
}
|
|
184
|
-
catch (e) {
|
|
185
|
-
printIonError('Exception in provided `counterFormatter`.', e);
|
|
186
|
-
// Fallback to the default counter formatter when an exception happens
|
|
187
|
-
this.counterString = defaultCounterFormatter(length, inputEl.maxlength);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
defaultCounterFormatter(length, maxlength) {
|
|
193
|
-
return `${length} / ${maxlength}`;
|
|
194
|
-
}
|
|
195
128
|
hasStartEl() {
|
|
196
129
|
const startEl = this.el.querySelector('[slot="start"]');
|
|
197
130
|
if (startEl !== null) {
|
|
@@ -203,7 +136,7 @@ export class Item {
|
|
|
203
136
|
return controls[0];
|
|
204
137
|
}
|
|
205
138
|
render() {
|
|
206
|
-
const {
|
|
139
|
+
const { detail, detailIcon, download, labelColorStyles, lines, disabled, href, rel, target, routerAnimation, routerDirection, inheritedAriaAttributes, multipleInputs, } = this;
|
|
207
140
|
const childStyles = {};
|
|
208
141
|
const mode = getIonMode(this);
|
|
209
142
|
const clickable = this.isClickable();
|
|
@@ -263,20 +196,17 @@ export class Item {
|
|
|
263
196
|
Object.assign(childStyles, value);
|
|
264
197
|
});
|
|
265
198
|
const ariaDisabled = disabled || childStyles['item-interactive-disabled'] ? 'true' : null;
|
|
266
|
-
const fillValue = fill || 'none';
|
|
267
199
|
const inList = hostContext('ion-list', this.el) && !hostContext('ion-radio-group', this.el);
|
|
268
200
|
/**
|
|
269
201
|
* Inputs and textareas do not need to show a cursor pointer.
|
|
270
202
|
* However, other form controls such as checkboxes and radios do.
|
|
271
203
|
*/
|
|
272
204
|
const firstInteractiveNeedsPointerCursor = firstInteractive !== undefined && !['ION-INPUT', 'ION-TEXTAREA'].includes(firstInteractive.tagName);
|
|
273
|
-
return (h(Host, { key: '
|
|
205
|
+
return (h(Host, { key: '6fe6bae954259703482f175312a051ff1b315a95', "aria-disabled": ariaDisabled, class: Object.assign(Object.assign(Object.assign({}, childStyles), labelColorStyles), createColorClasses(this.color, {
|
|
274
206
|
item: true,
|
|
275
207
|
[mode]: true,
|
|
276
208
|
'item-lines-default': lines === undefined,
|
|
277
209
|
[`item-lines-${lines}`]: lines !== undefined,
|
|
278
|
-
[`item-fill-${fillValue}`]: true,
|
|
279
|
-
[`item-shape-${shape}`]: shape !== undefined,
|
|
280
210
|
'item-control-needs-pointer-cursor': firstInteractiveNeedsPointerCursor,
|
|
281
211
|
'item-disabled': disabled,
|
|
282
212
|
'in-list': inList,
|
|
@@ -284,7 +214,7 @@ export class Item {
|
|
|
284
214
|
'ion-activatable': canActivate,
|
|
285
215
|
'ion-focusable': this.focusable,
|
|
286
216
|
'item-rtl': document.dir === 'rtl',
|
|
287
|
-
})), role: inList ? 'listitem' : null }, h(TagType, Object.assign({ key: '
|
|
217
|
+
})), role: inList ? 'listitem' : null }, h(TagType, Object.assign({ key: 'fcfcffacb7d4e52f9458724332efa93d140cf637' }, attrs, inheritedAriaAttributes, { class: "item-native", part: "native", disabled: disabled }, clickFn), h("slot", { key: '2c1be89990d1b4264f056f3afca2657dc25e868f', name: "start" }), h("div", { key: 'a12010f2f251c29870806050357e247f297f752d', class: "item-inner" }, h("div", { key: 'd0dc5901d634d3b7d8c9b4339ed02585b5b88828', class: "input-wrapper" }, h("slot", { key: '5589d491f6058858310c72971de50ddf441379b1' })), h("slot", { key: '7b2d2182336abef508d00882759df1a99a1cf93e', name: "end" }), showDetail && (h("ion-icon", { icon: detailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": detailIcon === chevronForward }))), canActivate && mode === 'md' && h("ion-ripple-effect", null))));
|
|
288
218
|
}
|
|
289
219
|
static get is() { return "ion-item"; }
|
|
290
220
|
static get encapsulation() { return "shadow"; }
|
|
@@ -413,43 +343,6 @@ export class Item {
|
|
|
413
343
|
"attribute": "download",
|
|
414
344
|
"reflect": false
|
|
415
345
|
},
|
|
416
|
-
"fill": {
|
|
417
|
-
"type": "string",
|
|
418
|
-
"mutable": false,
|
|
419
|
-
"complexType": {
|
|
420
|
-
"original": "'outline' | 'solid'",
|
|
421
|
-
"resolved": "\"outline\" | \"solid\" | undefined",
|
|
422
|
-
"references": {}
|
|
423
|
-
},
|
|
424
|
-
"required": false,
|
|
425
|
-
"optional": true,
|
|
426
|
-
"docs": {
|
|
427
|
-
"tags": [{
|
|
428
|
-
"name": "deprecated",
|
|
429
|
-
"text": "Use the `fill` property on `ion-input` or `ion-textarea` instead."
|
|
430
|
-
}],
|
|
431
|
-
"text": "The fill for the item. If `\"solid\"` the item will have a background. If\n`\"outline\"` the item will be transparent with a border. Only available in `md` mode."
|
|
432
|
-
},
|
|
433
|
-
"attribute": "fill",
|
|
434
|
-
"reflect": false
|
|
435
|
-
},
|
|
436
|
-
"shape": {
|
|
437
|
-
"type": "string",
|
|
438
|
-
"mutable": false,
|
|
439
|
-
"complexType": {
|
|
440
|
-
"original": "'round'",
|
|
441
|
-
"resolved": "\"round\" | undefined",
|
|
442
|
-
"references": {}
|
|
443
|
-
},
|
|
444
|
-
"required": false,
|
|
445
|
-
"optional": true,
|
|
446
|
-
"docs": {
|
|
447
|
-
"tags": [],
|
|
448
|
-
"text": "The shape of the item. If \"round\" it will have increased\nborder radius."
|
|
449
|
-
},
|
|
450
|
-
"attribute": "shape",
|
|
451
|
-
"reflect": false
|
|
452
|
-
},
|
|
453
346
|
"href": {
|
|
454
347
|
"type": "string",
|
|
455
348
|
"mutable": false,
|
|
@@ -501,27 +394,6 @@ export class Item {
|
|
|
501
394
|
"attribute": "lines",
|
|
502
395
|
"reflect": false
|
|
503
396
|
},
|
|
504
|
-
"counter": {
|
|
505
|
-
"type": "boolean",
|
|
506
|
-
"mutable": false,
|
|
507
|
-
"complexType": {
|
|
508
|
-
"original": "boolean",
|
|
509
|
-
"resolved": "boolean",
|
|
510
|
-
"references": {}
|
|
511
|
-
},
|
|
512
|
-
"required": false,
|
|
513
|
-
"optional": false,
|
|
514
|
-
"docs": {
|
|
515
|
-
"tags": [{
|
|
516
|
-
"name": "deprecated",
|
|
517
|
-
"text": "Use the `counter` property on `ion-input` or `ion-textarea` instead."
|
|
518
|
-
}],
|
|
519
|
-
"text": "If `true`, a character counter will display the ratio of characters used and the total character limit. Only applies when the `maxlength` property is set on the inner `ion-input` or `ion-textarea`."
|
|
520
|
-
},
|
|
521
|
-
"attribute": "counter",
|
|
522
|
-
"reflect": false,
|
|
523
|
-
"defaultValue": "false"
|
|
524
|
-
},
|
|
525
397
|
"routerAnimation": {
|
|
526
398
|
"type": "unknown",
|
|
527
399
|
"mutable": false,
|
|
@@ -601,38 +473,13 @@ export class Item {
|
|
|
601
473
|
"attribute": "type",
|
|
602
474
|
"reflect": false,
|
|
603
475
|
"defaultValue": "'button'"
|
|
604
|
-
},
|
|
605
|
-
"counterFormatter": {
|
|
606
|
-
"type": "unknown",
|
|
607
|
-
"mutable": false,
|
|
608
|
-
"complexType": {
|
|
609
|
-
"original": "CounterFormatter",
|
|
610
|
-
"resolved": "((inputLength: number, maxLength: number) => string) | undefined",
|
|
611
|
-
"references": {
|
|
612
|
-
"CounterFormatter": {
|
|
613
|
-
"location": "import",
|
|
614
|
-
"path": "./item-interface",
|
|
615
|
-
"id": "src/components/item/item-interface.ts::CounterFormatter"
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
},
|
|
619
|
-
"required": false,
|
|
620
|
-
"optional": true,
|
|
621
|
-
"docs": {
|
|
622
|
-
"tags": [{
|
|
623
|
-
"name": "deprecated",
|
|
624
|
-
"text": "Use the `counterFormatter` property on `ion-input` or `ion-textarea` instead."
|
|
625
|
-
}],
|
|
626
|
-
"text": "A callback used to format the counter text.\nBy default the counter text is set to \"itemLength / maxLength\"."
|
|
627
|
-
}
|
|
628
476
|
}
|
|
629
477
|
};
|
|
630
478
|
}
|
|
631
479
|
static get states() {
|
|
632
480
|
return {
|
|
633
481
|
"multipleInputs": {},
|
|
634
|
-
"focusable": {}
|
|
635
|
-
"counterString": {}
|
|
482
|
+
"focusable": {}
|
|
636
483
|
};
|
|
637
484
|
}
|
|
638
485
|
static get elementRef() { return "el"; }
|
|
@@ -640,19 +487,10 @@ export class Item {
|
|
|
640
487
|
return [{
|
|
641
488
|
"propName": "button",
|
|
642
489
|
"methodName": "buttonChanged"
|
|
643
|
-
}, {
|
|
644
|
-
"propName": "counterFormatter",
|
|
645
|
-
"methodName": "counterFormatterChanged"
|
|
646
490
|
}];
|
|
647
491
|
}
|
|
648
492
|
static get listeners() {
|
|
649
493
|
return [{
|
|
650
|
-
"name": "ionInput",
|
|
651
|
-
"method": "handleIonInput",
|
|
652
|
-
"target": undefined,
|
|
653
|
-
"capture": false,
|
|
654
|
-
"passive": false
|
|
655
|
-
}, {
|
|
656
494
|
"name": "ionColor",
|
|
657
495
|
"method": "labelColorChanged",
|
|
658
496
|
"target": undefined,
|