@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
|
@@ -58,10 +58,10 @@ export class Tab {
|
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
60
|
const { tab, active, component } = this;
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '5fa8404a8d3a55eecf25c630f6a68fe4b3bd6479', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
62
62
|
'ion-page': component === undefined,
|
|
63
63
|
'tab-hidden': !active,
|
|
64
|
-
} }, h("slot", { key: '
|
|
64
|
+
} }, h("slot", { key: '5930c82a0063f3119c99381ba7b1a9434156e4db' })));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "ion-tab"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -178,14 +178,14 @@ export class TabBar {
|
|
|
178
178
|
const theme = getIonTheme(this);
|
|
179
179
|
const shape = this.getShape();
|
|
180
180
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
181
|
-
return (h(Host, { key: '
|
|
181
|
+
return (h(Host, { key: '2b3d91345d7242bb69b9df729726de46f4828cd8', role: "tablist", class: createColorClasses(color, {
|
|
182
182
|
[theme]: true,
|
|
183
183
|
'tab-bar-translucent': translucent,
|
|
184
184
|
'tab-bar-hidden': shouldHide,
|
|
185
185
|
'tab-bar-scroll-effect-hide': scrollEffect === 'hide',
|
|
186
186
|
[`tab-bar-${expand}`]: true,
|
|
187
187
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
188
|
-
}) }, h("slot", { key: '
|
|
188
|
+
}) }, h("slot", { key: '336286b0ee797f63012fc7ddd18671ee58e71e6f' })));
|
|
189
189
|
}
|
|
190
190
|
static get is() { return "ion-tab-bar"; }
|
|
191
191
|
static get encapsulation() { return "shadow"; }
|
|
@@ -93,7 +93,7 @@ export class TabButton {
|
|
|
93
93
|
rel,
|
|
94
94
|
target,
|
|
95
95
|
};
|
|
96
|
-
return (h(Host, { key: '
|
|
96
|
+
return (h(Host, { key: '0288ce33bbf94c86795966cec12c4c9d76ab2670', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
97
97
|
[theme]: true,
|
|
98
98
|
'tab-selected': selected,
|
|
99
99
|
'tab-disabled': disabled,
|
|
@@ -106,7 +106,7 @@ export class TabButton {
|
|
|
106
106
|
'ion-selectable': true,
|
|
107
107
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
108
108
|
'ion-focusable': true,
|
|
109
|
-
} }, h("a", Object.assign({ key: '
|
|
109
|
+
} }, h("a", Object.assign({ key: '838dd34095ab1a83dc5007ca31b359cec11d179e' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: '31d7246c756321688073c5a008d96da972d46f86', class: "button-inner" }, h("slot", { key: '55addcfbe550b9d30ed10f665ff779cd90dd7d63' })), theme === 'md' && h("ion-ripple-effect", { key: '8cc77748a1ff7c3051aa7827ef181727950f4372', type: "unbounded" }))));
|
|
110
110
|
}
|
|
111
111
|
static get is() { return "ion-tab-button"; }
|
|
112
112
|
static get encapsulation() { return "shadow"; }
|
|
@@ -165,7 +165,7 @@ export class Tabs {
|
|
|
165
165
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
166
166
|
}
|
|
167
167
|
render() {
|
|
168
|
-
return (h(Host, { key: '
|
|
168
|
+
return (h(Host, { key: '85abde8354a794d6c2fbad2416beadcdd34a97ac', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '01f8a0955d0dc3f1c87d51b747fcc5cd6807b79f', name: "top" }), h("div", { key: 'b7d45cf94c459a07509beee32f95c51b1a8b376b', class: "tabs-inner" }, h("slot", { key: 'ff80bc743bc394fc0d7aaac3758841af6542a935' })), h("slot", { key: 'e129c0485ccc27c994e0a7c479d3b65cb7232106', name: "bottom" })));
|
|
169
169
|
}
|
|
170
170
|
static get is() { return "ion-tabs"; }
|
|
171
171
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,9 +11,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
11
11
|
export class Text {
|
|
12
12
|
render() {
|
|
13
13
|
const theme = getIonTheme(this);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '527c671995f6703ba4a963a310eeac327731359a', class: createColorClasses(this.color, {
|
|
15
15
|
[theme]: true,
|
|
16
|
-
}) }, h("slot", { key: '
|
|
16
|
+
}) }, h("slot", { key: '5920d06a9ec7f36a815b420a8b62bba7ac9a33b3' })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "ion-text"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -565,7 +565,7 @@ export class Textarea {
|
|
|
565
565
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
566
566
|
*/
|
|
567
567
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
568
|
-
return (h(Host, { key: '
|
|
568
|
+
return (h(Host, { key: '401c2b409b8d0a79700fdd3433fffe9b78032142', class: createColorClasses(this.color, {
|
|
569
569
|
[theme]: true,
|
|
570
570
|
'has-value': hasValue,
|
|
571
571
|
'has-focus': hasFocus,
|
|
@@ -577,7 +577,7 @@ export class Textarea {
|
|
|
577
577
|
'in-item': inItem,
|
|
578
578
|
'textarea-disabled': disabled,
|
|
579
579
|
'textarea-readonly': readonly,
|
|
580
|
-
}) }, h("label", { key: '
|
|
580
|
+
}) }, h("label", { key: '41a96f91506e7bbd6bf8b7edd336de7452af5977', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), h("div", { key: 'b487ba8f575ade22162b65ce5295a58fcba4cd4a', class: "textarea-wrapper-inner" },
|
|
581
581
|
/**
|
|
582
582
|
* For the ionic theme, we render the outline container here
|
|
583
583
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -587,7 +587,7 @@ export class Textarea {
|
|
|
587
587
|
* <label> element, ensuring that clicking the label text
|
|
588
588
|
* focuses the textarea.
|
|
589
589
|
*/
|
|
590
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
590
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '853f851d34b9357a5c5f98cad7bf857ae292e8a8', class: "textarea-outline" }), h("div", { key: '6830c067c5a12a4b847e650bf1507a3be5086761', class: "start-slot-wrapper" }, h("slot", { key: 'b7d4fa13c14ef65d95dab7af8764a0c32a62bdea', name: "start" })), h("div", { key: '9e4d06aea5899b7ca43dbd091d58e14a01f85913', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el), part: "container" }, h("textarea", Object.assign({ key: 'dc4d449f5bf9e8ce38d68cccb0b992ec610c17fa', class: "native-textarea", part: "native", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined }, this.inheritedAttributes), value)), h("div", { key: 'ac802652cd0f18f2114be2b89f0cedf9b6be2703', class: "end-slot-wrapper" }, h("slot", { key: '07cf7a81e6beafc4f44b00fd71ef9abddf61a31d', name: "end" }))), shouldRenderHighlight && h("div", { key: '104bc7640740eee4ca026cd0c6a55954ffad71d0', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
591
591
|
}
|
|
592
592
|
static get is() { return "ion-textarea"; }
|
|
593
593
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,9 +10,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class Thumbnail {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '2b0905b5da4441e83a763cdde3b44cae378185a0', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: '0f53fb6c47548f8837f2c8b4276716211f4234c9' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-thumbnail"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,11 +27,11 @@ export class ToolbarTitle {
|
|
|
27
27
|
render() {
|
|
28
28
|
const theme = getIonTheme(this);
|
|
29
29
|
const size = this.getSize();
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '1878a733596f19a7de5f90f771541340af63d2a5', class: createColorClasses(this.color, {
|
|
31
31
|
[theme]: true,
|
|
32
32
|
[`title-${size}`]: true,
|
|
33
33
|
'title-rtl': document.dir === 'rtl',
|
|
34
|
-
}) }, h("div", { key: '
|
|
34
|
+
}) }, h("div", { key: '1f4b9fd0e888ec921c28a6d2e1f20fe7071f7582', class: "toolbar-title" }, h("slot", { key: '70fb5eebf1723136582cc72c2959efc4596c3b6c' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "ion-title"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -439,9 +439,9 @@ export class Toast {
|
|
|
439
439
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
440
440
|
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);
|
|
441
441
|
}
|
|
442
|
-
return (h(Host, Object.assign({ key: '
|
|
442
|
+
return (h(Host, Object.assign({ key: 'e45caa08f077ce4385fbeb5fbb6ea9c4c06c90a9', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
443
443
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
444
|
-
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '
|
|
444
|
+
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '34650639a1698f413e6067a14efa146b9cf55c08', class: wrapperClass, part: "wrapper" }, h("div", { key: '7a6cb7b2cf43274c6869d1e9cb466b7edcf5bd75', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: '2c15838c63de8066b32c0cd00d721651fd14c20c', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), 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')))));
|
|
445
445
|
}
|
|
446
446
|
static get is() { return "ion-toast"; }
|
|
447
447
|
static get encapsulation() { return "shadow"; }
|
|
@@ -352,7 +352,7 @@ export class Toggle {
|
|
|
352
352
|
// The attributes are matched too because the class needs the item to render.
|
|
353
353
|
const inClickableItem = hostContext('ion-item.ion-activatable, ion-item[button], ion-item[href]', el);
|
|
354
354
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
355
|
-
return (h(Host, { key: '
|
|
355
|
+
return (h(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: createColorClasses(color, {
|
|
356
356
|
[theme]: true,
|
|
357
357
|
'in-item': inItem,
|
|
358
358
|
// `ion-focusable` has to stay on because it is what makes the item focusable.
|
|
@@ -367,10 +367,10 @@ export class Toggle {
|
|
|
367
367
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
368
368
|
[`toggle-${rtl}`]: true,
|
|
369
369
|
'ion-activatable': isIonicTheme,
|
|
370
|
-
}) }, h("label", { key: '
|
|
370
|
+
}) }, h("label", { key: '0484cc455577544998bf6e5aaefd3d3fbcafb7c6', class: "toggle-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: 'a2009c40f5d679c0fddb8f315630a4c2dfa99999', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), h("div", { key: '3025679a656df60aa5f5f26990fa35700918f4ab', class: {
|
|
371
371
|
'label-text-wrapper': true,
|
|
372
372
|
'label-text-wrapper-hidden': !hasLabel,
|
|
373
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '
|
|
373
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: 'fd462376989abff4553cfe8459ab3a96a99ae1a6' }), this.renderHintText()), h("div", { key: 'c33228092dfb4de446c5d0fad357d32fe130a887', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
374
374
|
}
|
|
375
375
|
static get is() { return "ion-toggle"; }
|
|
376
376
|
static get encapsulation() { return "shadow"; }
|
|
@@ -242,11 +242,11 @@ export class Toolbar {
|
|
|
242
242
|
Object.assign(childStyles, style);
|
|
243
243
|
});
|
|
244
244
|
const titlePlacement = this.getTitlePlacement();
|
|
245
|
-
return (h(Host, { key: '
|
|
245
|
+
return (h(Host, { key: 'dc4034539b964e38bddc0ee9fac06c561733f532', class: Object.assign(Object.assign({}, createColorClasses(this.color, {
|
|
246
246
|
[theme]: true,
|
|
247
247
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
248
248
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
249
|
-
})), childStyles) }, h("div", { key: '
|
|
249
|
+
})), childStyles) }, h("div", { key: 'f56c88bc4f66a81c03f0076b5c7da0f604cdb882', class: "toolbar-background", part: "background" }), h("div", { key: '078eeb4d59ea5da25a8d905bf5e76381d2572fa6', class: "toolbar-container", part: "container" }, h("slot", { key: 'a8da8eeabcdc99fa37207a64790cb8c34248c4b5', name: "start", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '158a428be6f695bb2a71c2bd300074e329ad239b', name: "secondary", onSlotchange: () => this.updateSlotClasses }), h("div", { key: 'e9d200fb042ce6085e43cf2ba861be148c6f8333', class: "toolbar-content", part: "content" }, h("slot", { key: 'b393d7156797b98faf090a5f82a17db9aab4fc6b' })), h("slot", { key: 'd64f317e59cb68797aab43047a7817c71d6abdfc', name: "primary", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '4b9cd7e1a3584bdb7d4c4c64744db53dfd8faa3e', name: "end", onSlotchange: () => this.updateSlotClasses }))));
|
|
250
250
|
}
|
|
251
251
|
static get is() { return "ion-toolbar"; }
|
|
252
252
|
static get encapsulation() { return "shadow"; }
|
package/dist/docs.json
CHANGED
|
@@ -1014,7 +1014,7 @@ const getRoleType = (isInsideMenu) => {
|
|
|
1014
1014
|
return ROLE_BANNER;
|
|
1015
1015
|
};
|
|
1016
1016
|
|
|
1017
|
-
const headerIonicCss = () => `ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-fade.header-transitioning ion-toolbar{--background:transparent;--border-style:none}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense ion-toolbar,.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--background:var(--ion-background-color, #fff)}.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--border-style:none;--opacity-scale:1}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header:not(.header-collapse-main):has(~ion-content ion-header.header-collapse-condense){opacity:0}.header-collapse-condense-hidden{display:none}ion-header.header-scroll-effect-hide{-webkit-transition:opacity 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1);transition:transform 300ms cubic-bezier(0, 0, 0.2, 1), opacity 300ms cubic-bezier(0, 0, 0.2, 1);transition:transform 300ms cubic-bezier(0, 0, 0.2, 1), opacity 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1)}ion-header.header-scroll-effect-hide.header-scroll-hidden{-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-transition:opacity 300ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);transition:opacity 300ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);transition:transform 200ms cubic-bezier(0.4, 0, 1, 1), opacity 300ms cubic-bezier(0.4, 0, 1, 1);transition:transform 200ms cubic-bezier(0.4, 0, 1, 1), opacity 300ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);opacity:0}@media (prefers-reduced-motion: reduce){ion-header.header-scroll-effect-hide,ion-header.header-scroll-effect-hide.header-scroll-hidden{-webkit-transition:none;transition:none}}ion-header{z-index:10}ion-header.header-divider{border-bottom:var(--token-border-size-025, var(--token-scale-025, 1px)) solid var(--token-border-default, var(--token-primitives-neutral-400, #d0d7df))}ion-toolbar+ion-toolbar{--padding-start:var(--token-space-400, var(--token-scale-400, 16px));--padding-end:var(--token-space-400, var(--token-scale-400, 16px))}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{right:0;left:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:
|
|
1017
|
+
const headerIonicCss = () => `ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-fade.header-transitioning ion-toolbar{--background:transparent;--border-style:none}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense ion-toolbar,.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--background:var(--ion-background-color, #fff)}.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--border-style:none;--opacity-scale:1}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header:not(.header-collapse-main):has(~ion-content ion-header.header-collapse-condense){opacity:0}.header-collapse-condense-hidden{display:none}ion-header.header-scroll-effect-hide{-webkit-transition:opacity 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1);transition:transform 300ms cubic-bezier(0, 0, 0.2, 1), opacity 300ms cubic-bezier(0, 0, 0.2, 1);transition:transform 300ms cubic-bezier(0, 0, 0.2, 1), opacity 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1)}ion-header.header-scroll-effect-hide.header-scroll-hidden{-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-transition:opacity 300ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);transition:opacity 300ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);transition:transform 200ms cubic-bezier(0.4, 0, 1, 1), opacity 300ms cubic-bezier(0.4, 0, 1, 1);transition:transform 200ms cubic-bezier(0.4, 0, 1, 1), opacity 300ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);opacity:0}@media (prefers-reduced-motion: reduce){ion-header.header-scroll-effect-hide,ion-header.header-scroll-effect-hide.header-scroll-hidden{-webkit-transition:none;transition:none}}ion-header{z-index:10}ion-header.header-divider{border-bottom:var(--token-border-size-025, var(--token-scale-025, 1px)) solid var(--token-border-default, var(--token-primitives-neutral-400, #d0d7df))}ion-toolbar+ion-toolbar{--padding-start:var(--token-space-400, var(--token-scale-400, 16px));--padding-end:var(--token-space-400, var(--token-scale-400, 16px))}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{right:0;left:0;top:0;bottom:0;position:absolute;pointer-events:none}.header-translucent-ionic .header-background-blur,.header-translucent-ionic .header-background-blur-layer{right:0;left:0;top:0;bottom:0;position:absolute}.header-translucent-ionic .header-background-blur-layer:nth-child(1){-webkit-backdrop-filter:blur(var(--token-scale-025, 1px));backdrop-filter:blur(var(--token-scale-025, 1px));-webkit-mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(82.64%, #000), color-stop(91%, transparent));-webkit-mask-image:linear-gradient(to bottom, #000 82.64%, transparent 91%);mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(82.64%, #000), color-stop(91%, transparent));mask-image:linear-gradient(to bottom, #000 82.64%, transparent 91%)}.header-translucent-ionic .header-background-blur-layer:nth-child(2){-webkit-backdrop-filter:blur(var(--token-scale-050, 2px));backdrop-filter:blur(var(--token-scale-050, 2px));-webkit-mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(74.29%, #000), color-stop(82.64%, transparent));-webkit-mask-image:linear-gradient(to bottom, #000 74.29%, transparent 82.64%);mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(74.29%, #000), color-stop(82.64%, transparent));mask-image:linear-gradient(to bottom, #000 74.29%, transparent 82.64%)}.header-translucent-ionic .header-background-blur-layer:nth-child(3){-webkit-backdrop-filter:blur(var(--token-scale-100, 4px));backdrop-filter:blur(var(--token-scale-100, 4px));-webkit-mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(65.93%, #000), color-stop(74.29%, transparent));-webkit-mask-image:linear-gradient(to bottom, #000 65.93%, transparent 74.29%);mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(65.93%, #000), color-stop(74.29%, transparent));mask-image:linear-gradient(to bottom, #000 65.93%, transparent 74.29%)}.header-translucent-ionic .header-background-blur-layer:nth-child(4){-webkit-backdrop-filter:blur(var(--token-scale-200, 8px));backdrop-filter:blur(var(--token-scale-200, 8px));-webkit-mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(57.57%, #000), color-stop(65.93%, transparent));-webkit-mask-image:linear-gradient(to bottom, #000 57.57%, transparent 65.93%);mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(57.57%, #000), color-stop(65.93%, transparent));mask-image:linear-gradient(to bottom, #000 57.57%, transparent 65.93%)}.header-translucent-ionic .header-background-blur-layer:nth-child(5){-webkit-backdrop-filter:blur(var(--token-scale-400, 16px));backdrop-filter:blur(var(--token-scale-400, 16px));-webkit-mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(49.21%, #000), color-stop(57.57%, transparent));-webkit-mask-image:linear-gradient(to bottom, #000 49.21%, transparent 57.57%);mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(49.21%, #000), color-stop(57.57%, transparent));mask-image:linear-gradient(to bottom, #000 49.21%, transparent 57.57%)}.header-translucent-ionic .header-background-blur-layer:nth-child(6){-webkit-backdrop-filter:blur(var(--token-scale-800, 32px));backdrop-filter:blur(var(--token-scale-800, 32px));-webkit-mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(40.86%, #000), color-stop(49.21%, transparent));-webkit-mask-image:linear-gradient(to bottom, #000 40.86%, transparent 49.21%);mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(40.86%, #000), color-stop(49.21%, transparent));mask-image:linear-gradient(to bottom, #000 40.86%, transparent 49.21%)}.header-translucent-ionic .header-background-blur-layer:nth-child(7){-webkit-backdrop-filter:blur(var(--token-scale-1600, 64px));backdrop-filter:blur(var(--token-scale-1600, 64px));-webkit-mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(32.5%, #000), color-stop(40.86%, transparent));-webkit-mask-image:linear-gradient(to bottom, #000 32.5%, transparent 40.86%);mask-image:-webkit-gradient(linear, left top, left bottom, color-stop(32.5%, #000), color-stop(40.86%, transparent));mask-image:linear-gradient(to bottom, #000 32.5%, transparent 40.86%)}.header-translucent-ionic ion-toolbar{--background:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}}`;
|
|
1018
1018
|
|
|
1019
1019
|
const headerIosCss = () => `ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-fade.header-transitioning ion-toolbar{--background:transparent;--border-style:none}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense ion-toolbar,.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--background:var(--ion-background-color, #fff)}.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--border-style:none;--opacity-scale:1}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header:not(.header-collapse-main):has(~ion-content ion-header.header-collapse-condense){opacity:0}.header-collapse-condense-hidden{display:none}ion-header.header-scroll-effect-hide{-webkit-transition:opacity 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1);transition:transform 300ms cubic-bezier(0, 0, 0.2, 1), opacity 300ms cubic-bezier(0, 0, 0.2, 1);transition:transform 300ms cubic-bezier(0, 0, 0.2, 1), opacity 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1)}ion-header.header-scroll-effect-hide.header-scroll-hidden{-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-transition:opacity 300ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);transition:opacity 300ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);transition:transform 200ms cubic-bezier(0.4, 0, 1, 1), opacity 300ms cubic-bezier(0.4, 0, 1, 1);transition:transform 200ms cubic-bezier(0.4, 0, 1, 1), opacity 300ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);opacity:0}@media (prefers-reduced-motion: reduce){ion-header.header-scroll-effect-hide,ion-header.header-scroll-effect-hide.header-scroll-hidden{-webkit-transition:none;transition:none}}ion-header{z-index:10}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{right:0;left:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:0.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}`;
|
|
1020
1020
|
|
|
@@ -1253,7 +1253,7 @@ const Header = class {
|
|
|
1253
1253
|
[`header-translucent-${theme}`]: this.translucent,
|
|
1254
1254
|
['header-divider']: divider,
|
|
1255
1255
|
'header-scroll-effect-hide': hasHide,
|
|
1256
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && h("div", { key: '
|
|
1256
|
+
} }, 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' })));
|
|
1257
1257
|
}
|
|
1258
1258
|
get el() { return getElement(this); }
|
|
1259
1259
|
};
|
|
@@ -1440,7 +1440,7 @@ const RouterOutlet = class {
|
|
|
1440
1440
|
return true;
|
|
1441
1441
|
}
|
|
1442
1442
|
render() {
|
|
1443
|
-
return h("slot", { key: '
|
|
1443
|
+
return h("slot", { key: '8968db9384f12de5864a72b8bb36a6ecaf265bce' });
|
|
1444
1444
|
}
|
|
1445
1445
|
get el() { return getElement(this); }
|
|
1446
1446
|
static get watchers() { return {
|
|
@@ -1480,11 +1480,11 @@ const ToolbarTitle = class {
|
|
|
1480
1480
|
render() {
|
|
1481
1481
|
const theme = getIonTheme(this);
|
|
1482
1482
|
const size = this.getSize();
|
|
1483
|
-
return (h(Host, { key: '
|
|
1483
|
+
return (h(Host, { key: '1878a733596f19a7de5f90f771541340af63d2a5', class: createColorClasses(this.color, {
|
|
1484
1484
|
[theme]: true,
|
|
1485
1485
|
[`title-${size}`]: true,
|
|
1486
1486
|
'title-rtl': document.dir === 'rtl',
|
|
1487
|
-
}) }, h("div", { key: '
|
|
1487
|
+
}) }, h("div", { key: '1f4b9fd0e888ec921c28a6d2e1f20fe7071f7582', class: "toolbar-title" }, h("slot", { key: '70fb5eebf1723136582cc72c2959efc4596c3b6c' }))));
|
|
1488
1488
|
}
|
|
1489
1489
|
get el() { return getElement(this); }
|
|
1490
1490
|
static get watchers() { return {
|
|
@@ -1730,11 +1730,11 @@ const Toolbar = class {
|
|
|
1730
1730
|
Object.assign(childStyles, style);
|
|
1731
1731
|
});
|
|
1732
1732
|
const titlePlacement = this.getTitlePlacement();
|
|
1733
|
-
return (h(Host, { key: '
|
|
1733
|
+
return (h(Host, { key: 'dc4034539b964e38bddc0ee9fac06c561733f532', class: Object.assign(Object.assign({}, createColorClasses(this.color, {
|
|
1734
1734
|
[theme]: true,
|
|
1735
1735
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
1736
1736
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
1737
|
-
})), childStyles) }, h("div", { key: '
|
|
1737
|
+
})), childStyles) }, h("div", { key: 'f56c88bc4f66a81c03f0076b5c7da0f604cdb882', class: "toolbar-background", part: "background" }), h("div", { key: '078eeb4d59ea5da25a8d905bf5e76381d2572fa6', class: "toolbar-container", part: "container" }, h("slot", { key: 'a8da8eeabcdc99fa37207a64790cb8c34248c4b5', name: "start", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '158a428be6f695bb2a71c2bd300074e329ad239b', name: "secondary", onSlotchange: () => this.updateSlotClasses }), h("div", { key: 'e9d200fb042ce6085e43cf2ba861be148c6f8333', class: "toolbar-content", part: "content" }, h("slot", { key: 'b393d7156797b98faf090a5f82a17db9aab4fc6b' })), h("slot", { key: 'd64f317e59cb68797aab43047a7817c71d6abdfc', name: "primary", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '4b9cd7e1a3584bdb7d4c4c64744db53dfd8faa3e', name: "end", onSlotchange: () => this.updateSlotClasses }))));
|
|
1738
1738
|
}
|
|
1739
1739
|
get el() { return getElement(this); }
|
|
1740
1740
|
static get watchers() { return {
|
|
@@ -159,9 +159,9 @@ const Thumbnail = class {
|
|
|
159
159
|
}
|
|
160
160
|
render() {
|
|
161
161
|
const theme = getIonTheme(this);
|
|
162
|
-
return (h(Host, { key: '
|
|
162
|
+
return (h(Host, { key: '2b0905b5da4441e83a763cdde3b44cae378185a0', class: {
|
|
163
163
|
[theme]: true,
|
|
164
|
-
} }, h("slot", { key: '
|
|
164
|
+
} }, h("slot", { key: '0f53fb6c47548f8837f2c8b4276716211f4234c9' })));
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
167
|
Thumbnail.style = thumbnailCss();
|
|
@@ -142,9 +142,9 @@ const Row = class {
|
|
|
142
142
|
}
|
|
143
143
|
render() {
|
|
144
144
|
const theme = getIonTheme(this);
|
|
145
|
-
return (h(Host, { key: '
|
|
145
|
+
return (h(Host, { key: '462e25104f02259346730c4cd9112c1638fc4421', class: {
|
|
146
146
|
[theme]: true,
|
|
147
|
-
} }, h("slot", { key: '
|
|
147
|
+
} }, h("slot", { key: 'e57eb2188504a92d9779a9f176688dd4c4b393e1' })));
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
Row.style = rowCss();
|
|
@@ -2853,11 +2853,11 @@ const Picker = class {
|
|
|
2853
2853
|
render() {
|
|
2854
2854
|
const { htmlAttributes } = this;
|
|
2855
2855
|
const theme = getIonTheme(this);
|
|
2856
|
-
return (h(Host, Object.assign({ key: '
|
|
2856
|
+
return (h(Host, Object.assign({ key: 'e0411113657e3412cde899a6d3ec3d48fec5b359', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2857
2857
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2858
2858
|
}, class: Object.assign({ [theme]: true,
|
|
2859
2859
|
// Used internally for styling
|
|
2860
|
-
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
2860
|
+
[`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" })));
|
|
2861
2861
|
}
|
|
2862
2862
|
get el() { return getElement(this); }
|
|
2863
2863
|
static get watchers() { return {
|
|
@@ -3215,9 +3215,9 @@ const PickerColumnCmp = class {
|
|
|
3215
3215
|
render() {
|
|
3216
3216
|
const col = this.col;
|
|
3217
3217
|
const theme = getIonTheme(this);
|
|
3218
|
-
return (h(Host, { key: '
|
|
3218
|
+
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: {
|
|
3219
3219
|
'max-width': this.col.columnWidth,
|
|
3220
|
-
} }, col.prefix && (h("div", { key: '
|
|
3220
|
+
} }, 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))));
|
|
3221
3221
|
}
|
|
3222
3222
|
get el() { return getElement(this); }
|
|
3223
3223
|
static get watchers() { return {
|
|
@@ -83,9 +83,9 @@ const Img = class {
|
|
|
83
83
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
84
84
|
const { draggable } = inheritedAttributes;
|
|
85
85
|
const theme = getIonTheme(this);
|
|
86
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: '790a50b25c8b38214d586d204d2589f878a4362e', class: {
|
|
87
87
|
[theme]: true,
|
|
88
|
-
} }, h("img", { key: '
|
|
88
|
+
} }, h("img", { key: 'a526a84d0da174a7f37f2e1be4946eeb7f7c50ea', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
89
89
|
}
|
|
90
90
|
get el() { return getElement(this); }
|
|
91
91
|
static get watchers() { return {
|
|
@@ -270,7 +270,7 @@ const InfiniteScroll = class {
|
|
|
270
270
|
render() {
|
|
271
271
|
const theme = getIonTheme(this);
|
|
272
272
|
const disabled = this.disabled;
|
|
273
|
-
return (h(Host, { key: '
|
|
273
|
+
return (h(Host, { key: '472373c70ceeb916912025d122865ec0bdd8dea2', class: {
|
|
274
274
|
[theme]: true,
|
|
275
275
|
'infinite-scroll-loading': this.isLoading,
|
|
276
276
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -314,11 +314,11 @@ const InfiniteScrollContent = class {
|
|
|
314
314
|
}
|
|
315
315
|
render() {
|
|
316
316
|
const theme = getIonTheme(this);
|
|
317
|
-
return (h(Host, { key: '
|
|
317
|
+
return (h(Host, { key: '8862ba3855da134e72a07948337bd98f1650e6b3', class: {
|
|
318
318
|
[theme]: true,
|
|
319
319
|
// Used internally for styling
|
|
320
320
|
[`infinite-scroll-content-${theme}`]: true,
|
|
321
|
-
} }, h("div", { key: '
|
|
321
|
+
} }, 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())));
|
|
322
322
|
}
|
|
323
323
|
};
|
|
324
324
|
InfiniteScrollContent.style = {
|
|
@@ -9,7 +9,7 @@ import { c as createColorClasses } from './theme-DaJxRxSQ.js';
|
|
|
9
9
|
import { b as getIonMode } from './ionic-global-BJDU78B6.js';
|
|
10
10
|
import './focus-visible-vXpMhGrs.js';
|
|
11
11
|
|
|
12
|
-
const inputOtpIonicCss = () => `:host{--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--separator-height:var(--separator-width);--highlight-color:var(--highlight-color-focused);display:block;position:relative}.input-otp-group{-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:var(--min-width)}.native-input{border-radius:var(--border-radius);width:var(--width);min-width:inherit;height:var(--height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);font-family:inherit;font-size:inherit;text-align:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.has-focus) .native-input{caret-color:var(--highlight-color)}.input-otp-description{text-align:center}.input-otp-description-hidden{display:none}.input-otp-separator{border-radius:var(--separator-border-radius);-ms-flex-negative:0;flex-shrink:0;width:var(--separator-width);height:var(--separator-height);background:var(--separator-color)}:host(.input-otp-disabled),:host(.input-otp-disabled) .native-input:disabled{cursor:not-allowed}:host(.has-focus) .native-input:focus{--border-color:var(--highlight-color);outline:none}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}:host(.has-focus.ion-valid),:host(.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host{--padding-top:var(--token-space-400, var(--token-scale-400, 16px));--padding-end:var(--token-space-0, var(--token-scale-0, 0px));--padding-bottom:var(--token-space-400, var(--token-scale-400, 16px));--padding-start:var(--token-space-0, var(--token-scale-0, 0px));--color:var(--token-text-default, var(--token-primitives-neutral-1200, #242528));--min-width:var(--token-scale-1000, 40px);--border-width:var(--token-border-size-025, var(--token-scale-025, 1px));--border-style:solid;--border-color:var(--token-border-input-default, var(--token-primitives-neutral-400, #d0d7df));--separator-width:var(--token-scale-200, 8px);--separator-border-radius:var(--token-border-radius-full, 999px);--separator-color:var(--token-bg-neutral-subtle-press, var(--token-primitives-neutral-300, #e6eaee));--highlight-color-focused:var(--token-border-focus-default, var(--token-semantics-primary-400, var(--token-primitives-blue-400, #b5c0f7)));--highlight-color-valid:var(--token-border-success, var(--token-semantics-success-500, var(--token-primitives-green-500, #94d9bb)));--highlight-color-invalid:var(--token-border-danger-default, var(--token-semantics-danger-600, var(--token-primitives-red-600, #ef5264)));font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-regular, 400);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:var(--token-font-line-height-600, 1.5rem)}:host(.has-focus) .native-input:focus{--border-width:var(--token-border-size-050, var(--token-scale-050, 2px))}.input-otp-description{font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-300, 0.75rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:var(--token-font-line-height-500, 1.25rem);color:var(--token-text-subtlest, var(--token-primitives-neutral-800, #6c727a))}:host(.input-otp-size-small){--width:var(--token-scale-1000, 40px);--height:var(--token-scale-1000, 40px)}:host(.input-otp-size-small) .input-otp-group{gap:var(--token-space-200, var(--token-scale-200, 8px))}:host(.input-otp-size-medium){--width:var(--token-scale-1200, 48px);--height:var(--token-scale-1200, 48px)}:host(.input-otp-size-large){--width:var(--token-scale-1400, 56px);--height:var(--token-scale-1400, 56px)}:host(.input-otp-size-medium) .input-otp-group,:host(.input-otp-size-large) .input-otp-group{gap:var(--token-space-300, var(--token-scale-300, 12px))}:host(.input-otp-shape-round){--border-radius:var(--token-shape-round-
|
|
12
|
+
const inputOtpIonicCss = () => `:host{--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--separator-height:var(--separator-width);--highlight-color:var(--highlight-color-focused);display:block;position:relative}.input-otp-group{-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:var(--min-width)}.native-input{border-radius:var(--border-radius);width:var(--width);min-width:inherit;height:var(--height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);font-family:inherit;font-size:inherit;text-align:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.has-focus) .native-input{caret-color:var(--highlight-color)}.input-otp-description{text-align:center}.input-otp-description-hidden{display:none}.input-otp-separator{border-radius:var(--separator-border-radius);-ms-flex-negative:0;flex-shrink:0;width:var(--separator-width);height:var(--separator-height);background:var(--separator-color)}:host(.input-otp-disabled),:host(.input-otp-disabled) .native-input:disabled{cursor:not-allowed}:host(.has-focus) .native-input:focus{--border-color:var(--highlight-color);outline:none}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}:host(.has-focus.ion-valid),:host(.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host{--padding-top:var(--token-space-400, var(--token-scale-400, 16px));--padding-end:var(--token-space-0, var(--token-scale-0, 0px));--padding-bottom:var(--token-space-400, var(--token-scale-400, 16px));--padding-start:var(--token-space-0, var(--token-scale-0, 0px));--color:var(--token-text-default, var(--token-primitives-neutral-1200, #242528));--min-width:var(--token-scale-1000, 40px);--border-width:var(--token-border-size-025, var(--token-scale-025, 1px));--border-style:solid;--border-color:var(--token-border-input-default, var(--token-primitives-neutral-400, #d0d7df));--separator-width:var(--token-scale-200, 8px);--separator-border-radius:var(--token-border-radius-full, 999px);--separator-color:var(--token-bg-neutral-subtle-press, var(--token-primitives-neutral-300, #e6eaee));--highlight-color-focused:var(--token-border-focus-default, var(--token-semantics-primary-400, var(--token-primitives-blue-400, #b5c0f7)));--highlight-color-valid:var(--token-border-success, var(--token-semantics-success-500, var(--token-primitives-green-500, #94d9bb)));--highlight-color-invalid:var(--token-border-danger-default, var(--token-semantics-danger-600, var(--token-primitives-red-600, #ef5264)));font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-regular, 400);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:var(--token-font-line-height-600, 1.5rem)}:host(.has-focus) .native-input:focus{--border-width:var(--token-border-size-050, var(--token-scale-050, 2px))}.input-otp-description{font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-300, 0.75rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:var(--token-font-line-height-500, 1.25rem);color:var(--token-text-subtlest, var(--token-primitives-neutral-800, #6c727a))}:host(.input-otp-size-small){--width:var(--token-scale-1000, 40px);--height:var(--token-scale-1000, 40px)}:host(.input-otp-size-small) .input-otp-group{gap:var(--token-space-200, var(--token-scale-200, 8px))}:host(.input-otp-size-medium){--width:var(--token-scale-1200, 48px);--height:var(--token-scale-1200, 48px)}:host(.input-otp-size-large){--width:var(--token-scale-1400, 56px);--height:var(--token-scale-1400, 56px)}:host(.input-otp-size-medium) .input-otp-group,:host(.input-otp-size-large) .input-otp-group{gap:var(--token-space-300, var(--token-scale-300, 12px))}:host(.input-otp-shape-round){--border-radius:var(--token-shape-round-xl, 16px)}:host(.input-otp-shape-soft){--border-radius:var(--token-shape-soft-lg, 8px)}:host(.input-otp-shape-rectangular){--border-radius:var(--token-shape-rectangular-xl, 0px)}:host(.input-otp-fill-outline){--background:var(--token-bg-input-default, var(--token-primitives-base-white, #ffffff))}:host(.input-otp-fill-solid){--border-color:var(--token-bg-input-bold-default, var(--token-primitives-neutral-200, #ebeef2));--background:var(--token-bg-input-bold-default, var(--token-primitives-neutral-200, #ebeef2))}:host(.input-otp-disabled){--color:var(--token-text-disabled, var(--token-primitives-neutral-500, #9fa5ad))}:host(.input-otp-fill-outline.input-otp-disabled){--background:var(--token-bg-input-disabled, var(--token-primitives-neutral-100, #f6f7fa));--border-color:var(--token-border-disabled, var(--token-primitives-neutral-300, #e6eaee))}:host(.input-otp-fill-outline.input-otp-readonly){--background:var(--token-bg-input-read-only, var(--token-primitives-neutral-100, #f6f7fa))}:host(.input-otp-fill-solid.input-otp-disabled){--border-color:var(--token-bg-input-bold-disabled, var(--token-primitives-neutral-300, #e6eaee));--background:var(--token-bg-input-bold-disabled, var(--token-primitives-neutral-300, #e6eaee))}:host(.input-otp-fill-solid.input-otp-readonly){--border-color:var(--token-bg-input-bold-read-only, var(--token-primitives-neutral-300, #e6eaee));--background:var(--token-bg-input-bold-read-only, var(--token-primitives-neutral-300, #e6eaee))}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.input-otp-fill-outline.ion-color) .native-input,:host(.input-otp-fill-solid.ion-color) .native-input:focus{border-color:rgba(var(--ion-color-base-rgb), 0.6)}:host(.input-otp-fill-outline.ion-color.ion-invalid) .native-input,:host(.input-otp-fill-solid.ion-color.ion-invalid) .native-input,:host(.input-otp-fill-outline.ion-color.has-focus.ion-invalid) .native-input,:host(.input-otp-fill-solid.ion-color.has-focus.ion-invalid) .native-input{border-color:var(--ion-color-danger, var(--token-bg-danger-base-default, var(--token-semantics-danger-700, var(--token-primitives-red-700, #e0243a))))}:host(.input-otp-fill-outline.ion-color.ion-valid) .native-input,:host(.input-otp-fill-solid.ion-color.ion-valid) .native-input,:host(.input-otp-fill-outline.ion-color.has-focus.ion-valid) .native-input,:host(.input-otp-fill-solid.ion-color.has-focus.ion-valid) .native-input{border-color:var(--ion-color-success, var(--token-bg-success-base-default, var(--token-semantics-success-800, var(--token-primitives-green-800, #038855))))}:host(.input-otp-fill-outline.input-otp-disabled.ion-color) .native-input{border-color:rgba(var(--ion-color-base-rgb), 0.3)}`;
|
|
13
13
|
|
|
14
14
|
const inputOtpIosCss = () => `:host{--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--separator-height:var(--separator-width);--highlight-color:var(--highlight-color-focused);display:block;position:relative}.input-otp-group{-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:var(--min-width)}.native-input{border-radius:var(--border-radius);width:var(--width);min-width:inherit;height:var(--height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);font-family:inherit;font-size:inherit;text-align:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.has-focus) .native-input{caret-color:var(--highlight-color)}.input-otp-description{text-align:center}.input-otp-description-hidden{display:none}.input-otp-separator{border-radius:var(--separator-border-radius);-ms-flex-negative:0;flex-shrink:0;width:var(--separator-width);height:var(--separator-height);background:var(--separator-color)}:host(.input-otp-disabled),:host(.input-otp-disabled) .native-input:disabled{cursor:not-allowed}:host(.has-focus) .native-input:focus{--border-color:var(--highlight-color);outline:none}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}:host(.has-focus.ion-valid),:host(.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host{--padding-top:16px;--padding-end:0;--padding-bottom:16px;--padding-start:0;--color:initial;--min-width:40px;--border-style:solid;--separator-width:8px;--separator-border-radius:999px;--separator-color:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);font-family:var(--ion-font-family, inherit);font-size:0.875rem}.input-otp-description{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem;line-height:1.25rem}:host(.input-otp-size-small){--width:40px;--height:40px}:host(.input-otp-size-small) .input-otp-group{gap:8px}:host(.input-otp-size-medium){--width:48px;--height:48px}:host(.input-otp-size-large){--width:56px;--height:56px}:host(.input-otp-size-medium) .input-otp-group,:host(.input-otp-size-large) .input-otp-group{gap:12px}:host(.input-otp-shape-round){--border-radius:16px}:host(.input-otp-shape-soft){--border-radius:8px}:host(.input-otp-shape-rectangular){--border-radius:0}:host(.input-otp-fill-outline){--background:none}:host(.input-otp-fill-solid){--border-color:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}:host(.input-otp-disabled){--color:var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6))}:host(.input-otp-fill-outline.input-otp-disabled){--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}:host(.input-otp-fill-outline.input-otp-readonly){--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}:host(.input-otp-fill-solid.input-otp-disabled),:host(.input-otp-fill-solid.input-otp-readonly){--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.input-otp-fill-outline.ion-color) .native-input,:host(.input-otp-fill-solid.ion-color) .native-input:focus{border-color:rgba(var(--ion-color-base-rgb), 0.6)}:host(.input-otp-fill-outline.ion-color.ion-invalid) .native-input,:host(.input-otp-fill-solid.ion-color.ion-invalid) .native-input,:host(.input-otp-fill-outline.ion-color.has-focus.ion-invalid) .native-input,:host(.input-otp-fill-solid.ion-color.has-focus.ion-invalid) .native-input{border-color:var(--ion-color-danger, #c5000f)}:host(.input-otp-fill-outline.ion-color.ion-valid) .native-input,:host(.input-otp-fill-solid.ion-color.ion-valid) .native-input,:host(.input-otp-fill-outline.ion-color.has-focus.ion-valid) .native-input,:host(.input-otp-fill-solid.ion-color.has-focus.ion-valid) .native-input{border-color:var(--ion-color-success, #2dd55b)}:host(.input-otp-fill-outline.input-otp-disabled.ion-color) .native-input{border-color:rgba(var(--ion-color-base-rgb), 0.3)}:host{--border-width:0.55px}:host(.has-focus) .native-input:focus{--border-width:1px}:host(.input-otp-fill-outline){--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))))}`;
|
|
15
15
|
|
|
@@ -690,7 +690,7 @@ const InputOTP = class {
|
|
|
690
690
|
const tabbableIndex = this.getTabbableIndex();
|
|
691
691
|
const pattern = this.getPattern();
|
|
692
692
|
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()) !== '';
|
|
693
|
-
return (h(Host, { key: '
|
|
693
|
+
return (h(Host, { key: '9c843d78384ce66c409803c65c763a3d535ecbde', class: createColorClasses(color, {
|
|
694
694
|
[mode]: true,
|
|
695
695
|
'has-focus': hasFocus,
|
|
696
696
|
[`input-otp-size-${size}`]: true,
|
|
@@ -698,10 +698,10 @@ const InputOTP = class {
|
|
|
698
698
|
[`input-otp-fill-${fill}`]: true,
|
|
699
699
|
'input-otp-disabled': disabled,
|
|
700
700
|
'input-otp-readonly': readonly,
|
|
701
|
-
}) }, h("div", Object.assign({ key: '
|
|
701
|
+
}) }, 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: {
|
|
702
702
|
'input-otp-description': true,
|
|
703
703
|
'input-otp-description-hidden': !hasDescription,
|
|
704
|
-
}, part: "description" }, h("slot", { key: '
|
|
704
|
+
}, part: "description" }, h("slot", { key: '37269630d0efac337816d53250aa29d53e21a6bc' }))));
|
|
705
705
|
}
|
|
706
706
|
static get formAssociated() { return true; }
|
|
707
707
|
get el() { return getElement(this); }
|
|
@@ -99,16 +99,16 @@ const InputPasswordToggle = class {
|
|
|
99
99
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
100
100
|
const mode = getIonMode(this);
|
|
101
101
|
const isPasswordVisible = type === 'text';
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: 'eab97f9b8dc592cd312f54c2521c66053b0b17e4', class: createColorClasses(color, {
|
|
103
103
|
[mode]: true,
|
|
104
|
-
}) }, h("ion-button", { key: '
|
|
104
|
+
}) }, 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) => {
|
|
105
105
|
/**
|
|
106
106
|
* This prevents mobile browsers from
|
|
107
107
|
* blurring the input when the password toggle
|
|
108
108
|
* button is activated.
|
|
109
109
|
*/
|
|
110
110
|
ev.preventDefault();
|
|
111
|
-
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '
|
|
111
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '46ec7ac0708091e5a9ffb7a990ef38e5451d40c2', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
112
112
|
}
|
|
113
113
|
get el() { return getElement(this); }
|
|
114
114
|
static get watchers() { return {
|
|
@@ -627,7 +627,7 @@ const Input = class {
|
|
|
627
627
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
628
628
|
*/
|
|
629
629
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
630
|
-
return (h(Host, { key: '
|
|
630
|
+
return (h(Host, { key: '3f626529b81af07aad58e0bf6402b3521821ad5a', class: createColorClasses(this.color, {
|
|
631
631
|
[theme]: true,
|
|
632
632
|
'has-value': hasValue,
|
|
633
633
|
'has-focus': hasFocus,
|
|
@@ -640,7 +640,7 @@ const Input = class {
|
|
|
640
640
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
641
641
|
'input-disabled': disabled,
|
|
642
642
|
'input-readonly': readonly,
|
|
643
|
-
}) }, h("label", { key: '
|
|
643
|
+
}) }, h("label", { key: '43e8e13265ce166f0c6a3e317398bf6088876042', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '18e8078a53211ea0a3b4f6851a3aa7bcdc457bc4', class: "native-wrapper", onClick: this.onLabelClick },
|
|
644
644
|
/**
|
|
645
645
|
* For the ionic theme, we render the outline container here
|
|
646
646
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -650,10 +650,10 @@ const Input = class {
|
|
|
650
650
|
* <label> element, ensuring that clicking the label text
|
|
651
651
|
* focuses the input.
|
|
652
652
|
*/
|
|
653
|
-
theme === 'ionic' && h("div", { key: '
|
|
653
|
+
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: {
|
|
654
654
|
'input-clear-icon': true,
|
|
655
655
|
'input-clear-button-pressed': this.isClearButtonPressed,
|
|
656
|
-
}, onPointerDown: this.clearButtonPressController.onPointerDown, onPointerCancel: this.clearButtonPressController.release, onClick: this.clearTextInput }, h("ion-icon", { key: '
|
|
656
|
+
}, 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()));
|
|
657
657
|
}
|
|
658
658
|
get el() { return getElement(this); }
|
|
659
659
|
static get watchers() { return {
|