@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
|
@@ -61,7 +61,7 @@ const Spinner = class {
|
|
|
61
61
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
return (index.h(index.Host, { key: '
|
|
64
|
+
return (index.h(index.Host, { key: '52edb7e791b4ef6da62583a477b9a765708fdeae', class: theme.createColorClasses(self.color, {
|
|
65
65
|
[theme$1]: true,
|
|
66
66
|
[`spinner-${spinnerName}`]: true,
|
|
67
67
|
'spinner-paused': self.paused || index.config.getBoolean('_testing'),
|
|
@@ -131,12 +131,12 @@ const SplitPane = class {
|
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
133
|
const theme = ionicGlobal.getIonTheme(this);
|
|
134
|
-
return (index.h(index.Host, { key: '
|
|
134
|
+
return (index.h(index.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
|
-
} }, index.h("slot", { key: '
|
|
139
|
+
} }, index.h("slot", { key: '31ec961127f92d69f80db2b6daa628e32b67bfe4' })));
|
|
140
140
|
}
|
|
141
141
|
get el() { return index.getElement(this); }
|
|
142
142
|
static get watchers() { return {
|
|
@@ -188,14 +188,14 @@ const TabBar = class {
|
|
|
188
188
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
189
189
|
const shape = this.getShape();
|
|
190
190
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
191
|
-
return (index.h(index.Host, { key: '
|
|
191
|
+
return (index.h(index.Host, { key: '2b3d91345d7242bb69b9df729726de46f4828cd8', role: "tablist", class: theme.createColorClasses(color, {
|
|
192
192
|
[theme$1]: true,
|
|
193
193
|
'tab-bar-translucent': translucent,
|
|
194
194
|
'tab-bar-hidden': shouldHide,
|
|
195
195
|
'tab-bar-scroll-effect-hide': scrollEffect === 'hide',
|
|
196
196
|
[`tab-bar-${expand}`]: true,
|
|
197
197
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
198
|
-
}) }, index.h("slot", { key: '
|
|
198
|
+
}) }, index.h("slot", { key: '336286b0ee797f63012fc7ddd18671ee58e71e6f' })));
|
|
199
199
|
}
|
|
200
200
|
get el() { return index.getElement(this); }
|
|
201
201
|
static get watchers() { return {
|
|
@@ -303,7 +303,7 @@ const TabButton = class {
|
|
|
303
303
|
rel,
|
|
304
304
|
target,
|
|
305
305
|
};
|
|
306
|
-
return (index.h(index.Host, { key: '
|
|
306
|
+
return (index.h(index.Host, { key: '0288ce33bbf94c86795966cec12c4c9d76ab2670', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
307
307
|
[theme]: true,
|
|
308
308
|
'tab-selected': selected,
|
|
309
309
|
'tab-disabled': disabled,
|
|
@@ -316,7 +316,7 @@ const TabButton = class {
|
|
|
316
316
|
'ion-selectable': true,
|
|
317
317
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
318
318
|
'ion-focusable': true,
|
|
319
|
-
} }, index.h("a", Object.assign({ key: '
|
|
319
|
+
} }, index.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), index.h("span", { key: '31d7246c756321688073c5a008d96da972d46f86', class: "button-inner" }, index.h("slot", { key: '55addcfbe550b9d30ed10f665ff779cd90dd7d63' })), theme === 'md' && index.h("ion-ripple-effect", { key: '8cc77748a1ff7c3051aa7827ef181727950f4372', type: "unbounded" }))));
|
|
320
320
|
}
|
|
321
321
|
get el() { return index.getElement(this); }
|
|
322
322
|
};
|
|
@@ -54,10 +54,10 @@ const Tab = class {
|
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
56
|
const { tab, active, component } = this;
|
|
57
|
-
return (index.h(index.Host, { key: '
|
|
57
|
+
return (index.h(index.Host, { key: '5fa8404a8d3a55eecf25c630f6a68fe4b3bd6479', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
58
58
|
'ion-page': component === undefined,
|
|
59
59
|
'tab-hidden': !active,
|
|
60
|
-
} }, index.h("slot", { key: '
|
|
60
|
+
} }, index.h("slot", { key: '5930c82a0063f3119c99381ba7b1a9434156e4db' })));
|
|
61
61
|
}
|
|
62
62
|
get el() { return index.getElement(this); }
|
|
63
63
|
static get watchers() { return {
|
|
@@ -228,7 +228,7 @@ const Tabs = class {
|
|
|
228
228
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
229
229
|
}
|
|
230
230
|
render() {
|
|
231
|
-
return (index.h(index.Host, { key: '
|
|
231
|
+
return (index.h(index.Host, { key: '85abde8354a794d6c2fbad2416beadcdd34a97ac', onIonTabButtonClick: this.onTabClicked }, index.h("slot", { key: '01f8a0955d0dc3f1c87d51b747fcc5cd6807b79f', name: "top" }), index.h("div", { key: 'b7d45cf94c459a07509beee32f95c51b1a8b376b', class: "tabs-inner" }, index.h("slot", { key: 'ff80bc743bc394fc0d7aaac3758841af6542a935' })), index.h("slot", { key: 'e129c0485ccc27c994e0a7c479d3b65cb7232106', name: "bottom" })));
|
|
232
232
|
}
|
|
233
233
|
get el() { return index.getElement(this); }
|
|
234
234
|
};
|
|
@@ -15,9 +15,9 @@ const Text = class {
|
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
18
|
-
return (index.h(index.Host, { key: '
|
|
18
|
+
return (index.h(index.Host, { key: '527c671995f6703ba4a963a310eeac327731359a', class: theme.createColorClasses(this.color, {
|
|
19
19
|
[theme$1]: true,
|
|
20
|
-
}) }, index.h("slot", { key: '
|
|
20
|
+
}) }, index.h("slot", { key: '5920d06a9ec7f36a815b420a8b62bba7ac9a33b3' })));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
Text.style = textCss();
|
|
@@ -570,7 +570,7 @@ const Textarea = class {
|
|
|
570
570
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
571
571
|
*/
|
|
572
572
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
573
|
-
return (index.h(index.Host, { key: '
|
|
573
|
+
return (index.h(index.Host, { key: '401c2b409b8d0a79700fdd3433fffe9b78032142', class: theme.createColorClasses(this.color, {
|
|
574
574
|
[theme$1]: true,
|
|
575
575
|
'has-value': hasValue,
|
|
576
576
|
'has-focus': hasFocus,
|
|
@@ -582,7 +582,7 @@ const Textarea = class {
|
|
|
582
582
|
'in-item': inItem,
|
|
583
583
|
'textarea-disabled': disabled,
|
|
584
584
|
'textarea-readonly': readonly,
|
|
585
|
-
}) }, index.h("label", { key: '
|
|
585
|
+
}) }, index.h("label", { key: '41a96f91506e7bbd6bf8b7edd336de7452af5977', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), index.h("div", { key: 'b487ba8f575ade22162b65ce5295a58fcba4cd4a', class: "textarea-wrapper-inner" },
|
|
586
586
|
/**
|
|
587
587
|
* For the ionic theme, we render the outline container here
|
|
588
588
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -592,7 +592,7 @@ const Textarea = class {
|
|
|
592
592
|
* <label> element, ensuring that clicking the label text
|
|
593
593
|
* focuses the textarea.
|
|
594
594
|
*/
|
|
595
|
-
theme$1 === 'ionic' && fill === 'outline' && index.h("div", { key: '
|
|
595
|
+
theme$1 === 'ionic' && fill === 'outline' && index.h("div", { key: '853f851d34b9357a5c5f98cad7bf857ae292e8a8', class: "textarea-outline" }), index.h("div", { key: '6830c067c5a12a4b847e650bf1507a3be5086761', class: "start-slot-wrapper" }, index.h("slot", { key: 'b7d4fa13c14ef65d95dab7af8764a0c32a62bdea', name: "start" })), index.h("div", { key: '9e4d06aea5899b7ca43dbd091d58e14a01f85913', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el), part: "container" }, index.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)), index.h("div", { key: 'ac802652cd0f18f2114be2b89f0cedf9b6be2703', class: "end-slot-wrapper" }, index.h("slot", { key: '07cf7a81e6beafc4f44b00fd71ef9abddf61a31d', name: "end" }))), shouldRenderHighlight && index.h("div", { key: '104bc7640740eee4ca026cd0c6a55954ffad71d0', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
596
596
|
}
|
|
597
597
|
static get delegatesFocus() { return true; }
|
|
598
598
|
static get formAssociated() { return true; }
|
|
@@ -875,9 +875,9 @@ const Toast = class {
|
|
|
875
875
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
876
876
|
index.printIonWarning('[ion-toast] - This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
|
|
877
877
|
}
|
|
878
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
878
|
+
return (index.h(index.Host, Object.assign({ key: 'e45caa08f077ce4385fbeb5fbb6ea9c4c06c90a9', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
879
879
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
880
|
-
}, class: theme.createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true, [theme$1]: true }, theme.getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), index.h("div", { key: '
|
|
880
|
+
}, class: theme.createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true, [theme$1]: true }, theme.getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), index.h("div", { key: '34650639a1698f413e6067a14efa146b9cf55c08', class: wrapperClass, part: "wrapper" }, index.h("div", { key: '7a6cb7b2cf43274c6869d1e9cb466b7edcf5bd75', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (index.h("ion-icon", { key: '2c15838c63de8066b32c0cd00d721651fd14c20c', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), index.h("div", { key: '8a64773c7388f5454d079023c0ec9552fcb73d9a', class: "toast-content", part: "content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
881
881
|
}
|
|
882
882
|
get el() { return index.getElement(this); }
|
|
883
883
|
static get watchers() { return {
|
|
@@ -355,7 +355,7 @@ const Toggle = class {
|
|
|
355
355
|
// The attributes are matched too because the class needs the item to render.
|
|
356
356
|
const inClickableItem = theme.hostContext('ion-item.ion-activatable, ion-item[button], ion-item[href]', el);
|
|
357
357
|
helpers.renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
358
|
-
return (index.h(index.Host, { key: '
|
|
358
|
+
return (index.h(index.Host, { key: '3746dbda31fb873ec732a9576cd288a18309320d', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, "aria-required": required ? 'true' : undefined, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, class: theme.createColorClasses(color, {
|
|
359
359
|
[theme$1]: true,
|
|
360
360
|
'in-item': inItem,
|
|
361
361
|
// `ion-focusable` has to stay on because it is what makes the item focusable.
|
|
@@ -370,10 +370,10 @@ const Toggle = class {
|
|
|
370
370
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
371
371
|
[`toggle-${rtl}`]: true,
|
|
372
372
|
'ion-activatable': isIonicTheme,
|
|
373
|
-
}) }, index.h("label", { key: '
|
|
373
|
+
}) }, index.h("label", { key: '0484cc455577544998bf6e5aaefd3d3fbcafb7c6', class: "toggle-wrapper", htmlFor: inputId }, index.h("input", Object.assign({ key: 'a2009c40f5d679c0fddb8f315630a4c2dfa99999', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), index.h("div", { key: '3025679a656df60aa5f5f26990fa35700918f4ab', class: {
|
|
374
374
|
'label-text-wrapper': true,
|
|
375
375
|
'label-text-wrapper-hidden': !hasLabel,
|
|
376
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, index.h("slot", { key: '
|
|
376
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, index.h("slot", { key: 'fd462376989abff4553cfe8459ab3a96a99ae1a6' }), this.renderHintText()), index.h("div", { key: 'c33228092dfb4de446c5d0fad357d32fe130a887', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
377
377
|
}
|
|
378
378
|
get el() { return index.getElement(this); }
|
|
379
379
|
static get watchers() { return {
|
|
@@ -242,9 +242,45 @@ ion-toolbar + ion-toolbar {
|
|
|
242
242
|
top: 0;
|
|
243
243
|
bottom: 0;
|
|
244
244
|
position: absolute;
|
|
245
|
-
|
|
245
|
+
pointer-events: none;
|
|
246
|
+
}
|
|
247
|
+
.header-translucent-ionic .header-background-blur,
|
|
248
|
+
.header-translucent-ionic .header-background-blur-layer {
|
|
249
|
+
right: 0;
|
|
250
|
+
left: 0;
|
|
251
|
+
top: 0;
|
|
252
|
+
bottom: 0;
|
|
253
|
+
position: absolute;
|
|
254
|
+
}
|
|
255
|
+
.header-translucent-ionic .header-background-blur-layer:nth-child(1) {
|
|
256
|
+
backdrop-filter: blur(var(--token-scale-025, 1px));
|
|
257
|
+
mask-image: linear-gradient(to bottom, #000 82.64%, transparent 91%);
|
|
258
|
+
}
|
|
259
|
+
.header-translucent-ionic .header-background-blur-layer:nth-child(2) {
|
|
260
|
+
backdrop-filter: blur(var(--token-scale-050, 2px));
|
|
261
|
+
mask-image: linear-gradient(to bottom, #000 74.29%, transparent 82.64%);
|
|
262
|
+
}
|
|
263
|
+
.header-translucent-ionic .header-background-blur-layer:nth-child(3) {
|
|
264
|
+
backdrop-filter: blur(var(--token-scale-100, 4px));
|
|
265
|
+
mask-image: linear-gradient(to bottom, #000 65.93%, transparent 74.29%);
|
|
266
|
+
}
|
|
267
|
+
.header-translucent-ionic .header-background-blur-layer:nth-child(4) {
|
|
268
|
+
backdrop-filter: blur(var(--token-scale-200, 8px));
|
|
269
|
+
mask-image: linear-gradient(to bottom, #000 57.57%, transparent 65.93%);
|
|
270
|
+
}
|
|
271
|
+
.header-translucent-ionic .header-background-blur-layer:nth-child(5) {
|
|
272
|
+
backdrop-filter: blur(var(--token-scale-400, 16px));
|
|
273
|
+
mask-image: linear-gradient(to bottom, #000 49.21%, transparent 57.57%);
|
|
274
|
+
}
|
|
275
|
+
.header-translucent-ionic .header-background-blur-layer:nth-child(6) {
|
|
276
|
+
backdrop-filter: blur(var(--token-scale-800, 32px));
|
|
277
|
+
mask-image: linear-gradient(to bottom, #000 40.86%, transparent 49.21%);
|
|
278
|
+
}
|
|
279
|
+
.header-translucent-ionic .header-background-blur-layer:nth-child(7) {
|
|
280
|
+
backdrop-filter: blur(var(--token-scale-1600, 64px));
|
|
281
|
+
mask-image: linear-gradient(to bottom, #000 32.5%, transparent 40.86%);
|
|
246
282
|
}
|
|
247
283
|
.header-translucent-ionic ion-toolbar {
|
|
248
|
-
--
|
|
284
|
+
--background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
|
|
249
285
|
}
|
|
250
286
|
}
|
|
@@ -246,7 +246,7 @@ export class Header {
|
|
|
246
246
|
[`header-translucent-${theme}`]: this.translucent,
|
|
247
247
|
['header-divider']: divider,
|
|
248
248
|
'header-scroll-effect-hide': hasHide,
|
|
249
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && h("div", { key: '
|
|
249
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && (h("div", { key: '5179b806abb6f04ed294dc50166c4f014028a4e3', class: "header-background" }, theme === 'ionic' && (h("div", { key: '4c9d23456672b5bd4ce55280ec6f3e6c39f162cc', class: "header-background-blur", "aria-hidden": "true" }, h("div", { key: '9b9da46049e24390491b2b97ab20863f6fefc079', class: "header-background-blur-layer" }), h("div", { key: 'fc2899267eea7fdd415cc4f394fb469188bfae50', class: "header-background-blur-layer" }), h("div", { key: '8a9747c21d2bd92670deeec8022a37409fd349c4', class: "header-background-blur-layer" }), h("div", { key: '03abc8d5e1e8554963a7f652349ab65430d14db9', class: "header-background-blur-layer" }), h("div", { key: '6a481b7894c44b37d8e3569784a3b6a1191fba09', class: "header-background-blur-layer" }), h("div", { key: '8e4cf985b7c58a836316baa47c35dbaac765f658', class: "header-background-blur-layer" }), h("div", { key: '4ce7402a8ea8aa8253fc2e69e614c50c22ae2c9d', class: "header-background-blur-layer" }))))), h("slot", { key: '1e5ae6dddd080197c7801ed58fb22b9f237b6099' })));
|
|
250
250
|
}
|
|
251
251
|
static get is() { return "ion-header"; }
|
|
252
252
|
static get originalStyleUrls() {
|
|
@@ -80,9 +80,9 @@ export class Img {
|
|
|
80
80
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
81
81
|
const { draggable } = inheritedAttributes;
|
|
82
82
|
const theme = getIonTheme(this);
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '790a50b25c8b38214d586d204d2589f878a4362e', class: {
|
|
84
84
|
[theme]: true,
|
|
85
|
-
} }, h("img", { key: '
|
|
85
|
+
} }, h("img", { key: 'a526a84d0da174a7f37f2e1be4946eeb7f7c50ea', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "ion-img"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -264,7 +264,7 @@ export class InfiniteScroll {
|
|
|
264
264
|
render() {
|
|
265
265
|
const theme = getIonTheme(this);
|
|
266
266
|
const disabled = this.disabled;
|
|
267
|
-
return (h(Host, { key: '
|
|
267
|
+
return (h(Host, { key: '472373c70ceeb916912025d122865ec0bdd8dea2', class: {
|
|
268
268
|
[theme]: true,
|
|
269
269
|
'infinite-scroll-loading': this.isLoading,
|
|
270
270
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -29,11 +29,11 @@ export class InfiniteScrollContent {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
const theme = getIonTheme(this);
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '8862ba3855da134e72a07948337bd98f1650e6b3', class: {
|
|
33
33
|
[theme]: true,
|
|
34
34
|
// Used internally for styling
|
|
35
35
|
[`infinite-scroll-content-${theme}`]: true,
|
|
36
|
-
} }, h("div", { key: '
|
|
36
|
+
} }, h("div", { key: '30ff29c1b79af534c027ca60a4f108e06be95d3b', class: "infinite-loading" }, this.loadingSpinner && (h("div", { key: 'b986cd6396dc2cfca6c6bdf035b133d0c8bf0150', class: "infinite-loading-spinner" }, h("ion-spinner", { key: '1ab2391ab7fecf4c5fbbe4d4227615be2bcab02c', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "ion-infinite-scroll-content"; }
|
|
39
39
|
static get originalStyleUrls() {
|
|
@@ -622,7 +622,7 @@ export class Input {
|
|
|
622
622
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
623
623
|
*/
|
|
624
624
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
625
|
-
return (h(Host, { key: '
|
|
625
|
+
return (h(Host, { key: '3f626529b81af07aad58e0bf6402b3521821ad5a', class: createColorClasses(this.color, {
|
|
626
626
|
[theme]: true,
|
|
627
627
|
'has-value': hasValue,
|
|
628
628
|
'has-focus': hasFocus,
|
|
@@ -635,7 +635,7 @@ export class Input {
|
|
|
635
635
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
636
636
|
'input-disabled': disabled,
|
|
637
637
|
'input-readonly': readonly,
|
|
638
|
-
}) }, h("label", { key: '
|
|
638
|
+
}) }, h("label", { key: '43e8e13265ce166f0c6a3e317398bf6088876042', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '18e8078a53211ea0a3b4f6851a3aa7bcdc457bc4', class: "native-wrapper", onClick: this.onLabelClick },
|
|
639
639
|
/**
|
|
640
640
|
* For the ionic theme, we render the outline container here
|
|
641
641
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -645,10 +645,10 @@ export class Input {
|
|
|
645
645
|
* <label> element, ensuring that clicking the label text
|
|
646
646
|
* focuses the input.
|
|
647
647
|
*/
|
|
648
|
-
theme === 'ionic' && h("div", { key: '
|
|
648
|
+
theme === 'ionic' && h("div", { key: '2715403a901a35f5902bd52db5c3278d66973153', class: "input-outline" }), h("slot", { key: '1497a9896c2238763c16a49eb05858c0bc74c4d2', name: "start" }), h("input", Object.assign({ key: '3bd50146be5d1dd3f24ed235a73e4236a7e39fe1', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": this.getLabelledById() }, this.inheritedAttributes)), clearInput && !readonly && !disabled && (h("button", { key: '945eda10bf4f11159db77e3e2ea75667f14fbfce', "aria-label": "reset", type: "button", class: {
|
|
649
649
|
'input-clear-icon': true,
|
|
650
650
|
'input-clear-button-pressed': this.isClearButtonPressed,
|
|
651
|
-
}, onPointerDown: this.clearButtonPressController.onPointerDown, onPointerCancel: this.clearButtonPressController.release, onClick: this.clearTextInput }, h("ion-icon", { key: '
|
|
651
|
+
}, onPointerDown: this.clearButtonPressController.onPointerDown, onPointerCancel: this.clearButtonPressController.release, onClick: this.clearTextInput }, h("ion-icon", { key: 'c185e10011fd3074114c7a46a0da7e7725e4a4cf', "aria-hidden": "true", icon: inputClearIcon }))), h("slot", { key: '2b35874e7fafe28fcaee7b41bf37a44d9e21a6bd', name: "end" })), shouldRenderHighlight && h("div", { key: 'bfbc03ad07b12ca368071c3dc82ae8f686bd550e', class: "input-highlight" })), this.renderBottomContent()));
|
|
652
652
|
}
|
|
653
653
|
static get is() { return "ion-input"; }
|
|
654
654
|
static get encapsulation() { return "scoped"; }
|
|
@@ -680,7 +680,7 @@ export class InputOTP {
|
|
|
680
680
|
const tabbableIndex = this.getTabbableIndex();
|
|
681
681
|
const pattern = this.getPattern();
|
|
682
682
|
const hasDescription = ((_b = (_a = el.querySelector('.input-otp-description')) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) !== '';
|
|
683
|
-
return (h(Host, { key: '
|
|
683
|
+
return (h(Host, { key: '9c843d78384ce66c409803c65c763a3d535ecbde', class: createColorClasses(color, {
|
|
684
684
|
[mode]: true,
|
|
685
685
|
'has-focus': hasFocus,
|
|
686
686
|
[`input-otp-size-${size}`]: true,
|
|
@@ -688,10 +688,10 @@ export class InputOTP {
|
|
|
688
688
|
[`input-otp-fill-${fill}`]: true,
|
|
689
689
|
'input-otp-disabled': disabled,
|
|
690
690
|
'input-otp-readonly': readonly,
|
|
691
|
-
}) }, h("div", Object.assign({ key: '
|
|
691
|
+
}) }, h("div", Object.assign({ key: 'ffdebcaf449c99bbf93f366a479c26aabe1ef9fb', role: "group", "aria-label": "One-time password input", class: "input-otp-group", part: "group" }, inheritedAttributes), Array.from({ length }).map((_, index) => (h(Fragment, null, h("div", { class: "native-wrapper", part: "container" }, h("input", { class: "native-input", part: "native", id: `${inputId}-${index}`, "aria-label": `Input ${index + 1} of ${length}`, type: "text", autoCapitalize: autocapitalize, inputmode: inputmode, pattern: pattern, disabled: disabled, readOnly: readonly, tabIndex: index === tabbableIndex ? 0 : -1, value: inputValues[index] || '', autocomplete: "one-time-code", ref: (el) => (inputRefs[index] = el), onInput: this.onInput(index), onBlur: this.onBlur, onFocus: this.onFocus(index), onKeyDown: this.onKeyDown(index), onPaste: this.onPaste })), this.showSeparator(index) && h("div", { class: "input-otp-separator", part: "separator" }))))), h("div", { key: '89e1799134b619f5193d3f7e3dac95563dad701e', class: {
|
|
692
692
|
'input-otp-description': true,
|
|
693
693
|
'input-otp-description-hidden': !hasDescription,
|
|
694
|
-
}, part: "description" }, h("slot", { key: '
|
|
694
|
+
}, part: "description" }, h("slot", { key: '37269630d0efac337816d53250aa29d53e21a6bc' }))));
|
|
695
695
|
}
|
|
696
696
|
static get is() { return "ion-input-otp"; }
|
|
697
697
|
static get encapsulation() { return "shadow"; }
|
|
@@ -94,16 +94,16 @@ export class InputPasswordToggle {
|
|
|
94
94
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
95
95
|
const mode = getIonMode(this);
|
|
96
96
|
const isPasswordVisible = type === 'text';
|
|
97
|
-
return (h(Host, { key: '
|
|
97
|
+
return (h(Host, { key: 'eab97f9b8dc592cd312f54c2521c66053b0b17e4', class: createColorClasses(color, {
|
|
98
98
|
[mode]: true,
|
|
99
|
-
}) }, h("ion-button", { key: '
|
|
99
|
+
}) }, h("ion-button", { key: 'b3a2538e0a711255dfe6dae0fe3fc835cfb6e711', mode: mode, color: color, fill: "clear", shape: "round", "aria-label": isPasswordVisible ? 'Hide password' : 'Show password', "aria-pressed": isPasswordVisible ? 'true' : 'false', type: "button", onPointerDown: (ev) => {
|
|
100
100
|
/**
|
|
101
101
|
* This prevents mobile browsers from
|
|
102
102
|
* blurring the input when the password toggle
|
|
103
103
|
* button is activated.
|
|
104
104
|
*/
|
|
105
105
|
ev.preventDefault();
|
|
106
|
-
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '
|
|
106
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '46ec7ac0708091e5a9ffb7a990ef38e5451d40c2', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
107
107
|
}
|
|
108
108
|
static get is() { return "ion-input-password-toggle"; }
|
|
109
109
|
static get encapsulation() { return "shadow"; }
|
|
@@ -28,11 +28,11 @@ export class ItemDivider {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
const theme = getIonTheme(this);
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '5990804572ae0cc00b7b290936cfb6c0e171cff3', class: createColorClasses(this.color, {
|
|
32
32
|
[theme]: true,
|
|
33
33
|
'item-divider-sticky': this.sticky,
|
|
34
34
|
item: true,
|
|
35
|
-
}) }, h("slot", { key: '
|
|
35
|
+
}) }, h("slot", { key: '2745ca34238e09bfc82248d72f8f01f53b94eb67', name: "start" }), h("div", { key: '99ca991cff1f7719bd4084df4fc9c3f382bf20c4', class: "item-divider-inner", part: "inner" }, h("div", { key: '4f8e616d95de43b8482911742f7a1dab507e60ce', class: "item-divider-wrapper", part: "container" }, h("slot", { key: '17aa7cd995163a6f33cd99a09158bdfd39a1fdd9' })), h("slot", { key: 'a57cdbff48ebd734a6d4d4b5087b9f495f1f4b8e', name: "end" }))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "ion-item-divider"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class ItemGroup {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'a0ecd0b7e55cc9680ca196f84c4d9520463910eb', role: "group", class: {
|
|
14
14
|
[theme]: true,
|
|
15
15
|
// Used internally for styling
|
|
16
16
|
[`item-group-${theme}`]: true,
|
|
@@ -71,14 +71,14 @@ export class ItemOption {
|
|
|
71
71
|
href: this.href,
|
|
72
72
|
target: this.target,
|
|
73
73
|
};
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '1334eb24ae20002d32b4f7d900d65a57e2fb1937', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
75
75
|
[theme]: true,
|
|
76
76
|
[`item-option-${shape}`]: shape !== undefined,
|
|
77
77
|
[`item-option-${hue}`]: hue !== undefined,
|
|
78
78
|
'item-option-disabled': disabled,
|
|
79
79
|
'item-option-expandable': expandable,
|
|
80
80
|
'ion-activatable': true,
|
|
81
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
81
|
+
}) }, h(TagType, Object.assign({ key: '53fe08dcdf52c802b0e9ff37e14c57f033d09bb0' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: '57de1b30b87b9c471ff2caf18eb5a98849376da8', class: "button-inner", part: "inner" }, h("slot", { key: '782a54a75f60221a4ed1aa445b19f74ded235ff3', name: "top" }), h("div", { key: '02959a033f8293eb63520aae90643549c9badeb3', class: "horizontal-wrapper", part: "container" }, h("slot", { key: '58c7d634698ca590d0fda9f285d0401f008852d3', name: "start" }), h("slot", { key: '01bd60bc0501c98bddd9e3bd018bc1a954cebde8', name: "icon-only" }), h("slot", { key: 'c3ebae19e2afa6cd78732e728e9b71fcb6ef23c1' }), h("slot", { key: '668976dab90595602295079a7a8c495e0b00859a', name: "end" })), h("slot", { key: '206bc568527ead01b51adb8e2ae514654e751096', name: "bottom" })), theme === 'md' && h("ion-ripple-effect", { key: '48efd449cda5e8d06b07fbe57ef5b8022151e139' }))));
|
|
82
82
|
}
|
|
83
83
|
static get is() { return "ion-item-option"; }
|
|
84
84
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class ItemOptions {
|
|
|
25
25
|
render() {
|
|
26
26
|
const theme = getIonTheme(this);
|
|
27
27
|
const isEnd = isEndSide(this.side);
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'd5430bf386e4b4ab8c6ab6d0d76f4275c3676dea', class: {
|
|
29
29
|
[theme]: true,
|
|
30
30
|
// Used internally for styling
|
|
31
31
|
[`item-options-${theme}`]: true,
|
|
@@ -773,7 +773,7 @@ export class ItemSliding {
|
|
|
773
773
|
}
|
|
774
774
|
render() {
|
|
775
775
|
const theme = getIonTheme(this);
|
|
776
|
-
return (h(Host, { key: '
|
|
776
|
+
return (h(Host, { key: '4129662d1e63ec0afd41c481b5058bf3da47b1db', class: {
|
|
777
777
|
[theme]: true,
|
|
778
778
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
779
779
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -59,13 +59,13 @@ export class Label {
|
|
|
59
59
|
render() {
|
|
60
60
|
const position = this.position;
|
|
61
61
|
const theme = getIonTheme(this);
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '79604615b5d6c4fdc663784693ac634bbffbc192', class: createColorClasses(this.color, {
|
|
63
63
|
[theme]: true,
|
|
64
64
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
65
65
|
[`label-${position}`]: position !== undefined,
|
|
66
66
|
[`label-no-animate`]: this.noAnimate,
|
|
67
67
|
'label-rtl': document.dir === 'rtl',
|
|
68
|
-
}) }, h("slot", { key: '
|
|
68
|
+
}) }, h("slot", { key: '4ed48f6f5d7e022604c6cfb9d39b2fd47b1c4095' })));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "ion-label"; }
|
|
71
71
|
static get encapsulation() { return "scoped"; }
|
|
@@ -46,7 +46,7 @@ export class List {
|
|
|
46
46
|
const theme = getIonTheme(this);
|
|
47
47
|
const shape = this.getShape();
|
|
48
48
|
const { lines, inset } = this;
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '34f64ae54181dcb5a0941cd0ad3c8194da259a00', role: "list", class: {
|
|
50
50
|
[theme]: true,
|
|
51
51
|
// Used internally for styling
|
|
52
52
|
[`list-${theme}`]: true,
|
|
@@ -14,10 +14,10 @@ export class ListHeader {
|
|
|
14
14
|
render() {
|
|
15
15
|
const { lines } = this;
|
|
16
16
|
const theme = getIonTheme(this);
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '75a8cb71f9912ba98a451a2e7547e7e713a92f42', class: createColorClasses(this.color, {
|
|
18
18
|
[theme]: true,
|
|
19
19
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
20
|
-
}) }, h("div", { key: '
|
|
20
|
+
}) }, h("div", { key: '95d5828c9ea769b5486589e3d6ad0d1d68d54354', class: "list-header-inner", part: "inner" }, h("slot", { key: 'd31b1166239a38ceb5567c66985436681e96b610' }))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "ion-list-header"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -180,9 +180,9 @@ export class Loading {
|
|
|
180
180
|
* Otherwise, don't set aria-labelledby.
|
|
181
181
|
*/
|
|
182
182
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
183
|
-
return (h(Host, Object.assign({ key: '
|
|
183
|
+
return (h(Host, Object.assign({ key: '4b0d54ff4d811e2aaaa4ebe159f576b6afec1248', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
184
184
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
185
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '
|
|
185
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '11dec4427fcfeb2ab673a1645255193507a85257', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'ea0f7e39b9bf022cedd61b7be165b372c62256da', tabindex: "0", "aria-hidden": "true" }), h("div", { key: '5e35f157a67f01934b87cf8862f4976da98ba4ba', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: 'c25c5e75286dcff72a6e7b2f1a7f80fb848a3086', class: "loading-spinner" }, h("ion-spinner", { key: '6664c761a873ad35cf673c8f45de59deadb05322', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: '728bb8f1f35f6859e7a683b7617618e60b2c794b', tabindex: "0", "aria-hidden": "true" })));
|
|
186
186
|
}
|
|
187
187
|
static get is() { return "ion-loading"; }
|
|
188
188
|
static get encapsulation() { return "scoped"; }
|
|
@@ -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"; }
|