@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
|
@@ -26,10 +26,10 @@ export class RouterLink {
|
|
|
26
26
|
rel: this.rel,
|
|
27
27
|
target: this.target,
|
|
28
28
|
};
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '16797ccb67b51f90262d2ea0d6032cf0ebf1fc39', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
30
30
|
[theme]: true,
|
|
31
31
|
'ion-activatable': true,
|
|
32
|
-
}) }, h("a", Object.assign({ key: '
|
|
32
|
+
}) }, h("a", Object.assign({ key: '75ef998f2acc33dd80a31233486176b770c1b26e' }, attrs), h("slot", { key: '14732a08293d1f77d87aa903dd5da07e0cff59c7' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-router-link"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -184,7 +184,7 @@ export class RouterOutlet {
|
|
|
184
184
|
return true;
|
|
185
185
|
}
|
|
186
186
|
render() {
|
|
187
|
-
return h("slot", { key: '
|
|
187
|
+
return h("slot", { key: '3bd64be4bba02446bf9086d9381d67dff31b5077' });
|
|
188
188
|
}
|
|
189
189
|
static get is() { return "ion-router-outlet"; }
|
|
190
190
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,9 +10,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class Row {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'd1816dec9a51e6ec6c7ddecc6968a89ae526d447', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: 'f8d0c70fc77f5be3791251e0f03208ece6af517f' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-row"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -531,8 +531,8 @@ export class Searchbar {
|
|
|
531
531
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
532
532
|
const shape = this.getShape();
|
|
533
533
|
const size = this.getSize();
|
|
534
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
535
|
-
return (h(Host, { key: '
|
|
534
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '82b60fcbb7bdfa4b64f64c0caf451c1ee9265efe', "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: '1f3d09cb5f6224e709197a2d9fe6e1e5e40a724d', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
535
|
+
return (h(Host, { key: '56c1807bc9bf3a00bb065ece946ce85edce545f8', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
536
536
|
[theme]: true,
|
|
537
537
|
'searchbar-animated': animated,
|
|
538
538
|
'searchbar-disabled': this.disabled,
|
|
@@ -546,14 +546,14 @@ export class Searchbar {
|
|
|
546
546
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
547
547
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
548
548
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
549
|
-
}) }, h("div", { key: '
|
|
549
|
+
}) }, h("div", { key: '8b757c604bf3a4d82aabccd2522750e4f2dbcd01', class: "searchbar-input-container" }, h("input", Object.assign({ key: 'c6b96039495f6727ea2cb7ebf51d53fef5780d74', "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: 'f25d87e4f2a357df7a09f1f60db862294d8525b8', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (h("button", { key: '1b5e1428ca6d272b329007e48481e15d4694eec2', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
550
550
|
/**
|
|
551
551
|
* This prevents mobile browsers from
|
|
552
552
|
* blurring the input when the clear
|
|
553
553
|
* button is activated.
|
|
554
554
|
*/
|
|
555
555
|
ev.preventDefault();
|
|
556
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
556
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '7be87313952d6fa1363d137097cc40a15edf6939', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
557
557
|
}
|
|
558
558
|
static get is() { return "ion-searchbar"; }
|
|
559
559
|
static get encapsulation() { return "scoped"; }
|
|
@@ -544,14 +544,14 @@ export class Segment {
|
|
|
544
544
|
}
|
|
545
545
|
render() {
|
|
546
546
|
const theme = getIonTheme(this);
|
|
547
|
-
return (h(Host, { key: '
|
|
547
|
+
return (h(Host, { key: '8ae3804f14971f29efd2541e3f8b67090ca1a329', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
548
548
|
[theme]: true,
|
|
549
549
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
550
550
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
551
551
|
'segment-activated': this.activated,
|
|
552
552
|
'segment-disabled': this.disabled,
|
|
553
553
|
'segment-scrollable': this.scrollable,
|
|
554
|
-
}) }, h("slot", { key: '
|
|
554
|
+
}) }, h("slot", { key: '3688f023388c60c6e4801c94e1906c8751f076cf', onSlotchange: this.onSlottedItemsChange })));
|
|
555
555
|
}
|
|
556
556
|
static get is() { return "ion-segment"; }
|
|
557
557
|
static get encapsulation() { return "shadow"; }
|
|
@@ -112,7 +112,7 @@ export class SegmentButton {
|
|
|
112
112
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
113
113
|
const theme = getIonTheme(this);
|
|
114
114
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: '5cc85aa4e25bc1ab6283ac398ccc2d342c9376bf', class: {
|
|
116
116
|
[theme]: true,
|
|
117
117
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
118
118
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -128,7 +128,7 @@ export class SegmentButton {
|
|
|
128
128
|
'ion-activatable': true,
|
|
129
129
|
'ion-activatable-instant': true,
|
|
130
130
|
'ion-focusable': true,
|
|
131
|
-
} }, h("button", Object.assign({ key: '
|
|
131
|
+
} }, h("button", Object.assign({ key: '7edb5c84c5b04bcbaceceaa206ff859b42218102', "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: '9e8345b33328c07dd8606383f50cd97e3bd86aee', class: "button-inner" }, h("slot", { key: '0d1f9a341ee93cc654e895e874be8800c04155e8' })), theme === 'md' && h("ion-ripple-effect", { key: '468547dbcc5f778215f8a07d2a66245551048a0c' })), h("div", { key: '3d5a3020e90d6fa605b40e4cd0366052050cefd0', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: '53424fb6081c608068df4bb8d9d2bb46399bafd1', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
132
132
|
}
|
|
133
133
|
static get is() { return "ion-segment-button"; }
|
|
134
134
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
export class SegmentContent {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '544c24634aa3232a4df75a357a8d7f0cbff644e5' }, h("slot", { key: '7e4696d1143b5015760a92130cc977df10748cdc' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "ion-segment-content"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -99,10 +99,10 @@ export class SegmentView {
|
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
101
|
const { disabled, isManualScroll } = this;
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: '8bc68146befc3d3932330785251bb981ebe2e1d7', class: {
|
|
103
103
|
'segment-view-disabled': disabled,
|
|
104
104
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
105
|
-
} }, h("slot", { key: '
|
|
105
|
+
} }, h("slot", { key: '90a5c5e294b875e0b26bd496f050776df3c66984' })));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "ion-segment-view"; }
|
|
108
108
|
static get encapsulation() { return "shadow"; }
|
|
@@ -899,7 +899,7 @@ export class Select {
|
|
|
899
899
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
900
900
|
*/
|
|
901
901
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
902
|
-
return (h(Host, { key: '
|
|
902
|
+
return (h(Host, { key: '99fad4183f43fb174d54ed5326eae49f79eedaf9', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
903
903
|
[theme]: true,
|
|
904
904
|
'in-item': inItem,
|
|
905
905
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -918,7 +918,7 @@ export class Select {
|
|
|
918
918
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
919
919
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
920
920
|
[`select-size-${size}`]: size !== undefined,
|
|
921
|
-
}) }, h("label", { key: '
|
|
921
|
+
}) }, h("label", { key: 'bbc1780390ebd45db608ac698065e6909f2331be', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '7859cd07b2f5bb46f0ea9dba72805302fd32b835', class: "select-wrapper-inner" },
|
|
922
922
|
/**
|
|
923
923
|
* For the ionic theme, we render the outline container here
|
|
924
924
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -928,7 +928,7 @@ export class Select {
|
|
|
928
928
|
* <label> element, ensuring that clicking the label text
|
|
929
929
|
* focuses the select.
|
|
930
930
|
*/
|
|
931
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
931
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '678234860c82cb83caabaf657c029a03d1aa6d17', class: "select-outline" }), h("slot", { key: '671c8d98d784093d9718a9ec14a758e643e186ac', name: "start" }), h("div", { key: '1f35b6a8ebc055abd988c747d758972fc5ed4c34', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: 'fbff0ecc4960af326cdbbe0dc20207ac2d9154ab', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: '09ff7ce8e3b6804329daeeced8bc156582aabcd9', class: "select-highlight" })), this.renderBottomContent()));
|
|
932
932
|
}
|
|
933
933
|
static get is() { return "ion-select"; }
|
|
934
934
|
static get encapsulation() { return "shadow"; }
|
|
@@ -82,7 +82,7 @@ export class SelectModal {
|
|
|
82
82
|
} }, option.text))));
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
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()))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "ion-select-modal"; }
|
|
88
88
|
static get encapsulation() { return "scoped"; }
|
|
@@ -17,7 +17,7 @@ export class SelectOption {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
const theme = getIonTheme(this);
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '5b4a79f7d8443348023f865f46a5e898a6bdddbf', class: {
|
|
21
21
|
[theme]: true,
|
|
22
22
|
}, role: "option", id: this.inputId }));
|
|
23
23
|
}
|
|
@@ -105,9 +105,9 @@ export class SelectPopover {
|
|
|
105
105
|
const { header, message, options, subHeader } = this;
|
|
106
106
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
107
107
|
const theme = getIonTheme(this);
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: 'f6082eeccf950e96a7752a12593971f32e50d785', class: {
|
|
109
109
|
[theme]: true,
|
|
110
|
-
} }, h("ion-list", { key: '
|
|
110
|
+
} }, 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))));
|
|
111
111
|
}
|
|
112
112
|
static get is() { return "ion-select-popover"; }
|
|
113
113
|
static get encapsulation() { return "scoped"; }
|
|
@@ -32,11 +32,11 @@ export class SkeletonText {
|
|
|
32
32
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
33
33
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34
34
|
const theme = getIonTheme(this);
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: 'fba9d20aad31958d6902ac95a5983ea7503452f1', class: {
|
|
36
36
|
[theme]: true,
|
|
37
37
|
'skeleton-text-animated': animated,
|
|
38
38
|
'in-media': inMedia,
|
|
39
|
-
} }, h("span", { key: '
|
|
39
|
+
} }, h("span", { key: 'b9adb4511497d2add4a1403d548f880b2ad4f9f8' }, "\u00A0")));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "ion-skeleton-text"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class Spinner {
|
|
|
56
56
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '09db378858cf93fb45207a8ebbce7d8694c1146e', class: createColorClasses(self.color, {
|
|
60
60
|
[theme]: true,
|
|
61
61
|
[`spinner-${spinnerName}`]: true,
|
|
62
62
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -130,12 +130,12 @@ export class SplitPane {
|
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
132
|
const theme = getIonTheme(this);
|
|
133
|
-
return (h(Host, { key: '
|
|
133
|
+
return (h(Host, { key: '96e6f7921d5e322f6d0e63d7a091c186672113fe', class: {
|
|
134
134
|
[theme]: true,
|
|
135
135
|
// Used internally for styling
|
|
136
136
|
[`split-pane-${theme}`]: true,
|
|
137
137
|
'split-pane-visible': this.visible,
|
|
138
|
-
} }, h("slot", { key: '
|
|
138
|
+
} }, h("slot", { key: '276c53411f85df47f8900d9641e49b7dde2a1d97' })));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "ion-split-pane"; }
|
|
141
141
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,10 +51,10 @@ export class Tab {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
const { tab, active, component } = this;
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '8da1165ec5d467d52d85231140b552c7e192dfb1', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
55
55
|
'ion-page': component === undefined,
|
|
56
56
|
'tab-hidden': !active,
|
|
57
|
-
} }, h("slot", { key: '
|
|
57
|
+
} }, h("slot", { key: 'a104f6b69b54ee7f6b079e1da0ee7f8ac0c83dfa' })));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "ion-tab"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -91,13 +91,13 @@ export class TabBar {
|
|
|
91
91
|
const theme = getIonTheme(this);
|
|
92
92
|
const shape = this.getShape();
|
|
93
93
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: '690eeb0fdb21367c58f510abae55206e264c8174', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
|
|
95
95
|
[theme]: true,
|
|
96
96
|
'tab-bar-translucent': translucent,
|
|
97
97
|
'tab-bar-hidden': shouldHide,
|
|
98
98
|
[`tab-bar-${expand}`]: true,
|
|
99
99
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
100
|
-
}) }, h("slot", { key: '
|
|
100
|
+
}) }, h("slot", { key: '94fb104e5cd0d91500fe04cdf25751b0441db361' })));
|
|
101
101
|
}
|
|
102
102
|
static get is() { return "ion-tab-bar"; }
|
|
103
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -93,7 +93,7 @@ export class TabButton {
|
|
|
93
93
|
rel,
|
|
94
94
|
target,
|
|
95
95
|
};
|
|
96
|
-
return (h(Host, { key: '
|
|
96
|
+
return (h(Host, { key: 'bbd96f928c0a3c592a9fa95cd49c1274b9f9e3eb', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
97
97
|
[theme]: true,
|
|
98
98
|
'tab-selected': selected,
|
|
99
99
|
'tab-disabled': disabled,
|
|
@@ -106,7 +106,7 @@ export class TabButton {
|
|
|
106
106
|
'ion-selectable': true,
|
|
107
107
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
108
108
|
'ion-focusable': true,
|
|
109
|
-
} }, h("a", Object.assign({ key: '
|
|
109
|
+
} }, h("a", Object.assign({ key: 'fcfd5c5be379451d709a1e7ae907558a68fc4bf4' }, 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: '6152ebde73654019209447585a4f4a94e3dc545c', class: "button-inner" }, h("slot", { key: 'e3e4f09a6540beff64175146d9238e2d6a81fe2a' })), theme === 'md' && h("ion-ripple-effect", { key: '48ad9c1690c42e7ffef0a6a5f6a2606bc4139abc', type: "unbounded" }))));
|
|
110
110
|
}
|
|
111
111
|
static get is() { return "ion-tab-button"; }
|
|
112
112
|
static get encapsulation() { return "shadow"; }
|
|
@@ -165,7 +165,7 @@ export class Tabs {
|
|
|
165
165
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
166
166
|
}
|
|
167
167
|
render() {
|
|
168
|
-
return (h(Host, { key: '
|
|
168
|
+
return (h(Host, { key: '2d9bb0241c3351b816e6c80fe2b2278d42121772', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: 'd7fccd9ac7e51584ddb95e317e0b4f45824673f8', name: "top" }), h("div", { key: '462be1fbbf3d1ae1d2fee73f800262df37dae318', class: "tabs-inner" }, h("slot", { key: '1e179d234415a3b7c9d06854733d30d386418d44' })), h("slot", { key: '1f8af243c87a26a21fb82916450aad018d091dc6', name: "bottom" })));
|
|
169
169
|
}
|
|
170
170
|
static get is() { return "ion-tabs"; }
|
|
171
171
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,9 +11,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
11
11
|
export class Text {
|
|
12
12
|
render() {
|
|
13
13
|
const theme = getIonTheme(this);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '9a5adf32d207dd4bc5e8c3a24d985a37d432ee36', class: createColorClasses(this.color, {
|
|
15
15
|
[theme]: true,
|
|
16
|
-
}) }, h("slot", { key: '
|
|
16
|
+
}) }, h("slot", { key: '6155082d13b727b54c15909cf96c2f8e7c920fac' })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "ion-text"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -497,7 +497,7 @@ export class Textarea {
|
|
|
497
497
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
498
498
|
*/
|
|
499
499
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
500
|
-
return (h(Host, { key: '
|
|
500
|
+
return (h(Host, { key: 'f361b0d612ea373b27f5daa3b0d86f5a87e3a347', class: createColorClasses(this.color, {
|
|
501
501
|
[theme]: true,
|
|
502
502
|
'has-value': hasValue,
|
|
503
503
|
'has-focus': hasFocus,
|
|
@@ -508,7 +508,7 @@ export class Textarea {
|
|
|
508
508
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
509
509
|
'textarea-disabled': disabled,
|
|
510
510
|
'textarea-readonly': readonly,
|
|
511
|
-
}) }, h("label", { key: '
|
|
511
|
+
}) }, h("label", { key: '56f39fa4c6ed77958165084bc07addcb4f4878fa', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '14972dea04325a7dbdeae65fa22263b412f9f023', class: "textarea-wrapper-inner" },
|
|
512
512
|
/**
|
|
513
513
|
* For the ionic theme, we render the outline container here
|
|
514
514
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -518,7 +518,7 @@ export class Textarea {
|
|
|
518
518
|
* <label> element, ensuring that clicking the label text
|
|
519
519
|
* focuses the textarea.
|
|
520
520
|
*/
|
|
521
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
521
|
+
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()));
|
|
522
522
|
}
|
|
523
523
|
static get is() { return "ion-textarea"; }
|
|
524
524
|
static get encapsulation() { return "scoped"; }
|
|
@@ -10,9 +10,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class Thumbnail {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '670c8628ac609877cf628e7301223a43d808535b', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: 'e766b13c6cf4167edfeda2d21654c1e778125955' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-thumbnail"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,11 +27,11 @@ export class ToolbarTitle {
|
|
|
27
27
|
render() {
|
|
28
28
|
const theme = getIonTheme(this);
|
|
29
29
|
const size = this.getSize();
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '770c002757fc29f57277da78e25ac426346eaed9', class: createColorClasses(this.color, {
|
|
31
31
|
[theme]: true,
|
|
32
32
|
[`title-${size}`]: true,
|
|
33
33
|
'title-rtl': document.dir === 'rtl',
|
|
34
|
-
}) }, h("div", { key: '
|
|
34
|
+
}) }, h("div", { key: 'fb2d65cc98575d310f9dbcf8d5b2b8a8d6f87e57', class: "toolbar-title" }, h("slot", { key: '73d0c525b1acde370a1460008e7c0145ae5d7e4b' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "ion-title"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -437,9 +437,9 @@ export class Toast {
|
|
|
437
437
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
438
438
|
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);
|
|
439
439
|
}
|
|
440
|
-
return (h(Host, Object.assign({ key: '
|
|
440
|
+
return (h(Host, Object.assign({ key: '88e2d57b1de7194aa5e62eb9b4c7fe555b97060d', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
441
441
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
442
|
-
}, 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: '
|
|
442
|
+
}, 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')))));
|
|
443
443
|
}
|
|
444
444
|
static get is() { return "ion-toast"; }
|
|
445
445
|
static get encapsulation() { return "shadow"; }
|
|
@@ -338,7 +338,7 @@ export class Toggle {
|
|
|
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: '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, {
|
|
342
342
|
[theme]: true,
|
|
343
343
|
'in-item': hostContext('ion-item', el),
|
|
344
344
|
'toggle-activated': activated,
|
|
@@ -350,10 +350,10 @@ export class Toggle {
|
|
|
350
350
|
[`toggle-${rtl}`]: true,
|
|
351
351
|
'ion-activatable': isIonicTheme,
|
|
352
352
|
'ion-focusable': isIonicTheme,
|
|
353
|
-
}) }, h("label", { key: '
|
|
353
|
+
}) }, 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: {
|
|
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: '5af5c0e3601736090cfed56c3c88e08193654561' }), this.renderHintText()), h("div", { key: 'f1004334510fea20be01f2170627fa1839f42be5', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
357
357
|
}
|
|
358
358
|
static get is() { return "ion-toggle"; }
|
|
359
359
|
static get encapsulation() { return "shadow"; }
|
|
@@ -207,10 +207,10 @@ export class Toolbar {
|
|
|
207
207
|
this.childrenStyles.forEach((style) => {
|
|
208
208
|
Object.assign(childStyles, style);
|
|
209
209
|
});
|
|
210
|
-
return (h(Host, { key: '
|
|
210
|
+
return (h(Host, { key: '2c88dcfd26c7d24aaf479d1d993b5562d3619f6b', class: Object.assign(Object.assign({}, createColorClasses(this.color, {
|
|
211
211
|
[theme]: true,
|
|
212
212
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
213
|
-
})), childStyles) }, h("div", { key: '
|
|
213
|
+
})), 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 }))));
|
|
214
214
|
}
|
|
215
215
|
static get is() { return "ion-toolbar"; }
|
|
216
216
|
static get encapsulation() { return "shadow"; }
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-12-
|
|
2
|
+
"timestamp": "2025-12-03T17:33:00",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.38.0",
|
|
@@ -30492,7 +30492,7 @@
|
|
|
30492
30492
|
},
|
|
30493
30493
|
{
|
|
30494
30494
|
"filePath": "src/components/radio-group/radio-group.tsx",
|
|
30495
|
-
"encapsulation": "
|
|
30495
|
+
"encapsulation": "shadow",
|
|
30496
30496
|
"tag": "ion-radio-group",
|
|
30497
30497
|
"docs": "",
|
|
30498
30498
|
"docsTags": [
|
|
@@ -30758,7 +30758,20 @@
|
|
|
30758
30758
|
],
|
|
30759
30759
|
"styles": [],
|
|
30760
30760
|
"slots": [],
|
|
30761
|
-
"parts": [
|
|
30761
|
+
"parts": [
|
|
30762
|
+
{
|
|
30763
|
+
"name": "error-text",
|
|
30764
|
+
"docs": ""
|
|
30765
|
+
},
|
|
30766
|
+
{
|
|
30767
|
+
"name": "helper-text",
|
|
30768
|
+
"docs": ""
|
|
30769
|
+
},
|
|
30770
|
+
{
|
|
30771
|
+
"name": "top",
|
|
30772
|
+
"docs": ""
|
|
30773
|
+
}
|
|
30774
|
+
],
|
|
30762
30775
|
"dependents": [
|
|
30763
30776
|
"ion-select-modal",
|
|
30764
30777
|
"ion-select-popover"
|
|
@@ -1227,7 +1227,7 @@ const RouterOutlet = class {
|
|
|
1227
1227
|
return true;
|
|
1228
1228
|
}
|
|
1229
1229
|
render() {
|
|
1230
|
-
return h("slot", { key: '
|
|
1230
|
+
return h("slot", { key: '3bd64be4bba02446bf9086d9381d67dff31b5077' });
|
|
1231
1231
|
}
|
|
1232
1232
|
get el() { return getElement(this); }
|
|
1233
1233
|
static get watchers() { return {
|
|
@@ -1265,11 +1265,11 @@ const ToolbarTitle = class {
|
|
|
1265
1265
|
render() {
|
|
1266
1266
|
const theme = getIonTheme(this);
|
|
1267
1267
|
const size = this.getSize();
|
|
1268
|
-
return (h(Host, { key: '
|
|
1268
|
+
return (h(Host, { key: '770c002757fc29f57277da78e25ac426346eaed9', class: createColorClasses(this.color, {
|
|
1269
1269
|
[theme]: true,
|
|
1270
1270
|
[`title-${size}`]: true,
|
|
1271
1271
|
'title-rtl': document.dir === 'rtl',
|
|
1272
|
-
}) }, h("div", { key: '
|
|
1272
|
+
}) }, h("div", { key: 'fb2d65cc98575d310f9dbcf8d5b2b8a8d6f87e57', class: "toolbar-title" }, h("slot", { key: '73d0c525b1acde370a1460008e7c0145ae5d7e4b' }))));
|
|
1273
1273
|
}
|
|
1274
1274
|
get el() { return getElement(this); }
|
|
1275
1275
|
static get watchers() { return {
|
|
@@ -1478,10 +1478,10 @@ const Toolbar = class {
|
|
|
1478
1478
|
this.childrenStyles.forEach((style) => {
|
|
1479
1479
|
Object.assign(childStyles, style);
|
|
1480
1480
|
});
|
|
1481
|
-
return (h(Host, { key: '
|
|
1481
|
+
return (h(Host, { key: '2c88dcfd26c7d24aaf479d1d993b5562d3619f6b', class: Object.assign(Object.assign({}, createColorClasses(this.color, {
|
|
1482
1482
|
[theme]: true,
|
|
1483
1483
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
1484
|
-
})), childStyles) }, h("div", { key: '
|
|
1484
|
+
})), 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 }))));
|
|
1485
1485
|
}
|
|
1486
1486
|
get el() { return getElement(this); }
|
|
1487
1487
|
};
|
|
@@ -159,9 +159,9 @@ const Thumbnail = class {
|
|
|
159
159
|
}
|
|
160
160
|
render() {
|
|
161
161
|
const theme = getIonTheme(this);
|
|
162
|
-
return (h(Host, { key: '
|
|
162
|
+
return (h(Host, { key: '670c8628ac609877cf628e7301223a43d808535b', class: {
|
|
163
163
|
[theme]: true,
|
|
164
|
-
} }, h("slot", { key: '
|
|
164
|
+
} }, h("slot", { key: 'e766b13c6cf4167edfeda2d21654c1e778125955' })));
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
167
|
Thumbnail.style = thumbnailCss;
|
|
@@ -140,9 +140,9 @@ const Row = class {
|
|
|
140
140
|
}
|
|
141
141
|
render() {
|
|
142
142
|
const theme = getIonTheme(this);
|
|
143
|
-
return (h(Host, { key: '
|
|
143
|
+
return (h(Host, { key: 'd1816dec9a51e6ec6c7ddecc6968a89ae526d447', class: {
|
|
144
144
|
[theme]: true,
|
|
145
|
-
} }, h("slot", { key: '
|
|
145
|
+
} }, h("slot", { key: 'f8d0c70fc77f5be3791251e0f03208ece6af517f' })));
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
Row.style = rowCss;
|