@ionic/core 8.8.20-dev.11790173336.13b11ad8 → 8.8.20-dev.11790592795.1cc6dc2f
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/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-legacy-column.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- 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-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/{p-B_a4XnF2.js → p-7FNgkh0P.js} +1 -1
- package/components/{p-1svnBvUl.js → p-B8Vus3NC.js} +1 -1
- package/components/{p-DNweMi32.js → p-BHGSxffz.js} +1 -1
- package/components/{p-DCFHJ88d.js → p-BRCaVT6R.js} +1 -1
- package/components/{p-CHNTH0aX.js → p-BZRaqapP.js} +1 -1
- package/components/{p-C9LVKxmA.js → p-BbGeDQXO.js} +1 -1
- package/components/{p-B39i6rpY.js → p-BegeD3us.js} +1 -1
- package/components/{p-BvZgcjSv.js → p-BooNwQGm.js} +1 -1
- package/components/p-BrMzxZsq.js +4 -0
- package/components/{p-BUXCqaSr.js → p-C7g2sOXQ.js} +1 -1
- package/components/{p-Cay-YWIl.js → p-CE7AgdzL.js} +1 -1
- package/components/{p-CHS_LN0q.js → p-CGezXDvw.js} +1 -1
- package/components/{p-CXTSHWEJ.js → p-CTRs9mh7.js} +1 -1
- package/components/p-CXFrlE0B.js +4 -0
- package/components/{p-DyWR_4Qt.js → p-CuMUiFew.js} +1 -1
- package/components/{p-DH-B6fol.js → p-DQq1lHJB.js} +1 -1
- package/components/{p-CQ6qwFjM.js → p-DRJsuCbz.js} +1 -1
- package/components/{p-DIvWgnWw.js → p-DRlveqJv.js} +1 -1
- package/components/{p-Bs5kME4N.js → p-DaK22Kla.js} +1 -1
- package/components/{p-BLP69XoA.js → p-DpnenLm3.js} +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +7 -7
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- 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-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 +3 -3
- 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 +4 -4
- 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/collection/components/header/header.ionic.css +38 -2
- package/dist/collection/components/header/header.js +1 -1
- 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-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 +3 -3
- 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.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/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 +1 -1
- package/dist/esm/ion-app_8.entry.js +7 -7
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- 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-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 +3 -3
- 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 +4 -4
- 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/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-b002b938.entry.js → p-0772e9bb.entry.js} +1 -1
- package/dist/ionic/p-0e0b77a1.entry.js +4 -0
- package/dist/ionic/{p-7dfefd17.entry.js → p-0ff0409b.entry.js} +1 -1
- package/dist/ionic/{p-009518a4.entry.js → p-22129010.entry.js} +1 -1
- package/dist/ionic/{p-6bb04f2b.entry.js → p-3276f797.entry.js} +1 -1
- package/dist/ionic/{p-1a5b9149.entry.js → p-39ec9cf3.entry.js} +1 -1
- package/dist/ionic/{p-2365483a.entry.js → p-50ac06f3.entry.js} +1 -1
- package/dist/ionic/p-59a2254e.entry.js +4 -0
- package/dist/ionic/{p-7703fee4.entry.js → p-5a9a921d.entry.js} +1 -1
- package/dist/ionic/{p-fc726f4a.entry.js → p-61aaa6ff.entry.js} +1 -1
- package/dist/ionic/{p-367d5fd5.entry.js → p-6decd4a6.entry.js} +1 -1
- package/dist/ionic/{p-74ad4b7e.entry.js → p-732bb10a.entry.js} +1 -1
- package/dist/ionic/{p-5971c704.entry.js → p-7b3e8dcc.entry.js} +1 -1
- package/dist/ionic/{p-7c7ce81c.entry.js → p-7b44d488.entry.js} +1 -1
- package/dist/ionic/{p-9b8f5965.entry.js → p-7efad059.entry.js} +1 -1
- package/dist/ionic/{p-731d11e1.entry.js → p-84f84f7d.entry.js} +1 -1
- package/dist/ionic/p-85648b5a.entry.js +4 -0
- package/dist/ionic/{p-31a0c9c2.entry.js → p-9b538299.entry.js} +1 -1
- package/dist/ionic/{p-e13cf1d8.entry.js → p-a32fd690.entry.js} +1 -1
- package/dist/ionic/p-a57b3c45.entry.js +4 -0
- package/dist/ionic/{p-9db78e5c.entry.js → p-a639f416.entry.js} +1 -1
- package/dist/ionic/p-ab04f606.entry.js +4 -0
- package/dist/ionic/{p-68e453f7.entry.js → p-ac961b29.entry.js} +1 -1
- package/dist/ionic/{p-76232f5f.entry.js → p-b02b3ab3.entry.js} +1 -1
- package/dist/ionic/{p-2e0184c0.entry.js → p-b051b9a8.entry.js} +1 -1
- package/dist/ionic/{p-877be084.entry.js → p-b92fc2b6.entry.js} +1 -1
- package/dist/ionic/{p-1b473bad.entry.js → p-c1303c7f.entry.js} +1 -1
- package/dist/ionic/{p-bb7bb4fd.entry.js → p-cb7ba9cc.entry.js} +1 -1
- package/dist/ionic/{p-130765f7.entry.js → p-ce7bdadf.entry.js} +1 -1
- package/dist/ionic/{p-a9df0ccf.entry.js → p-d48a9922.entry.js} +1 -1
- package/dist/ionic/p-d6b9ab96.entry.js +4 -0
- package/dist/ionic/{p-62d386b6.entry.js → p-dd54075e.entry.js} +1 -1
- package/dist/ionic/{p-5dedd699.entry.js → p-e1adce72.entry.js} +1 -1
- package/dist/ionic/{p-61e298db.entry.js → p-eb8a0235.entry.js} +1 -1
- package/dist/ionic/{p-8930910d.entry.js → p-f0436e04.entry.js} +1 -1
- package/dist/ionic/{p-ff055c7b.entry.js → p-f8f61876.entry.js} +1 -1
- package/dist/ionic/{p-6cab30f8.entry.js → p-fa146a10.entry.js} +1 -1
- package/dist/ionic/p-fe8b9678.entry.js +4 -0
- package/hydrate/index.js +119 -119
- package/hydrate/index.mjs +119 -119
- package/package.json +1 -1
- package/components/p-B5TpXnQx.js +0 -4
- package/components/p-CRSdVOdM.js +0 -4
- package/dist/ionic/p-126031d2.entry.js +0 -4
- package/dist/ionic/p-3c070023.entry.js +0 -4
- package/dist/ionic/p-404817bb.entry.js +0 -4
- package/dist/ionic/p-be06def7.entry.js +0 -4
- package/dist/ionic/p-c0983eac.entry.js +0 -4
- package/dist/ionic/p-df642ef5.entry.js +0 -4
- package/dist/ionic/p-f0b1da81.entry.js +0 -4
|
@@ -665,14 +665,14 @@ const Menu = class {
|
|
|
665
665
|
* the ionBackButton listener in the menu controller
|
|
666
666
|
* will handle closing the menu when Escape is pressed.
|
|
667
667
|
*/
|
|
668
|
-
return (h(Host, { key: '
|
|
668
|
+
return (h(Host, { key: '4d8014018a4d35320fad25884f3949b67f4d2b59', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
669
669
|
[theme]: true,
|
|
670
670
|
[`menu-type-${type}`]: true,
|
|
671
671
|
'menu-enabled': !disabled,
|
|
672
672
|
[`menu-side-${side}`]: true,
|
|
673
673
|
'menu-pane-visible': isPaneVisible,
|
|
674
674
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
675
|
-
} }, h("div", { key: '
|
|
675
|
+
} }, h("div", { key: '36740aaebedfd05492182b47cc2400a8422eca03', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: 'e2f9a709e0c5389d9e7966ff322d273b8e1ed1dc' })), h("ion-backdrop", { key: '2d4ca83bad76041b3fdb9eccdda206061aa82e1c', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
676
676
|
}
|
|
677
677
|
get el() { return getElement(this); }
|
|
678
678
|
static get watchers() { return {
|
|
@@ -773,7 +773,7 @@ const MenuButton = class {
|
|
|
773
773
|
type: this.type,
|
|
774
774
|
};
|
|
775
775
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
776
|
-
return (h(Host, { key: '
|
|
776
|
+
return (h(Host, { key: '1156d6fbbfae106baf4b496f6af40f62f1a40c1c', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
777
777
|
[theme]: true,
|
|
778
778
|
button: true, // ion-buttons target .button
|
|
779
779
|
'menu-button-hidden': hidden,
|
|
@@ -782,7 +782,7 @@ const MenuButton = class {
|
|
|
782
782
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
783
783
|
'ion-activatable': true,
|
|
784
784
|
'ion-focusable': true,
|
|
785
|
-
}) }, h("button", Object.assign({ key: '
|
|
785
|
+
}) }, h("button", Object.assign({ key: 'de8c4eb9376622c8f7856d4217cebbf1ab33dd25' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: '4ef21adfb788ee64a66a86da0707117292f9e44c', class: "button-inner" }, h("slot", { key: '7e357a68623f773d2d156f214001ac75be57166b' }, h("ion-icon", { key: 'fac2551a1ef4a9e2f7415675926b1e84397171fc', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme === 'md' && h("ion-ripple-effect", { key: '7357781f2cd45738f08389644f325672d5fd331f', type: "unbounded" }))));
|
|
786
786
|
}
|
|
787
787
|
get el() { return getElement(this); }
|
|
788
788
|
};
|
|
@@ -818,10 +818,10 @@ const MenuToggle = class {
|
|
|
818
818
|
render() {
|
|
819
819
|
const theme = getIonTheme(this);
|
|
820
820
|
const hidden = this.autoHide && !this.visible;
|
|
821
|
-
return (h(Host, { key: '
|
|
821
|
+
return (h(Host, { key: '769666a8497276c40af900d2456975c5069fecb6', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
822
822
|
[theme]: true,
|
|
823
823
|
'menu-toggle-hidden': hidden,
|
|
824
|
-
} }, h("slot", { key: '
|
|
824
|
+
} }, h("slot", { key: '6f4352e8a69183562c42ee4b98b77497dfc59c1f' })));
|
|
825
825
|
}
|
|
826
826
|
};
|
|
827
827
|
MenuToggle.style = menuToggleCss();
|
|
@@ -3132,11 +3132,11 @@ const Modal = class {
|
|
|
3132
3132
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
3133
3133
|
const shape = this.getShape();
|
|
3134
3134
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
3135
|
-
return (h(Host, Object.assign({ key: '
|
|
3135
|
+
return (h(Host, Object.assign({ key: 'd38744e448224ea65c04edacd038f4226b13f4d6', "no-router": true,
|
|
3136
3136
|
// Allow the modal to be navigable when the handle is focusable
|
|
3137
3137
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
3138
3138
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
3139
|
-
}, 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: '
|
|
3139
|
+
}, 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: '292c61796d71ef63a68a8f48e35bd2a75bb54c27', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { key: '3e33304213a627aae63f884a07f1c2db0ea8dab9', class: "modal-shadow" }), h("div", Object.assign({ key: 'ee5791d964e1d06b8a77f0e90b2402676be8c166',
|
|
3140
3140
|
/*
|
|
3141
3141
|
role and aria-modal must be used on the
|
|
3142
3142
|
same element. They must also be set inside the
|
|
@@ -3149,9 +3149,9 @@ const Modal = class {
|
|
|
3149
3149
|
without the tabindex focus() would be a no-op and screen readers
|
|
3150
3150
|
may not properly announce the dialog and its content when it opens.
|
|
3151
3151
|
*/
|
|
3152
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
3152
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: 'd7be6afa0dc0db1003c28f90c584ebe47e05fb99', class: "modal-handle",
|
|
3153
3153
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
3154
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", "data-focus-order": "1", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '
|
|
3154
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", "data-focus-order": "1", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: 'dde62a1eb46ebf12e0b11b0076972eb5b401a255', onSlotchange: this.onSlotChange }))));
|
|
3155
3155
|
}
|
|
3156
3156
|
get el() { return getElement(this); }
|
|
3157
3157
|
static get watchers() { return {
|
|
@@ -899,7 +899,7 @@ const Nav = class {
|
|
|
899
899
|
}
|
|
900
900
|
}
|
|
901
901
|
render() {
|
|
902
|
-
return h("slot", { key: '
|
|
902
|
+
return h("slot", { key: '9190bdc1fafa4850d4d56d8e70bf2d5c2ef3877f' });
|
|
903
903
|
}
|
|
904
904
|
get el() { return getElement(this); }
|
|
905
905
|
static get watchers() { return {
|
|
@@ -945,7 +945,7 @@ const NavLink = class {
|
|
|
945
945
|
};
|
|
946
946
|
}
|
|
947
947
|
render() {
|
|
948
|
-
return h(Host, { key: '
|
|
948
|
+
return h(Host, { key: 'dac338e5c541959114336b26daef60d35c557c54', onClick: this.onClick });
|
|
949
949
|
}
|
|
950
950
|
get el() { return getElement(this); }
|
|
951
951
|
};
|
|
@@ -101,10 +101,10 @@ const PickerColumnOption = class {
|
|
|
101
101
|
render() {
|
|
102
102
|
const { color, disabled, ariaLabel } = this;
|
|
103
103
|
const theme = getIonTheme(this);
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: '9cc8ce5aca83d8d6b0e3509483c083a4092b3cc6', class: createColorClasses(color, {
|
|
105
105
|
[theme]: true,
|
|
106
106
|
['option-disabled']: disabled,
|
|
107
|
-
}) }, h("div", { key: '
|
|
107
|
+
}) }, h("div", { key: 'c98aa880320d6f647d1be2a6e22227ec34e1c6d1', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: 'f96ee65197cac49c433261422fb3eb6717c01730' }))));
|
|
108
108
|
}
|
|
109
109
|
get el() { return getElement(this); }
|
|
110
110
|
static get watchers() { return {
|
|
@@ -1544,9 +1544,9 @@ const Popover = class {
|
|
|
1544
1544
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
1545
1545
|
const desktop = isPlatform('desktop');
|
|
1546
1546
|
const enableArrow = arrow && !parentPopover;
|
|
1547
|
-
return (h(Host, Object.assign({ key: '
|
|
1547
|
+
return (h(Host, Object.assign({ key: 'c34db1b953b85bcc466058616e93bd4728e525f6', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1548
1548
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1549
|
-
}, 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: '
|
|
1549
|
+
}, 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: '13852a4358d2833fdf5af06ad32cf2fbcc5b05ad', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '26e8690c2db743311e0d8f9b8357f8ecb851180a', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: 'b3b97d1289385d19074feb6311a1f2246db30b71', class: "popover-arrow", part: "arrow" }), h("div", { key: 'f049dc25c8fbb28d9f73e0263e30f06d8bd3f8da', class: "popover-content", part: "content" }, h("slot", { key: '6841f93207c970612dba5e96fc04871d47453ba1' })))));
|
|
1550
1550
|
}
|
|
1551
1551
|
get el() { return getElement(this); }
|
|
1552
1552
|
static get watchers() { return {
|
|
@@ -57,7 +57,7 @@ const ProgressBar = class {
|
|
|
57
57
|
const shape = this.getShape();
|
|
58
58
|
// If the progress is displayed as a solid bar.
|
|
59
59
|
const progressSolid = buffer === 1;
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '532162e3c61c8d838e30e5555a2a2d3308207b7c', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
61
61
|
[theme]: true,
|
|
62
62
|
[`progress-bar-${type}`]: true,
|
|
63
63
|
'progress-paused': paused,
|
|
@@ -149,7 +149,7 @@ const Radio = class {
|
|
|
149
149
|
const theme = getIonTheme(this);
|
|
150
150
|
const inItem = hostContext('ion-item', el);
|
|
151
151
|
const inMultipleInputsItem = hostContext('ion-item.item-multiple-inputs', el);
|
|
152
|
-
return (h(Host, { key: '
|
|
152
|
+
return (h(Host, { key: '99ecc261dc1dab3d5c5fd13453c8de9216c1aacf', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
153
153
|
[theme]: true,
|
|
154
154
|
'in-item': inItem,
|
|
155
155
|
'radio-checked': checked,
|
|
@@ -162,10 +162,10 @@ const Radio = class {
|
|
|
162
162
|
// styling stays suppressed either way.
|
|
163
163
|
'ion-activatable': !inItem,
|
|
164
164
|
'ion-focusable': !inItem || inMultipleInputsItem,
|
|
165
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
165
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: 'd60330aa1ccbc65eec50a306f28c1678e8338c1f', class: "radio-wrapper" }, h("div", { key: '1b933f96113ffc0dbfa9f61f2cef5473430ae573', class: {
|
|
166
166
|
'label-text-wrapper': true,
|
|
167
167
|
'label-text-wrapper-hidden': !hasLabel,
|
|
168
|
-
}, part: "label" }, h("slot", { key: '
|
|
168
|
+
}, part: "label" }, h("slot", { key: 'c2d0ab8e96b7414d7bfba8293f58c39dd96eedcb' })), h("div", { key: '46c4d0ae324db12cfbf3afac16c0d00efb91cb3b', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
169
169
|
}
|
|
170
170
|
get el() { return getElement(this); }
|
|
171
171
|
static get watchers() { return {
|
|
@@ -441,10 +441,10 @@ const RadioGroup = class {
|
|
|
441
441
|
const { label, labelId, el, name, value } = this;
|
|
442
442
|
const theme = getIonTheme(this);
|
|
443
443
|
renderHiddenInput(true, el, name, value, false);
|
|
444
|
-
return (h(Host, { key: '
|
|
444
|
+
return (h(Host, { key: '53c742d96524150cbc63db40df214339a1b58511', class: {
|
|
445
445
|
[theme]: true,
|
|
446
446
|
'in-list': hostContext('ion-list', el),
|
|
447
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, "data-roving-focus": true, onClick: this.onClick }, this.renderHintText(), h("slot", { key: '
|
|
447
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, "data-roving-focus": true, onClick: this.onClick }, this.renderHintText(), h("slot", { key: '3eaeaa6b169795cec949af5c324614dbb7e7cc2b' })));
|
|
448
448
|
}
|
|
449
449
|
get el() { return getElement(this); }
|
|
450
450
|
static get watchers() { return {
|
|
@@ -805,7 +805,7 @@ const Range = class {
|
|
|
805
805
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
806
806
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
807
807
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
808
|
-
return (h(Host, { key: '
|
|
808
|
+
return (h(Host, { key: '1e6b57f8334cb7128be5e00ce1f76a11599a8628', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
809
809
|
[theme]: true,
|
|
810
810
|
'in-item': inItem,
|
|
811
811
|
'range-disabled': disabled,
|
|
@@ -819,10 +819,10 @@ const Range = class {
|
|
|
819
819
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
820
820
|
'range-value-min': valueAtMin,
|
|
821
821
|
'range-value-max': valueAtMax,
|
|
822
|
-
}) }, h("label", { key: '
|
|
822
|
+
}) }, h("label", { key: '8b0a64aca757e91f810ea0b09c981caa70b69294', class: "range-wrapper", id: "range-label" }, h("div", { key: '4802a117da497dc415c97257cad2ec634f32f1b5', class: {
|
|
823
823
|
'label-text-wrapper': true,
|
|
824
824
|
'label-text-wrapper-hidden': !hasLabel,
|
|
825
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
825
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: 'df67255144b7262f875511e1ef9499d3adf6b2de', class: "native-wrapper" }, h("slot", { key: 'c965b14a826bb997ad1ca01b3bbd475ebec7fd6a', name: "start" }), this.renderRangeSlider(), h("slot", { key: 'de5f548589d85091fb464160cab25a159334a7fb', name: "end" })))));
|
|
826
826
|
}
|
|
827
827
|
get el() { return getElement(this); }
|
|
828
828
|
static get watchers() { return {
|
|
@@ -947,7 +947,7 @@ const Refresher = class {
|
|
|
947
947
|
}
|
|
948
948
|
render() {
|
|
949
949
|
const theme = getIonTheme(this);
|
|
950
|
-
return (h(Host, { key: '
|
|
950
|
+
return (h(Host, { key: 'e1ba03cd1169e59d242cf99303923a6782aec9c7', slot: "fixed", class: {
|
|
951
951
|
[theme]: true,
|
|
952
952
|
// Used internally for styling
|
|
953
953
|
[`refresher-${theme}`]: true,
|
|
@@ -1021,9 +1021,9 @@ const RefresherContent = class {
|
|
|
1021
1021
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
1022
1022
|
const theme = getIonTheme(this);
|
|
1023
1023
|
const arrowIcon = theme === 'ionic' ? caretLeftFillSvg : caretBackSharp;
|
|
1024
|
-
return (h(Host, { key: '
|
|
1024
|
+
return (h(Host, { key: '0cc90377c6829900a1c75f2813560311acf70529', class: {
|
|
1025
1025
|
[theme]: true,
|
|
1026
|
-
} }, h("div", { key: '
|
|
1026
|
+
} }, h("div", { key: '2a8618ae8e1bd6c362209b626ebf61992826c5a0', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: '9e4caae17831f5fd43425ac4218064d51feda219', class: "refresher-pulling-icon" }, h("div", { key: 'c879db9a05b1ad5cb25311ca0a50171666c95e3d', class: "spinner-arrow-container" }, h("ion-spinner", { key: '884aefdf604e502101c3097ad9ab06a2ecaaf8ef', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (h("div", { key: 'a3fee09c495a2a61a792faa1d21316746e24e0e6', class: "arrow-container" }, h("ion-icon", { key: 'f7a28f9dfbc5b0edc6bf44c5f8187dae4657d062', icon: arrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: 'dcfddf82d55eda82cd44ac350f38c94434cb77e5', class: "refresher-pulling-icon" }, h("ion-icon", { key: '1ad746e80516f131ef929c79c22c833f3bf9bf74', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '248f7a0200310cfd30fd50ef014bb0bb57b0724b', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: '6168be7ae056728e0cf202d3206f3b761d46c94f', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: '1b8eb48c27e9f24b50d917d4f765c78a41e99837', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
1027
1027
|
}
|
|
1028
1028
|
get el() { return getElement(this); }
|
|
1029
1029
|
};
|
|
@@ -52,9 +52,9 @@ const Reorder = class {
|
|
|
52
52
|
render() {
|
|
53
53
|
const { reorderHandleIcon } = this;
|
|
54
54
|
const theme = getIonTheme(this);
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: 'aa3f510fde2876e0fd959ee5dd464862d2144b0c', class: {
|
|
56
56
|
[theme]: true,
|
|
57
|
-
} }, h("slot", { key: '
|
|
57
|
+
} }, h("slot", { key: 'b346b0d8953ab38045a3be825039508615646327' }, h("ion-icon", { key: 'ef7a796fa344c7c1c3cc0369e08d696d9cbc65bd', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
58
58
|
}
|
|
59
59
|
get el() { return getElement(this); }
|
|
60
60
|
};
|
|
@@ -318,7 +318,7 @@ const ReorderGroup = class {
|
|
|
318
318
|
}
|
|
319
319
|
render() {
|
|
320
320
|
const theme = getIonTheme(this);
|
|
321
|
-
return (h(Host, { key: '
|
|
321
|
+
return (h(Host, { key: '51b2568949ebe0dfa865eba728fe3626d3cdf71f', class: {
|
|
322
322
|
[theme]: true,
|
|
323
323
|
'reorder-enabled': !this.disabled,
|
|
324
324
|
'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: 'cde1e9370a586bd5484dd25cd0fa31765dda02e6', role: "presentation", class: {
|
|
80
80
|
[theme]: true,
|
|
81
81
|
unbounded: this.unbounded,
|
|
82
82
|
} }));
|
|
@@ -1073,10 +1073,10 @@ const RouterLink = class {
|
|
|
1073
1073
|
rel: this.rel,
|
|
1074
1074
|
target: this.target,
|
|
1075
1075
|
};
|
|
1076
|
-
return (h(Host, { key: '
|
|
1076
|
+
return (h(Host, { key: '807f4a6b1d3c8fb18ade05fd2a1af595c6e89002', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
1077
1077
|
[theme]: true,
|
|
1078
1078
|
'ion-activatable': true,
|
|
1079
|
-
}) }, h("a", Object.assign({ key: '
|
|
1079
|
+
}) }, h("a", Object.assign({ key: 'a088910213b8716a3e3c9a1242af121c293c4b53' }, attrs), h("slot", { key: '1a7b3d126ad7e73a09c641cddfed5aeff2a1d544' }))));
|
|
1080
1080
|
}
|
|
1081
1081
|
};
|
|
1082
1082
|
RouterLink.style = routerLinkCss();
|
|
@@ -584,8 +584,8 @@ const Searchbar = class {
|
|
|
584
584
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
585
585
|
const shape = this.getShape();
|
|
586
586
|
const size = this.getSize();
|
|
587
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
588
|
-
return (h(Host, { key: '
|
|
587
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: 'ba1054d659e4bea764fb452cbbbc2e6e5ed9aa62', "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: 'ce8b5af2840153e596f094b595586f805b62c2d8', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
588
|
+
return (h(Host, { key: 'd2ccc7761aca5a4a99db20127ec621f90472ca25', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
589
589
|
[theme]: true,
|
|
590
590
|
'searchbar-animated': animated,
|
|
591
591
|
'searchbar-disabled': this.disabled,
|
|
@@ -599,7 +599,7 @@ const Searchbar = class {
|
|
|
599
599
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
600
600
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
601
601
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
602
|
-
}) }, h("div", { key: '
|
|
602
|
+
}) }, h("div", { key: '536e99e577fdb0280529a97d7b208e6ae3223990', class: "searchbar-input-container" }, h("input", Object.assign({ key: '6155e03d7bed438e7dc4b7f14d1b9085f116cf8f', "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: 'a88731ba90a73898c05c58341ab4fffc3a9c239e', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (h("button", { key: '7d47ae7bbfbb9278c2dc8aa8e156da5d80d50a88', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: this.clearButtonPressController.onPointerDown, onPointerCancel: this.clearButtonPressController.release, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '7269c8b6886e8dea41ad17f257868a5d4bb9a5b8', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
603
603
|
}
|
|
604
604
|
get el() { return getElement(this); }
|
|
605
605
|
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: '71f41e504f32036fcc250f60a6e3854f2b8d8e9a' }, h("slot", { key: 'ed5ee09cf924957e1551140b15c6d5a4a63a2042' })));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
SegmentContent.style = segmentContentCss();
|
|
@@ -119,11 +119,11 @@ const SegmentView = class {
|
|
|
119
119
|
}
|
|
120
120
|
render() {
|
|
121
121
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
122
|
-
return (h(Host, { key: '
|
|
122
|
+
return (h(Host, { key: '39a6d926dc2bf3e59cd16f2b7a735335418026e6', class: {
|
|
123
123
|
'segment-view-disabled': disabled,
|
|
124
124
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
125
125
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
126
|
-
} }, h("slot", { key: '
|
|
126
|
+
} }, h("slot", { key: '5bd7e1015268e6971a9220e8ef23839f58fb608c' })));
|
|
127
127
|
}
|
|
128
128
|
get el() { return getElement(this); }
|
|
129
129
|
};
|
|
@@ -554,14 +554,14 @@ const Segment = class {
|
|
|
554
554
|
}
|
|
555
555
|
render() {
|
|
556
556
|
const theme = getIonTheme(this);
|
|
557
|
-
return (h(Host, { key: '
|
|
557
|
+
return (h(Host, { key: '4aab9258c768b2827c14b439414b3db219103e90', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
558
558
|
[theme]: true,
|
|
559
559
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
560
560
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
561
561
|
'segment-activated': this.activated,
|
|
562
562
|
'segment-disabled': this.disabled,
|
|
563
563
|
'segment-scrollable': this.scrollable,
|
|
564
|
-
}) }, h("slot", { key: '
|
|
564
|
+
}) }, h("slot", { key: '4de8a03aa0e08dfde3e951131bff3d3bce06b7b4', onSlotchange: this.onSlottedItemsChange })));
|
|
565
565
|
}
|
|
566
566
|
get el() { return getElement(this); }
|
|
567
567
|
static get watchers() { return {
|
|
@@ -690,7 +690,7 @@ const SegmentButton = class {
|
|
|
690
690
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
691
691
|
const theme = getIonTheme(this);
|
|
692
692
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
693
|
-
return (h(Host, { key: '
|
|
693
|
+
return (h(Host, { key: '16ff6773fda91c45ee0bb46850934f26be19d105', class: {
|
|
694
694
|
[theme]: true,
|
|
695
695
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
696
696
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -706,7 +706,7 @@ const SegmentButton = class {
|
|
|
706
706
|
'ion-activatable': true,
|
|
707
707
|
'ion-activatable-instant': true,
|
|
708
708
|
'ion-focusable': true,
|
|
709
|
-
} }, h("button", Object.assign({ key: '
|
|
709
|
+
} }, h("button", Object.assign({ key: '0b022c58fbf1ced7da879a3bacad5dd178fe98c3', "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: '3f6d12eb9d9448a787c18da271f13d7073de4213', class: "button-inner" }, h("slot", { key: 'c68033866430947e6acbe6b1dae605fdf7e8bd55' })), theme === 'md' && h("ion-ripple-effect", { key: '2df7503e10aca931f073073548c147e19de60998' })), h("div", { key: '425b190934c37f17bb49361cb0b6d01a6e2f3cec', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: '33f204eed573fca4c065343f6a4474985ebff4ee', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
710
710
|
}
|
|
711
711
|
get el() { return getElement(this); }
|
|
712
712
|
static get watchers() { return {
|
|
@@ -180,7 +180,7 @@ const SelectModal = class {
|
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
render() {
|
|
183
|
-
return (h(Host, { key: '
|
|
183
|
+
return (h(Host, { key: '3c54357041c0b4fe1221dba916dde9bfbab5df10', class: Object.assign({ [getIonMode(this)]: true }, this.getModalContextClasses()) }, h("ion-header", { key: 'fed058b666b444588eb2856beedf1f689be14cf0' }, h("ion-toolbar", { key: '4ad54b33aa2b38149b583850aa522d00c1db9418' }, this.header !== undefined && h("ion-title", { key: '12d9b9c904d225d9402739114b3ee5352333c274' }, this.header), h("ion-buttons", { key: '235a6c3777856b8e4dcf12db52f2cabd28c14bc2', slot: "end" }, h("ion-button", { key: 'dc2320000210100ee160865d2249cd027268fd53', "aria-label": this.cancelIcon ? this.cancelText : undefined, "data-focus-order": "2", onClick: () => this.closeModal() }, this.cancelIcon ? (h("ion-icon", { "aria-hidden": "true", slot: "icon-only", icon: this.cancelButtonIcon })) : (this.cancelText))))), h("ion-content", { key: '729b6821f15cc3d3743d67ec5a225902203dcdfb' }, h("ion-list", { key: 'ae4182b71368ecf8599bcb30c6e79f7703cdd445' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
184
184
|
}
|
|
185
185
|
get el() { return getElement(this); }
|
|
186
186
|
};
|
|
@@ -969,7 +969,7 @@ const Select = class {
|
|
|
969
969
|
*/
|
|
970
970
|
const labelShouldFloat = labelPlacement === 'stacked' ||
|
|
971
971
|
(labelPlacement === 'floating' && (hasValue || hasFocus || isExpanded || hasStartEndSlots));
|
|
972
|
-
return (h(Host, { key: '
|
|
972
|
+
return (h(Host, { key: '5cec6cd980d791d9a74a444a7371adc60edc9e6a', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
973
973
|
[theme]: true,
|
|
974
974
|
'in-item': inItem,
|
|
975
975
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -988,7 +988,7 @@ const Select = class {
|
|
|
988
988
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
989
989
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
990
990
|
[`select-size-${size}`]: size !== undefined,
|
|
991
|
-
}) }, h("label", { key: '
|
|
991
|
+
}) }, h("label", { key: '70b401b0367a1ce5ba020f69d9be303984b0171a', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), h("div", { key: '465028fa5227ec7d5748f5672a3032b98f7b530f', class: "select-wrapper-inner", part: "inner" },
|
|
992
992
|
/**
|
|
993
993
|
* For the ionic theme, we render the outline container here
|
|
994
994
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -998,7 +998,7 @@ const Select = class {
|
|
|
998
998
|
* <label> element, ensuring that clicking the label text
|
|
999
999
|
* focuses the select.
|
|
1000
1000
|
*/
|
|
1001
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
1001
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '82f1acd07b4fa08058da6121151e5926abb6fa77', class: "select-outline" }), h("slot", { key: '9ffaced18e0013830587c82c717d81c7449fe1f5', name: "start" }), h("div", { key: '9b90d18bb33a04a34a562d5d6b048bb8907e58b6', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '5a40623639ced84b7ca6d7017adb92f8b1eb017e', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: '1935912a74c2f4e8160936fbccd1e1fb6b472d1e', class: "select-highlight" })), this.renderBottomContent()));
|
|
1002
1002
|
}
|
|
1003
1003
|
get el() { return getElement(this); }
|
|
1004
1004
|
static get watchers() { return {
|
|
@@ -1268,7 +1268,7 @@ const SelectOption = class {
|
|
|
1268
1268
|
}
|
|
1269
1269
|
render() {
|
|
1270
1270
|
const theme = getIonTheme(this);
|
|
1271
|
-
return (h(Host, { key: '
|
|
1271
|
+
return (h(Host, { key: '3a3b73f5a7d447d32daa848de4fa28a4261cd54d', class: {
|
|
1272
1272
|
[theme]: true,
|
|
1273
1273
|
}, role: "option", id: this.inputId }));
|
|
1274
1274
|
}
|
|
@@ -1439,9 +1439,9 @@ const SelectPopover = class {
|
|
|
1439
1439
|
const { header, message, options, subHeader } = this;
|
|
1440
1440
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
1441
1441
|
const theme = getIonTheme(this);
|
|
1442
|
-
return (h(Host, { key: '
|
|
1442
|
+
return (h(Host, { key: '1a51583c1c3162d4273ecdee74363a2d87c2e6a2', class: {
|
|
1443
1443
|
[theme]: true,
|
|
1444
|
-
} }, h("ion-list", { key: '
|
|
1444
|
+
} }, h("ion-list", { key: 'fbab6b52bca92448690c3551aa479384250d6134' }, header !== undefined && h("ion-list-header", { key: '084cbec55a6ed62e81102b56b0ddcc16ae516bda' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: '1e9f91956ccf845e892cb2d8ee52c07186ac6e16' }, h("ion-label", { key: 'a1fa7b5722fc7cc751615af4c7a5bec1a312097c', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: 'beda52e83abf2470f5ca44f6d7999b952343e51b' }, subHeader), message !== undefined && h("p", { key: '70ef5890727b704e4e5af668c49ebd843522ab73' }, message)))), this.renderOptions(options))));
|
|
1445
1445
|
}
|
|
1446
1446
|
get el() { return getElement(this); }
|
|
1447
1447
|
};
|
|
@@ -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: '52edb7e791b4ef6da62583a477b9a765708fdeae', class: createColorClasses(self.color, {
|
|
63
63
|
[theme]: true,
|
|
64
64
|
[`spinner-${spinnerName}`]: true,
|
|
65
65
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -129,12 +129,12 @@ const SplitPane = class {
|
|
|
129
129
|
}
|
|
130
130
|
render() {
|
|
131
131
|
const theme = getIonTheme(this);
|
|
132
|
-
return (h(Host, { key: '
|
|
132
|
+
return (h(Host, { key: '7305d7fc6f56382299af21c91d11115fc490a4e6', class: {
|
|
133
133
|
[theme]: true,
|
|
134
134
|
// Used internally for styling
|
|
135
135
|
[`split-pane-${theme}`]: true,
|
|
136
136
|
'split-pane-visible': this.visible,
|
|
137
|
-
} }, h("slot", { key: '
|
|
137
|
+
} }, h("slot", { key: '31ec961127f92d69f80db2b6daa628e32b67bfe4' })));
|
|
138
138
|
}
|
|
139
139
|
get el() { return getElement(this); }
|
|
140
140
|
static get watchers() { return {
|
|
@@ -186,14 +186,14 @@ const TabBar = class {
|
|
|
186
186
|
const theme = getIonTheme(this);
|
|
187
187
|
const shape = this.getShape();
|
|
188
188
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
189
|
-
return (h(Host, { key: '
|
|
189
|
+
return (h(Host, { key: '2b3d91345d7242bb69b9df729726de46f4828cd8', role: "tablist", class: createColorClasses(color, {
|
|
190
190
|
[theme]: true,
|
|
191
191
|
'tab-bar-translucent': translucent,
|
|
192
192
|
'tab-bar-hidden': shouldHide,
|
|
193
193
|
'tab-bar-scroll-effect-hide': scrollEffect === 'hide',
|
|
194
194
|
[`tab-bar-${expand}`]: true,
|
|
195
195
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
196
|
-
}) }, h("slot", { key: '
|
|
196
|
+
}) }, h("slot", { key: '336286b0ee797f63012fc7ddd18671ee58e71e6f' })));
|
|
197
197
|
}
|
|
198
198
|
get el() { return getElement(this); }
|
|
199
199
|
static get watchers() { return {
|
|
@@ -301,7 +301,7 @@ const TabButton = class {
|
|
|
301
301
|
rel,
|
|
302
302
|
target,
|
|
303
303
|
};
|
|
304
|
-
return (h(Host, { key: '
|
|
304
|
+
return (h(Host, { key: '0288ce33bbf94c86795966cec12c4c9d76ab2670', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
305
305
|
[theme]: true,
|
|
306
306
|
'tab-selected': selected,
|
|
307
307
|
'tab-disabled': disabled,
|
|
@@ -314,7 +314,7 @@ const TabButton = class {
|
|
|
314
314
|
'ion-selectable': true,
|
|
315
315
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
316
316
|
'ion-focusable': true,
|
|
317
|
-
} }, h("a", Object.assign({ key: '
|
|
317
|
+
} }, h("a", Object.assign({ key: '838dd34095ab1a83dc5007ca31b359cec11d179e' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: '31d7246c756321688073c5a008d96da972d46f86', class: "button-inner" }, h("slot", { key: '55addcfbe550b9d30ed10f665ff779cd90dd7d63' })), theme === 'md' && h("ion-ripple-effect", { key: '8cc77748a1ff7c3051aa7827ef181727950f4372', type: "unbounded" }))));
|
|
318
318
|
}
|
|
319
319
|
get el() { return getElement(this); }
|
|
320
320
|
};
|
|
@@ -52,10 +52,10 @@ const Tab = class {
|
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
54
|
const { tab, active, component } = this;
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '5fa8404a8d3a55eecf25c630f6a68fe4b3bd6479', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
56
56
|
'ion-page': component === undefined,
|
|
57
57
|
'tab-hidden': !active,
|
|
58
|
-
} }, h("slot", { key: '
|
|
58
|
+
} }, h("slot", { key: '5930c82a0063f3119c99381ba7b1a9434156e4db' })));
|
|
59
59
|
}
|
|
60
60
|
get el() { return getElement(this); }
|
|
61
61
|
static get watchers() { return {
|
|
@@ -226,7 +226,7 @@ const Tabs = class {
|
|
|
226
226
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
227
227
|
}
|
|
228
228
|
render() {
|
|
229
|
-
return (h(Host, { key: '
|
|
229
|
+
return (h(Host, { key: '85abde8354a794d6c2fbad2416beadcdd34a97ac', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '01f8a0955d0dc3f1c87d51b747fcc5cd6807b79f', name: "top" }), h("div", { key: 'b7d45cf94c459a07509beee32f95c51b1a8b376b', class: "tabs-inner" }, h("slot", { key: 'ff80bc743bc394fc0d7aaac3758841af6542a935' })), h("slot", { key: 'e129c0485ccc27c994e0a7c479d3b65cb7232106', name: "bottom" })));
|
|
230
230
|
}
|
|
231
231
|
get el() { return getElement(this); }
|
|
232
232
|
};
|
|
@@ -13,9 +13,9 @@ const Text = class {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const theme = getIonTheme(this);
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '527c671995f6703ba4a963a310eeac327731359a', class: createColorClasses(this.color, {
|
|
17
17
|
[theme]: true,
|
|
18
|
-
}) }, h("slot", { key: '
|
|
18
|
+
}) }, h("slot", { key: '5920d06a9ec7f36a815b420a8b62bba7ac9a33b3' })));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
Text.style = textCss();
|
|
@@ -568,7 +568,7 @@ const Textarea = class {
|
|
|
568
568
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
569
569
|
*/
|
|
570
570
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
571
|
-
return (h(Host, { key: '
|
|
571
|
+
return (h(Host, { key: '401c2b409b8d0a79700fdd3433fffe9b78032142', class: createColorClasses(this.color, {
|
|
572
572
|
[theme]: true,
|
|
573
573
|
'has-value': hasValue,
|
|
574
574
|
'has-focus': hasFocus,
|
|
@@ -580,7 +580,7 @@ const Textarea = class {
|
|
|
580
580
|
'in-item': inItem,
|
|
581
581
|
'textarea-disabled': disabled,
|
|
582
582
|
'textarea-readonly': readonly,
|
|
583
|
-
}) }, h("label", { key: '
|
|
583
|
+
}) }, h("label", { key: '41a96f91506e7bbd6bf8b7edd336de7452af5977', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), h("div", { key: 'b487ba8f575ade22162b65ce5295a58fcba4cd4a', class: "textarea-wrapper-inner" },
|
|
584
584
|
/**
|
|
585
585
|
* For the ionic theme, we render the outline container here
|
|
586
586
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -590,7 +590,7 @@ const Textarea = class {
|
|
|
590
590
|
* <label> element, ensuring that clicking the label text
|
|
591
591
|
* focuses the textarea.
|
|
592
592
|
*/
|
|
593
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
593
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '853f851d34b9357a5c5f98cad7bf857ae292e8a8', class: "textarea-outline" }), h("div", { key: '6830c067c5a12a4b847e650bf1507a3be5086761', class: "start-slot-wrapper" }, h("slot", { key: 'b7d4fa13c14ef65d95dab7af8764a0c32a62bdea', name: "start" })), h("div", { key: '9e4d06aea5899b7ca43dbd091d58e14a01f85913', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el), part: "container" }, h("textarea", Object.assign({ key: 'dc4d449f5bf9e8ce38d68cccb0b992ec610c17fa', class: "native-textarea", part: "native", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined }, this.inheritedAttributes), value)), h("div", { key: 'ac802652cd0f18f2114be2b89f0cedf9b6be2703', class: "end-slot-wrapper" }, h("slot", { key: '07cf7a81e6beafc4f44b00fd71ef9abddf61a31d', name: "end" }))), shouldRenderHighlight && h("div", { key: '104bc7640740eee4ca026cd0c6a55954ffad71d0', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
594
594
|
}
|
|
595
595
|
static get delegatesFocus() { return true; }
|
|
596
596
|
static get formAssociated() { return true; }
|