@ionic/core 8.7.6-dev.11762427934.1558d09f → 8.7.6-dev.11762446926.123acdf7
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/checkbox.js +3 -3
- package/components/content.js +3 -3
- package/components/header.js +2 -2
- package/components/ion-card-content.js +7 -8
- 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-chip.js +2 -2
- package/components/ion-col.js +2 -2
- package/components/ion-datetime-button.js +2 -2
- package/components/ion-datetime.js +2 -2
- package/components/ion-divider.js +2 -2
- 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-img.js +2 -2
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +3 -3
- package/components/ion-input-password-toggle.js +3 -3
- package/components/ion-input.js +4 -4
- 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 +2 -2
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +2 -2
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +2 -2
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +2 -2
- package/components/ion-searchbar.js +4 -4
- package/components/ion-segment-button.js +2 -2
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +3 -3
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +3 -3
- package/components/ion-tab-button.js +3 -3
- 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 +3 -3
- package/components/ion-thumbnail.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/modal.js +4 -4
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +3 -3
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +2 -2
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-modal.js +1 -1
- package/components/select-popover.js +2 -2
- package/components/spinner.js +1 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +11 -13
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-divider.cjs.entry.js +2 -2
- package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/card-content/card-content.ionic.css +4 -7
- package/dist/collection/components/card-content/card-content.ios.css +14 -14
- package/dist/collection/components/card-content/card-content.js +3 -4
- package/dist/collection/components/card-content/card-content.md.css +14 -14
- 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/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 +2 -2
- package/dist/collection/components/datetime-button/datetime-button.js +2 -2
- package/dist/collection/components/divider/divider.js +2 -2
- 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-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.js +2 -2
- package/dist/collection/components/img/img.js +2 -2
- 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.js +4 -4
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- 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/label/label.js +2 -2
- 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/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- 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 +3 -3
- 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/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- 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-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- 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.ionic.css +1 -13
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.ionic.css +0 -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/textarea.js +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +2 -2
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +11 -13
- package/dist/esm/ion-checkbox.entry.js +3 -3
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +6 -6
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +6 -6
- package/dist/esm/ion-divider.entry.js +2 -2
- package/dist/esm/ion-fab_3.entry.js +6 -6
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +6 -6
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +6 -6
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +3 -3
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-16c5a01c.entry.js → p-03d25ce5.entry.js} +1 -1
- package/dist/ionic/{p-ecc8aebb.entry.js → p-15e5d054.entry.js} +1 -1
- package/dist/ionic/{p-90320028.entry.js → p-1a920cdb.entry.js} +1 -1
- package/dist/ionic/{p-88ef6829.entry.js → p-21aee5b7.entry.js} +1 -1
- package/dist/ionic/{p-56a9319e.entry.js → p-2dfbae3f.entry.js} +1 -1
- package/dist/ionic/{p-844bd58c.entry.js → p-2e9373ba.entry.js} +1 -1
- package/dist/ionic/{p-59e6c978.entry.js → p-325c3304.entry.js} +1 -1
- package/dist/ionic/p-43d72b76.entry.js +4 -0
- package/dist/ionic/{p-f8a835d0.entry.js → p-48b1b019.entry.js} +1 -1
- package/dist/ionic/{p-db90b95a.entry.js → p-49217750.entry.js} +1 -1
- package/dist/ionic/{p-3622a9ea.entry.js → p-493b739a.entry.js} +1 -1
- package/dist/ionic/{p-f3de58bd.entry.js → p-4e349265.entry.js} +1 -1
- package/dist/ionic/{p-2bab0853.entry.js → p-5121535d.entry.js} +1 -1
- package/dist/ionic/{p-83a116e6.entry.js → p-5c4a86bc.entry.js} +1 -1
- package/dist/ionic/{p-9bee2bdd.entry.js → p-5c76d65d.entry.js} +1 -1
- package/dist/ionic/p-5feb1aec.entry.js +4 -0
- package/dist/ionic/{p-dcfb2b1d.entry.js → p-67bb35ab.entry.js} +1 -1
- package/dist/ionic/{p-64385b66.entry.js → p-687242ec.entry.js} +1 -1
- package/dist/ionic/{p-ff757a50.entry.js → p-6afa042a.entry.js} +1 -1
- package/dist/ionic/{p-a57c0cce.entry.js → p-6b13c6c1.entry.js} +1 -1
- package/dist/ionic/{p-418e4330.entry.js → p-6e079661.entry.js} +1 -1
- package/dist/ionic/{p-66397fac.entry.js → p-75c553c0.entry.js} +1 -1
- package/dist/ionic/p-77da86d1.entry.js +4 -0
- package/dist/ionic/{p-4261dc5d.entry.js → p-875e46fd.entry.js} +1 -1
- package/dist/ionic/{p-2e19a4dd.entry.js → p-89346674.entry.js} +1 -1
- package/dist/ionic/p-8d1ebcd0.entry.js +4 -0
- package/dist/ionic/{p-86b82096.entry.js → p-9978eeb9.entry.js} +1 -1
- package/dist/ionic/p-9a31abcd.entry.js +4 -0
- package/dist/ionic/{p-7d450184.entry.js → p-9a80a61f.entry.js} +1 -1
- package/dist/ionic/{p-b2291ef0.entry.js → p-9d649ff0.entry.js} +1 -1
- package/dist/ionic/{p-c775e3c0.entry.js → p-a2583cce.entry.js} +1 -1
- package/dist/ionic/{p-a1128f7f.entry.js → p-a3299f26.entry.js} +1 -1
- package/dist/ionic/{p-91966afa.entry.js → p-a61d1f23.entry.js} +1 -1
- package/dist/ionic/{p-e9dd8600.entry.js → p-a98829dd.entry.js} +1 -1
- package/dist/ionic/{p-b26aeaf8.entry.js → p-ad8f157e.entry.js} +1 -1
- package/dist/ionic/{p-28571945.entry.js → p-b2951be0.entry.js} +1 -1
- package/dist/ionic/{p-c2f738d2.entry.js → p-b5d51634.entry.js} +1 -1
- package/dist/ionic/{p-87678140.entry.js → p-c1448dbf.entry.js} +1 -1
- package/dist/ionic/{p-81770a5c.entry.js → p-cc3ec408.entry.js} +1 -1
- package/dist/ionic/p-ce61e4b4.entry.js +4 -0
- package/dist/ionic/{p-23e4b68a.entry.js → p-eadd22a8.entry.js} +1 -1
- package/dist/ionic/{p-e28d6a81.entry.js → p-eef5cef8.entry.js} +1 -1
- package/dist/ionic/{p-59a79bd9.entry.js → p-efefd9cd.entry.js} +1 -1
- package/dist/ionic/{p-6fac73e6.entry.js → p-f20f9e12.entry.js} +1 -1
- package/dist/ionic/p-f33349c8.entry.js +4 -0
- package/dist/ionic/{p-642b022d.entry.js → p-f62d555b.entry.js} +1 -1
- package/hydrate/index.js +165 -167
- package/hydrate/index.mjs +165 -167
- package/package.json +1 -1
- package/dist/ionic/p-3cb3d194.entry.js +0 -4
- package/dist/ionic/p-89743bba.entry.js +0 -4
- package/dist/ionic/p-ce510c06.entry.js +0 -4
- package/dist/ionic/p-cea1ee31.entry.js +0 -4
- package/dist/ionic/p-d1c60c1c.entry.js +0 -4
- package/dist/ionic/p-ec02238a.entry.js +0 -4
- package/dist/ionic/p-ef32f7dd.entry.js +0 -4
|
@@ -664,14 +664,14 @@ const Menu = class {
|
|
|
664
664
|
* the ionBackButton listener in the menu controller
|
|
665
665
|
* will handle closing the menu when Escape is pressed.
|
|
666
666
|
*/
|
|
667
|
-
return (h(Host, { key: '
|
|
667
|
+
return (h(Host, { key: '1983ee36a15d041cce2cf8c010c4a03544095c71', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
668
668
|
[theme]: true,
|
|
669
669
|
[`menu-type-${type}`]: true,
|
|
670
670
|
'menu-enabled': !disabled,
|
|
671
671
|
[`menu-side-${side}`]: true,
|
|
672
672
|
'menu-pane-visible': isPaneVisible,
|
|
673
673
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
674
|
-
} }, h("div", { key: '
|
|
674
|
+
} }, h("div", { key: '9b997c29ef41fd00c15843a1f6593407d195a501', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: 'e95f25ccdf6e07b527e2126b7d7221d39e667549' })), h("ion-backdrop", { key: '60271cb8539ef04a148c08ab1a3349be30e8589c', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
675
675
|
}
|
|
676
676
|
get el() { return getElement(this); }
|
|
677
677
|
static get watchers() { return {
|
|
@@ -764,7 +764,7 @@ const MenuButton = class {
|
|
|
764
764
|
type: this.type,
|
|
765
765
|
};
|
|
766
766
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
767
|
-
return (h(Host, { key: '
|
|
767
|
+
return (h(Host, { key: '8777ca08223f62b4b0183e81f7f040635a017827', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
768
768
|
[theme]: true,
|
|
769
769
|
button: true, // ion-buttons target .button
|
|
770
770
|
'menu-button-hidden': hidden,
|
|
@@ -773,7 +773,7 @@ const MenuButton = class {
|
|
|
773
773
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
774
774
|
'ion-activatable': true,
|
|
775
775
|
'ion-focusable': true,
|
|
776
|
-
}) }, h("button", Object.assign({ key: '
|
|
776
|
+
}) }, h("button", Object.assign({ key: '7ea9df4e44a3916c97439f273562ad513c02d848' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: '521997eb3e28a6c89c8783125aee82e081f36db6', class: "button-inner" }, h("slot", { key: '8ec019529598f67ca7a7fb8f7a3eccfe3a970928' }, h("ion-icon", { key: '091855caa99363a61ccdad926229b18a96b03d58', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme === 'md' && h("ion-ripple-effect", { key: '9f746b38ae4d954ce0339e5c159b7c4c81d872f0', type: "unbounded" }))));
|
|
777
777
|
}
|
|
778
778
|
get el() { return getElement(this); }
|
|
779
779
|
};
|
|
@@ -809,10 +809,10 @@ const MenuToggle = class {
|
|
|
809
809
|
render() {
|
|
810
810
|
const theme = getIonTheme(this);
|
|
811
811
|
const hidden = this.autoHide && !this.visible;
|
|
812
|
-
return (h(Host, { key: '
|
|
812
|
+
return (h(Host, { key: 'e6cdf611b3c2ef6d39a84069582b706e9270e453', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
813
813
|
[theme]: true,
|
|
814
814
|
'menu-toggle-hidden': hidden,
|
|
815
|
-
} }, h("slot", { key: '
|
|
815
|
+
} }, h("slot", { key: 'c6a040b1b8c341ea8d0774a875266ca57fd6b8ce' })));
|
|
816
816
|
}
|
|
817
817
|
};
|
|
818
818
|
MenuToggle.style = menuToggleCss;
|
|
@@ -2352,20 +2352,20 @@ const Modal = class {
|
|
|
2352
2352
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
2353
2353
|
const shape = this.getShape();
|
|
2354
2354
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
2355
|
-
return (h(Host, Object.assign({ key: '
|
|
2355
|
+
return (h(Host, Object.assign({ key: '488610d76d4d3743e8de0602b247c6e862f7f604', "no-router": true,
|
|
2356
2356
|
// Allow the modal to be navigable when the handle is focusable
|
|
2357
2357
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
2358
2358
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2359
|
-
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), h("ion-backdrop", { key: '
|
|
2359
|
+
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), h("ion-backdrop", { key: '85a8517220a84da9337032ab8988362bc221f7b7', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { key: '7a17566ea39641cd8fdf64bd647fc3df0cf099b9', class: "modal-shadow" }), h("div", Object.assign({ key: '1b12a476428d88678a1ab2d0a3421b0ed0866c1f',
|
|
2360
2360
|
/*
|
|
2361
2361
|
role and aria-modal must be used on the
|
|
2362
2362
|
same element. They must also be set inside the
|
|
2363
2363
|
shadow DOM otherwise ion-button will not be highlighted
|
|
2364
2364
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
2365
2365
|
*/
|
|
2366
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
2366
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '48cc88e928df87737d97a4733f6551d37b429d81', class: "modal-handle",
|
|
2367
2367
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
2368
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '
|
|
2368
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: 'ae63a8dc8a9044a60c3d2bf046203663343e0de0', onSlotchange: this.onSlotChange }))));
|
|
2369
2369
|
}
|
|
2370
2370
|
get el() { return getElement(this); }
|
|
2371
2371
|
static get watchers() { return {
|
|
@@ -898,7 +898,7 @@ const Nav = class {
|
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
900
|
render() {
|
|
901
|
-
return h("slot", { key: '
|
|
901
|
+
return h("slot", { key: '2254b8e14dbdc401b181dabb1c3b6606048291a5' });
|
|
902
902
|
}
|
|
903
903
|
get el() { return getElement(this); }
|
|
904
904
|
static get watchers() { return {
|
|
@@ -940,7 +940,7 @@ const NavLink = class {
|
|
|
940
940
|
};
|
|
941
941
|
}
|
|
942
942
|
render() {
|
|
943
|
-
return h(Host, { key: '
|
|
943
|
+
return h(Host, { key: '2a45f6d78be837c8c8926f45bfe194a9c75693b1', onClick: this.onClick });
|
|
944
944
|
}
|
|
945
945
|
get el() { return getElement(this); }
|
|
946
946
|
};
|
|
@@ -100,10 +100,10 @@ const PickerColumnOption = class {
|
|
|
100
100
|
render() {
|
|
101
101
|
const { color, disabled, ariaLabel } = this;
|
|
102
102
|
const theme = getIonTheme(this);
|
|
103
|
-
return (h(Host, { key: '
|
|
103
|
+
return (h(Host, { key: '76d3086fc36a32ea544e9b03e53f656d153762d4', class: createColorClasses(color, {
|
|
104
104
|
[theme]: true,
|
|
105
105
|
['option-disabled']: disabled,
|
|
106
|
-
}) }, h("div", { key: '
|
|
106
|
+
}) }, h("div", { key: '569e40d592e71954472128cbaef0141358fd8be9', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: '1adca8a8d9b774c818404278003f7009fa4c458d' }))));
|
|
107
107
|
}
|
|
108
108
|
get el() { return getElement(this); }
|
|
109
109
|
static get watchers() { return {
|
|
@@ -548,14 +548,14 @@ const PickerColumn = class {
|
|
|
548
548
|
render() {
|
|
549
549
|
const { color, disabled, isActive, numericInput } = this;
|
|
550
550
|
const theme = getIonTheme(this);
|
|
551
|
-
return (h(Host, { key: '
|
|
551
|
+
return (h(Host, { key: '867e0dc27b3a65348415b4e35e980c99d95e183c', class: createColorClasses(color, {
|
|
552
552
|
[theme]: true,
|
|
553
553
|
['picker-column-active']: isActive,
|
|
554
554
|
['picker-column-numeric-input']: numericInput,
|
|
555
555
|
['picker-column-disabled']: disabled,
|
|
556
|
-
}) }, h("slot", { key: '
|
|
556
|
+
}) }, h("slot", { key: '9d68fc2f1524834436098f856af9867d4688c37b', name: "prefix" }), h("div", { key: 'a0b300c9b537ef853bd8703ad10da64dab3876dc', class: "picker-opts", ref: (el) => {
|
|
557
557
|
this.scrollEl = el;
|
|
558
|
-
}, role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }, h("div", { key: '
|
|
558
|
+
}, role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }, h("div", { key: '4617d1409c852871ff85d0ff6ac2c3d265e56a92', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '893559f2b0035135c582e34c334b56c74ddd829c', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '44d379b7d3bdff1574cc95330b22d4f629e26724', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("slot", { key: '25a5bd6d8f3d360594b38fe8867b925a67111792' }), h("div", { key: '39d4ffe9c6c2c1ee101b65a648ceaa3582676770', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '6ea72753cdc8ca3b9b1e5fd0aad8772fa090b39f', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '8ec67b388428e1d5d648884b2a69f953aa79702e', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), h("slot", { key: 'ba379669ca1976f3078c076f93c415e42c37847e', name: "suffix" })));
|
|
559
559
|
}
|
|
560
560
|
get el() { return getElement(this); }
|
|
561
561
|
static get watchers() { return {
|
|
@@ -458,7 +458,7 @@ const Picker = class {
|
|
|
458
458
|
this.emitInputModeChange();
|
|
459
459
|
}
|
|
460
460
|
render() {
|
|
461
|
-
return (h(Host, { key: '
|
|
461
|
+
return (h(Host, { key: '0e3b8112fd28191ff6af8313fee72919d9b23ee7', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, h("input", { key: '92e86aab71f000c35fcf5f4082116285f2e43016', "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (ev) => {
|
|
462
462
|
var _a;
|
|
463
463
|
/**
|
|
464
464
|
* The "Enter" key represents
|
|
@@ -473,7 +473,7 @@ const Picker = class {
|
|
|
473
473
|
if (ev.key === 'Enter') {
|
|
474
474
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
475
475
|
}
|
|
476
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '
|
|
476
|
+
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '5fad8573cd44bee093f26cd4d7cabad836789e79', class: "picker-before" }), h("div", { key: 'fd26db9e86a3cafe125283eeff0da8be7ea2928e', class: "picker-after" }), h("div", { key: '8174b0f258f3ce00707132c674ff53d3b9fc2aee', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), h("slot", { key: 'a118b0ec709164758ae95fcb9e110befb574138f' })));
|
|
477
477
|
}
|
|
478
478
|
get el() { return getElement(this); }
|
|
479
479
|
};
|
|
@@ -1387,9 +1387,9 @@ const Popover = class {
|
|
|
1387
1387
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
1388
1388
|
const desktop = isPlatform('desktop');
|
|
1389
1389
|
const enableArrow = arrow && !parentPopover;
|
|
1390
|
-
return (h(Host, Object.assign({ key: '
|
|
1390
|
+
return (h(Host, Object.assign({ key: 'bc0a33fd2fa0b0d5275b12b493503a79762adc83', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1391
1391
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1392
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '
|
|
1392
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '0299fd3075759113fc5f0d2b299cafce74427c62', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: 'f9adb90aae67e369cf45988200f789c09d216d3a', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '9d310601494499414aa90c26ec23733dab95a376', class: "popover-arrow", part: "arrow" }), h("div", { key: '41fa231a8382c8c2b57fe17493b98986ede09a16', class: "popover-content", part: "content" }, h("slot", { key: '0c88bfdc53f4d02dd6b6033647a1285f42b581a3' })))));
|
|
1393
1393
|
}
|
|
1394
1394
|
get el() { return getElement(this); }
|
|
1395
1395
|
static get watchers() { return {
|
|
@@ -56,7 +56,7 @@ const ProgressBar = class {
|
|
|
56
56
|
const shape = this.getShape();
|
|
57
57
|
// If the progress is displayed as a solid bar.
|
|
58
58
|
const progressSolid = buffer === 1;
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'd9a05927c2b8065c7b73a6bd07b09d193711eb78', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
60
60
|
[theme]: true,
|
|
61
61
|
[`progress-bar-${type}`]: true,
|
|
62
62
|
'progress-paused': paused,
|
|
@@ -138,7 +138,7 @@ const Radio = class {
|
|
|
138
138
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
139
139
|
const theme = getIonTheme(this);
|
|
140
140
|
const inItem = hostContext('ion-item', el);
|
|
141
|
-
return (h(Host, { key: '
|
|
141
|
+
return (h(Host, { key: '4890e800b5105fc75a14e0bda058bf2185d7761e', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
142
142
|
[theme]: true,
|
|
143
143
|
'in-item': inItem,
|
|
144
144
|
'radio-checked': checked,
|
|
@@ -149,10 +149,10 @@ const Radio = class {
|
|
|
149
149
|
// Focus and active styling should not apply when the radio is in an item
|
|
150
150
|
'ion-activatable': !inItem,
|
|
151
151
|
'ion-focusable': !inItem,
|
|
152
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
152
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: 'de4d7c2f3788f13920bc43de7bad5527c3cc74fc', class: "radio-wrapper" }, h("div", { key: '2a01f3fbdf659f8cbf2e6e8bef3d9877f53e3a66', class: {
|
|
153
153
|
'label-text-wrapper': true,
|
|
154
154
|
'label-text-wrapper-hidden': !hasLabel,
|
|
155
|
-
}, part: "label" }, h("slot", { key: '
|
|
155
|
+
}, part: "label" }, h("slot", { key: '093d4b8f5005e873851959a278a23a9a89d9fed6' })), h("div", { key: 'bdab791d63e8c2330a78f23e9320bff9a160a5d6', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
156
156
|
}
|
|
157
157
|
get el() { return getElement(this); }
|
|
158
158
|
static get watchers() { return {
|
|
@@ -358,9 +358,9 @@ const RadioGroup = class {
|
|
|
358
358
|
const { label, labelId, el, name, value } = this;
|
|
359
359
|
const theme = getIonTheme(this);
|
|
360
360
|
renderHiddenInput(true, el, name, value, false);
|
|
361
|
-
return (h(Host, { key: '
|
|
361
|
+
return (h(Host, { key: 'cf8c32999c8fa7a759948b76e715752ebcba9a63', class: {
|
|
362
362
|
[theme]: true,
|
|
363
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick }, this.renderHintText(), h("div", { key: '
|
|
363
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick }, this.renderHintText(), h("div", { key: 'a7b59a2f18208269b0a7276056002fb94f679981', class: "radio-group-wrapper" }, h("slot", { key: '588af994a16cecfa6672471d186359b3b166f3eb' }))));
|
|
364
364
|
}
|
|
365
365
|
get el() { return getElement(this); }
|
|
366
366
|
static get watchers() { return {
|
|
@@ -724,7 +724,7 @@ const Range = class {
|
|
|
724
724
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
725
725
|
const theme = getIonTheme(this);
|
|
726
726
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
727
|
-
return (h(Host, { key: '
|
|
727
|
+
return (h(Host, { key: '923dd14937cbc2707cbfe334c26416e0c14c08cd', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
728
728
|
[theme]: true,
|
|
729
729
|
'in-item': inItem,
|
|
730
730
|
'range-disabled': disabled,
|
|
@@ -733,10 +733,10 @@ const Range = class {
|
|
|
733
733
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
734
734
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
735
735
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
736
|
-
}) }, h("label", { key: '
|
|
736
|
+
}) }, h("label", { key: '1d99cd4a439428a6f9982fb81884b1efb4e62ef3', class: "range-wrapper", id: "range-label" }, h("div", { key: '6093c0fe071e1f19a0b34a38f2e9c4e14882059a', class: {
|
|
737
737
|
'label-text-wrapper': true,
|
|
738
738
|
'label-text-wrapper-hidden': !hasLabel,
|
|
739
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
739
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '4f8cdbbbffbf29f6ff10576297151cac66829935', class: "native-wrapper" }, h("slot", { key: 'b86b648ec320062586f209fb8fa127ee2b9b2e8a', name: "start" }), this.renderRangeSlider(), h("slot", { key: '61f20773eed8538b3d9a1e463ec803c04ded380e', name: "end" })))));
|
|
740
740
|
}
|
|
741
741
|
get el() { return getElement(this); }
|
|
742
742
|
static get watchers() { return {
|
|
@@ -889,7 +889,7 @@ const Refresher = class {
|
|
|
889
889
|
}
|
|
890
890
|
render() {
|
|
891
891
|
const theme = getIonTheme(this);
|
|
892
|
-
return (h(Host, { key: '
|
|
892
|
+
return (h(Host, { key: '2300b2120962468355e5bcc92520d70a2815befb', slot: "fixed", class: {
|
|
893
893
|
[theme]: true,
|
|
894
894
|
// Used internally for styling
|
|
895
895
|
[`refresher-${theme}`]: true,
|
|
@@ -961,9 +961,9 @@ const RefresherContent = class {
|
|
|
961
961
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
962
962
|
const theme = getIonTheme(this);
|
|
963
963
|
const arrowIcon = theme === 'ionic' ? caretLeftFillSvg : caretBackSharp;
|
|
964
|
-
return (h(Host, { key: '
|
|
964
|
+
return (h(Host, { key: '879a710107c1de4fbc6f48ac033512dc89213b0b', class: {
|
|
965
965
|
[theme]: true,
|
|
966
|
-
} }, h("div", { key: '
|
|
966
|
+
} }, h("div", { key: '01f1eba6db5037e12170602b210b401ac2b4f2ed', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: '6cd8489bfcd91af8c8a36757307c98438d2d4a20', class: "refresher-pulling-icon" }, h("div", { key: 'bddb37533289a5cf237b7b1713f8c4c8639566c6', class: "spinner-arrow-container" }, h("ion-spinner", { key: 'a20680bac24025b70a324d9040dc76be3e148fa0', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (h("div", { key: '4db2c2935ae56db34d2bc8d9030dde19bf0c023b', class: "arrow-container" }, h("ion-icon", { key: '028dd1e7d557f7ee55035f085c8d333d5eebf40e', icon: arrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: '92a198f1f00024385bc8fc65697d4c88b9123f1b', class: "refresher-pulling-icon" }, h("ion-icon", { key: '62ff2c73e88de373c0822782e55e01bc961473bc', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '4f830ad8e4cb8a8a4269ea6589631d8fcc21dd76', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: '469f24580f4357789d1ae4052f1904e9558355f2', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: 'a33c43f3c78c433e6da18d6da24fd9ae52c0a4f2', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
967
967
|
}
|
|
968
968
|
get el() { return getElement(this); }
|
|
969
969
|
};
|
|
@@ -51,9 +51,9 @@ const Reorder = class {
|
|
|
51
51
|
render() {
|
|
52
52
|
const { reorderHandleIcon } = this;
|
|
53
53
|
const theme = getIonTheme(this);
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'e73400a4cfd9893bafb4fa45b84f825fed1c2d6f', class: {
|
|
55
55
|
[theme]: true,
|
|
56
|
-
} }, h("slot", { key: '
|
|
56
|
+
} }, h("slot", { key: '2544d544f84d09771e4c9375ba6054b4cac07d2c' }, h("ion-icon", { key: '3281ed9bfe01b5b3b92c7a60f31df88340d0ea88', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
57
57
|
}
|
|
58
58
|
get el() { return getElement(this); }
|
|
59
59
|
};
|
|
@@ -317,7 +317,7 @@ const ReorderGroup = class {
|
|
|
317
317
|
}
|
|
318
318
|
render() {
|
|
319
319
|
const theme = getIonTheme(this);
|
|
320
|
-
return (h(Host, { key: '
|
|
320
|
+
return (h(Host, { key: '640e9d1ad454b25564ccf4c06bcf51d77139646c', class: {
|
|
321
321
|
[theme]: true,
|
|
322
322
|
'reorder-enabled': !this.disabled,
|
|
323
323
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -76,7 +76,7 @@ const RippleEffect = class {
|
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
78
|
const theme = getIonTheme(this);
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '5e10ebed9a72e06def98285338c61749335eb753', role: "presentation", class: {
|
|
80
80
|
[theme]: true,
|
|
81
81
|
unbounded: this.unbounded,
|
|
82
82
|
} }));
|
|
@@ -896,10 +896,10 @@ const RouterLink = class {
|
|
|
896
896
|
rel: this.rel,
|
|
897
897
|
target: this.target,
|
|
898
898
|
};
|
|
899
|
-
return (h(Host, { key: '
|
|
899
|
+
return (h(Host, { key: 'bfbba199d70e52da616d54292ecb7289d8d5986e', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
900
900
|
[theme]: true,
|
|
901
901
|
'ion-activatable': true,
|
|
902
|
-
}) }, h("a", Object.assign({ key: '
|
|
902
|
+
}) }, h("a", Object.assign({ key: '5ba349e9edb9384184a54d9aa6c3b8eed867de72' }, attrs), h("slot", { key: 'a12ca383f47e02606e3d3203b94b733da2f74641' }))));
|
|
903
903
|
}
|
|
904
904
|
};
|
|
905
905
|
RouterLink.style = routerLinkCss;
|
|
@@ -544,8 +544,8 @@ const Searchbar = class {
|
|
|
544
544
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
545
545
|
const shape = this.getShape();
|
|
546
546
|
const size = this.getSize();
|
|
547
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
548
|
-
return (h(Host, { key: '
|
|
547
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: 'bd577703e95e5c52ee280d310fb82110d4eb94d4', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '95002a6fff18176511499bfa2fb5079ed2d739e3', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
548
|
+
return (h(Host, { key: 'f5728e8b9e9fbdac704968ada43cb74a2ccf613a', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
549
549
|
[theme]: true,
|
|
550
550
|
'searchbar-animated': animated,
|
|
551
551
|
'searchbar-disabled': this.disabled,
|
|
@@ -559,14 +559,14 @@ const Searchbar = class {
|
|
|
559
559
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
560
560
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
561
561
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
562
|
-
}) }, h("div", { key: '
|
|
562
|
+
}) }, h("div", { key: 'ed7c2af6a28997acff63866416c74451bad19b0a', class: "searchbar-input-container" }, h("input", Object.assign({ key: '93647ea9b7e4a3936377fab9439a16d691dad68d', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), (theme === 'md' || theme === 'ionic') && cancelButton, this.shouldShowSearchIcon() && (h("ion-icon", { key: 'd558fc50383653ecc155539872db047bf7f07d5d', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (h("button", { key: '9829cf844c79a7ee9c9b5df262f66ef16be1d131', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
563
563
|
/**
|
|
564
564
|
* This prevents mobile browsers from
|
|
565
565
|
* blurring the input when the clear
|
|
566
566
|
* button is activated.
|
|
567
567
|
*/
|
|
568
568
|
ev.preventDefault();
|
|
569
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
569
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '78c8169b86fd650ac088a51f46fe7a350ac4dda8', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
570
570
|
}
|
|
571
571
|
get el() { return getElement(this); }
|
|
572
572
|
static get watchers() { return {
|
|
@@ -10,7 +10,7 @@ const SegmentContent = class {
|
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '944277fe4b3bc674688cb81008e4a3102fb7f3e2' }, h("slot", { key: '85bb9874479da65d52203434d32a98c7b8c47a87' })));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
SegmentContent.style = segmentContentCss;
|
|
@@ -108,10 +108,10 @@ const SegmentView = class {
|
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
110
|
const { disabled, isManualScroll } = this;
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '230d33d3d25640e7a16b69d94886aa1c30d95119', class: {
|
|
112
112
|
'segment-view-disabled': disabled,
|
|
113
113
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
114
|
-
} }, h("slot", { key: '
|
|
114
|
+
} }, h("slot", { key: '0e998f186e7e58148c5a2fd6f83e6a9aa8705d80' })));
|
|
115
115
|
}
|
|
116
116
|
get el() { return getElement(this); }
|
|
117
117
|
};
|
|
@@ -550,14 +550,14 @@ const Segment = class {
|
|
|
550
550
|
}
|
|
551
551
|
render() {
|
|
552
552
|
const theme = getIonTheme(this);
|
|
553
|
-
return (h(Host, { key: '
|
|
553
|
+
return (h(Host, { key: 'a0d365de03da97b691917f43fd396450cea90919', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
554
554
|
[theme]: true,
|
|
555
555
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
556
556
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
557
557
|
'segment-activated': this.activated,
|
|
558
558
|
'segment-disabled': this.disabled,
|
|
559
559
|
'segment-scrollable': this.scrollable,
|
|
560
|
-
}) }, h("slot", { key: '
|
|
560
|
+
}) }, h("slot", { key: '657c4337dc376708d749404f6be71959b4222a0d', onSlotchange: this.onSlottedItemsChange })));
|
|
561
561
|
}
|
|
562
562
|
get el() { return getElement(this); }
|
|
563
563
|
static get watchers() { return {
|
|
@@ -678,7 +678,7 @@ const SegmentButton = class {
|
|
|
678
678
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
679
679
|
const theme = getIonTheme(this);
|
|
680
680
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
681
|
-
return (h(Host, { key: '
|
|
681
|
+
return (h(Host, { key: '26f881646cda57e9deca9d479d90f844c476063e', class: {
|
|
682
682
|
[theme]: true,
|
|
683
683
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
684
684
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -694,7 +694,7 @@ const SegmentButton = class {
|
|
|
694
694
|
'ion-activatable': true,
|
|
695
695
|
'ion-activatable-instant': true,
|
|
696
696
|
'ion-focusable': true,
|
|
697
|
-
} }, h("button", Object.assign({ key: '
|
|
697
|
+
} }, h("button", Object.assign({ key: '556d750558f7a3bea2ed2e1e75758dc2b14bb39c', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: 'acb1b79cf8159fda0e86fe668633a8df29bd9352', class: "button-inner" }, h("slot", { key: '0c035f26be096605c975763c34ddd6eb29ac660e' })), theme === 'md' && h("ion-ripple-effect", { key: 'f85da2793608ebc7fadbbea2cf128bec069be98e' })), h("div", { key: 'ef5bd54482ad94497a6a75c908ca0bc270479f51', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: '8ba6b0aed544b72566ea0ad3059683fc67fa900d', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
698
698
|
}
|
|
699
699
|
get el() { return getElement(this); }
|
|
700
700
|
static get watchers() { return {
|
|
@@ -87,7 +87,7 @@ const SelectModal = class {
|
|
|
87
87
|
} }, option.text))));
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: '3bade4782f8710fc56655da42603b4038ce1e343', class: getIonMode(this) }, h("ion-header", { key: '5cea916aa6c446c76358663817245e136c493bfa' }, h("ion-toolbar", { key: '1a1c880d07aee64b6daf36f1bf5d5a5b00999ad9' }, this.header !== undefined && h("ion-title", { key: '9a302bf19317be99b8f26aab5a584ba2762cd3c2' }, this.header), h("ion-buttons", { key: 'be6e48d24d15411826be9a2dbbd8934f8e6abe94', slot: "end" }, h("ion-button", { key: '97e984e5849dae209d394404fdf75c635252f464', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: '66e97064d5c77c228e73d8a779043d152c5b62f3' }, h("ion-list", { key: 'eb77ea5c963b1ad4fd1f9a8ebe684ec2cf132647' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
91
91
|
}
|
|
92
92
|
get el() { return getElement(this); }
|
|
93
93
|
};
|
|
@@ -805,7 +805,7 @@ const Select = class {
|
|
|
805
805
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
806
806
|
*/
|
|
807
807
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
808
|
-
return (h(Host, { key: '
|
|
808
|
+
return (h(Host, { key: '72b7f138f7bdc7fbd768929f67765b57edd9abae', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
809
809
|
[theme]: true,
|
|
810
810
|
'in-item': inItem,
|
|
811
811
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -824,7 +824,7 @@ const Select = class {
|
|
|
824
824
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
825
825
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
826
826
|
[`select-size-${size}`]: size !== undefined,
|
|
827
|
-
}) }, h("label", { key: '
|
|
827
|
+
}) }, h("label", { key: '70187887592d27bb76c0633916606a4fa89a9e2a', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '68c30ba451721a63ddfed0a6c80a9e9ded596f3b', class: "select-wrapper-inner" },
|
|
828
828
|
/**
|
|
829
829
|
* For the ionic theme, we render the outline container here
|
|
830
830
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -834,7 +834,7 @@ const Select = class {
|
|
|
834
834
|
* <label> element, ensuring that clicking the label text
|
|
835
835
|
* focuses the select.
|
|
836
836
|
*/
|
|
837
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
837
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '772e2cdd052b1a9398e1577c0e1e4614350df7c1', class: "select-outline" }), h("slot", { key: 'b51e29ea570f0399d0c4210896ce1ad6e135e3e8', name: "start" }), h("div", { key: '37d36fa1d43361df32b5def690694b25d762698b', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '014bff14093d2b7ab4d7232dec4fc35b75bdbc86', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: '791b0d7457fca2ae1a6381fc87f7f2de20208b7f', class: "select-highlight" })), this.renderBottomContent()));
|
|
838
838
|
}
|
|
839
839
|
get el() { return getElement(this); }
|
|
840
840
|
static get watchers() { return {
|
|
@@ -898,7 +898,7 @@ const SelectOption = class {
|
|
|
898
898
|
}
|
|
899
899
|
render() {
|
|
900
900
|
const theme = getIonTheme(this);
|
|
901
|
-
return (h(Host, { key: '
|
|
901
|
+
return (h(Host, { key: 'a26b8368365cc14ddf2ad294ad0b9505848f3273', class: {
|
|
902
902
|
[theme]: true,
|
|
903
903
|
}, role: "option", id: this.inputId }));
|
|
904
904
|
}
|
|
@@ -1008,9 +1008,9 @@ const SelectPopover = class {
|
|
|
1008
1008
|
const { header, message, options, subHeader } = this;
|
|
1009
1009
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
1010
1010
|
const theme = getIonTheme(this);
|
|
1011
|
-
return (h(Host, { key: '
|
|
1011
|
+
return (h(Host, { key: '2764acada914c0b9499200ba9cb60a74812d9d05', class: {
|
|
1012
1012
|
[theme]: true,
|
|
1013
|
-
} }, h("ion-list", { key: '
|
|
1013
|
+
} }, h("ion-list", { key: '639bb6dd6085e213e8121268e09d74de664e3f38' }, header !== undefined && h("ion-list-header", { key: '38201b907a124154ca7d43d2296936772cd612b3' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: 'b96c1a42e7c5debd67ca4fe1e55a2c92be1c85b7' }, h("ion-label", { key: '434fb427dff7e4034d47f0d85903dd83a2304a92', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: '6db83afdc3f5b9c30f74e72c6d712b8f15951d84' }, subHeader), message !== undefined && h("p", { key: '1fc24e198cc922c2892ed1123c840c9be1989ed9' }, message)))), this.renderOptions(options))));
|
|
1014
1014
|
}
|
|
1015
1015
|
get el() { return getElement(this); }
|
|
1016
1016
|
};
|
|
@@ -59,7 +59,7 @@ const Spinner = class {
|
|
|
59
59
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '704525eb8a4ae35f02bcfd8bcf2dbd885924bce0', class: createColorClasses(self.color, {
|
|
63
63
|
[theme]: true,
|
|
64
64
|
[`spinner-${spinnerName}`]: true,
|
|
65
65
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -128,12 +128,12 @@ const SplitPane = class {
|
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
130
|
const theme = getIonTheme(this);
|
|
131
|
-
return (h(Host, { key: '
|
|
131
|
+
return (h(Host, { key: 'a4f325e5006fc93ee37c728dea11554aacb6b776', class: {
|
|
132
132
|
[theme]: true,
|
|
133
133
|
// Used internally for styling
|
|
134
134
|
[`split-pane-${theme}`]: true,
|
|
135
135
|
'split-pane-visible': this.visible,
|
|
136
|
-
} }, h("slot", { key: '
|
|
136
|
+
} }, h("slot", { key: '07b467fff5cf19c03a721ed38d108e4c319ee455' })));
|
|
137
137
|
}
|
|
138
138
|
get el() { return getElement(this); }
|
|
139
139
|
static get watchers() { return {
|