@ionic/core 8.4.2-dev.11741365851.1a97ead6 → 8.4.2-dev.11741869226.11c3cc35
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/button.js +3 -3
- package/components/ion-searchbar.js +8 -5
- package/components/ion-segment-button.js +2 -2
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +3 -3
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +3 -3
- package/components/ion-thumbnail.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/select-modal.js +1 -1
- package/components/select-popover.js +2 -2
- package/components/spinner.js +1 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/dist/cjs/ion-app_8.cjs.entry.js +4 -4
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +8 -5
- 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/button/button.ionic.css +39 -19
- package/dist/collection/components/button/button.ios.css +2 -1
- package/dist/collection/components/button/button.md.css +2 -1
- package/dist/collection/components/searchbar/searchbar.ionic.css +21 -11
- package/dist/collection/components/searchbar/searchbar.js +8 -5
- 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 +2 -2
- package/dist/esm/ion-app_8.entry.js +4 -4
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +3 -3
- package/dist/esm/ion-item_8.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +8 -5
- 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/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment-content.entry.js +1 -1
- package/dist/esm-es5/ion-segment-view.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/html.html-data.json +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-531c3061.entry.js → p-00d4122b.entry.js} +1 -1
- package/dist/ionic/{p-ccae763c.entry.js → p-06171cfe.entry.js} +1 -1
- package/dist/ionic/{p-20fb0bb4.entry.js → p-177e5174.entry.js} +1 -1
- package/dist/ionic/{p-25fcbafe.entry.js → p-2babcfed.entry.js} +1 -1
- package/dist/ionic/{p-345ed859.system.entry.js → p-2c158829.system.entry.js} +1 -1
- package/dist/ionic/{p-f6b4018a.system.entry.js → p-2e2564f4.system.entry.js} +1 -1
- package/dist/ionic/{p-8cdc3684.entry.js → p-32c7f373.entry.js} +1 -1
- package/dist/ionic/{p-6fe386d5.system.entry.js → p-39dafa1d.system.entry.js} +1 -1
- package/dist/ionic/{p-91f6fc46.entry.js → p-40fb57eb.entry.js} +1 -1
- package/dist/ionic/{p-4b769e3f.entry.js → p-4c3baf6b.entry.js} +1 -1
- package/dist/ionic/p-4dbaf8ab.system.entry.js +4 -0
- package/dist/ionic/{p-633b126a.system.entry.js → p-51121acc.system.entry.js} +1 -1
- package/dist/ionic/{p-bf037413.system.entry.js → p-5bf3c7bb.system.entry.js} +2 -2
- package/dist/ionic/p-5d03dea8.entry.js +4 -0
- package/dist/ionic/{p-e49e5407.system.entry.js → p-5ef3c946.system.entry.js} +1 -1
- package/dist/ionic/{p-f536433d.system.entry.js → p-6064600e.system.entry.js} +1 -1
- package/dist/ionic/{p-975dcbcb.system.entry.js → p-60eff82b.system.entry.js} +1 -1
- package/dist/ionic/p-65d0c3b3.system.entry.js +4 -0
- package/dist/ionic/{p-2f57cb40.entry.js → p-6c6d7c34.entry.js} +1 -1
- package/dist/ionic/p-7b48eb55.entry.js +4 -0
- package/dist/ionic/p-864bb0b2.entry.js +4 -0
- package/dist/ionic/{p-98f32971.entry.js → p-86f2880e.entry.js} +1 -1
- package/dist/ionic/{p-497b67a3.system.entry.js → p-876664bb.system.entry.js} +1 -1
- package/dist/ionic/p-9078b280.system.entry.js +4 -0
- package/dist/ionic/{p-aae0f146.entry.js → p-9d3d1c0c.entry.js} +1 -1
- package/dist/ionic/p-9f99da2c.entry.js +4 -0
- package/dist/ionic/p-9f9a666d.system.js +1 -1
- package/dist/ionic/{p-a269abe3.system.entry.js → p-a37c3f0a.system.entry.js} +2 -2
- package/dist/ionic/{p-656490af.entry.js → p-a4eda6d6.entry.js} +1 -1
- package/dist/ionic/{p-aff567d6.entry.js → p-aa25a8e5.entry.js} +1 -1
- package/dist/ionic/{p-e6e2ea96.system.entry.js → p-abb0510b.system.entry.js} +1 -1
- package/dist/ionic/p-b99343c0.entry.js +4 -0
- package/dist/ionic/{p-a763eb06.system.entry.js → p-bed26b75.system.entry.js} +1 -1
- package/dist/ionic/{p-2730ecee.system.entry.js → p-d454b760.system.entry.js} +1 -1
- package/dist/ionic/{p-21d62720.system.entry.js → p-dac0954a.system.entry.js} +2 -2
- package/dist/ionic/{p-f7d26ada.entry.js → p-ee50200e.entry.js} +1 -1
- package/dist/ionic/{p-f8522131.system.entry.js → p-f22933c0.system.entry.js} +1 -1
- package/dist/types/components/searchbar/searchbar.d.ts +1 -1
- package/dist/types/components.d.ts +2 -2
- package/hydrate/index.js +53 -50
- package/hydrate/index.mjs +53 -50
- package/package.json +1 -1
- package/dist/ionic/p-341a80ea.entry.js +0 -4
- package/dist/ionic/p-a27eaf15.system.entry.js +0 -4
- package/dist/ionic/p-a6ad7cc9.entry.js +0 -4
- package/dist/ionic/p-bc3538f6.entry.js +0 -4
- package/dist/ionic/p-c5692272.system.entry.js +0 -4
- package/dist/ionic/p-d7cbcadc.entry.js +0 -4
- package/dist/ionic/p-e4444d68.entry.js +0 -4
- package/dist/ionic/p-e9c36e22.system.entry.js +0 -4
|
@@ -85,13 +85,13 @@ const TabBar = class {
|
|
|
85
85
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
86
86
|
const shape = this.getShape();
|
|
87
87
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
88
|
-
return (index.h(index.Host, { key: '
|
|
88
|
+
return (index.h(index.Host, { key: 'e57f0d522ba76f8d5eaf1a08ae4fea98a3f7a50a', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: theme.createColorClasses(color, {
|
|
89
89
|
[theme$1]: true,
|
|
90
90
|
'tab-bar-translucent': translucent,
|
|
91
91
|
'tab-bar-hidden': shouldHide,
|
|
92
92
|
[`tab-bar-${expand}`]: true,
|
|
93
93
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
94
|
-
}) }, index.h("slot", { key: '
|
|
94
|
+
}) }, index.h("slot", { key: 'beee2b8b2139bc2c7920619f4b961f74c3b521fe' })));
|
|
95
95
|
}
|
|
96
96
|
get el() { return index.getElement(this); }
|
|
97
97
|
static get watchers() { return {
|
|
@@ -189,7 +189,7 @@ const TabButton = class {
|
|
|
189
189
|
rel,
|
|
190
190
|
target,
|
|
191
191
|
};
|
|
192
|
-
return (index.h(index.Host, { key: '
|
|
192
|
+
return (index.h(index.Host, { key: '92fe9a21c7cdb676088159706dbf413f7a1ab6dd', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
193
193
|
[theme]: true,
|
|
194
194
|
'tab-selected': selected,
|
|
195
195
|
'tab-disabled': disabled,
|
|
@@ -202,7 +202,7 @@ const TabButton = class {
|
|
|
202
202
|
'ion-selectable': true,
|
|
203
203
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
204
204
|
'ion-focusable': true,
|
|
205
|
-
} }, index.h("a", Object.assign({ key: '
|
|
205
|
+
} }, index.h("a", Object.assign({ key: 'c4b46c35ec0dbde8a8ba4d5e14b43cc198b8cea4' }, 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: 'e8e5fcdb3e82e7faf6360609405ffe5aec5ddfa7', class: "button-inner" }, index.h("slot", { key: '3ccbf6571071946adfb34f3dc4dc6b03911bf028' })), theme === 'md' && index.h("ion-ripple-effect", { key: '3e1ac99fdc2bb2f7c70b24d13d0b75d870bbebee', type: "unbounded" }))));
|
|
206
206
|
}
|
|
207
207
|
get el() { return index.getElement(this); }
|
|
208
208
|
};
|
|
@@ -52,10 +52,10 @@ const Tab = class {
|
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
54
|
const { tab, active, component } = this;
|
|
55
|
-
return (index.h(index.Host, { key: '
|
|
55
|
+
return (index.h(index.Host, { key: '373fa350e5f183d9e539be2af831a2f19b1c4d8d', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
56
56
|
'ion-page': component === undefined,
|
|
57
57
|
'tab-hidden': !active,
|
|
58
|
-
} }, index.h("slot", { key: '
|
|
58
|
+
} }, index.h("slot", { key: '2a3b2a72382b25d413bf52d9a2f75e4dcd4e031a' })));
|
|
59
59
|
}
|
|
60
60
|
get el() { return index.getElement(this); }
|
|
61
61
|
static get watchers() { return {
|
|
@@ -209,7 +209,7 @@ const Tabs = class {
|
|
|
209
209
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
210
210
|
}
|
|
211
211
|
render() {
|
|
212
|
-
return (index.h(index.Host, { key: '
|
|
212
|
+
return (index.h(index.Host, { key: '4d9856714441e8cc008fee4c576ce4459ce39a79', onIonTabButtonClick: this.onTabClicked }, index.h("slot", { key: 'c38cdbabedb8c20d0c9c567d22a43cef18cf62dd', name: "top" }), index.h("div", { key: '9abb86e184ac412ca330caa36c774514b57d7787', class: "tabs-inner" }, index.h("slot", { key: '80ccbfd4373b75eec57b65246b73f3492ca6de61' })), index.h("slot", { key: '529ea51bf3c4e83bbeceb0b0a46bf1acefd91999', name: "bottom" })));
|
|
213
213
|
}
|
|
214
214
|
get el() { return index.getElement(this); }
|
|
215
215
|
};
|
|
@@ -20,9 +20,9 @@ const Text = class {
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
23
|
-
return (index.h(index.Host, { key: '
|
|
23
|
+
return (index.h(index.Host, { key: 'e1b876b429afbc3e274be86001ccfe24c442779f', class: theme.createColorClasses(this.color, {
|
|
24
24
|
[theme$1]: true,
|
|
25
|
-
}) }, index.h("slot", { key: '
|
|
25
|
+
}) }, index.h("slot", { key: '19a4830c579945a82b8b96bdb47b97c4f5ef21cf' })));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
Text.style = IonTextStyle0;
|
|
@@ -407,7 +407,7 @@ const Textarea = class {
|
|
|
407
407
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
408
408
|
*/
|
|
409
409
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
410
|
-
return (index.h(index.Host, { key: '
|
|
410
|
+
return (index.h(index.Host, { key: 'fe6c24bf77ca782972cac3d64a33737eaba23389', class: theme.createColorClasses(this.color, {
|
|
411
411
|
[theme$1]: true,
|
|
412
412
|
'has-value': hasValue,
|
|
413
413
|
'has-focus': hasFocus,
|
|
@@ -418,7 +418,7 @@ const Textarea = class {
|
|
|
418
418
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
419
419
|
'textarea-disabled': disabled,
|
|
420
420
|
'textarea-readonly': readonly,
|
|
421
|
-
}) }, index.h("label", { key: '
|
|
421
|
+
}) }, index.h("label", { key: '23d6c62531e57b60d6260e7c40e63ee5cf8270c3', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), index.h("div", { key: 'ea7dc7d4531f9698aa697cb09fae2703d0b0e591', class: "textarea-wrapper-inner" },
|
|
422
422
|
/**
|
|
423
423
|
* For the ionic theme, we render the outline container here
|
|
424
424
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -428,7 +428,7 @@ const Textarea = class {
|
|
|
428
428
|
* <label> element, ensuring that clicking the label text
|
|
429
429
|
* focuses the textarea.
|
|
430
430
|
*/
|
|
431
|
-
theme$1 === 'ionic' && fill === 'outline' && index.h("div", { key: '
|
|
431
|
+
theme$1 === 'ionic' && fill === 'outline' && index.h("div", { key: 'bc710e560648176cf4fcb6711be718026f7e30fd', class: "textarea-outline" }), index.h("div", { key: '9e2da805f2e270fdff71d024a4593a89b1a5d9f5', class: "start-slot-wrapper" }, index.h("slot", { key: '7a74498533a18410dfcee4f30d26624c4bf80dac', name: "start" })), index.h("div", { key: '8ccc0a907f9d1589f69557c12c765d0dd5af0bc2', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, index.h("textarea", Object.assign({ key: '6573b2257ca304b302ab1d3cd8f4cad7ee5083d3', class: "native-textarea", 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.getHintTextID() === this.errorTextId }, this.inheritedAttributes), value)), index.h("div", { key: '159897f6743c9467ab126b279e4047fb7c190a20', class: "end-slot-wrapper" }, index.h("slot", { key: '7a4cad67e425f6e61117540374a24d5398870dac', name: "end" }))), shouldRenderHighlight && index.h("div", { key: 'b1758605d2d8db048153c943fe3459379f5d55dd', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
432
432
|
}
|
|
433
433
|
get el() { return index.getElement(this); }
|
|
434
434
|
static get watchers() { return {
|
|
@@ -849,9 +849,9 @@ const Toast = class {
|
|
|
849
849
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
850
850
|
ionicGlobal.printIonWarning('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);
|
|
851
851
|
}
|
|
852
|
-
return (index$1.h(index$1.Host, Object.assign({ key: '
|
|
852
|
+
return (index$1.h(index$1.Host, Object.assign({ key: 'ca2b6c7687dd35723354c70e428732f9ef37b42a', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
853
853
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
854
|
-
}, 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 })), onIonToastWillDismiss: this.dispatchCancelHandler }), index$1.h("div", { key: '
|
|
854
|
+
}, 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 })), onIonToastWillDismiss: this.dispatchCancelHandler }), index$1.h("div", { key: 'b060ada04340de9c06d738aebdab040733c275b2', class: wrapperClass }, index$1.h("div", { key: '91e1656fb8d40dc8c06118177861a17a3f4818e2', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (index$1.h("ion-icon", { key: 'a21fde59cf54bf6d6d0be95709aba5d011fcee30', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), index$1.h("div", { key: '1b11ede14b09874d27cc9414d8a7ff3cf3d8ea0a', class: "toast-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')))));
|
|
855
855
|
}
|
|
856
856
|
get el() { return index$1.getElement(this); }
|
|
857
857
|
static get watchers() { return {
|
|
@@ -220,7 +220,7 @@ const Toggle = class {
|
|
|
220
220
|
const rtl = dir.isRTL(el) ? 'rtl' : 'ltr';
|
|
221
221
|
const isIonicTheme = theme$1 === 'ionic';
|
|
222
222
|
helpers.renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
223
|
-
return (index.h(index.Host, { key: '
|
|
223
|
+
return (index.h(index.Host, { key: '4d1933ea31bbb5aef07e25fca47ab32c3ce909c3', onClick: this.onClick, class: theme.createColorClasses(color, {
|
|
224
224
|
[theme$1]: true,
|
|
225
225
|
'in-item': theme.hostContext('ion-item', el),
|
|
226
226
|
'toggle-activated': activated,
|
|
@@ -232,10 +232,10 @@ const Toggle = class {
|
|
|
232
232
|
[`toggle-${rtl}`]: true,
|
|
233
233
|
'ion-activatable': isIonicTheme,
|
|
234
234
|
'ion-focusable': isIonicTheme,
|
|
235
|
-
}) }, index.h("label", { key: '
|
|
235
|
+
}) }, index.h("label", { key: 'b7a8dfa516c8db9ce5e6df8802f3da7cf248f70b', class: "toggle-wrapper" }, index.h("input", Object.assign({ key: '4bbda19d567c69985e5ebb36554187dde1611360', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), index.h("div", { key: 'bba19bc7602b525ac1226425e13d6732c32176e9', class: {
|
|
236
236
|
'label-text-wrapper': true,
|
|
237
237
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
238
|
-
}, part: "label" }, index.h("slot", { key: '
|
|
238
|
+
}, part: "label" }, index.h("slot", { key: 'abe8b79d4b358c61fe215721ee08b8f9469c3c62' })), index.h("div", { key: 'cb2ff40a9d28296c6606022e2d0e032728a3a835', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
239
239
|
}
|
|
240
240
|
get el() { return index.getElement(this); }
|
|
241
241
|
static get watchers() { return {
|
|
@@ -301,7 +301,8 @@ Do not edit directly, this file was auto-generated.
|
|
|
301
301
|
flex-shrink: 0;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
::slotted(ion-icon)
|
|
304
|
+
::slotted(ion-icon),
|
|
305
|
+
::slotted(ion-spinner) {
|
|
305
306
|
pointer-events: none;
|
|
306
307
|
}
|
|
307
308
|
|
|
@@ -439,18 +440,6 @@ ion-ripple-effect {
|
|
|
439
440
|
color: var(--ion-primitives-neutral-200, #e7e7e7);
|
|
440
441
|
}
|
|
441
442
|
|
|
442
|
-
/* Extra Small and Small Button */
|
|
443
|
-
:host(.button-xsmall) ::slotted(ion-icon[slot=start]),
|
|
444
|
-
:host(.button-small) ::slotted(ion-icon[slot=start]) {
|
|
445
|
-
-webkit-margin-end: var(--ion-space-100, 4px);
|
|
446
|
-
margin-inline-end: var(--ion-space-100, 4px);
|
|
447
|
-
}
|
|
448
|
-
:host(.button-xsmall) ::slotted(ion-icon[slot=end]),
|
|
449
|
-
:host(.button-small) ::slotted(ion-icon[slot=end]) {
|
|
450
|
-
-webkit-margin-start: var(--ion-space-100, 4px);
|
|
451
|
-
margin-inline-start: var(--ion-space-100, 4px);
|
|
452
|
-
}
|
|
453
|
-
|
|
454
443
|
/* Extra Small Button */
|
|
455
444
|
:host(.button-xsmall) {
|
|
456
445
|
--padding-top: var(--ion-space-100, 4px);
|
|
@@ -510,6 +499,23 @@ ion-ripple-effect {
|
|
|
510
499
|
aspect-ratio: 1/1;
|
|
511
500
|
}
|
|
512
501
|
|
|
502
|
+
::slotted(ion-spinner) {
|
|
503
|
+
--color: currentColor;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
/* Button containing only a spinner */
|
|
507
|
+
::slotted(ion-spinner[slot=start]),
|
|
508
|
+
::slotted(ion-spinner[slot=end]),
|
|
509
|
+
::slotted(ion-spinner[slot=icon-only]) {
|
|
510
|
+
width: var(--ion-space-500, 20px);
|
|
511
|
+
height: var(--ion-space-500, 20px);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
:host(.button-xlarge) ::slotted(ion-spinner) {
|
|
515
|
+
width: var(--ion-space-600, 24px);
|
|
516
|
+
height: var(--ion-space-600, 24px);
|
|
517
|
+
}
|
|
518
|
+
|
|
513
519
|
:host(.button-soft) {
|
|
514
520
|
--border-radius: var(--ion-border-radius-200, 8px);
|
|
515
521
|
}
|
|
@@ -558,32 +564,46 @@ ion-ripple-effect {
|
|
|
558
564
|
font-size: var(--ion-font-size-500, 1.25rem);
|
|
559
565
|
}
|
|
560
566
|
|
|
561
|
-
:host(.button-
|
|
567
|
+
:host(.button-xsmall) ::slotted(ion-icon[slot=start]),
|
|
568
|
+
:host(.button-xsmall) ::slotted(ion-spinner[slot=start]),
|
|
569
|
+
:host(.button-small) ::slotted(ion-icon[slot=start]),
|
|
570
|
+
:host(.button-small) ::slotted(ion-spinner[slot=start]) {
|
|
562
571
|
-webkit-margin-end: var(--ion-space-200, 8px);
|
|
563
572
|
margin-inline-end: var(--ion-space-200, 8px);
|
|
564
573
|
}
|
|
565
574
|
|
|
566
|
-
::slotted(ion-icon[slot=start])
|
|
575
|
+
::slotted(ion-icon[slot=start]),
|
|
576
|
+
::slotted(ion-spinner[slot=start]) {
|
|
567
577
|
-webkit-margin-end: var(--ion-space-250, 10px);
|
|
568
578
|
margin-inline-end: var(--ion-space-250, 10px);
|
|
569
579
|
}
|
|
570
580
|
|
|
571
|
-
:host(.button-large) ::slotted(ion-icon[slot=start])
|
|
581
|
+
:host(.button-large) ::slotted(ion-icon[slot=start]),
|
|
582
|
+
:host(.button-large) ::slotted(ion-spinner[slot=start]),
|
|
583
|
+
:host(.button-xlarge) ::slotted(ion-icon[slot=start]),
|
|
584
|
+
:host(.button-xlarge) ::slotted(ion-spinner[slot=start]) {
|
|
572
585
|
-webkit-margin-end: var(--ion-space-300, 12px);
|
|
573
586
|
margin-inline-end: var(--ion-space-300, 12px);
|
|
574
587
|
}
|
|
575
588
|
|
|
576
|
-
:host(.button-
|
|
589
|
+
:host(.button-xsmall) ::slotted(ion-icon[slot=end]),
|
|
590
|
+
:host(.button-xsmall) ::slotted(ion-spinner[slot=end]),
|
|
591
|
+
:host(.button-small) ::slotted(ion-icon[slot=end]),
|
|
592
|
+
:host(.button-small) ::slotted(ion-spinner[slot=end]) {
|
|
577
593
|
-webkit-margin-start: var(--ion-space-200, 8px);
|
|
578
594
|
margin-inline-start: var(--ion-space-200, 8px);
|
|
579
595
|
}
|
|
580
596
|
|
|
581
|
-
::slotted(ion-icon[slot=end])
|
|
597
|
+
::slotted(ion-icon[slot=end]),
|
|
598
|
+
::slotted(ion-spinner[slot=end]) {
|
|
582
599
|
-webkit-margin-start: var(--ion-space-250, 10px);
|
|
583
600
|
margin-inline-start: var(--ion-space-250, 10px);
|
|
584
601
|
}
|
|
585
602
|
|
|
586
|
-
:host(.button-large) ::slotted(ion-icon[slot=end])
|
|
603
|
+
:host(.button-large) ::slotted(ion-icon[slot=end]),
|
|
604
|
+
:host(.button-large) ::slotted(ion-spinner[slot=end]),
|
|
605
|
+
:host(.button-xlarge) ::slotted(ion-icon[slot=end]),
|
|
606
|
+
:host(.button-xlarge) ::slotted(ion-spinner[slot=end]) {
|
|
587
607
|
-webkit-margin-start: var(--ion-space-300, 12px);
|
|
588
608
|
margin-inline-start: var(--ion-space-300, 12px);
|
|
589
609
|
}
|
|
@@ -217,17 +217,18 @@ Do not edit directly, this file was auto-generated.
|
|
|
217
217
|
* @prop --focus-ring-color: The color of the ring around the focused element.
|
|
218
218
|
* @prop --focus-ring-width: The width of the ring around the focused element.
|
|
219
219
|
*/
|
|
220
|
-
--background: var(--ion-
|
|
220
|
+
--background: var(--ion-bg-neutral-subtle-default, #e7e7e7);
|
|
221
221
|
--border-radius: var(--ion-border-radius-400, 16px);
|
|
222
222
|
--box-shadow: none;
|
|
223
223
|
--cancel-button-color: var(--ion-primitives-neutral-800, #626262);
|
|
224
224
|
--clear-button-color: var(--ion-primitives-neutral-1000, #3b3b3b);
|
|
225
225
|
--color: var(--ion-primitives-neutral-1200, #242424);
|
|
226
|
-
--icon-color: var(--ion-
|
|
227
|
-
--placeholder-color: var(--ion-
|
|
226
|
+
--icon-color: var(--ion-icon-default, #242424);
|
|
227
|
+
--placeholder-color: var(--ion-text-subtlest, #626262);
|
|
228
228
|
--focus-ring-color: var(--ion-border-focus-default, #b5c0f7);
|
|
229
229
|
--focus-ring-width: var(--ion-border-size-050, 2px);
|
|
230
230
|
--leading-icon-padding: calc(var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));
|
|
231
|
+
--clear-button-padding: calc(var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));
|
|
231
232
|
font-size: var(--ion-font-size-350, 0.875rem);
|
|
232
233
|
font-weight: var(--ion-font-weight-regular, 400);
|
|
233
234
|
letter-spacing: var(--ion-font-letter-spacing-0, 0%);
|
|
@@ -248,6 +249,7 @@ Do not edit directly, this file was auto-generated.
|
|
|
248
249
|
.searchbar-input {
|
|
249
250
|
padding-top: var(--ion-space-300, 12px);
|
|
250
251
|
padding-bottom: var(--ion-space-300, 12px);
|
|
252
|
+
text-overflow: ellipsis;
|
|
251
253
|
contain: strict;
|
|
252
254
|
}
|
|
253
255
|
|
|
@@ -259,6 +261,10 @@ Do not edit directly, this file was auto-generated.
|
|
|
259
261
|
contain: strict;
|
|
260
262
|
}
|
|
261
263
|
|
|
264
|
+
:host(:not(.searchbar-should-show-clear)) {
|
|
265
|
+
--clear-button-padding: var(--ion-scale-0, 0px);
|
|
266
|
+
}
|
|
267
|
+
|
|
262
268
|
.searchbar-cancel-button {
|
|
263
269
|
width: var(--ion-scale-400, 16px);
|
|
264
270
|
height: var(--ion-scale-400, 16px);
|
|
@@ -285,6 +291,10 @@ Do not edit directly, this file was auto-generated.
|
|
|
285
291
|
--leading-icon-padding: var(--ion-scale-0, 0px);
|
|
286
292
|
}
|
|
287
293
|
|
|
294
|
+
:host(:not(.searchbar-has-value)) {
|
|
295
|
+
--icon-color: var(--ion-icon-subtlest, #626262);
|
|
296
|
+
}
|
|
297
|
+
|
|
288
298
|
:host-context(ion-toolbar).searchbar-should-show-cancel .searchbar-cancel-button {
|
|
289
299
|
/**
|
|
290
300
|
* The left edge of the cancel button
|
|
@@ -332,8 +342,8 @@ Do not edit directly, this file was auto-generated.
|
|
|
332
342
|
/* Disabled */
|
|
333
343
|
:host(.searchbar-disabled) {
|
|
334
344
|
--color: var(--ion-primitives-neutral-500, #a2a2a2);
|
|
335
|
-
--icon-color: var(--ion-
|
|
336
|
-
--placeholder-color: var(--ion-
|
|
345
|
+
--icon-color: var(--ion-icon-disabled, #a2a2a2);
|
|
346
|
+
--placeholder-color: var(--ion-text-disabled, #a2a2a2);
|
|
337
347
|
cursor: default;
|
|
338
348
|
pointer-events: none;
|
|
339
349
|
}
|
|
@@ -365,8 +375,8 @@ Do not edit directly, this file was auto-generated.
|
|
|
365
375
|
*/
|
|
366
376
|
-webkit-padding-start: calc(var(--ion-space-300, 12px) + var(--leading-icon-padding));
|
|
367
377
|
padding-inline-start: calc(var(--ion-space-300, 12px) + var(--leading-icon-padding));
|
|
368
|
-
-webkit-padding-end: calc(var(--ion-space-300, 12px) + var(--
|
|
369
|
-
padding-inline-end: calc(var(--ion-space-300, 12px) + var(--
|
|
378
|
+
-webkit-padding-end: calc(var(--ion-space-300, 12px) + var(--clear-button-padding));
|
|
379
|
+
padding-inline-end: calc(var(--ion-space-300, 12px) + var(--clear-button-padding));
|
|
370
380
|
height: var(--ion-scale-1000, 40px);
|
|
371
381
|
}
|
|
372
382
|
|
|
@@ -394,8 +404,8 @@ Do not edit directly, this file was auto-generated.
|
|
|
394
404
|
*/
|
|
395
405
|
-webkit-padding-start: calc(var(--ion-space-400, 16px) + var(--leading-icon-padding));
|
|
396
406
|
padding-inline-start: calc(var(--ion-space-400, 16px) + var(--leading-icon-padding));
|
|
397
|
-
-webkit-padding-end: calc(var(--ion-space-400, 16px) + var(--
|
|
398
|
-
padding-inline-end: calc(var(--ion-space-400, 16px) + var(--
|
|
407
|
+
-webkit-padding-end: calc(var(--ion-space-400, 16px) + var(--clear-button-padding));
|
|
408
|
+
padding-inline-end: calc(var(--ion-space-400, 16px) + var(--clear-button-padding));
|
|
399
409
|
height: var(--ion-scale-1200, 48px);
|
|
400
410
|
}
|
|
401
411
|
|
|
@@ -446,8 +456,8 @@ Do not edit directly, this file was auto-generated.
|
|
|
446
456
|
*/
|
|
447
457
|
-webkit-padding-start: calc(var(--ion-space-500, 20px) + var(--leading-icon-padding));
|
|
448
458
|
padding-inline-start: calc(var(--ion-space-500, 20px) + var(--leading-icon-padding));
|
|
449
|
-
-webkit-padding-end: calc(var(--ion-space-500, 20px) + var(--
|
|
450
|
-
padding-inline-end: calc(var(--ion-space-500, 20px) + var(--
|
|
459
|
+
-webkit-padding-end: calc(var(--ion-space-500, 20px) + var(--clear-button-padding));
|
|
460
|
+
padding-inline-end: calc(var(--ion-space-500, 20px) + var(--clear-button-padding));
|
|
451
461
|
height: var(--ion-scale-1400, 56px);
|
|
452
462
|
}
|
|
453
463
|
|
|
@@ -375,6 +375,9 @@ export class Searchbar {
|
|
|
375
375
|
if (this.showClearButton === 'never' || (this.showClearButton === 'focus' && !this.focused)) {
|
|
376
376
|
return false;
|
|
377
377
|
}
|
|
378
|
+
if (getIonTheme(this) === 'ionic' && this.disabled) {
|
|
379
|
+
return false;
|
|
380
|
+
}
|
|
378
381
|
return true;
|
|
379
382
|
}
|
|
380
383
|
getShape() {
|
|
@@ -477,8 +480,8 @@ export class Searchbar {
|
|
|
477
480
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
478
481
|
const shape = this.getShape();
|
|
479
482
|
const size = this.getSize();
|
|
480
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
481
|
-
return (h(Host, { key: '
|
|
483
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '82fc94deb05c94db2626c12916a4442ccc664687', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '7386af76b9e043336fcbd00b3318bf3029f9bf5f', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
484
|
+
return (h(Host, { key: '7853ca66cfa6d9aed43a1025a5d58a0bd034db38', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
482
485
|
[theme]: true,
|
|
483
486
|
'searchbar-animated': animated,
|
|
484
487
|
'searchbar-disabled': this.disabled,
|
|
@@ -491,14 +494,14 @@ export class Searchbar {
|
|
|
491
494
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
492
495
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
493
496
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
494
|
-
}) }, h("div", { key: '
|
|
497
|
+
}) }, h("div", { key: 'f5eb20fecf5823e66dfd65d2478b2ea867480c41', class: "searchbar-input-container" }, h("input", Object.assign({ key: '52430fa665dbe4f01af6038fe87b266da10da354', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), (theme === 'md' || theme === 'ionic') && cancelButton, theme !== 'ionic' || this.searchIcon !== undefined ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })) : null, theme !== 'ionic' || this.shouldShowClearButton() !== undefined ? (h("button", { "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
495
498
|
/**
|
|
496
499
|
* This prevents mobile browsers from
|
|
497
500
|
* blurring the input when the clear
|
|
498
501
|
* button is activated.
|
|
499
502
|
*/
|
|
500
503
|
ev.preventDefault();
|
|
501
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", {
|
|
504
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" }))) : null), theme === 'ios' && cancelButton));
|
|
502
505
|
}
|
|
503
506
|
static get is() { return "ion-searchbar"; }
|
|
504
507
|
static get encapsulation() { return "scoped"; }
|
|
@@ -648,7 +651,7 @@ export class Searchbar {
|
|
|
648
651
|
"optional": false,
|
|
649
652
|
"docs": {
|
|
650
653
|
"tags": [],
|
|
651
|
-
"text": "Set the
|
|
654
|
+
"text": "Set the cancel button text. Only available when the theme is `\"ios\"`."
|
|
652
655
|
},
|
|
653
656
|
"attribute": "cancel-button-text",
|
|
654
657
|
"reflect": false,
|
|
@@ -531,14 +531,14 @@ export class Segment {
|
|
|
531
531
|
}
|
|
532
532
|
render() {
|
|
533
533
|
const theme = getIonTheme(this);
|
|
534
|
-
return (h(Host, { key: '
|
|
534
|
+
return (h(Host, { key: 'fe9dfbc573cdb06ba7735c1d07457232e501ec35', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
535
535
|
[theme]: true,
|
|
536
536
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
537
537
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
538
538
|
'segment-activated': this.activated,
|
|
539
539
|
'segment-disabled': this.disabled,
|
|
540
540
|
'segment-scrollable': this.scrollable,
|
|
541
|
-
}) }, h("slot", { key: '
|
|
541
|
+
}) }, h("slot", { key: '07bd2abd7acb637d01282cdbb22db81b39d86656', onSlotchange: this.onSlottedItemsChange })));
|
|
542
542
|
}
|
|
543
543
|
static get is() { return "ion-segment"; }
|
|
544
544
|
static get encapsulation() { return "shadow"; }
|
|
@@ -141,7 +141,7 @@ export class SegmentButton {
|
|
|
141
141
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
142
142
|
const theme = getIonTheme(this);
|
|
143
143
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
144
|
-
return (h(Host, { key: '
|
|
144
|
+
return (h(Host, { key: '2ccbe1ae3d4fe107717db5ab8d2d53feeaab0353', class: {
|
|
145
145
|
[theme]: true,
|
|
146
146
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
147
147
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -157,7 +157,7 @@ export class SegmentButton {
|
|
|
157
157
|
'ion-activatable': true,
|
|
158
158
|
'ion-activatable-instant': true,
|
|
159
159
|
'ion-focusable': true,
|
|
160
|
-
} }, h("button", Object.assign({ key: '
|
|
160
|
+
} }, h("button", Object.assign({ key: '15977a4ddd2a9afb6a5cfddd81c331f25d9a4dba', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '23374078f6bc6c1d26f4f5877e2782528ff3fa68', class: "button-inner" }, h("slot", { key: 'b95c50c5c3057a1e7b37ad884ffa333b684664d1' })), theme === 'md' && h("ion-ripple-effect", { key: '0788556e2760abc1742d631bf71f8c01fdb6d117' })), h("div", { key: '762f48386ce86abacbee179cf3fbe5322a35dae3', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: '806db4026e86d5a29982701322100101a1a7e1e3', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
161
161
|
}
|
|
162
162
|
static get is() { return "ion-segment-button"; }
|
|
163
163
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
export class SegmentContent {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: 'f1301e9dfeef766db609c37224e4d5d5ed23751a' }, h("slot", { key: 'd967dac8bea24441db8949ce10d846e499c89774' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "ion-segment-content"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -94,10 +94,10 @@ export class SegmentView {
|
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
96
|
const { disabled, isManualScroll } = this;
|
|
97
|
-
return (h(Host, { key: '
|
|
97
|
+
return (h(Host, { key: '4894e80c6fbd576bef3d0180c47f387aa6227794', class: {
|
|
98
98
|
'segment-view-disabled': disabled,
|
|
99
99
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
100
|
-
} }, h("slot", { key: '
|
|
100
|
+
} }, h("slot", { key: 'f7ab1bd3c0e7e42a4d88fa60afa1a58c42e0bffa' })));
|
|
101
101
|
}
|
|
102
102
|
static get is() { return "ion-segment-view"; }
|
|
103
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -732,7 +732,7 @@ export class Select {
|
|
|
732
732
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
733
733
|
*/
|
|
734
734
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
735
|
-
return (h(Host, { key: '
|
|
735
|
+
return (h(Host, { key: 'ce9fa42327f61e6a9b43c192c87466f76f78fb47', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
736
736
|
[theme]: true,
|
|
737
737
|
'in-item': inItem,
|
|
738
738
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -749,7 +749,7 @@ export class Select {
|
|
|
749
749
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
750
750
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
751
751
|
[`select-size-${size}`]: size !== undefined,
|
|
752
|
-
}) }, h("label", { key: '
|
|
752
|
+
}) }, h("label", { key: '9e2775b72761d44702849f7f81894f56af7c8129', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '6617bba60ce7317ff1fa9837e8de9f67cd0d6f69', class: "select-wrapper-inner" },
|
|
753
753
|
/**
|
|
754
754
|
* For the ionic theme, we render the outline container here
|
|
755
755
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -759,7 +759,7 @@ export class Select {
|
|
|
759
759
|
* <label> element, ensuring that clicking the label text
|
|
760
760
|
* focuses the select.
|
|
761
761
|
*/
|
|
762
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
762
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: 'b42c45269896b4a73650158d5a5a38550734e250', class: "select-outline" }), h("slot", { key: 'de5d2b96bf3c4e9aa81f95f4e96b4c15e35d9464', name: "start" }), h("div", { key: 'f26491af6d46e714449786c2fb0528f3a5769fd8', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: 'c86051a7bbc32e1169d34f959a52aff022fb1c5d', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: '044ab9a29dbab5e227a70cc832a05850025cb7c1', class: "select-highlight" }))));
|
|
763
763
|
}
|
|
764
764
|
static get is() { return "ion-select"; }
|
|
765
765
|
static get encapsulation() { return "shadow"; }
|
|
@@ -77,7 +77,7 @@ export class SelectModal {
|
|
|
77
77
|
} }, option.text))));
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: '03593070a50743c07116e218529a4031808b372f', class: getIonMode(this) }, h("ion-header", { key: 'ec8d42f5cf4a67429677f52da1d277430a599586' }, h("ion-toolbar", { key: '0efbd4980f087f56228838dd716736dacd41810a' }, this.header !== undefined && h("ion-title", { key: '5aeab0b91640a7f351d88e588ac2cc265436ce6a' }, this.header), h("ion-buttons", { key: '58d793c29a63794eeebe5971d41f52f91c967eb7', slot: "end" }, h("ion-button", { key: '749225d685f23081a8924b64f093b60c980252d8', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: 'fdc979a06119a797430b134099c13a7fdc251fc6' }, h("ion-list", { key: '1b75d6525301e14dc9871f71c6e6bff0e59e13dc' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
81
81
|
}
|
|
82
82
|
static get is() { return "ion-select-modal"; }
|
|
83
83
|
static get encapsulation() { return "scoped"; }
|
|
@@ -15,7 +15,7 @@ export class SelectOption {
|
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
const theme = getIonTheme(this);
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '0a677f49a3d8511fd6653a214bb593656d2130a0', class: {
|
|
19
19
|
[theme]: true,
|
|
20
20
|
}, role: "option", id: this.inputId }));
|
|
21
21
|
}
|
|
@@ -106,9 +106,9 @@ export class SelectPopover {
|
|
|
106
106
|
const { header, message, options, subHeader } = this;
|
|
107
107
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
108
108
|
const theme = getIonTheme(this);
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: '5211e9deb7231bfcb6f3144f201b3783f77b30ba', class: {
|
|
110
110
|
[theme]: true,
|
|
111
|
-
} }, h("ion-list", { key: '
|
|
111
|
+
} }, h("ion-list", { key: 'ae1d8a90dfd7d141c7f2a5c3b0de52d26e0a53c1' }, header !== undefined && h("ion-list-header", { key: 'c5accdb7c8e73bb63841f8776a67a8974ea7e0d4' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: '6fda56e16eebd2513f69765e250451c03e108d4d' }, h("ion-label", { key: 'beef0a262a6d5b31f1a0bceb8c5143ef238481a2', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: 'f235d203a8971977ac945c4e6c7f1b9c3e7119a0' }, subHeader), message !== undefined && h("p", { key: 'c65933c4ea11cad946d92a37b0d6404e5f3699a7' }, message)))), this.renderOptions(options))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "ion-select-popover"; }
|
|
114
114
|
static get encapsulation() { return "scoped"; }
|
|
@@ -29,11 +29,11 @@ export class SkeletonText {
|
|
|
29
29
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
30
30
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
31
31
|
const theme = getIonTheme(this);
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'e768d60b983352c336139bffcc80cab2b49b733e', class: {
|
|
33
33
|
[theme]: true,
|
|
34
34
|
'skeleton-text-animated': animated,
|
|
35
35
|
'in-media': inMedia,
|
|
36
|
-
} }, h("span", { key: '
|
|
36
|
+
} }, h("span", { key: '666b64e9abf7213325f300d2fa6de443fc4bb4d1' }, "\u00A0")));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "ion-skeleton-text"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,7 +57,7 @@ export class Spinner {
|
|
|
57
57
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '8a3beeb623d6851addd4c0f9ef870e99c70a0dd8', class: createColorClasses(self.color, {
|
|
61
61
|
[theme]: true,
|
|
62
62
|
[`spinner-${spinnerName}`]: true,
|
|
63
63
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -122,12 +122,12 @@ export class SplitPane {
|
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
124
|
const theme = getIonTheme(this);
|
|
125
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: 'cd27ad5bbbcc99340ecd70dbd1c3f9e9fdc22e65', class: {
|
|
126
126
|
[theme]: true,
|
|
127
127
|
// Used internally for styling
|
|
128
128
|
[`split-pane-${theme}`]: true,
|
|
129
129
|
'split-pane-visible': this.visible,
|
|
130
|
-
} }, h("slot", { key: '
|
|
130
|
+
} }, h("slot", { key: 'b8f2468bba9b923e32706732db30cc8dc9013e70' })));
|
|
131
131
|
}
|
|
132
132
|
static get is() { return "ion-split-pane"; }
|
|
133
133
|
static get encapsulation() { return "shadow"; }
|
|
@@ -52,10 +52,10 @@ export class Tab {
|
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
54
|
const { tab, active, component } = this;
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '373fa350e5f183d9e539be2af831a2f19b1c4d8d', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
56
56
|
'ion-page': component === undefined,
|
|
57
57
|
'tab-hidden': !active,
|
|
58
|
-
} }, h("slot", { key: '
|
|
58
|
+
} }, h("slot", { key: '2a3b2a72382b25d413bf52d9a2f75e4dcd4e031a' })));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "ion-tab"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|