@ionic/core 8.7.12-dev.11764773727.110f4197 → 8.7.12-dev.11764783037.19423064
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-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +2 -2
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +2 -2
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +2 -2
- package/components/ion-searchbar.js +4 -4
- 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/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/modal.js +4 -4
- package/components/picker-column-option.js +2 -2
- package/components/picker-column2.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +8 -7
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- 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 +5 -5
- 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-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +11 -11
- 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 +9 -9
- 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 +4 -4
- 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/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- 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-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.ionic.css +8 -17
- package/dist/collection/components/radio-group/radio-group.ios.css +4 -8
- package/dist/collection/components/radio-group/radio-group.js +4 -3
- package/dist/collection/components/radio-group/radio-group.md.css +4 -8
- 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 +4 -4
- 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 +16 -3
- package/dist/esm/ion-app_8.entry.js +5 -5
- 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-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +11 -11
- 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 +9 -9
- 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 +4 -4
- 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/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-0774e5a0.entry.js +4 -0
- package/dist/ionic/{p-1d342a37.entry.js → p-09bcf828.entry.js} +1 -1
- package/dist/ionic/{p-91966afa.entry.js → p-105826fe.entry.js} +1 -1
- package/dist/ionic/{p-10fdbbc1.entry.js → p-1635ea5e.entry.js} +1 -1
- package/dist/ionic/{p-6fac73e6.entry.js → p-2061a732.entry.js} +1 -1
- package/dist/ionic/{p-88ef6829.entry.js → p-2c504bd3.entry.js} +1 -1
- package/dist/ionic/{p-d05c7578.entry.js → p-36f2ff62.entry.js} +1 -1
- package/dist/ionic/{p-db4b3111.entry.js → p-3948040f.entry.js} +1 -1
- package/dist/ionic/{p-81770a5c.entry.js → p-3d0e07cf.entry.js} +1 -1
- package/dist/ionic/{p-3a4865fd.entry.js → p-48366887.entry.js} +1 -1
- package/dist/ionic/{p-db90b95a.entry.js → p-495912a4.entry.js} +1 -1
- package/dist/ionic/{p-93ed8a1d.entry.js → p-55734084.entry.js} +1 -1
- package/dist/ionic/{p-2a3ff36f.entry.js → p-698ae42d.entry.js} +1 -1
- package/dist/ionic/{p-57ef19f7.entry.js → p-6bb99f41.entry.js} +1 -1
- package/dist/ionic/{p-665c2df8.entry.js → p-74601090.entry.js} +1 -1
- package/dist/ionic/{p-7d450184.entry.js → p-78f1c348.entry.js} +1 -1
- package/dist/ionic/{p-86b82096.entry.js → p-826267d6.entry.js} +1 -1
- package/dist/ionic/{p-4041ddea.entry.js → p-931fd886.entry.js} +1 -1
- package/dist/ionic/{p-484aeb4c.entry.js → p-9a20f9cb.entry.js} +1 -1
- package/dist/ionic/{p-5883f08d.entry.js → p-9e3fa08c.entry.js} +1 -1
- package/dist/ionic/{p-46fb5199.entry.js → p-a2179948.entry.js} +1 -1
- package/dist/ionic/{p-86a6f814.entry.js → p-a3fefcf5.entry.js} +1 -1
- package/dist/ionic/{p-4757e558.entry.js → p-b652eff7.entry.js} +1 -1
- package/dist/ionic/{p-5557bd92.entry.js → p-b65b47bf.entry.js} +1 -1
- package/dist/ionic/{p-a1128f7f.entry.js → p-ce2762f2.entry.js} +1 -1
- package/dist/ionic/{p-e12bb3dc.entry.js → p-d0b9e5ff.entry.js} +1 -1
- package/dist/ionic/{p-3622a9ea.entry.js → p-d774af7c.entry.js} +1 -1
- package/dist/ionic/p-da0a2ca6.entry.js +4 -0
- package/dist/ionic/{p-f3de58bd.entry.js → p-e3daf16c.entry.js} +1 -1
- package/dist/ionic/{p-0f7163d6.entry.js → p-e46bf046.entry.js} +1 -1
- package/dist/ionic/{p-f8abe85c.entry.js → p-f5fe6d47.entry.js} +1 -1
- package/dist/ionic/{p-cdd40776.entry.js → p-f9e3f9e1.entry.js} +1 -1
- package/dist/ionic/{p-7a18e825.entry.js → p-fa6895f9.entry.js} +1 -1
- package/hydrate/index.js +107 -107
- package/hydrate/index.mjs +107 -107
- package/package.json +1 -1
- package/dist/ionic/p-89743bba.entry.js +0 -4
- package/dist/ionic/p-ce510c06.entry.js +0 -4
|
@@ -504,7 +504,7 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLEle
|
|
|
504
504
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
505
505
|
*/
|
|
506
506
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
507
|
-
return (h(Host, { key: '
|
|
507
|
+
return (h(Host, { key: 'f361b0d612ea373b27f5daa3b0d86f5a87e3a347', class: createColorClasses(this.color, {
|
|
508
508
|
[theme]: true,
|
|
509
509
|
'has-value': hasValue,
|
|
510
510
|
'has-focus': hasFocus,
|
|
@@ -515,7 +515,7 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLEle
|
|
|
515
515
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
516
516
|
'textarea-disabled': disabled,
|
|
517
517
|
'textarea-readonly': readonly,
|
|
518
|
-
}) }, h("label", { key: '
|
|
518
|
+
}) }, h("label", { key: '56f39fa4c6ed77958165084bc07addcb4f4878fa', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '14972dea04325a7dbdeae65fa22263b412f9f023', class: "textarea-wrapper-inner" },
|
|
519
519
|
/**
|
|
520
520
|
* For the ionic theme, we render the outline container here
|
|
521
521
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -525,7 +525,7 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLEle
|
|
|
525
525
|
* <label> element, ensuring that clicking the label text
|
|
526
526
|
* focuses the textarea.
|
|
527
527
|
*/
|
|
528
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
528
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '42c8c5948c86e9a0342fcb2e6b8dceff320dec82', class: "textarea-outline" }), h("div", { key: '75c3c69bb990b9e85765ee3825e3a49fd3bb3d7f', class: "start-slot-wrapper" }, h("slot", { key: '3d3459222c5572277f36af98d9156d64a0646461', name: "start" })), h("div", { key: '84bd1c9cb2b018e27c30af4bdba345674f2c3f18', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: '4c077fd2d1ebc85adc594dba46e9394201a4a150', 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.isInvalid ? 'true' : undefined }, this.inheritedAttributes), value)), h("div", { key: '7ce24ce1907d48437bf71a643e19534ec3a3a1c2', class: "end-slot-wrapper" }, h("slot", { key: 'ab613d63868ac280b6559511ec8e1bc61f208008', name: "end" }))), shouldRenderHighlight && h("div", { key: '47af23482b696315eec2849887326d2229391f80', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
529
529
|
}
|
|
530
530
|
get el() { return this; }
|
|
531
531
|
static get watchers() { return {
|
|
@@ -16,9 +16,9 @@ const Thumbnail = /*@__PURE__*/ proxyCustomElement(class Thumbnail extends HTMLE
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
const theme = getIonTheme(this);
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '670c8628ac609877cf628e7301223a43d808535b', class: {
|
|
20
20
|
[theme]: true,
|
|
21
|
-
} }, h("slot", { key: '
|
|
21
|
+
} }, h("slot", { key: 'e766b13c6cf4167edfeda2d21654c1e778125955' })));
|
|
22
22
|
}
|
|
23
23
|
static get style() { return thumbnailCss; }
|
|
24
24
|
}, [257, "ion-thumbnail"]);
|
package/components/ion-toast.js
CHANGED
|
@@ -877,9 +877,9 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
|
|
|
877
877
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
878
878
|
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);
|
|
879
879
|
}
|
|
880
|
-
return (h(Host, Object.assign({ key: '
|
|
880
|
+
return (h(Host, Object.assign({ key: '88e2d57b1de7194aa5e62eb9b4c7fe555b97060d', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
881
881
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
882
|
-
}, 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: '
|
|
882
|
+
}, 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: 'f9764be0cddf6188cbf1cef202ddbcb805a093b3', class: wrapperClass }, h("div", { key: 'b202a52eac3d3087c11834e851d4e7e92e762399', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: '8009f48afeb838dcc9fc3b01c3e4062c1d323347', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '2767dee244fa4576ec5163b274b89384692be753', 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')))));
|
|
883
883
|
}
|
|
884
884
|
get el() { return this; }
|
|
885
885
|
static get watchers() { return {
|
package/components/ion-toggle.js
CHANGED
|
@@ -342,7 +342,7 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
342
342
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
343
343
|
const isIonicTheme = theme === 'ionic';
|
|
344
344
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
345
|
-
return (h(Host, { key: '
|
|
345
|
+
return (h(Host, { key: 'c622d6548e5249afefe43fe4a3eebfacc13c46e3', 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, {
|
|
346
346
|
[theme]: true,
|
|
347
347
|
'in-item': hostContext('ion-item', el),
|
|
348
348
|
'toggle-activated': activated,
|
|
@@ -354,10 +354,10 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
354
354
|
[`toggle-${rtl}`]: true,
|
|
355
355
|
'ion-activatable': isIonicTheme,
|
|
356
356
|
'ion-focusable': isIonicTheme,
|
|
357
|
-
}) }, h("label", { key: '
|
|
357
|
+
}) }, h("label", { key: '5cb15fd4884ec35887859ba6db3609ef9e089f39', class: "toggle-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: '81b24cc830074850bf22f0fcd8bc4c6b0b95ae02', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), h("div", { key: '4700c06a080895c5421b7c1cd139cbda61fcd2f1', class: {
|
|
358
358
|
'label-text-wrapper': true,
|
|
359
359
|
'label-text-wrapper-hidden': !hasLabel,
|
|
360
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '
|
|
360
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '5af5c0e3601736090cfed56c3c88e08193654561' }), this.renderHintText()), h("div", { key: 'f1004334510fea20be01f2170627fa1839f42be5', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
361
361
|
}
|
|
362
362
|
get el() { return this; }
|
|
363
363
|
static get watchers() { return {
|
package/components/label.js
CHANGED
|
@@ -63,13 +63,13 @@ const Label = /*@__PURE__*/ proxyCustomElement(class Label extends HTMLElement {
|
|
|
63
63
|
render() {
|
|
64
64
|
const position = this.position;
|
|
65
65
|
const theme = getIonTheme(this);
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '0ba94de3410c90898d63744748bc9172414dcaa7', class: createColorClasses(this.color, {
|
|
67
67
|
[theme]: true,
|
|
68
68
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
69
69
|
[`label-${position}`]: position !== undefined,
|
|
70
70
|
[`label-no-animate`]: this.noAnimate,
|
|
71
71
|
'label-rtl': document.dir === 'rtl',
|
|
72
|
-
}) }, h("slot", { key: '
|
|
72
|
+
}) }, h("slot", { key: '001aa07a7d2689abf209946f049668ac5e4f9766' })));
|
|
73
73
|
}
|
|
74
74
|
get el() { return this; }
|
|
75
75
|
static get watchers() { return {
|
|
@@ -22,10 +22,10 @@ const ListHeader = /*@__PURE__*/ proxyCustomElement(class ListHeader extends HTM
|
|
|
22
22
|
render() {
|
|
23
23
|
const { lines } = this;
|
|
24
24
|
const theme = getIonTheme(this);
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'cee1cdcc73c8f852941e2080ca059cf3e9476622', class: createColorClasses(this.color, {
|
|
26
26
|
[theme]: true,
|
|
27
27
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
28
|
-
}) }, h("div", { key: '
|
|
28
|
+
}) }, h("div", { key: '3863ba35771a41ef520ed0ede73839663a67357c', class: "list-header-inner" }, h("slot", { key: '237ed9be79524579b98fb344e1c90c59f2cee926' }))));
|
|
29
29
|
}
|
|
30
30
|
static get style() { return {
|
|
31
31
|
ionic: listHeaderIonicCss,
|
package/components/modal.js
CHANGED
|
@@ -2355,20 +2355,20 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class Modal extends HTMLElement {
|
|
|
2355
2355
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
2356
2356
|
const shape = this.getShape();
|
|
2357
2357
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
2358
|
-
return (h(Host, Object.assign({ key: '
|
|
2358
|
+
return (h(Host, Object.assign({ key: '2111b0cb69c57d4827050f75f4033ad37f8e4f7a', "no-router": true,
|
|
2359
2359
|
// Allow the modal to be navigable when the handle is focusable
|
|
2360
2360
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
2361
2361
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2362
|
-
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), h("ion-backdrop", { key: '
|
|
2362
|
+
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), h("ion-backdrop", { key: 'd936c1d88a29b3210c0122a38148373e6349458c', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { key: '126a9c79f4c9d702b6c291dd07b87eae270bc3c3', class: "modal-shadow" }), h("div", Object.assign({ key: '8381a634dbcb4bdf895996aebd5c1e938058d631',
|
|
2363
2363
|
/*
|
|
2364
2364
|
role and aria-modal must be used on the
|
|
2365
2365
|
same element. They must also be set inside the
|
|
2366
2366
|
shadow DOM otherwise ion-button will not be highlighted
|
|
2367
2367
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
2368
2368
|
*/
|
|
2369
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
2369
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '8aa16ae5e8b532dedfe0f072f3ec908c463a1c6b', class: "modal-handle",
|
|
2370
2370
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
2371
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '
|
|
2371
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '29ead0cd14368eff40bd330ab7c8172e3d9235f9', onSlotchange: this.onSlotChange }))));
|
|
2372
2372
|
}
|
|
2373
2373
|
get el() { return this; }
|
|
2374
2374
|
static get watchers() { return {
|
|
@@ -103,10 +103,10 @@ const PickerColumnOption = /*@__PURE__*/ proxyCustomElement(class PickerColumnOp
|
|
|
103
103
|
render() {
|
|
104
104
|
const { color, disabled, ariaLabel } = this;
|
|
105
105
|
const theme = getIonTheme(this);
|
|
106
|
-
return (h(Host, { key: '
|
|
106
|
+
return (h(Host, { key: 'dc87366ba724d5a0243dcde6bc8cc5c16d6d0c26', class: createColorClasses(color, {
|
|
107
107
|
[theme]: true,
|
|
108
108
|
['option-disabled']: disabled,
|
|
109
|
-
}) }, h("div", { key: '
|
|
109
|
+
}) }, h("div", { key: '4cb0791a9e8f0e6c3403b2cb72c74502025f5218', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: 'f6b8dd7bc429991ae9c0d3448127117d62c068ba' }))));
|
|
110
110
|
}
|
|
111
111
|
get el() { return this; }
|
|
112
112
|
static get watchers() { return {
|
|
@@ -342,9 +342,9 @@ const PickerColumnCmp = /*@__PURE__*/ proxyCustomElement(class PickerColumnCmp e
|
|
|
342
342
|
render() {
|
|
343
343
|
const col = this.col;
|
|
344
344
|
const theme = getIonTheme(this);
|
|
345
|
-
return (h(Host, { key: '
|
|
345
|
+
return (h(Host, { key: 'ab339936b884abbaf075bfaf1a1556dc396ea959', 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: {
|
|
346
346
|
'max-width': this.col.columnWidth,
|
|
347
|
-
} }, col.prefix && (h("div", { key: '
|
|
347
|
+
} }, col.prefix && (h("div", { key: '3cea9388a0818db89789087b90790b7734c4a9bf', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '4e4a704f5a6ca6e1647960655ce3fe454fa33f0a', 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: '536ee0f81d87db545846d5cdc8364e93f15a344c', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
348
348
|
}
|
|
349
349
|
get el() { return this; }
|
|
350
350
|
static get watchers() { return {
|
package/components/popover.js
CHANGED
|
@@ -1391,9 +1391,9 @@ const Popover = /*@__PURE__*/ proxyCustomElement(class Popover extends HTMLEleme
|
|
|
1391
1391
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
1392
1392
|
const desktop = isPlatform('desktop');
|
|
1393
1393
|
const enableArrow = arrow && !parentPopover;
|
|
1394
|
-
return (h(Host, Object.assign({ key: '
|
|
1394
|
+
return (h(Host, Object.assign({ key: '3e4ee2404b2b3c9cc04786c2cf08ad7f02de44be', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1395
1395
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1396
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '
|
|
1396
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: 'cdfca56f6357d4db105cf6fe01269025b92a89ec', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '5e03c9ba84604240cd0f33193936ebeab65fd3f9', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '682ea432a1aa259e928df915f3f1a4dcc374e712', class: "popover-arrow", part: "arrow" }), h("div", { key: '82f52224083c7dc7e3b78f1ba6342391a317dfa2', class: "popover-content", part: "content" }, h("slot", { key: '504ff686b81a2d745bbfc739807f8d175569d27e' })))));
|
|
1397
1397
|
}
|
|
1398
1398
|
get el() { return this; }
|
|
1399
1399
|
static get watchers() { return {
|
|
@@ -6,11 +6,11 @@ import { e as renderHiddenInput } from './helpers.js';
|
|
|
6
6
|
import { c as checkInvalidState } from './validity.js';
|
|
7
7
|
import { b as getIonTheme } from './ionic-global.js';
|
|
8
8
|
|
|
9
|
-
const radioGroupIonicCss = "
|
|
9
|
+
const radioGroupIonicCss = ":host{vertical-align:top}.radio-group-top .error-text{display:none}.radio-group-top .helper-text{display:block}:host(.ion-touched.ion-invalid) .radio-group-top .error-text{display:block}:host(.ion-touched.ion-invalid) .radio-group-top .helper-text{display:none}.radio-group-top{font-size:var(--token-font-size-350, 14px);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, var(--token-scale-600, 24px));text-decoration:none;text-transform:none;margin-bottom:var(--token-space-400, var(--token-scale-400, 16px))}.radio-group-top .error-text{color:var(--token-text-danger, var(--token-semantics-danger-900, var(--token-primitives-red-900, #991b1b)))}.radio-group-top .helper-text{color:var(--token-text-subtlest, var(--token-primitives-neutral-800, #626262))}:host-context(ion-list) .radio-group-top{padding-right:var(--token-space-400, var(--token-scale-400, 16px));padding-left:calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--ion-safe-area-left, 0px))}:host-context([dir=rtl] ion-list) .radio-group-top,:host-context(ion-list) .radio-group-top:dir(rtl){padding-right:calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--ion-safe-area-right, 0px));padding-left:var(--token-space-400, var(--token-scale-400, 16px))}";
|
|
10
10
|
|
|
11
|
-
const radioGroupIosCss = "
|
|
11
|
+
const radioGroupIosCss = ":host{vertical-align:top}.radio-group-top .error-text{display:none}.radio-group-top .helper-text{display:block}:host(.ion-touched.ion-invalid) .radio-group-top .error-text{display:block}:host(.ion-touched.ion-invalid) .radio-group-top .helper-text{display:none}.radio-group-top{line-height:1.5}.radio-group-top .error-text{color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host-context(ion-list) .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}";
|
|
12
12
|
|
|
13
|
-
const radioGroupMdCss = "
|
|
13
|
+
const radioGroupMdCss = ":host{vertical-align:top}.radio-group-top .error-text{display:none}.radio-group-top .helper-text{display:block}:host(.ion-touched.ion-invalid) .radio-group-top .error-text{display:block}:host(.ion-touched.ion-invalid) .radio-group-top .helper-text{display:none}.radio-group-top{line-height:1.5}.radio-group-top .error-text{color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host-context(ion-list) .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}";
|
|
14
14
|
|
|
15
15
|
const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTMLElement {
|
|
16
16
|
constructor(registerHost) {
|
|
@@ -18,6 +18,7 @@ const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTM
|
|
|
18
18
|
if (registerHost !== false) {
|
|
19
19
|
this.__registerHost();
|
|
20
20
|
}
|
|
21
|
+
this.__attachShadow();
|
|
21
22
|
this.ionChange = createEvent(this, "ionChange", 7);
|
|
22
23
|
this.ionValueChange = createEvent(this, "ionValueChange", 7);
|
|
23
24
|
this.inputId = `ion-rg-${radioGroupIds++}`;
|
|
@@ -235,7 +236,7 @@ const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTM
|
|
|
235
236
|
if (!hasHintText) {
|
|
236
237
|
return;
|
|
237
238
|
}
|
|
238
|
-
return (h("div", { class: "radio-group-top" }, h("div", { id: helperTextId, class: "helper-text", "aria-live": "polite" }, !isInvalid ? helperText : null), h("div", { id: errorTextId, class: "error-text", role: "alert" }, isInvalid ? errorText : null)));
|
|
239
|
+
return (h("div", { class: "radio-group-top", part: "top" }, h("div", { id: helperTextId, class: "helper-text", part: "helper-text", "aria-live": "polite" }, !isInvalid ? helperText : null), h("div", { id: errorTextId, class: "error-text", part: "error-text", role: "alert" }, isInvalid ? errorText : null)));
|
|
239
240
|
}
|
|
240
241
|
getHintTextId() {
|
|
241
242
|
const { helperText, errorText, helperTextId, errorTextId, isInvalid } = this;
|
|
@@ -251,9 +252,9 @@ const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTM
|
|
|
251
252
|
const { label, labelId, el, name, value } = this;
|
|
252
253
|
const theme = getIonTheme(this);
|
|
253
254
|
renderHiddenInput(true, el, name, value, false);
|
|
254
|
-
return (h(Host, { key: '
|
|
255
|
+
return (h(Host, { key: '70aaac0d9192cd73d549b8a2b71dc6c1d9847436', class: {
|
|
255
256
|
[theme]: true,
|
|
256
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), h("
|
|
257
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), h("slot", { key: 'de85a24d06f348e0d7fb9fb802c7254e6658e422' })));
|
|
257
258
|
}
|
|
258
259
|
get el() { return this; }
|
|
259
260
|
static get watchers() { return {
|
|
@@ -264,7 +265,7 @@ const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTM
|
|
|
264
265
|
ios: radioGroupIosCss,
|
|
265
266
|
md: radioGroupMdCss
|
|
266
267
|
}; }
|
|
267
|
-
}, [
|
|
268
|
+
}, [289, "ion-radio-group", {
|
|
268
269
|
"allowEmptySelection": [4, "allow-empty-selection"],
|
|
269
270
|
"compareWith": [1, "compare-with"],
|
|
270
271
|
"name": [1],
|
package/components/radio.js
CHANGED
|
@@ -177,7 +177,7 @@ const Radio = /*@__PURE__*/ proxyCustomElement(class Radio extends HTMLElement {
|
|
|
177
177
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
178
178
|
const theme = getIonTheme(this);
|
|
179
179
|
const inItem = hostContext('ion-item', el);
|
|
180
|
-
return (h(Host, { key: '
|
|
180
|
+
return (h(Host, { key: '1b569684af9f60c173d115365e6b489345710b12', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
181
181
|
[theme]: true,
|
|
182
182
|
'in-item': inItem,
|
|
183
183
|
'radio-checked': checked,
|
|
@@ -188,10 +188,10 @@ const Radio = /*@__PURE__*/ proxyCustomElement(class Radio extends HTMLElement {
|
|
|
188
188
|
// Focus and active styling should not apply when the radio is in an item
|
|
189
189
|
'ion-activatable': !inItem,
|
|
190
190
|
'ion-focusable': !inItem,
|
|
191
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
191
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '1e16fd85e901ba9b30f8b15b3ec0995258fc27b1', class: "radio-wrapper" }, h("div", { key: 'f37d80531099fb119e671824bc8ea7d1077b6895', class: {
|
|
192
192
|
'label-text-wrapper': true,
|
|
193
193
|
'label-text-wrapper-hidden': !hasLabel,
|
|
194
|
-
}, part: "label" }, h("slot", { key: '
|
|
194
|
+
}, part: "label" }, h("slot", { key: 'a9458913373b29cf2d6a20fbc8871a6613ae174e' })), h("div", { key: '2e937c439425c196f1b610a7031f9b92bf0c745c', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
195
195
|
}
|
|
196
196
|
get el() { return this; }
|
|
197
197
|
static get watchers() { return {
|
|
@@ -80,7 +80,7 @@ const RippleEffect = /*@__PURE__*/ proxyCustomElement(class RippleEffect extends
|
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
82
|
const theme = getIonTheme(this);
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: 'a06d781599e14357c3acc2537059543ae3f1a1f4', role: "presentation", class: {
|
|
84
84
|
[theme]: true,
|
|
85
85
|
unbounded: this.unbounded,
|
|
86
86
|
} }));
|
|
@@ -106,7 +106,7 @@ const SelectModal = /*@__PURE__*/ proxyCustomElement(class SelectModal extends H
|
|
|
106
106
|
} }, option.text))));
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: 'dc377d9dc34389b1755dc0c86a3fb145d1c24bcb', class: Object.assign({ [getIonMode(this)]: true }, this.getModalContextClasses()) }, h("ion-header", { key: 'ee5b06c52d79b92a172b8d347b977264adc879e0' }, h("ion-toolbar", { key: 'a67603902b5fef8cb9931c0b3a47095dcc44ebfc' }, this.header !== undefined && h("ion-title", { key: 'aad40c470d3e29f90ff6187b593f5d00e0e83017' }, this.header), h("ion-buttons", { key: '91961a528b08b0bcb7078ee783c523c1aa9cd4e4', slot: "end" }, h("ion-button", { key: 'd891eadde7a5f3803dcade9ef161058bec62c2aa', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: '55522714075a0959a10bb8501dc40fa99fed52d5' }, h("ion-list", { key: '24d68ca271dacc295a619581aa42a7a1f9327101' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
110
110
|
}
|
|
111
111
|
get el() { return this; }
|
|
112
112
|
static get style() { return {
|
|
@@ -119,9 +119,9 @@ const SelectPopover = /*@__PURE__*/ proxyCustomElement(class SelectPopover exten
|
|
|
119
119
|
const { header, message, options, subHeader } = this;
|
|
120
120
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
121
121
|
const theme = getIonTheme(this);
|
|
122
|
-
return (h(Host, { key: '
|
|
122
|
+
return (h(Host, { key: 'f6082eeccf950e96a7752a12593971f32e50d785', class: {
|
|
123
123
|
[theme]: true,
|
|
124
|
-
} }, h("ion-list", { key: '
|
|
124
|
+
} }, h("ion-list", { key: 'e6089be41ea94a6a31096ee56b7563f386c210ab' }, header !== undefined && h("ion-list-header", { key: 'd6ea5d7e0b24d0f748ee17430a49ac55bf400b68' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: '408e2edd5281fa5e334f85ebdc2f609dd215df0d' }, h("ion-label", { key: '097097fd1618b4f21286e9b26102082e5e942351', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: '144ce0f0f323ed6b9044e4329b690ecbdf13fbe6' }, subHeader), message !== undefined && h("p", { key: 'a9bd9f14f9aeba86041363662df1a8dff6f4d565' }, message)))), this.renderOptions(options))));
|
|
125
125
|
}
|
|
126
126
|
get el() { return this; }
|
|
127
127
|
static get style() { return {
|
package/components/spinner.js
CHANGED
|
@@ -204,7 +204,7 @@ const Spinner = /*@__PURE__*/ proxyCustomElement(class Spinner extends HTMLEleme
|
|
|
204
204
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
return (h(Host, { key: '
|
|
207
|
+
return (h(Host, { key: '09db378858cf93fb45207a8ebbce7d8694c1146e', class: createColorClasses(self.color, {
|
|
208
208
|
[theme]: true,
|
|
209
209
|
[`spinner-${spinnerName}`]: true,
|
|
210
210
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
package/components/title.js
CHANGED
|
@@ -38,11 +38,11 @@ const ToolbarTitle = /*@__PURE__*/ proxyCustomElement(class ToolbarTitle extends
|
|
|
38
38
|
render() {
|
|
39
39
|
const theme = getIonTheme(this);
|
|
40
40
|
const size = this.getSize();
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '770c002757fc29f57277da78e25ac426346eaed9', class: createColorClasses(this.color, {
|
|
42
42
|
[theme]: true,
|
|
43
43
|
[`title-${size}`]: true,
|
|
44
44
|
'title-rtl': document.dir === 'rtl',
|
|
45
|
-
}) }, h("div", { key: '
|
|
45
|
+
}) }, h("div", { key: 'fb2d65cc98575d310f9dbcf8d5b2b8a8d6f87e57', class: "toolbar-title" }, h("slot", { key: '73d0c525b1acde370a1460008e7c0145ae5d7e4b' }))));
|
|
46
46
|
}
|
|
47
47
|
get el() { return this; }
|
|
48
48
|
static get watchers() { return {
|
package/components/toolbar.js
CHANGED
|
@@ -205,10 +205,10 @@ const Toolbar = /*@__PURE__*/ proxyCustomElement(class Toolbar extends HTMLEleme
|
|
|
205
205
|
this.childrenStyles.forEach((style) => {
|
|
206
206
|
Object.assign(childStyles, style);
|
|
207
207
|
});
|
|
208
|
-
return (h(Host, { key: '
|
|
208
|
+
return (h(Host, { key: '2c88dcfd26c7d24aaf479d1d993b5562d3619f6b', class: Object.assign(Object.assign({}, createColorClasses(this.color, {
|
|
209
209
|
[theme]: true,
|
|
210
210
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
211
|
-
})), childStyles) }, h("div", { key: '
|
|
211
|
+
})), childStyles) }, h("div", { key: 'b0ee3cb68417c5013d7dd61b5d57bce29f575bad', class: "toolbar-background", part: "background" }), h("div", { key: '0626d61b71f5d0ba1ee37508cffbd63034f7b292', class: "toolbar-container", part: "container" }, h("slot", { key: 'e7a540e310d55ec6a1b61bee70bb285a75a3f019', name: "start", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '0f9e4d832691123209abca302532825efe5f7c98', name: "secondary", onSlotchange: () => this.updateSlotClasses }), h("div", { key: 'ff8fa2ab1ed25ed95dc2a889e07d9f2e85b7245d', class: "toolbar-content", part: "content" }, h("slot", { key: '78cc3ba30a35a71f464f7256343e2a523740a8e9' })), h("slot", { key: 'db88e674acc2befc1d4e5f2c2b03b48dde54d12e', name: "primary", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: 'd8fd9de870c5d77a139442d38565686121c68887', name: "end", onSlotchange: () => this.updateSlotClasses }))));
|
|
212
212
|
}
|
|
213
213
|
get el() { return this; }
|
|
214
214
|
static get style() { return {
|
|
@@ -1229,7 +1229,7 @@ const RouterOutlet = class {
|
|
|
1229
1229
|
return true;
|
|
1230
1230
|
}
|
|
1231
1231
|
render() {
|
|
1232
|
-
return index.h("slot", { key: '
|
|
1232
|
+
return index.h("slot", { key: '3bd64be4bba02446bf9086d9381d67dff31b5077' });
|
|
1233
1233
|
}
|
|
1234
1234
|
get el() { return index.getElement(this); }
|
|
1235
1235
|
static get watchers() { return {
|
|
@@ -1267,11 +1267,11 @@ const ToolbarTitle = class {
|
|
|
1267
1267
|
render() {
|
|
1268
1268
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
1269
1269
|
const size = this.getSize();
|
|
1270
|
-
return (index.h(index.Host, { key: '
|
|
1270
|
+
return (index.h(index.Host, { key: '770c002757fc29f57277da78e25ac426346eaed9', class: theme.createColorClasses(this.color, {
|
|
1271
1271
|
[theme$1]: true,
|
|
1272
1272
|
[`title-${size}`]: true,
|
|
1273
1273
|
'title-rtl': document.dir === 'rtl',
|
|
1274
|
-
}) }, index.h("div", { key: '
|
|
1274
|
+
}) }, index.h("div", { key: 'fb2d65cc98575d310f9dbcf8d5b2b8a8d6f87e57', class: "toolbar-title" }, index.h("slot", { key: '73d0c525b1acde370a1460008e7c0145ae5d7e4b' }))));
|
|
1275
1275
|
}
|
|
1276
1276
|
get el() { return index.getElement(this); }
|
|
1277
1277
|
static get watchers() { return {
|
|
@@ -1480,10 +1480,10 @@ const Toolbar = class {
|
|
|
1480
1480
|
this.childrenStyles.forEach((style) => {
|
|
1481
1481
|
Object.assign(childStyles, style);
|
|
1482
1482
|
});
|
|
1483
|
-
return (index.h(index.Host, { key: '
|
|
1483
|
+
return (index.h(index.Host, { key: '2c88dcfd26c7d24aaf479d1d993b5562d3619f6b', class: Object.assign(Object.assign({}, theme.createColorClasses(this.color, {
|
|
1484
1484
|
[theme$1]: true,
|
|
1485
1485
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
1486
|
-
})), childStyles) }, index.h("div", { key: '
|
|
1486
|
+
})), childStyles) }, index.h("div", { key: 'b0ee3cb68417c5013d7dd61b5d57bce29f575bad', class: "toolbar-background", part: "background" }), index.h("div", { key: '0626d61b71f5d0ba1ee37508cffbd63034f7b292', class: "toolbar-container", part: "container" }, index.h("slot", { key: 'e7a540e310d55ec6a1b61bee70bb285a75a3f019', name: "start", onSlotchange: () => this.updateSlotClasses }), index.h("slot", { key: '0f9e4d832691123209abca302532825efe5f7c98', name: "secondary", onSlotchange: () => this.updateSlotClasses }), index.h("div", { key: 'ff8fa2ab1ed25ed95dc2a889e07d9f2e85b7245d', class: "toolbar-content", part: "content" }, index.h("slot", { key: '78cc3ba30a35a71f464f7256343e2a523740a8e9' })), index.h("slot", { key: 'db88e674acc2befc1d4e5f2c2b03b48dde54d12e', name: "primary", onSlotchange: () => this.updateSlotClasses }), index.h("slot", { key: 'd8fd9de870c5d77a139442d38565686121c68887', name: "end", onSlotchange: () => this.updateSlotClasses }))));
|
|
1487
1487
|
}
|
|
1488
1488
|
get el() { return index.getElement(this); }
|
|
1489
1489
|
};
|
|
@@ -161,9 +161,9 @@ const Thumbnail = class {
|
|
|
161
161
|
}
|
|
162
162
|
render() {
|
|
163
163
|
const theme = ionicGlobal.getIonTheme(this);
|
|
164
|
-
return (index.h(index.Host, { key: '
|
|
164
|
+
return (index.h(index.Host, { key: '670c8628ac609877cf628e7301223a43d808535b', class: {
|
|
165
165
|
[theme]: true,
|
|
166
|
-
} }, index.h("slot", { key: '
|
|
166
|
+
} }, index.h("slot", { key: 'e766b13c6cf4167edfeda2d21654c1e778125955' })));
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
169
|
Thumbnail.style = thumbnailCss;
|
|
@@ -142,9 +142,9 @@ const Row = class {
|
|
|
142
142
|
}
|
|
143
143
|
render() {
|
|
144
144
|
const theme = ionicGlobal.getIonTheme(this);
|
|
145
|
-
return (index.h(index.Host, { key: '
|
|
145
|
+
return (index.h(index.Host, { key: 'd1816dec9a51e6ec6c7ddecc6968a89ae526d447', class: {
|
|
146
146
|
[theme]: true,
|
|
147
|
-
} }, index.h("slot", { key: '
|
|
147
|
+
} }, index.h("slot", { key: 'f8d0c70fc77f5be3791251e0f03208ece6af517f' })));
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
Row.style = rowCss;
|
|
@@ -2253,11 +2253,11 @@ const Picker = class {
|
|
|
2253
2253
|
render() {
|
|
2254
2254
|
const { htmlAttributes } = this;
|
|
2255
2255
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
2256
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
2256
|
+
return (index.h(index.Host, Object.assign({ key: '722010a58f4c7fc3128b1f95675eba2b2b4a6f6a', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2257
2257
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2258
2258
|
}, class: Object.assign({ [theme$1]: true,
|
|
2259
2259
|
// Used internally for styling
|
|
2260
|
-
[`picker-${theme$1}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index.h("ion-backdrop", { key: '
|
|
2260
|
+
[`picker-${theme$1}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index.h("ion-backdrop", { key: 'b3acdedf7f305b26dbec78a9e3445f24707b6673', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: '67bc76dbd12f1429ff5b5951480ed248fdef0d3b', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: '9bf585133a606474e1ec4ddc1028f06e1bbc88d5', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, index.h("div", { key: '8bd35f590263153814969636c3c47399f13aed64', class: "picker-toolbar" }, this.buttons.map((b) => (index.h("div", { class: buttonWrapperClass(b) }, index.h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), index.h("div", { key: 'e12063ea0bd81dfc54e379adddca75941cb8f172', class: "picker-columns" }, index.h("div", { key: '96baa0fab12ef8d9b79d8f10617a6791dcb2711c', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => index.h("ion-picker-legacy-column", { col: c })), index.h("div", { key: '42f2f7ad28a1802a5763e113c3fa3f807caa96de', class: "picker-below-highlight" }))), index.h("div", { key: '274d15028222bbd586c0497d56934d0ff72125bd', tabindex: "0", "aria-hidden": "true" })));
|
|
2261
2261
|
}
|
|
2262
2262
|
get el() { return index.getElement(this); }
|
|
2263
2263
|
static get watchers() { return {
|
|
@@ -2611,9 +2611,9 @@ const PickerColumnCmp = class {
|
|
|
2611
2611
|
render() {
|
|
2612
2612
|
const col = this.col;
|
|
2613
2613
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
2614
|
-
return (index.h(index.Host, { key: '
|
|
2614
|
+
return (index.h(index.Host, { key: 'ab339936b884abbaf075bfaf1a1556dc396ea959', class: Object.assign({ [theme$1]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, theme.getClassMap(col.cssClass)), style: {
|
|
2615
2615
|
'max-width': this.col.columnWidth,
|
|
2616
|
-
} }, col.prefix && (index.h("div", { key: '
|
|
2616
|
+
} }, col.prefix && (index.h("div", { key: '3cea9388a0818db89789087b90790b7734c4a9bf', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), index.h("div", { key: '4e4a704f5a6ca6e1647960655ce3fe454fa33f0a', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index$1) => (index.h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index$1 }, o.text)))), col.suffix && (index.h("div", { key: '536ee0f81d87db545846d5cdc8364e93f15a344c', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2617
2617
|
}
|
|
2618
2618
|
get el() { return index.getElement(this); }
|
|
2619
2619
|
static get watchers() { return {
|
|
@@ -70,14 +70,14 @@ const ItemOption = class {
|
|
|
70
70
|
href: this.href,
|
|
71
71
|
target: this.target,
|
|
72
72
|
};
|
|
73
|
-
return (index.h(index.Host, { key: '
|
|
73
|
+
return (index.h(index.Host, { key: 'ee1762e16639662dca1cd9448cc8b232c507d19b', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
74
74
|
[theme$1]: true,
|
|
75
75
|
[`item-option-${shape}`]: shape !== undefined,
|
|
76
76
|
[`item-option-${hue}`]: hue !== undefined,
|
|
77
77
|
'item-option-disabled': disabled,
|
|
78
78
|
'item-option-expandable': expandable,
|
|
79
79
|
'ion-activatable': true,
|
|
80
|
-
}) }, index.h(TagType, Object.assign({ key: '
|
|
80
|
+
}) }, index.h(TagType, Object.assign({ key: '8f583bac97a4ff120ed69fc584305f59408ec4d3' }, attrs, { class: "button-native", part: "native", disabled: disabled }), index.h("span", { key: '901da7a78a71df5dad3908ab80fe32e734d7e437', class: "button-inner" }, index.h("slot", { key: '06263119ba9afd2ec8fedb3d5fa8f37464c00d34', name: "top" }), index.h("div", { key: '1bc966ccc6c453e4aaa4d6c7ec64bbecc11c54cf', class: "horizontal-wrapper" }, index.h("slot", { key: '2a6c548dbec92bc07062be5d57564f1dbc551ba8', name: "start" }), index.h("slot", { key: '6c6325fd4f2000c59779cae7cfd5b070b2ac54b9', name: "icon-only" }), index.h("slot", { key: '4ca2f7b2aced99ffc191497989efd6676c59da0f' }), index.h("slot", { key: '69e229a01881c8d1ddba0410407a1552fe6751d5', name: "end" })), index.h("slot", { key: 'd81b00fdcc5d46f2852b471267338308c0a1d00a', name: "bottom" })), theme$1 === 'md' && index.h("ion-ripple-effect", { key: '44884946e44486c42df711efa4b22652c6b42ebf' }))));
|
|
81
81
|
}
|
|
82
82
|
get el() { return index.getElement(this); }
|
|
83
83
|
};
|
|
@@ -112,7 +112,7 @@ const ItemOptions = class {
|
|
|
112
112
|
render() {
|
|
113
113
|
const theme = ionicGlobal.getIonTheme(this);
|
|
114
114
|
const isEnd = helpers.isEndSide(this.side);
|
|
115
|
-
return (index.h(index.Host, { key: '
|
|
115
|
+
return (index.h(index.Host, { key: '38b7632e7027ed35ec6d981ae7e45a6c21430362', class: {
|
|
116
116
|
[theme]: true,
|
|
117
117
|
// Used internally for styling
|
|
118
118
|
[`item-options-${theme}`]: true,
|
|
@@ -524,7 +524,7 @@ const ItemSliding = class {
|
|
|
524
524
|
}
|
|
525
525
|
render() {
|
|
526
526
|
const theme = ionicGlobal.getIonTheme(this);
|
|
527
|
-
return (index.h(index.Host, { key: '
|
|
527
|
+
return (index.h(index.Host, { key: 'c6d3f3b293f89bf1b7ec264fca241cc1c9675854', class: {
|
|
528
528
|
[theme]: true,
|
|
529
529
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
530
530
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|