@ionic/core 8.7.12-dev.11764783037.19423064 → 8.7.12-dev.11764844107.1b9ced55
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/checkbox.js +1 -1
- 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 +7 -8
- 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-checkbox.cjs.entry.js +1 -1
- 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/checkbox/checkbox.ionic.css +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list-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 +20 -11
- package/dist/collection/components/radio-group/radio-group.ios.css +8 -4
- package/dist/collection/components/radio-group/radio-group.js +3 -4
- package/dist/collection/components/radio-group/radio-group.md.css +8 -4
- 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 +3 -16
- package/dist/esm/ion-app_8.entry.js +5 -5
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +1 -1
- 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-0ba82e4f.entry.js +4 -0
- package/dist/ionic/{p-e46bf046.entry.js → p-0f7163d6.entry.js} +1 -1
- package/dist/ionic/{p-1635ea5e.entry.js → p-10fdbbc1.entry.js} +1 -1
- package/dist/ionic/{p-698ae42d.entry.js → p-2a3ff36f.entry.js} +1 -1
- package/dist/ionic/{p-d774af7c.entry.js → p-3622a9ea.entry.js} +1 -1
- package/dist/ionic/{p-48366887.entry.js → p-3a4865fd.entry.js} +1 -1
- package/dist/ionic/{p-931fd886.entry.js → p-4041ddea.entry.js} +1 -1
- package/dist/ionic/{p-a2179948.entry.js → p-46fb5199.entry.js} +1 -1
- package/dist/ionic/{p-b652eff7.entry.js → p-4757e558.entry.js} +1 -1
- package/dist/ionic/{p-9a20f9cb.entry.js → p-484aeb4c.entry.js} +1 -1
- package/dist/ionic/{p-b65b47bf.entry.js → p-5557bd92.entry.js} +1 -1
- package/dist/ionic/{p-6bb99f41.entry.js → p-57ef19f7.entry.js} +1 -1
- package/dist/ionic/{p-9e3fa08c.entry.js → p-5883f08d.entry.js} +1 -1
- package/dist/ionic/{p-74601090.entry.js → p-665c2df8.entry.js} +1 -1
- package/dist/ionic/{p-2061a732.entry.js → p-6fac73e6.entry.js} +1 -1
- package/dist/ionic/{p-fa6895f9.entry.js → p-7a18e825.entry.js} +1 -1
- package/dist/ionic/{p-78f1c348.entry.js → p-7d450184.entry.js} +1 -1
- package/dist/ionic/{p-3d0e07cf.entry.js → p-81770a5c.entry.js} +1 -1
- package/dist/ionic/{p-a3fefcf5.entry.js → p-86a6f814.entry.js} +1 -1
- package/dist/ionic/{p-826267d6.entry.js → p-86b82096.entry.js} +1 -1
- package/dist/ionic/{p-2c504bd3.entry.js → p-88ef6829.entry.js} +1 -1
- package/dist/ionic/p-89743bba.entry.js +4 -0
- package/dist/ionic/{p-09bcf828.entry.js → p-8e6857fa.entry.js} +1 -1
- package/dist/ionic/{p-105826fe.entry.js → p-91966afa.entry.js} +1 -1
- package/dist/ionic/{p-55734084.entry.js → p-93ed8a1d.entry.js} +1 -1
- package/dist/ionic/{p-ce2762f2.entry.js → p-a1128f7f.entry.js} +1 -1
- package/dist/ionic/{p-f9e3f9e1.entry.js → p-cdd40776.entry.js} +1 -1
- package/dist/ionic/p-ce510c06.entry.js +4 -0
- package/dist/ionic/{p-36f2ff62.entry.js → p-d05c7578.entry.js} +1 -1
- package/dist/ionic/{p-3948040f.entry.js → p-db4b3111.entry.js} +1 -1
- package/dist/ionic/{p-495912a4.entry.js → p-db90b95a.entry.js} +1 -1
- package/dist/ionic/{p-d0b9e5ff.entry.js → p-e12bb3dc.entry.js} +1 -1
- package/dist/ionic/{p-e3daf16c.entry.js → p-f3de58bd.entry.js} +1 -1
- package/dist/ionic/{p-f5fe6d47.entry.js → p-f8abe85c.entry.js} +1 -1
- package/hydrate/index.js +108 -108
- package/hydrate/index.mjs +108 -108
- package/package.json +1 -1
- package/dist/ionic/p-0774e5a0.entry.js +0 -4
- package/dist/ionic/p-c8740f44.entry.js +0 -4
- package/dist/ionic/p-da0a2ca6.entry.js +0 -4
|
@@ -1387,9 +1387,9 @@ const Popover = class {
|
|
|
1387
1387
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
1388
1388
|
const desktop = isPlatform('desktop');
|
|
1389
1389
|
const enableArrow = arrow && !parentPopover;
|
|
1390
|
-
return (h(Host, Object.assign({ key: '
|
|
1390
|
+
return (h(Host, Object.assign({ key: 'd8cac78e3fda5731eb8a3532ce83a711190a0f1d', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1391
1391
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1392
|
-
}, 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: '
|
|
1392
|
+
}, 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: 'ec62e04664d67c7ef9c43bb77e5baa517ab88e7f', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '1da57db158ecd1f6260369d44f2db5b0791ecd3a', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '22966b014e1a5ff24963dff94cad281200a3b334', class: "popover-arrow", part: "arrow" }), h("div", { key: 'a2b960c96a54c06807e07edc2579b5d459e5d108', class: "popover-content", part: "content" }, h("slot", { key: 'bae331e17437df55a77db538a693ef459f11e78a' })))));
|
|
1393
1393
|
}
|
|
1394
1394
|
get el() { return getElement(this); }
|
|
1395
1395
|
static get watchers() { return {
|
|
@@ -56,7 +56,7 @@ const ProgressBar = class {
|
|
|
56
56
|
const shape = this.getShape();
|
|
57
57
|
// If the progress is displayed as a solid bar.
|
|
58
58
|
const progressSolid = buffer === 1;
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '9adef68c31bdf39d48199e01587f8d5295d4c6af', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
60
60
|
[theme]: true,
|
|
61
61
|
[`progress-bar-${type}`]: true,
|
|
62
62
|
'progress-paused': paused,
|
|
@@ -139,7 +139,7 @@ const Radio = class {
|
|
|
139
139
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
140
140
|
const theme = getIonTheme(this);
|
|
141
141
|
const inItem = hostContext('ion-item', el);
|
|
142
|
-
return (h(Host, { key: '
|
|
142
|
+
return (h(Host, { key: '7ac17b6d0b96104b5baba1bb8c28c37f30005fdd', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
143
143
|
[theme]: true,
|
|
144
144
|
'in-item': inItem,
|
|
145
145
|
'radio-checked': checked,
|
|
@@ -150,10 +150,10 @@ const Radio = class {
|
|
|
150
150
|
// Focus and active styling should not apply when the radio is in an item
|
|
151
151
|
'ion-activatable': !inItem,
|
|
152
152
|
'ion-focusable': !inItem,
|
|
153
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
153
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '41305f13b3025e3876236097131beb7ef8a40515', class: "radio-wrapper" }, h("div", { key: '603d3ac36c227995a3b9f5bd6fa1ec4de4fa304a', class: {
|
|
154
154
|
'label-text-wrapper': true,
|
|
155
155
|
'label-text-wrapper-hidden': !hasLabel,
|
|
156
|
-
}, part: "label" }, h("slot", { key: '
|
|
156
|
+
}, part: "label" }, h("slot", { key: '838d3a84c3ce2aaa31e61ce2b82c6a23818b0908' })), h("div", { key: '3d4ac72bbf52e04a2500782223baac24784f361e', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
157
157
|
}
|
|
158
158
|
get el() { return getElement(this); }
|
|
159
159
|
static get watchers() { return {
|
|
@@ -167,11 +167,11 @@ Radio.style = {
|
|
|
167
167
|
md: radioMdCss
|
|
168
168
|
};
|
|
169
169
|
|
|
170
|
-
const radioGroupIonicCss = "
|
|
170
|
+
const radioGroupIonicCss = "ion-radio-group{vertical-align:top}.radio-group-top .error-text{display:none}.radio-group-top .helper-text{display:block}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}.radio-group-top{font-size:var(--token-font-size-300, 12px);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-500, var(--token-scale-500, 20px));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))}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{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))}[dir=rtl] ion-list .radio-group-top{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))}@supports selector(:dir(rtl)){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))}}";
|
|
171
171
|
|
|
172
|
-
const radioGroupIosCss = "
|
|
172
|
+
const radioGroupIosCss = "ion-radio-group{vertical-align:top}.radio-group-top .error-text{display:none}.radio-group-top .helper-text{display:block}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}.radio-group-wrapper{display:inline}.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))}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}";
|
|
173
173
|
|
|
174
|
-
const radioGroupMdCss = "
|
|
174
|
+
const radioGroupMdCss = "ion-radio-group{vertical-align:top}.radio-group-top .error-text{display:none}.radio-group-top .helper-text{display:block}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}.radio-group-wrapper{display:inline}.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))}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}";
|
|
175
175
|
|
|
176
176
|
const RadioGroup = class {
|
|
177
177
|
constructor(hostRef) {
|
|
@@ -393,7 +393,7 @@ const RadioGroup = class {
|
|
|
393
393
|
if (!hasHintText) {
|
|
394
394
|
return;
|
|
395
395
|
}
|
|
396
|
-
return (h("div", { class: "radio-group-top"
|
|
396
|
+
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)));
|
|
397
397
|
}
|
|
398
398
|
getHintTextId() {
|
|
399
399
|
const { helperText, errorText, helperTextId, errorTextId, isInvalid } = this;
|
|
@@ -409,9 +409,9 @@ const RadioGroup = class {
|
|
|
409
409
|
const { label, labelId, el, name, value } = this;
|
|
410
410
|
const theme = getIonTheme(this);
|
|
411
411
|
renderHiddenInput(true, el, name, value, false);
|
|
412
|
-
return (h(Host, { key: '
|
|
412
|
+
return (h(Host, { key: '61befc92b686c561be1a4cc350cd02bab9c802e4', class: {
|
|
413
413
|
[theme]: true,
|
|
414
|
-
}, 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: '
|
|
414
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), h("div", { key: '4f09341fb3d8d3ac14e1ab82841f099a9dab9435', class: "radio-group-wrapper" }, h("slot", { key: '4317ba35d152faa7ddabd7770a6cd3592dee4514' }))));
|
|
415
415
|
}
|
|
416
416
|
get el() { return getElement(this); }
|
|
417
417
|
static get watchers() { return {
|
|
@@ -724,7 +724,7 @@ const Range = class {
|
|
|
724
724
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
725
725
|
const theme = getIonTheme(this);
|
|
726
726
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
727
|
-
return (h(Host, { key: '
|
|
727
|
+
return (h(Host, { key: 'abffed8811679954ae1ccded14b09c1070aec868', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
728
728
|
[theme]: true,
|
|
729
729
|
'in-item': inItem,
|
|
730
730
|
'range-disabled': disabled,
|
|
@@ -733,10 +733,10 @@ const Range = class {
|
|
|
733
733
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
734
734
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
735
735
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
736
|
-
}) }, h("label", { key: '
|
|
736
|
+
}) }, h("label", { key: '4296d7310d335ba9783d96e982159e8563a3ea35', class: "range-wrapper", id: "range-label" }, h("div", { key: '8087acc009ee1287f0ddd483669cd6284ff84004', class: {
|
|
737
737
|
'label-text-wrapper': true,
|
|
738
738
|
'label-text-wrapper-hidden': !hasLabel,
|
|
739
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
739
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: 'fa1207cbb99ccb9a9cc60c2409977c1b925476b0', class: "native-wrapper" }, h("slot", { key: 'fdbe6f0c142f3511e1b526f6d4df195c105660c5', name: "start" }), this.renderRangeSlider(), h("slot", { key: '3f03f148fbd461a7a87c8f2da5e5cba37213ef30', name: "end" })))));
|
|
740
740
|
}
|
|
741
741
|
get el() { return getElement(this); }
|
|
742
742
|
static get watchers() { return {
|
|
@@ -889,7 +889,7 @@ const Refresher = class {
|
|
|
889
889
|
}
|
|
890
890
|
render() {
|
|
891
891
|
const theme = getIonTheme(this);
|
|
892
|
-
return (h(Host, { key: '
|
|
892
|
+
return (h(Host, { key: 'fdf580e687c1cd7c507a7357ea87a03270ff9f0b', slot: "fixed", class: {
|
|
893
893
|
[theme]: true,
|
|
894
894
|
// Used internally for styling
|
|
895
895
|
[`refresher-${theme}`]: true,
|
|
@@ -961,9 +961,9 @@ const RefresherContent = class {
|
|
|
961
961
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
962
962
|
const theme = getIonTheme(this);
|
|
963
963
|
const arrowIcon = theme === 'ionic' ? caretLeftFillSvg : caretBackSharp;
|
|
964
|
-
return (h(Host, { key: '
|
|
964
|
+
return (h(Host, { key: '3a3a3fb44f8397bb8e5019b51254ada8c26ae371', class: {
|
|
965
965
|
[theme]: true,
|
|
966
|
-
} }, h("div", { key: '
|
|
966
|
+
} }, h("div", { key: '3e63966e8c2b262b1f9d4a5545dbdd00e97a4c68', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: 'd4c8fa7151cee666520a40050c58f6e8201b14a5', class: "refresher-pulling-icon" }, h("div", { key: '2f45a17fe5fe51e81e2d7bd580fd60ce754c5989', class: "spinner-arrow-container" }, h("ion-spinner", { key: '210cd5f152453a283dbc579f545c683e3af84ea3', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (h("div", { key: '060c8d531e90478121113f59989ac29809f48947', class: "arrow-container" }, h("ion-icon", { key: '7c30ddd2c1a6e2274e7d57f792733017c663197b', icon: arrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: '3dee253d56c871195dcd59eaedc2b867ac578319', class: "refresher-pulling-icon" }, h("ion-icon", { key: '46b859328da272449f316ea8f68f3c3dd545c2e7', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '56660f9f6cff1006c5552df3a9430124689d42cb', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: 'e8232281f251e5d0d22972fa8e38176edc3d9e5d', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: '70f42df444c4669f393137f218ba9d635f76a26c', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
967
967
|
}
|
|
968
968
|
get el() { return getElement(this); }
|
|
969
969
|
};
|
|
@@ -51,9 +51,9 @@ const Reorder = class {
|
|
|
51
51
|
render() {
|
|
52
52
|
const { reorderHandleIcon } = this;
|
|
53
53
|
const theme = getIonTheme(this);
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'ba59a095c200b70c6d847dc7362d52b315dc853a', class: {
|
|
55
55
|
[theme]: true,
|
|
56
|
-
} }, h("slot", { key: '
|
|
56
|
+
} }, h("slot", { key: '79be263f78cc21c9c4f91326e557e65849ab1e51' }, h("ion-icon", { key: '6e5c47c8bbd33f5cd405a5fd531831cb87c8e57e', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
57
57
|
}
|
|
58
58
|
get el() { return getElement(this); }
|
|
59
59
|
};
|
|
@@ -317,7 +317,7 @@ const ReorderGroup = class {
|
|
|
317
317
|
}
|
|
318
318
|
render() {
|
|
319
319
|
const theme = getIonTheme(this);
|
|
320
|
-
return (h(Host, { key: '
|
|
320
|
+
return (h(Host, { key: 'df12858536c409c76552fe79b88827b3c4a5d9c5', class: {
|
|
321
321
|
[theme]: true,
|
|
322
322
|
'reorder-enabled': !this.disabled,
|
|
323
323
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -76,7 +76,7 @@ const RippleEffect = class {
|
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
78
|
const theme = getIonTheme(this);
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '502ce1841747f255dfab542914bebd0d0f4ae9bd', role: "presentation", class: {
|
|
80
80
|
[theme]: true,
|
|
81
81
|
unbounded: this.unbounded,
|
|
82
82
|
} }));
|
|
@@ -896,10 +896,10 @@ const RouterLink = class {
|
|
|
896
896
|
rel: this.rel,
|
|
897
897
|
target: this.target,
|
|
898
898
|
};
|
|
899
|
-
return (h(Host, { key: '
|
|
899
|
+
return (h(Host, { key: '518b86cf40eb95e03f75a20ff44fff804ac8ec4d', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
900
900
|
[theme]: true,
|
|
901
901
|
'ion-activatable': true,
|
|
902
|
-
}) }, h("a", Object.assign({ key: '
|
|
902
|
+
}) }, h("a", Object.assign({ key: 'dbf3cc12752b4fa2d3873723a8ea5a30b053d261' }, attrs), h("slot", { key: '9614e46a8d35201937f1f9a39b88f71b78efa7a0' }))));
|
|
903
903
|
}
|
|
904
904
|
};
|
|
905
905
|
RouterLink.style = routerLinkCss;
|
|
@@ -544,8 +544,8 @@ const Searchbar = class {
|
|
|
544
544
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
545
545
|
const shape = this.getShape();
|
|
546
546
|
const size = this.getSize();
|
|
547
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
548
|
-
return (h(Host, { key: '
|
|
547
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '3f7daa2a4ec57132e8baf591542569338e7ec9c8', "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: 'f214142fec5644d91eae82644558e6b817094957', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
548
|
+
return (h(Host, { key: '47e075305f28373fffab3e006ab4014da6dfb0c8', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
549
549
|
[theme]: true,
|
|
550
550
|
'searchbar-animated': animated,
|
|
551
551
|
'searchbar-disabled': this.disabled,
|
|
@@ -559,14 +559,14 @@ const Searchbar = class {
|
|
|
559
559
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
560
560
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
561
561
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
562
|
-
}) }, h("div", { key: '
|
|
562
|
+
}) }, h("div", { key: '14b271ab3eebf1b651a8cfd758c7880b548bb98d', class: "searchbar-input-container" }, h("input", Object.assign({ key: 'f84a9435002eba2084ce0269fa3c926b7c03209d', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), (theme === 'md' || theme === 'ionic') && cancelButton, this.shouldShowSearchIcon() && (h("ion-icon", { key: 'e1c7a66dba99591b0e3df5966acd027a561ee0ca', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (h("button", { key: 'bf55ac02128e22f9d303e75b9289c251bd582cdd', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
563
563
|
/**
|
|
564
564
|
* This prevents mobile browsers from
|
|
565
565
|
* blurring the input when the clear
|
|
566
566
|
* button is activated.
|
|
567
567
|
*/
|
|
568
568
|
ev.preventDefault();
|
|
569
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
569
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '1ce87193499ccb682ad115a64cc5579e9bb586c9', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
570
570
|
}
|
|
571
571
|
get el() { return getElement(this); }
|
|
572
572
|
static get watchers() { return {
|
|
@@ -10,7 +10,7 @@ const SegmentContent = class {
|
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '81cc29460a17c32592fbf9fca6242f4bb1738aa6' }, h("slot", { key: '4f718420caf11c6672642fcf1a1bdb7f48d6cdfc' })));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
SegmentContent.style = segmentContentCss;
|
|
@@ -108,10 +108,10 @@ const SegmentView = class {
|
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
110
|
const { disabled, isManualScroll } = this;
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: 'caf57037127fff688f45edd7c27018fc1d8cc689', class: {
|
|
112
112
|
'segment-view-disabled': disabled,
|
|
113
113
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
114
|
-
} }, h("slot", { key: '
|
|
114
|
+
} }, h("slot", { key: 'f93d19747ed3f04ee5a966412f62f2900ee45480' })));
|
|
115
115
|
}
|
|
116
116
|
get el() { return getElement(this); }
|
|
117
117
|
};
|
|
@@ -550,14 +550,14 @@ const Segment = class {
|
|
|
550
550
|
}
|
|
551
551
|
render() {
|
|
552
552
|
const theme = getIonTheme(this);
|
|
553
|
-
return (h(Host, { key: '
|
|
553
|
+
return (h(Host, { key: '578d4eb20a89742c8c3cb3109fe62a5fdf87b089', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
554
554
|
[theme]: true,
|
|
555
555
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
556
556
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
557
557
|
'segment-activated': this.activated,
|
|
558
558
|
'segment-disabled': this.disabled,
|
|
559
559
|
'segment-scrollable': this.scrollable,
|
|
560
|
-
}) }, h("slot", { key: '
|
|
560
|
+
}) }, h("slot", { key: '4b9999c95622773aea0c1bf3d1ab9dc650efb5eb', onSlotchange: this.onSlottedItemsChange })));
|
|
561
561
|
}
|
|
562
562
|
get el() { return getElement(this); }
|
|
563
563
|
static get watchers() { return {
|
|
@@ -678,7 +678,7 @@ const SegmentButton = class {
|
|
|
678
678
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
679
679
|
const theme = getIonTheme(this);
|
|
680
680
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
681
|
-
return (h(Host, { key: '
|
|
681
|
+
return (h(Host, { key: '75eeffd15e3581c15f48a0b12cbf5a4229b087d6', class: {
|
|
682
682
|
[theme]: true,
|
|
683
683
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
684
684
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -694,7 +694,7 @@ const SegmentButton = class {
|
|
|
694
694
|
'ion-activatable': true,
|
|
695
695
|
'ion-activatable-instant': true,
|
|
696
696
|
'ion-focusable': true,
|
|
697
|
-
} }, h("button", Object.assign({ key: '
|
|
697
|
+
} }, h("button", Object.assign({ key: '701fd86647377f744d91eb92427c73583d229253', "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: '63634d3e500312c847194551996a2897610e0cc7', class: "button-inner" }, h("slot", { key: '89963e233c9a7ea84b7262ab84db6edbe76ee95e' })), theme === 'md' && h("ion-ripple-effect", { key: '9d766c3d48c0b2ba50ab03f2279ccf710973bbba' })), h("div", { key: 'a70f2d1a57cca4e04b00b36a6b47eb93ef4cb26e', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: 'aff9931755a1f643147bf0e7d2be29b35d8f9d41', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
698
698
|
}
|
|
699
699
|
get el() { return getElement(this); }
|
|
700
700
|
static get watchers() { return {
|
|
@@ -94,7 +94,7 @@ const SelectModal = class {
|
|
|
94
94
|
} }, option.text))));
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
|
-
return (h(Host, { key: '
|
|
97
|
+
return (h(Host, { key: '2ceb196accee272559c43225a859befa68027333', class: Object.assign({ [getIonMode(this)]: true }, this.getModalContextClasses()) }, h("ion-header", { key: 'b0176847bd9ce94e28d72766d6a035a93ff6f10a' }, h("ion-toolbar", { key: '49c2b1cf8e82b1d975cca67b154b149823b47b1f' }, this.header !== undefined && h("ion-title", { key: 'fdc881fd94c07ca38d60e85170d176c7cf4139fb' }, this.header), h("ion-buttons", { key: '8dfc972aa974909ecf2e5782e972b959a900f8c5', slot: "end" }, h("ion-button", { key: 'b862896118bd4da0afc17925eab9dc9ed5269220', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: 'a7f5bf8f88377d978d2c7bdba3abefcc332296a3' }, h("ion-list", { key: '23529677979b9ac63e2cba8d55f7f965489b74c5' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
98
98
|
}
|
|
99
99
|
get el() { return getElement(this); }
|
|
100
100
|
};
|
|
@@ -852,7 +852,7 @@ const Select = class {
|
|
|
852
852
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
853
853
|
*/
|
|
854
854
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
855
|
-
return (h(Host, { key: '
|
|
855
|
+
return (h(Host, { key: 'f7cd507ad8d9a480ed2f48237a63def44fb5cfbe', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
856
856
|
[theme]: true,
|
|
857
857
|
'in-item': inItem,
|
|
858
858
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -871,7 +871,7 @@ const Select = class {
|
|
|
871
871
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
872
872
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
873
873
|
[`select-size-${size}`]: size !== undefined,
|
|
874
|
-
}) }, h("label", { key: '
|
|
874
|
+
}) }, h("label", { key: '773c355e02fad6946eb0515b517c7e33308d9d36', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: 'ff3d179c5e2944c61a3096214f1530317571623f', class: "select-wrapper-inner" },
|
|
875
875
|
/**
|
|
876
876
|
* For the ionic theme, we render the outline container here
|
|
877
877
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -881,7 +881,7 @@ const Select = class {
|
|
|
881
881
|
* <label> element, ensuring that clicking the label text
|
|
882
882
|
* focuses the select.
|
|
883
883
|
*/
|
|
884
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
884
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '7830f405008ed239d439fa2cdb631c956b94b09f', class: "select-outline" }), h("slot", { key: '9bb2454c635cff619fde5cd09a87fc3bc279e063', name: "start" }), h("div", { key: '8238a804b15f9a14152aed0296ede7340ebcb293', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: 'f69bcdea9ffb8047f8833d08eaf4fc5f4647fcbf', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'cea830f2652a7d26b60be500caf89a11dcba5fbc', class: "select-highlight" })), this.renderBottomContent()));
|
|
885
885
|
}
|
|
886
886
|
get el() { return getElement(this); }
|
|
887
887
|
static get watchers() { return {
|
|
@@ -945,7 +945,7 @@ const SelectOption = class {
|
|
|
945
945
|
}
|
|
946
946
|
render() {
|
|
947
947
|
const theme = getIonTheme(this);
|
|
948
|
-
return (h(Host, { key: '
|
|
948
|
+
return (h(Host, { key: '39af595655b3645c923617fe4d4fa64112008273', class: {
|
|
949
949
|
[theme]: true,
|
|
950
950
|
}, role: "option", id: this.inputId }));
|
|
951
951
|
}
|
|
@@ -1055,9 +1055,9 @@ const SelectPopover = class {
|
|
|
1055
1055
|
const { header, message, options, subHeader } = this;
|
|
1056
1056
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
1057
1057
|
const theme = getIonTheme(this);
|
|
1058
|
-
return (h(Host, { key: '
|
|
1058
|
+
return (h(Host, { key: '9b5160e6657620038fb4167ab7d08e2687be554b', class: {
|
|
1059
1059
|
[theme]: true,
|
|
1060
|
-
} }, h("ion-list", { key: '
|
|
1060
|
+
} }, h("ion-list", { key: '5f015bcc53bf96de3da98f05a73c6e1e7bc3250c' }, header !== undefined && h("ion-list-header", { key: 'e7275a4b3b0b8706b6a89ed9fd4bf1bb6cf274a8' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: 'ca5750144abaf01d613f7ff4923939e6d6f4c0c8' }, h("ion-label", { key: '299735684f529e05f08405b6587dec23fb8d2851', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: 'af85ac2c17050eca4902811a886e7001b92701fe' }, subHeader), message !== undefined && h("p", { key: 'f64006af8f2ffaf41d6d21701efa2d40580796e0' }, message)))), this.renderOptions(options))));
|
|
1061
1061
|
}
|
|
1062
1062
|
get el() { return getElement(this); }
|
|
1063
1063
|
};
|
|
@@ -59,7 +59,7 @@ const Spinner = class {
|
|
|
59
59
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '0b3ce4b99c2c828d05b507c4f073811ebbe17d0f', class: createColorClasses(self.color, {
|
|
63
63
|
[theme]: true,
|
|
64
64
|
[`spinner-${spinnerName}`]: true,
|
|
65
65
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -128,12 +128,12 @@ const SplitPane = class {
|
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
130
|
const theme = getIonTheme(this);
|
|
131
|
-
return (h(Host, { key: '
|
|
131
|
+
return (h(Host, { key: '9d0c67f1f81b09bb9a6f14a66053e5cc7431a286', class: {
|
|
132
132
|
[theme]: true,
|
|
133
133
|
// Used internally for styling
|
|
134
134
|
[`split-pane-${theme}`]: true,
|
|
135
135
|
'split-pane-visible': this.visible,
|
|
136
|
-
} }, h("slot", { key: '
|
|
136
|
+
} }, h("slot", { key: 'ab7b3050d3c5484bd00949cf57efa4396b4d5bc3' })));
|
|
137
137
|
}
|
|
138
138
|
get el() { return getElement(this); }
|
|
139
139
|
static get watchers() { return {
|
|
@@ -101,13 +101,13 @@ const TabBar = class {
|
|
|
101
101
|
const theme = getIonTheme(this);
|
|
102
102
|
const shape = this.getShape();
|
|
103
103
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: 'c659f0d907c52602880822351d21c78339d2b6d3', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
|
|
105
105
|
[theme]: true,
|
|
106
106
|
'tab-bar-translucent': translucent,
|
|
107
107
|
'tab-bar-hidden': shouldHide,
|
|
108
108
|
[`tab-bar-${expand}`]: true,
|
|
109
109
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
110
|
-
}) }, h("slot", { key: '
|
|
110
|
+
}) }, h("slot", { key: '34000fa9365e40f29a7aaf9669b523292b304af8' })));
|
|
111
111
|
}
|
|
112
112
|
get el() { return getElement(this); }
|
|
113
113
|
static get watchers() { return {
|
|
@@ -210,7 +210,7 @@ const TabButton = class {
|
|
|
210
210
|
rel,
|
|
211
211
|
target,
|
|
212
212
|
};
|
|
213
|
-
return (h(Host, { key: '
|
|
213
|
+
return (h(Host, { key: '5a32785eaf0570cdc3444d52ce8bba8174c3e0b9', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
214
214
|
[theme]: true,
|
|
215
215
|
'tab-selected': selected,
|
|
216
216
|
'tab-disabled': disabled,
|
|
@@ -223,7 +223,7 @@ const TabButton = class {
|
|
|
223
223
|
'ion-selectable': true,
|
|
224
224
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
225
225
|
'ion-focusable': true,
|
|
226
|
-
} }, h("a", Object.assign({ key: '
|
|
226
|
+
} }, h("a", Object.assign({ key: '1441f409b4a60823a57f27b90f6840b557b7d65a' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: '1566ca0af66b6e51068aca221a89133d2af061ed', class: "button-inner" }, h("slot", { key: '757878091cfe3768107eb0a53b8d1c895ce43399' })), theme === 'md' && h("ion-ripple-effect", { key: '28dde3e7127bdc9d5e1477b47458a5a4ab71328e', type: "unbounded" }))));
|
|
227
227
|
}
|
|
228
228
|
get el() { return getElement(this); }
|
|
229
229
|
};
|
|
@@ -44,10 +44,10 @@ const Tab = class {
|
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
46
|
const { tab, active, component } = this;
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: 'b249545a5adfcef4616afe79aa0f215bab464d0a', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
48
48
|
'ion-page': component === undefined,
|
|
49
49
|
'tab-hidden': !active,
|
|
50
|
-
} }, h("slot", { key: '
|
|
50
|
+
} }, h("slot", { key: '19e2a406d96d20d8d4af8c3ff900e975d06021f6' })));
|
|
51
51
|
}
|
|
52
52
|
get el() { return getElement(this); }
|
|
53
53
|
static get watchers() { return {
|
|
@@ -216,7 +216,7 @@ const Tabs = class {
|
|
|
216
216
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
217
217
|
}
|
|
218
218
|
render() {
|
|
219
|
-
return (h(Host, { key: '
|
|
219
|
+
return (h(Host, { key: '9c05f69a72ab24897f1febab0928783d08224734', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '56407c9562bfd095e0259e430879151b824287fd', name: "top" }), h("div", { key: '6a86ceff372b8a60342040d9361ad31bf05e80ec', class: "tabs-inner" }, h("slot", { key: 'a554d3e835236a87686a0a53bd16d3124e77c0c5' })), h("slot", { key: 'd241d4cfba26a7ce3a3f93703dae18b8857bd9ee', name: "bottom" })));
|
|
220
220
|
}
|
|
221
221
|
get el() { return getElement(this); }
|
|
222
222
|
};
|
|
@@ -13,9 +13,9 @@ const Text = class {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const theme = getIonTheme(this);
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '7a3f31d6e219207a1ff98ac441357caa512012e5', class: createColorClasses(this.color, {
|
|
17
17
|
[theme]: true,
|
|
18
|
-
}) }, h("slot", { key: '
|
|
18
|
+
}) }, h("slot", { key: '392d48d6a5e0e5d1b44e762ec96fb8b53b3ebd49' })));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
Text.style = textCss;
|
|
@@ -502,7 +502,7 @@ const Textarea = class {
|
|
|
502
502
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
503
503
|
*/
|
|
504
504
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
505
|
-
return (h(Host, { key: '
|
|
505
|
+
return (h(Host, { key: '3a3030f319b29d21d049221d67978c04bbda9e70', class: createColorClasses(this.color, {
|
|
506
506
|
[theme]: true,
|
|
507
507
|
'has-value': hasValue,
|
|
508
508
|
'has-focus': hasFocus,
|
|
@@ -513,7 +513,7 @@ const Textarea = class {
|
|
|
513
513
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
514
514
|
'textarea-disabled': disabled,
|
|
515
515
|
'textarea-readonly': readonly,
|
|
516
|
-
}) }, h("label", { key: '
|
|
516
|
+
}) }, h("label", { key: 'f1fa84c3818dc97a8f42ff1296f93b7de865ab47', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '5cadc4944b88f4d9762e244b2ea2c7300c6ce722', class: "textarea-wrapper-inner" },
|
|
517
517
|
/**
|
|
518
518
|
* For the ionic theme, we render the outline container here
|
|
519
519
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -523,7 +523,7 @@ const Textarea = class {
|
|
|
523
523
|
* <label> element, ensuring that clicking the label text
|
|
524
524
|
* focuses the textarea.
|
|
525
525
|
*/
|
|
526
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
526
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '6bbf8ffa4279047982e4ce42eb93a34da739bb60', class: "textarea-outline" }), h("div", { key: '492e9c6757f5475b0cb1b599ec829005ced19f61', class: "start-slot-wrapper" }, h("slot", { key: '746790cb2b2eb2f438a3309d5ce2de9cf9d93204', name: "start" })), h("div", { key: '7da04995627dbf0728e623f41184f85c8ffffe83', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: 'a5f2c80d229732ece2602020c0da197f93d7a2e0', 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: '8d33c7f6d450642f6f4ceff9624793ca3a47d36f', class: "end-slot-wrapper" }, h("slot", { key: 'd1ec6a465874956720c0f034cd445557450f34fd', name: "end" }))), shouldRenderHighlight && h("div", { key: 'c20a26e67bb8d1c1328eb806a24dfe4222c3d4d5', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
527
527
|
}
|
|
528
528
|
get el() { return getElement(this); }
|
|
529
529
|
static get watchers() { return {
|
|
@@ -871,9 +871,9 @@ const Toast = class {
|
|
|
871
871
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
872
872
|
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);
|
|
873
873
|
}
|
|
874
|
-
return (h(Host, Object.assign({ key: '
|
|
874
|
+
return (h(Host, Object.assign({ key: '3f25e3c14197723e0c97edb71ddeeccb4f9143b3', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
875
875
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
876
|
-
}, 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: '
|
|
876
|
+
}, 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: 'cec09872b7e08429a62e5cb821e072fa6259e63a', class: wrapperClass }, h("div", { key: '8179d7a3c8b27536e37886a21293d1a6add60306', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: 'ef87a58440d914e4c55b8b3ecaac45f983f35daf', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '56bca03e8501ad921cf2de37faace99a4f59cc71', 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')))));
|
|
877
877
|
}
|
|
878
878
|
get el() { return getElement(this); }
|
|
879
879
|
static get watchers() { return {
|
|
@@ -338,7 +338,7 @@ const Toggle = class {
|
|
|
338
338
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
339
339
|
const isIonicTheme = theme === 'ionic';
|
|
340
340
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
341
|
-
return (h(Host, { key: '
|
|
341
|
+
return (h(Host, { key: 'b12951146a79d3839e6263e91e747398a0fa901d', 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, {
|
|
342
342
|
[theme]: true,
|
|
343
343
|
'in-item': hostContext('ion-item', el),
|
|
344
344
|
'toggle-activated': activated,
|
|
@@ -350,10 +350,10 @@ const Toggle = class {
|
|
|
350
350
|
[`toggle-${rtl}`]: true,
|
|
351
351
|
'ion-activatable': isIonicTheme,
|
|
352
352
|
'ion-focusable': isIonicTheme,
|
|
353
|
-
}) }, h("label", { key: '
|
|
353
|
+
}) }, h("label", { key: 'cf1d27243bf9bdd5bafaf6d86b76beb311b5e01c', class: "toggle-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: 'b3eb0f146836f5994c15bf1fd67a79f72b9414f7', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), h("div", { key: '56ddcfd6452f30fd6b38d0fd85be3ec966aa120b', class: {
|
|
354
354
|
'label-text-wrapper': true,
|
|
355
355
|
'label-text-wrapper-hidden': !hasLabel,
|
|
356
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '
|
|
356
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '706e5b667ee242fb1afb3e4afa613f9798fbe25b' }), this.renderHintText()), h("div", { key: '255ccd7d60f7d78b4eba8d380b303a72093e9d16', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
357
357
|
}
|
|
358
358
|
get el() { return getElement(this); }
|
|
359
359
|
static get watchers() { return {
|