@ionic/core 8.8.20-dev.11790159710.1cc6cd83 → 8.8.20-dev.11790589087.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 +4 -4
- 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.ionic.css +2 -2
- 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 +4 -4
- 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-c976000d.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 +120 -120
- package/hydrate/index.mjs +120 -120
- 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
|
@@ -661,14 +661,14 @@ export class Menu {
|
|
|
661
661
|
* the ionBackButton listener in the menu controller
|
|
662
662
|
* will handle closing the menu when Escape is pressed.
|
|
663
663
|
*/
|
|
664
|
-
return (h(Host, { key: '
|
|
664
|
+
return (h(Host, { key: '4d8014018a4d35320fad25884f3949b67f4d2b59', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
665
665
|
[theme]: true,
|
|
666
666
|
[`menu-type-${type}`]: true,
|
|
667
667
|
'menu-enabled': !disabled,
|
|
668
668
|
[`menu-side-${side}`]: true,
|
|
669
669
|
'menu-pane-visible': isPaneVisible,
|
|
670
670
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
671
|
-
} }, h("div", { key: '
|
|
671
|
+
} }, 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" })));
|
|
672
672
|
}
|
|
673
673
|
static get is() { return "ion-menu"; }
|
|
674
674
|
static get encapsulation() { return "shadow"; }
|
|
@@ -67,7 +67,7 @@ export class MenuButton {
|
|
|
67
67
|
type: this.type,
|
|
68
68
|
};
|
|
69
69
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '1156d6fbbfae106baf4b496f6af40f62f1a40c1c', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
71
71
|
[theme]: true,
|
|
72
72
|
button: true, // ion-buttons target .button
|
|
73
73
|
'menu-button-hidden': hidden,
|
|
@@ -76,7 +76,7 @@ export class MenuButton {
|
|
|
76
76
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
77
77
|
'ion-activatable': true,
|
|
78
78
|
'ion-focusable': true,
|
|
79
|
-
}) }, h("button", Object.assign({ key: '
|
|
79
|
+
}) }, 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" }))));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "ion-menu-button"; }
|
|
82
82
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,10 +34,10 @@ export class MenuToggle {
|
|
|
34
34
|
render() {
|
|
35
35
|
const theme = getIonTheme(this);
|
|
36
36
|
const hidden = this.autoHide && !this.visible;
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '769666a8497276c40af900d2456975c5069fecb6', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
38
38
|
[theme]: true,
|
|
39
39
|
'menu-toggle-hidden': hidden,
|
|
40
|
-
} }, h("slot", { key: '
|
|
40
|
+
} }, h("slot", { key: '6f4352e8a69183562c42ee4b98b77497dfc59c1f' })));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "ion-menu-toggle"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1198,11 +1198,11 @@ export class Modal {
|
|
|
1198
1198
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
1199
1199
|
const shape = this.getShape();
|
|
1200
1200
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
1201
|
-
return (h(Host, Object.assign({ key: '
|
|
1201
|
+
return (h(Host, Object.assign({ key: 'd38744e448224ea65c04edacd038f4226b13f4d6', "no-router": true,
|
|
1202
1202
|
// Allow the modal to be navigable when the handle is focusable
|
|
1203
1203
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
1204
1204
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1205
|
-
}, 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: '
|
|
1205
|
+
}, 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',
|
|
1206
1206
|
/*
|
|
1207
1207
|
role and aria-modal must be used on the
|
|
1208
1208
|
same element. They must also be set inside the
|
|
@@ -1215,9 +1215,9 @@ export class Modal {
|
|
|
1215
1215
|
without the tabindex focus() would be a no-op and screen readers
|
|
1216
1216
|
may not properly announce the dialog and its content when it opens.
|
|
1217
1217
|
*/
|
|
1218
|
-
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: '
|
|
1218
|
+
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",
|
|
1219
1219
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
1220
|
-
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: '
|
|
1220
|
+
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 }))));
|
|
1221
1221
|
}
|
|
1222
1222
|
static get is() { return "ion-modal"; }
|
|
1223
1223
|
static get encapsulation() { return "shadow"; }
|
|
@@ -834,7 +834,7 @@ export class Nav {
|
|
|
834
834
|
}
|
|
835
835
|
}
|
|
836
836
|
render() {
|
|
837
|
-
return h("slot", { key: '
|
|
837
|
+
return h("slot", { key: '9190bdc1fafa4850d4d56d8e70bf2d5c2ef3877f' });
|
|
838
838
|
}
|
|
839
839
|
static get is() { return "ion-nav"; }
|
|
840
840
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class NavLink {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return h(Host, { key: '
|
|
21
|
+
return h(Host, { key: 'dac338e5c541959114336b26daef60d35c557c54', onClick: this.onClick });
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "ion-nav-link"; }
|
|
24
24
|
static get properties() {
|
|
@@ -11,9 +11,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
11
11
|
export class Note {
|
|
12
12
|
render() {
|
|
13
13
|
const theme = getIonTheme(this);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '26bc60ea8cb2003e7f4dbcfcc9d771bf2844f4a1', class: createColorClasses(this.color, {
|
|
15
15
|
[theme]: true,
|
|
16
|
-
}) }, h("slot", { key: '
|
|
16
|
+
}) }, h("slot", { key: 'ec950244157e8687cc39e10d0e1add9c144bd61c' })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "ion-note"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -95,10 +95,10 @@ export class PickerColumnOption {
|
|
|
95
95
|
render() {
|
|
96
96
|
const { color, disabled, ariaLabel } = this;
|
|
97
97
|
const theme = getIonTheme(this);
|
|
98
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: '9cc8ce5aca83d8d6b0e3509483c083a4092b3cc6', class: createColorClasses(color, {
|
|
99
99
|
[theme]: true,
|
|
100
100
|
['option-disabled']: disabled,
|
|
101
|
-
}) }, h("div", { key: '
|
|
101
|
+
}) }, h("div", { key: 'c98aa880320d6f647d1be2a6e22227ec34e1c6d1', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: 'f96ee65197cac49c433261422fb3eb6717c01730' }))));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "ion-picker-column-option"; }
|
|
104
104
|
static get encapsulation() { return "shadow"; }
|
|
@@ -208,11 +208,11 @@ export class Picker {
|
|
|
208
208
|
render() {
|
|
209
209
|
const { htmlAttributes } = this;
|
|
210
210
|
const theme = getIonTheme(this);
|
|
211
|
-
return (h(Host, Object.assign({ key: '
|
|
211
|
+
return (h(Host, Object.assign({ key: 'e0411113657e3412cde899a6d3ec3d48fec5b359', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
212
212
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
213
213
|
}, class: Object.assign({ [theme]: true,
|
|
214
214
|
// Used internally for styling
|
|
215
|
-
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
215
|
+
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: 'f2106151877a6098d4cf62052a70045f75f3f682', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'c5bf28ae0a090442446eafcb49ad8a0a2a5540dc', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'c38022aa1097b39acfbc6781cd1e3aef558f0b1b', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: 'e684a3eeca698c2a859e24d26789ff006921f494', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: '2c8ea2256e140dc7128b2da20b3276ec2a282e8a', class: "picker-columns" }, h("div", { key: '94c5c1caf9ad8c2ab052ad114365ed79ead491b9', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: '09d142fe57745bb9847cf6ba0ab289f85cd10f0a', class: "picker-below-highlight" }))), h("div", { key: 'db09616822c48523185ecb10ab0682e643873b96', tabindex: "0", "aria-hidden": "true" })));
|
|
216
216
|
}
|
|
217
217
|
static get is() { return "ion-picker-legacy"; }
|
|
218
218
|
static get encapsulation() { return "scoped"; }
|
|
@@ -335,9 +335,9 @@ export class PickerColumnCmp {
|
|
|
335
335
|
render() {
|
|
336
336
|
const col = this.col;
|
|
337
337
|
const theme = getIonTheme(this);
|
|
338
|
-
return (h(Host, { key: '
|
|
338
|
+
return (h(Host, { key: '07dc83814ed5f96a8b363c284047a9ac0520d730', class: Object.assign({ [theme]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
339
339
|
'max-width': this.col.columnWidth,
|
|
340
|
-
} }, col.prefix && (h("div", { key: '
|
|
340
|
+
} }, col.prefix && (h("div", { key: 'b53030160fd2999c2983986938f92e9052317c85', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '3c723e92c64839dfdd775a93a01c79f302bace3e', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (h("div", { key: '34926a3909d47a9f37a90816ef977e673492e266', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
341
341
|
}
|
|
342
342
|
static get is() { return "ion-picker-legacy-column"; }
|
|
343
343
|
static get originalStyleUrls() {
|
|
@@ -468,9 +468,9 @@ export class Popover {
|
|
|
468
468
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
469
469
|
const desktop = isPlatform('desktop');
|
|
470
470
|
const enableArrow = arrow && !parentPopover;
|
|
471
|
-
return (h(Host, Object.assign({ key: '
|
|
471
|
+
return (h(Host, Object.assign({ key: 'c34db1b953b85bcc466058616e93bd4728e525f6', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
472
472
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
473
|
-
}, 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: '
|
|
473
|
+
}, 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' })))));
|
|
474
474
|
}
|
|
475
475
|
static get is() { return "ion-popover"; }
|
|
476
476
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,7 +57,7 @@ export class ProgressBar {
|
|
|
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,
|
|
@@ -145,7 +145,7 @@ export class Radio {
|
|
|
145
145
|
const theme = getIonTheme(this);
|
|
146
146
|
const inItem = hostContext('ion-item', el);
|
|
147
147
|
const inMultipleInputsItem = hostContext('ion-item.item-multiple-inputs', el);
|
|
148
|
-
return (h(Host, { key: '
|
|
148
|
+
return (h(Host, { key: '99ecc261dc1dab3d5c5fd13453c8de9216c1aacf', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
149
149
|
[theme]: true,
|
|
150
150
|
'in-item': inItem,
|
|
151
151
|
'radio-checked': checked,
|
|
@@ -158,10 +158,10 @@ export class Radio {
|
|
|
158
158
|
// styling stays suppressed either way.
|
|
159
159
|
'ion-activatable': !inItem,
|
|
160
160
|
'ion-focusable': !inItem || inMultipleInputsItem,
|
|
161
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
161
|
+
}), 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: {
|
|
162
162
|
'label-text-wrapper': true,
|
|
163
163
|
'label-text-wrapper-hidden': !hasLabel,
|
|
164
|
-
}, part: "label" }, h("slot", { key: '
|
|
164
|
+
}, part: "label" }, h("slot", { key: 'c2d0ab8e96b7414d7bfba8293f58c39dd96eedcb' })), h("div", { key: '46c4d0ae324db12cfbf3afac16c0d00efb91cb3b', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
165
165
|
}
|
|
166
166
|
static get is() { return "ion-radio"; }
|
|
167
167
|
static get encapsulation() { return "shadow"; }
|
|
@@ -265,10 +265,10 @@ export class RadioGroup {
|
|
|
265
265
|
const { label, labelId, el, name, value } = this;
|
|
266
266
|
const theme = getIonTheme(this);
|
|
267
267
|
renderHiddenInput(true, el, name, value, false);
|
|
268
|
-
return (h(Host, { key: '
|
|
268
|
+
return (h(Host, { key: '53c742d96524150cbc63db40df214339a1b58511', class: {
|
|
269
269
|
[theme]: true,
|
|
270
270
|
'in-list': hostContext('ion-list', el),
|
|
271
|
-
}, 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: '
|
|
271
|
+
}, 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' })));
|
|
272
272
|
}
|
|
273
273
|
static get is() { return "ion-radio-group"; }
|
|
274
274
|
static get encapsulation() { return "shadow"; }
|
|
@@ -780,7 +780,7 @@ export class Range {
|
|
|
780
780
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
781
781
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
782
782
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
783
|
-
return (h(Host, { key: '
|
|
783
|
+
return (h(Host, { key: '1e6b57f8334cb7128be5e00ce1f76a11599a8628', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
784
784
|
[theme]: true,
|
|
785
785
|
'in-item': inItem,
|
|
786
786
|
'range-disabled': disabled,
|
|
@@ -794,10 +794,10 @@ export class Range {
|
|
|
794
794
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
795
795
|
'range-value-min': valueAtMin,
|
|
796
796
|
'range-value-max': valueAtMax,
|
|
797
|
-
}) }, h("label", { key: '
|
|
797
|
+
}) }, h("label", { key: '8b0a64aca757e91f810ea0b09c981caa70b69294', class: "range-wrapper", id: "range-label" }, h("div", { key: '4802a117da497dc415c97257cad2ec634f32f1b5', class: {
|
|
798
798
|
'label-text-wrapper': true,
|
|
799
799
|
'label-text-wrapper-hidden': !hasLabel,
|
|
800
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
800
|
+
}, 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" })))));
|
|
801
801
|
}
|
|
802
802
|
static get is() { return "ion-range"; }
|
|
803
803
|
static get encapsulation() { return "shadow"; }
|
|
@@ -744,7 +744,7 @@ export class Refresher {
|
|
|
744
744
|
}
|
|
745
745
|
render() {
|
|
746
746
|
const theme = getIonTheme(this);
|
|
747
|
-
return (h(Host, { key: '
|
|
747
|
+
return (h(Host, { key: 'e1ba03cd1169e59d242cf99303923a6782aec9c7', slot: "fixed", class: {
|
|
748
748
|
[theme]: true,
|
|
749
749
|
// Used internally for styling
|
|
750
750
|
[`refresher-${theme}`]: true,
|
|
@@ -53,9 +53,9 @@ export class RefresherContent {
|
|
|
53
53
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
54
54
|
const theme = getIonTheme(this);
|
|
55
55
|
const arrowIcon = theme === 'ionic' ? caretLeftFill : caretBackSharp;
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '0cc90377c6829900a1c75f2813560311acf70529', class: {
|
|
57
57
|
[theme]: true,
|
|
58
|
-
} }, h("div", { key: '
|
|
58
|
+
} }, 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())));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "ion-refresher-content"; }
|
|
61
61
|
static get originalStyleUrls() {
|
|
@@ -43,9 +43,9 @@ export class Reorder {
|
|
|
43
43
|
render() {
|
|
44
44
|
const { reorderHandleIcon } = this;
|
|
45
45
|
const theme = getIonTheme(this);
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: 'aa3f510fde2876e0fd959ee5dd464862d2144b0c', class: {
|
|
47
47
|
[theme]: true,
|
|
48
|
-
} }, h("slot", { key: '
|
|
48
|
+
} }, h("slot", { key: 'b346b0d8953ab38045a3be825039508615646327' }, h("ion-icon", { key: 'ef7a796fa344c7c1c3cc0369e08d696d9cbc65bd', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "ion-reorder"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -257,7 +257,7 @@ export class ReorderGroup {
|
|
|
257
257
|
}
|
|
258
258
|
render() {
|
|
259
259
|
const theme = getIonTheme(this);
|
|
260
|
-
return (h(Host, { key: '
|
|
260
|
+
return (h(Host, { key: '51b2568949ebe0dfa865eba728fe3626d3cdf71f', class: {
|
|
261
261
|
[theme]: true,
|
|
262
262
|
'reorder-enabled': !this.disabled,
|
|
263
263
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -72,7 +72,7 @@ export class RippleEffect {
|
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
74
|
const theme = getIonTheme(this);
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: 'cde1e9370a586bd5484dd25cd0fa31765dda02e6', role: "presentation", class: {
|
|
76
76
|
[theme]: true,
|
|
77
77
|
unbounded: this.unbounded,
|
|
78
78
|
} }));
|
|
@@ -26,10 +26,10 @@ export class RouterLink {
|
|
|
26
26
|
rel: this.rel,
|
|
27
27
|
target: this.target,
|
|
28
28
|
};
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '807f4a6b1d3c8fb18ade05fd2a1af595c6e89002', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
30
30
|
[theme]: true,
|
|
31
31
|
'ion-activatable': true,
|
|
32
|
-
}) }, h("a", Object.assign({ key: '
|
|
32
|
+
}) }, h("a", Object.assign({ key: 'a088910213b8716a3e3c9a1242af121c293c4b53' }, attrs), h("slot", { key: '1a7b3d126ad7e73a09c641cddfed5aeff2a1d544' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-router-link"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -184,7 +184,7 @@ export class RouterOutlet {
|
|
|
184
184
|
return true;
|
|
185
185
|
}
|
|
186
186
|
render() {
|
|
187
|
-
return h("slot", { key: '
|
|
187
|
+
return h("slot", { key: '8968db9384f12de5864a72b8bb36a6ecaf265bce' });
|
|
188
188
|
}
|
|
189
189
|
static get is() { return "ion-router-outlet"; }
|
|
190
190
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,9 +10,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class Row {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '462e25104f02259346730c4cd9112c1638fc4421', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: 'e57eb2188504a92d9779a9f176688dd4c4b393e1' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-row"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -571,8 +571,8 @@ export class Searchbar {
|
|
|
571
571
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
572
572
|
const shape = this.getShape();
|
|
573
573
|
const size = this.getSize();
|
|
574
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
575
|
-
return (h(Host, { key: '
|
|
574
|
+
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))));
|
|
575
|
+
return (h(Host, { key: 'd2ccc7761aca5a4a99db20127ec621f90472ca25', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
576
576
|
[theme]: true,
|
|
577
577
|
'searchbar-animated': animated,
|
|
578
578
|
'searchbar-disabled': this.disabled,
|
|
@@ -586,7 +586,7 @@ export class Searchbar {
|
|
|
586
586
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
587
587
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
588
588
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
589
|
-
}) }, h("div", { key: '
|
|
589
|
+
}) }, 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));
|
|
590
590
|
}
|
|
591
591
|
static get is() { return "ion-searchbar"; }
|
|
592
592
|
static get encapsulation() { return "scoped"; }
|
|
@@ -548,14 +548,14 @@ export class Segment {
|
|
|
548
548
|
}
|
|
549
549
|
render() {
|
|
550
550
|
const theme = getIonTheme(this);
|
|
551
|
-
return (h(Host, { key: '
|
|
551
|
+
return (h(Host, { key: '4aab9258c768b2827c14b439414b3db219103e90', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
552
552
|
[theme]: true,
|
|
553
553
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
554
554
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
555
555
|
'segment-activated': this.activated,
|
|
556
556
|
'segment-disabled': this.disabled,
|
|
557
557
|
'segment-scrollable': this.scrollable,
|
|
558
|
-
}) }, h("slot", { key: '
|
|
558
|
+
}) }, h("slot", { key: '4de8a03aa0e08dfde3e951131bff3d3bce06b7b4', onSlotchange: this.onSlottedItemsChange })));
|
|
559
559
|
}
|
|
560
560
|
static get is() { return "ion-segment"; }
|
|
561
561
|
static get encapsulation() { return "shadow"; }
|
|
@@ -112,7 +112,7 @@ export class SegmentButton {
|
|
|
112
112
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
113
113
|
const theme = getIonTheme(this);
|
|
114
114
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: '16ff6773fda91c45ee0bb46850934f26be19d105', class: {
|
|
116
116
|
[theme]: true,
|
|
117
117
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
118
118
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -128,7 +128,7 @@ export class SegmentButton {
|
|
|
128
128
|
'ion-activatable': true,
|
|
129
129
|
'ion-activatable-instant': true,
|
|
130
130
|
'ion-focusable': true,
|
|
131
|
-
} }, h("button", Object.assign({ key: '
|
|
131
|
+
} }, 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" }))));
|
|
132
132
|
}
|
|
133
133
|
static get is() { return "ion-segment-button"; }
|
|
134
134
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
export class SegmentContent {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '71f41e504f32036fcc250f60a6e3854f2b8d8e9a' }, h("slot", { key: 'ed5ee09cf924957e1551140b15c6d5a4a63a2042' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "ion-segment-content"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -110,11 +110,11 @@ export class SegmentView {
|
|
|
110
110
|
}
|
|
111
111
|
render() {
|
|
112
112
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
113
|
-
return (h(Host, { key: '
|
|
113
|
+
return (h(Host, { key: '39a6d926dc2bf3e59cd16f2b7a735335418026e6', class: {
|
|
114
114
|
'segment-view-disabled': disabled,
|
|
115
115
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
116
116
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
117
|
-
} }, h("slot", { key: '
|
|
117
|
+
} }, h("slot", { key: '5bd7e1015268e6971a9220e8ef23839f58fb608c' })));
|
|
118
118
|
}
|
|
119
119
|
static get is() { return "ion-segment-view"; }
|
|
120
120
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1017,7 +1017,7 @@ export class Select {
|
|
|
1017
1017
|
*/
|
|
1018
1018
|
const labelShouldFloat = labelPlacement === 'stacked' ||
|
|
1019
1019
|
(labelPlacement === 'floating' && (hasValue || hasFocus || isExpanded || hasStartEndSlots));
|
|
1020
|
-
return (h(Host, { key: '
|
|
1020
|
+
return (h(Host, { key: '5cec6cd980d791d9a74a444a7371adc60edc9e6a', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
1021
1021
|
[theme]: true,
|
|
1022
1022
|
'in-item': inItem,
|
|
1023
1023
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -1036,7 +1036,7 @@ export class Select {
|
|
|
1036
1036
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
1037
1037
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
1038
1038
|
[`select-size-${size}`]: size !== undefined,
|
|
1039
|
-
}) }, h("label", { key: '
|
|
1039
|
+
}) }, 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" },
|
|
1040
1040
|
/**
|
|
1041
1041
|
* For the ionic theme, we render the outline container here
|
|
1042
1042
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -1046,7 +1046,7 @@ export class Select {
|
|
|
1046
1046
|
* <label> element, ensuring that clicking the label text
|
|
1047
1047
|
* focuses the select.
|
|
1048
1048
|
*/
|
|
1049
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
1049
|
+
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()));
|
|
1050
1050
|
}
|
|
1051
1051
|
static get is() { return "ion-select"; }
|
|
1052
1052
|
static get encapsulation() { return "shadow"; }
|
|
@@ -166,7 +166,7 @@ export class SelectModal {
|
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
168
|
render() {
|
|
169
|
-
return (h(Host, { key: '
|
|
169
|
+
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()))));
|
|
170
170
|
}
|
|
171
171
|
static get is() { return "ion-select-modal"; }
|
|
172
172
|
static get encapsulation() { return "scoped"; }
|
|
@@ -21,7 +21,7 @@ export class SelectOption {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
const theme = getIonTheme(this);
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '3a3b73f5a7d447d32daa848de4fa28a4261cd54d', class: {
|
|
25
25
|
[theme]: true,
|
|
26
26
|
}, role: "option", id: this.inputId }));
|
|
27
27
|
}
|
|
@@ -168,9 +168,9 @@ export class SelectPopover {
|
|
|
168
168
|
const { header, message, options, subHeader } = this;
|
|
169
169
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
170
170
|
const theme = getIonTheme(this);
|
|
171
|
-
return (h(Host, { key: '
|
|
171
|
+
return (h(Host, { key: '1a51583c1c3162d4273ecdee74363a2d87c2e6a2', class: {
|
|
172
172
|
[theme]: true,
|
|
173
|
-
} }, h("ion-list", { key: '
|
|
173
|
+
} }, 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))));
|
|
174
174
|
}
|
|
175
175
|
static get is() { return "ion-select-popover"; }
|
|
176
176
|
static get encapsulation() { return "scoped"; }
|
|
@@ -32,11 +32,11 @@ export class SkeletonText {
|
|
|
32
32
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
33
33
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34
34
|
const theme = getIonTheme(this);
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '2fd3b86201ab41e66707281970e58af57da0530a', class: {
|
|
36
36
|
[theme]: true,
|
|
37
37
|
'skeleton-text-animated': animated,
|
|
38
38
|
'in-media': inMedia,
|
|
39
|
-
} }, h("span", { key: '
|
|
39
|
+
} }, h("span", { key: '6793df291a379a32a1649fa1daf3a20d93ae48ea' }, "\u00A0")));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "ion-skeleton-text"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class Spinner {
|
|
|
56
56
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '52edb7e791b4ef6da62583a477b9a765708fdeae', class: createColorClasses(self.color, {
|
|
60
60
|
[theme]: true,
|
|
61
61
|
[`spinner-${spinnerName}`]: true,
|
|
62
62
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -131,12 +131,12 @@ export class SplitPane {
|
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
133
|
const theme = getIonTheme(this);
|
|
134
|
-
return (h(Host, { key: '
|
|
134
|
+
return (h(Host, { key: '7305d7fc6f56382299af21c91d11115fc490a4e6', class: {
|
|
135
135
|
[theme]: true,
|
|
136
136
|
// Used internally for styling
|
|
137
137
|
[`split-pane-${theme}`]: true,
|
|
138
138
|
'split-pane-visible': this.visible,
|
|
139
|
-
} }, h("slot", { key: '
|
|
139
|
+
} }, h("slot", { key: '31ec961127f92d69f80db2b6daa628e32b67bfe4' })));
|
|
140
140
|
}
|
|
141
141
|
static get is() { return "ion-split-pane"; }
|
|
142
142
|
static get encapsulation() { return "shadow"; }
|