@ionic/core 8.7.6-dev.11762427934.1558d09f → 8.7.6-dev.11762446926.123acdf7
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 +3 -3
- package/components/content.js +3 -3
- package/components/header.js +2 -2
- package/components/ion-card-content.js +7 -8
- package/components/ion-card-header.js +2 -2
- package/components/ion-card-subtitle.js +2 -2
- package/components/ion-card-title.js +2 -2
- package/components/ion-chip.js +2 -2
- package/components/ion-col.js +2 -2
- package/components/ion-datetime-button.js +2 -2
- package/components/ion-datetime.js +2 -2
- package/components/ion-divider.js +2 -2
- package/components/ion-fab-button.js +2 -2
- package/components/ion-fab-list.js +2 -2
- package/components/ion-fab.js +2 -2
- package/components/ion-footer.js +2 -2
- package/components/ion-grid.js +2 -2
- package/components/ion-img.js +2 -2
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +3 -3
- package/components/ion-input-password-toggle.js +3 -3
- package/components/ion-input.js +4 -4
- 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 +3 -3
- package/components/ion-tab-button.js +3 -3
- 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/list.js +1 -1
- package/components/modal.js +4 -4
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +3 -3
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +2 -2
- 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/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +11 -13
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-divider.cjs.entry.js +2 -2
- package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +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 +6 -6
- 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/card-content/card-content.ionic.css +4 -7
- package/dist/collection/components/card-content/card-content.ios.css +14 -14
- package/dist/collection/components/card-content/card-content.js +3 -4
- package/dist/collection/components/card-content/card-content.md.css +14 -14
- package/dist/collection/components/card-header/card-header.js +2 -2
- package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
- package/dist/collection/components/card-title/card-title.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/datetime/datetime.js +2 -2
- package/dist/collection/components/datetime-button/datetime-button.js +2 -2
- package/dist/collection/components/divider/divider.js +2 -2
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +3 -3
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +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.ionic.css +1 -13
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.ionic.css +0 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +2 -2
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +11 -13
- package/dist/esm/ion-checkbox.entry.js +3 -3
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +6 -6
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +6 -6
- package/dist/esm/ion-divider.entry.js +2 -2
- package/dist/esm/ion-fab_3.entry.js +6 -6
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +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 +6 -6
- 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-16c5a01c.entry.js → p-03d25ce5.entry.js} +1 -1
- package/dist/ionic/{p-ecc8aebb.entry.js → p-15e5d054.entry.js} +1 -1
- package/dist/ionic/{p-90320028.entry.js → p-1a920cdb.entry.js} +1 -1
- package/dist/ionic/{p-88ef6829.entry.js → p-21aee5b7.entry.js} +1 -1
- package/dist/ionic/{p-56a9319e.entry.js → p-2dfbae3f.entry.js} +1 -1
- package/dist/ionic/{p-844bd58c.entry.js → p-2e9373ba.entry.js} +1 -1
- package/dist/ionic/{p-59e6c978.entry.js → p-325c3304.entry.js} +1 -1
- package/dist/ionic/p-43d72b76.entry.js +4 -0
- package/dist/ionic/{p-f8a835d0.entry.js → p-48b1b019.entry.js} +1 -1
- package/dist/ionic/{p-db90b95a.entry.js → p-49217750.entry.js} +1 -1
- package/dist/ionic/{p-3622a9ea.entry.js → p-493b739a.entry.js} +1 -1
- package/dist/ionic/{p-f3de58bd.entry.js → p-4e349265.entry.js} +1 -1
- package/dist/ionic/{p-2bab0853.entry.js → p-5121535d.entry.js} +1 -1
- package/dist/ionic/{p-83a116e6.entry.js → p-5c4a86bc.entry.js} +1 -1
- package/dist/ionic/{p-9bee2bdd.entry.js → p-5c76d65d.entry.js} +1 -1
- package/dist/ionic/p-5feb1aec.entry.js +4 -0
- package/dist/ionic/{p-dcfb2b1d.entry.js → p-67bb35ab.entry.js} +1 -1
- package/dist/ionic/{p-64385b66.entry.js → p-687242ec.entry.js} +1 -1
- package/dist/ionic/{p-ff757a50.entry.js → p-6afa042a.entry.js} +1 -1
- package/dist/ionic/{p-a57c0cce.entry.js → p-6b13c6c1.entry.js} +1 -1
- package/dist/ionic/{p-418e4330.entry.js → p-6e079661.entry.js} +1 -1
- package/dist/ionic/{p-66397fac.entry.js → p-75c553c0.entry.js} +1 -1
- package/dist/ionic/p-77da86d1.entry.js +4 -0
- package/dist/ionic/{p-4261dc5d.entry.js → p-875e46fd.entry.js} +1 -1
- package/dist/ionic/{p-2e19a4dd.entry.js → p-89346674.entry.js} +1 -1
- package/dist/ionic/p-8d1ebcd0.entry.js +4 -0
- package/dist/ionic/{p-86b82096.entry.js → p-9978eeb9.entry.js} +1 -1
- package/dist/ionic/p-9a31abcd.entry.js +4 -0
- package/dist/ionic/{p-7d450184.entry.js → p-9a80a61f.entry.js} +1 -1
- package/dist/ionic/{p-b2291ef0.entry.js → p-9d649ff0.entry.js} +1 -1
- package/dist/ionic/{p-c775e3c0.entry.js → p-a2583cce.entry.js} +1 -1
- package/dist/ionic/{p-a1128f7f.entry.js → p-a3299f26.entry.js} +1 -1
- package/dist/ionic/{p-91966afa.entry.js → p-a61d1f23.entry.js} +1 -1
- package/dist/ionic/{p-e9dd8600.entry.js → p-a98829dd.entry.js} +1 -1
- package/dist/ionic/{p-b26aeaf8.entry.js → p-ad8f157e.entry.js} +1 -1
- package/dist/ionic/{p-28571945.entry.js → p-b2951be0.entry.js} +1 -1
- package/dist/ionic/{p-c2f738d2.entry.js → p-b5d51634.entry.js} +1 -1
- package/dist/ionic/{p-87678140.entry.js → p-c1448dbf.entry.js} +1 -1
- package/dist/ionic/{p-81770a5c.entry.js → p-cc3ec408.entry.js} +1 -1
- package/dist/ionic/p-ce61e4b4.entry.js +4 -0
- package/dist/ionic/{p-23e4b68a.entry.js → p-eadd22a8.entry.js} +1 -1
- package/dist/ionic/{p-e28d6a81.entry.js → p-eef5cef8.entry.js} +1 -1
- package/dist/ionic/{p-59a79bd9.entry.js → p-efefd9cd.entry.js} +1 -1
- package/dist/ionic/{p-6fac73e6.entry.js → p-f20f9e12.entry.js} +1 -1
- package/dist/ionic/p-f33349c8.entry.js +4 -0
- package/dist/ionic/{p-642b022d.entry.js → p-f62d555b.entry.js} +1 -1
- package/hydrate/index.js +165 -167
- package/hydrate/index.mjs +165 -167
- package/package.json +1 -1
- package/dist/ionic/p-3cb3d194.entry.js +0 -4
- package/dist/ionic/p-89743bba.entry.js +0 -4
- package/dist/ionic/p-ce510c06.entry.js +0 -4
- package/dist/ionic/p-cea1ee31.entry.js +0 -4
- package/dist/ionic/p-d1c60c1c.entry.js +0 -4
- package/dist/ionic/p-ec02238a.entry.js +0 -4
- package/dist/ionic/p-ef32f7dd.entry.js +0 -4
|
@@ -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: '26f881646cda57e9deca9d479d90f844c476063e', 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: '556d750558f7a3bea2ed2e1e75758dc2b14bb39c', "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: 'acb1b79cf8159fda0e86fe668633a8df29bd9352', class: "button-inner" }, h("slot", { key: '0c035f26be096605c975763c34ddd6eb29ac660e' })), theme === 'md' && h("ion-ripple-effect", { key: 'f85da2793608ebc7fadbbea2cf128bec069be98e' })), h("div", { key: 'ef5bd54482ad94497a6a75c908ca0bc270479f51', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: '8ba6b0aed544b72566ea0ad3059683fc67fa900d', 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: '944277fe4b3bc674688cb81008e4a3102fb7f3e2' }, h("slot", { key: '85bb9874479da65d52203434d32a98c7b8c47a87' })));
|
|
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: '230d33d3d25640e7a16b69d94886aa1c30d95119', class: {
|
|
103
103
|
'segment-view-disabled': disabled,
|
|
104
104
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
105
|
-
} }, h("slot", { key: '
|
|
105
|
+
} }, h("slot", { key: '0e998f186e7e58148c5a2fd6f83e6a9aa8705d80' })));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "ion-segment-view"; }
|
|
108
108
|
static get encapsulation() { return "shadow"; }
|
|
@@ -853,7 +853,7 @@ export class Select {
|
|
|
853
853
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
854
854
|
*/
|
|
855
855
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
856
|
-
return (h(Host, { key: '
|
|
856
|
+
return (h(Host, { key: '72b7f138f7bdc7fbd768929f67765b57edd9abae', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
857
857
|
[theme]: true,
|
|
858
858
|
'in-item': inItem,
|
|
859
859
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -872,7 +872,7 @@ export class Select {
|
|
|
872
872
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
873
873
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
874
874
|
[`select-size-${size}`]: size !== undefined,
|
|
875
|
-
}) }, h("label", { key: '
|
|
875
|
+
}) }, h("label", { key: '70187887592d27bb76c0633916606a4fa89a9e2a', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '68c30ba451721a63ddfed0a6c80a9e9ded596f3b', class: "select-wrapper-inner" },
|
|
876
876
|
/**
|
|
877
877
|
* For the ionic theme, we render the outline container here
|
|
878
878
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -882,7 +882,7 @@ export class Select {
|
|
|
882
882
|
* <label> element, ensuring that clicking the label text
|
|
883
883
|
* focuses the select.
|
|
884
884
|
*/
|
|
885
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
885
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '772e2cdd052b1a9398e1577c0e1e4614350df7c1', class: "select-outline" }), h("slot", { key: 'b51e29ea570f0399d0c4210896ce1ad6e135e3e8', name: "start" }), h("div", { key: '37d36fa1d43361df32b5def690694b25d762698b', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '014bff14093d2b7ab4d7232dec4fc35b75bdbc86', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: '791b0d7457fca2ae1a6381fc87f7f2de20208b7f', class: "select-highlight" })), this.renderBottomContent()));
|
|
886
886
|
}
|
|
887
887
|
static get is() { return "ion-select"; }
|
|
888
888
|
static get encapsulation() { return "shadow"; }
|
|
@@ -75,7 +75,7 @@ export class SelectModal {
|
|
|
75
75
|
} }, option.text))));
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
|
-
return (h(Host, { key: '
|
|
78
|
+
return (h(Host, { key: '3bade4782f8710fc56655da42603b4038ce1e343', class: getIonMode(this) }, h("ion-header", { key: '5cea916aa6c446c76358663817245e136c493bfa' }, h("ion-toolbar", { key: '1a1c880d07aee64b6daf36f1bf5d5a5b00999ad9' }, this.header !== undefined && h("ion-title", { key: '9a302bf19317be99b8f26aab5a584ba2762cd3c2' }, this.header), h("ion-buttons", { key: 'be6e48d24d15411826be9a2dbbd8934f8e6abe94', slot: "end" }, h("ion-button", { key: '97e984e5849dae209d394404fdf75c635252f464', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: '66e97064d5c77c228e73d8a779043d152c5b62f3' }, h("ion-list", { key: 'eb77ea5c963b1ad4fd1f9a8ebe684ec2cf132647' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "ion-select-modal"; }
|
|
81
81
|
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: 'a26b8368365cc14ddf2ad294ad0b9505848f3273', 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: '2764acada914c0b9499200ba9cb60a74812d9d05', class: {
|
|
109
109
|
[theme]: true,
|
|
110
|
-
} }, h("ion-list", { key: '
|
|
110
|
+
} }, h("ion-list", { key: '639bb6dd6085e213e8121268e09d74de664e3f38' }, header !== undefined && h("ion-list-header", { key: '38201b907a124154ca7d43d2296936772cd612b3' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: 'b96c1a42e7c5debd67ca4fe1e55a2c92be1c85b7' }, h("ion-label", { key: '434fb427dff7e4034d47f0d85903dd83a2304a92', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: '6db83afdc3f5b9c30f74e72c6d712b8f15951d84' }, subHeader), message !== undefined && h("p", { key: '1fc24e198cc922c2892ed1123c840c9be1989ed9' }, 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: 'e3c73ecba79ec4b58b517f42a9b41be587615603', class: {
|
|
36
36
|
[theme]: true,
|
|
37
37
|
'skeleton-text-animated': animated,
|
|
38
38
|
'in-media': inMedia,
|
|
39
|
-
} }, h("span", { key: '
|
|
39
|
+
} }, h("span", { key: '188c3bb600e248e93f48a89b900946ec9125b40f' }, "\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: '704525eb8a4ae35f02bcfd8bcf2dbd885924bce0', 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: 'a4f325e5006fc93ee37c728dea11554aacb6b776', 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: '07b467fff5cf19c03a721ed38d108e4c319ee455' })));
|
|
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: 'ac603415ec3e292362fe56eeeaf9d50706f87b6b', 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: '5479d65a7523d3b219b202dd0a09156348310aa6' })));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "ion-tab"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -131,18 +131,6 @@
|
|
|
131
131
|
gap: var(--token-space-300, var(--token-scale-300, 12px));
|
|
132
132
|
box-shadow: var(--token-elevation-2, 0px 1px 5px 0px rgba(0, 0, 0, 0.05), 0px 8px 25px 0px rgba(0, 0, 0, 0.08));
|
|
133
133
|
z-index: 10;
|
|
134
|
-
/*
|
|
135
|
-
* In case there are more tab buttons than can fit in the tab bar, enable
|
|
136
|
-
* horizontal scrolling.
|
|
137
|
-
*/
|
|
138
|
-
overflow: auto hidden;
|
|
139
|
-
justify-content: unset;
|
|
140
|
-
/*
|
|
141
|
-
* Ensure the tab bar does not grow larger than the viewport width.
|
|
142
|
-
* Useful for when the tab buttons have large labels, allowing the space
|
|
143
|
-
* to be evenly divided among the buttons.
|
|
144
|
-
*/
|
|
145
|
-
max-width: 100%;
|
|
146
134
|
}
|
|
147
135
|
|
|
148
136
|
/* Full */
|
|
@@ -179,7 +167,7 @@
|
|
|
179
167
|
}
|
|
180
168
|
|
|
181
169
|
:host([slot=bottom].tab-bar-compact) {
|
|
182
|
-
bottom: calc(var(--token-space-
|
|
170
|
+
bottom: calc(var(--token-space-100, var(--token-scale-100, 4px)) + var(--ion-safe-area-bottom, 0));
|
|
183
171
|
}
|
|
184
172
|
|
|
185
173
|
/* Soft */
|
|
@@ -78,13 +78,13 @@ export class TabBar {
|
|
|
78
78
|
const theme = getIonTheme(this);
|
|
79
79
|
const shape = this.getShape();
|
|
80
80
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
81
|
-
return (h(Host, { key: '
|
|
81
|
+
return (h(Host, { key: '2a5f31ff14760f639d2ee8f04c190e26296e50ff', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
|
|
82
82
|
[theme]: true,
|
|
83
83
|
'tab-bar-translucent': translucent,
|
|
84
84
|
'tab-bar-hidden': shouldHide,
|
|
85
85
|
[`tab-bar-${expand}`]: true,
|
|
86
86
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
87
|
-
}) }, h("slot", { key: '
|
|
87
|
+
}) }, h("slot", { key: 'ca45034a8f8681b14ee0ff31738acd5e53ed0197' })));
|
|
88
88
|
}
|
|
89
89
|
static get is() { return "ion-tab-bar"; }
|
|
90
90
|
static get encapsulation() { return "shadow"; }
|
|
@@ -204,10 +204,8 @@ ion-ripple-effect {
|
|
|
204
204
|
text-transform: none;
|
|
205
205
|
position: relative;
|
|
206
206
|
align-content: center;
|
|
207
|
-
flex: 1;
|
|
208
207
|
min-height: var(--token-scale-1200, 48px);
|
|
209
208
|
max-height: var(--token-scale-1800, 72px);
|
|
210
|
-
min-width: var(--token-scale-1200, 48px);
|
|
211
209
|
}
|
|
212
210
|
|
|
213
211
|
.button-native {
|
|
@@ -84,7 +84,7 @@ export class TabButton {
|
|
|
84
84
|
rel,
|
|
85
85
|
target,
|
|
86
86
|
};
|
|
87
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: 'fca9709b6b885ebc6653b7dfa10352a3e2156daf', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
88
88
|
[theme]: true,
|
|
89
89
|
'tab-selected': selected,
|
|
90
90
|
'tab-disabled': disabled,
|
|
@@ -97,7 +97,7 @@ export class TabButton {
|
|
|
97
97
|
'ion-selectable': true,
|
|
98
98
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
99
99
|
'ion-focusable': true,
|
|
100
|
-
} }, h("a", Object.assign({ key: '
|
|
100
|
+
} }, h("a", Object.assign({ key: '725d5dd131d6f7c9745bc40bdffa1df5dd55774f' }, 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: '3effd4b0337ab6478ff9a270e7a39a7c35eabbf7', class: "button-inner" }, h("slot", { key: 'cc3c5481607538131cca5f5a23dbd32c61b9c43c' })), theme === 'md' && h("ion-ripple-effect", { key: '764192a9cbfae6cd926d65e96dc8794c66637938', type: "unbounded" }))));
|
|
101
101
|
}
|
|
102
102
|
static get is() { return "ion-tab-button"; }
|
|
103
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -166,7 +166,7 @@ export class Tabs {
|
|
|
166
166
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
167
167
|
}
|
|
168
168
|
render() {
|
|
169
|
-
return (h(Host, { key: '
|
|
169
|
+
return (h(Host, { key: '285723cb35f51f827816f75d631300248d860148', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: 'a996cd3ace3b3b9df403a46d2c974a85bf57afb3', name: "top" }), h("div", { key: '2bd97d59dc60768f03cae9b53973f2f309b9b5c1', class: "tabs-inner" }, h("slot", { key: 'ccc929eef96e95405b298608ae48690b5b04e604' })), h("slot", { key: 'f560237968e6006b7f616aa713dec5f3039e5941', name: "bottom" })));
|
|
170
170
|
}
|
|
171
171
|
static get is() { return "ion-tabs"; }
|
|
172
172
|
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: '60791ccd4ebff01f8d1e08aea3629bdb24417ceb', class: createColorClasses(this.color, {
|
|
15
15
|
[theme]: true,
|
|
16
|
-
}) }, h("slot", { key: '
|
|
16
|
+
}) }, h("slot", { key: 'f00eb5c2bf018cae858035ddef52c02d59d3042d' })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "ion-text"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -505,7 +505,7 @@ export class Textarea {
|
|
|
505
505
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
506
506
|
*/
|
|
507
507
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
508
|
-
return (h(Host, { key: '
|
|
508
|
+
return (h(Host, { key: '32e36765de4b2b063285f999bd9f27d7096bf2b1', class: createColorClasses(this.color, {
|
|
509
509
|
[theme]: true,
|
|
510
510
|
'has-value': hasValue,
|
|
511
511
|
'has-focus': hasFocus,
|
|
@@ -516,7 +516,7 @@ export class Textarea {
|
|
|
516
516
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
517
517
|
'textarea-disabled': disabled,
|
|
518
518
|
'textarea-readonly': readonly,
|
|
519
|
-
}) }, h("label", { key: '
|
|
519
|
+
}) }, h("label", { key: '3ecfc384ecccb68f57f0b3cd5e385dceca14e056', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: 'fe1bed498621552f39942894df4fad23076cca01', class: "textarea-wrapper-inner" },
|
|
520
520
|
/**
|
|
521
521
|
* For the ionic theme, we render the outline container here
|
|
522
522
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -526,7 +526,7 @@ export class Textarea {
|
|
|
526
526
|
* <label> element, ensuring that clicking the label text
|
|
527
527
|
* focuses the textarea.
|
|
528
528
|
*/
|
|
529
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
529
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '08fc32b51c8bda6c225da04934528bbda7588bc4', class: "textarea-outline" }), h("div", { key: '602528104b6ee690efcf7433188d549d71e71ca6', class: "start-slot-wrapper" }, h("slot", { key: 'e999738cc3becede42fde8fc0813b011a719202b', name: "start" })), h("div", { key: '2f6f520049b44393d569bff95f0968c97ac4c482', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: '5282db67f49a56d028c2c1bcb366c7749d904b6c', 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: 'da60fd00d5f630c280d1ffa714a80c584c954294', class: "end-slot-wrapper" }, h("slot", { key: '59b101eb049f887425de0120386608546fe2d717', name: "end" }))), shouldRenderHighlight && h("div", { key: '4ad2042681f9a9dcd96c88f99bcf27138745f1df', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
530
530
|
}
|
|
531
531
|
static get is() { return "ion-textarea"; }
|
|
532
532
|
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: 'adffcb86964fae721b0d3f193c0944448fbffc60', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: '7ec02fa925ec4b950b8374131c00c37e1c96c82d' })));
|
|
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: '3729a87a2d51819f5df791d0c2c8e22117bc78c9', 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: 'ef9ad4dc15aad7cb412aa74104c6788d29630b73', class: "toolbar-title" }, h("slot", { key: '7e459b8feae90082366679dc8def3537174f9345' }))));
|
|
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: '5b8dc2c49ce8da4fb49cedc1ae2cb5cf0465be5f', 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: 'eca7fbab9857fedc3f7d6cea69ab0751c85a5658', class: wrapperClass }, h("div", { key: 'bdc984633439f62f660b043a38add65e31bef66e', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: '5707305af3a2fc4fa426e9983dec0b9bf9df8ded', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '7fa8153f024a93bf04c607a328618b8553bc422e', 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"; }
|
|
@@ -293,7 +293,7 @@ export class Toggle {
|
|
|
293
293
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
294
294
|
const isIonicTheme = theme === 'ionic';
|
|
295
295
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
296
|
-
return (h(Host, { key: '
|
|
296
|
+
return (h(Host, { key: 'ba80e0271f2f026410f082d3af00307ba64177f7', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === errorTextId, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, class: createColorClasses(color, {
|
|
297
297
|
[theme]: true,
|
|
298
298
|
'in-item': hostContext('ion-item', el),
|
|
299
299
|
'toggle-activated': activated,
|
|
@@ -305,10 +305,10 @@ export class Toggle {
|
|
|
305
305
|
[`toggle-${rtl}`]: true,
|
|
306
306
|
'ion-activatable': isIonicTheme,
|
|
307
307
|
'ion-focusable': isIonicTheme,
|
|
308
|
-
}) }, h("label", { key: '
|
|
308
|
+
}) }, h("label", { key: '8782b2199a21c8395d94864cd3a3d3178bae0f4b', class: "toggle-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: 'e35112e3fd3edd8012ad2d48110df89a73804fee', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, inheritedAttributes)), h("div", { key: 'c0390b0f3c9bf13518ebc6ec108d3f2cb453e2ff', class: {
|
|
309
309
|
'label-text-wrapper': true,
|
|
310
310
|
'label-text-wrapper-hidden': !hasLabel,
|
|
311
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '
|
|
311
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: 'd6313cf3f615508e5d195863330cd60540418dd1' }), this.renderHintText()), h("div", { key: 'f17f8812c48adb2a5aa6898333943298f8521a87', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
312
312
|
}
|
|
313
313
|
static get is() { return "ion-toggle"; }
|
|
314
314
|
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: 'b69dcd7a5489c020974dbc99428dc19c60d35baf', 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: 'db4dd0375645d9fa5afe64918f6d02a015eeac54', class: "toolbar-background", part: "background" }), h("div", { key: 'cbc1125f1098a2f2ab1d74bef2f31f51ba7c3616', class: "toolbar-container", part: "container" }, h("slot", { key: '481ac56c95762f54f9c2a0ec733319a420899c59', name: "start", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '59df83b2f418a83377d9e74e1a73fd1a87eec9da', name: "secondary", onSlotchange: () => this.updateSlotClasses }), h("div", { key: '4f4d84081880239ed3e1035b69517d769f0a9531', class: "toolbar-content", part: "content" }, h("slot", { key: '3942de02118b0b927b270183074445d00745226e' })), h("slot", { key: '1f00e52f09c315eddaa4b7d8cc80e5b5e618c12e', name: "primary", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '7c749057d8d86270b0771c52bd44621eb2c5d200', 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-11-
|
|
2
|
+
"timestamp": "2025-11-06T16:37:48",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.38.0",
|
|
@@ -7156,7 +7156,7 @@
|
|
|
7156
7156
|
},
|
|
7157
7157
|
{
|
|
7158
7158
|
"filePath": "src/components/card-content/card-content.tsx",
|
|
7159
|
-
"encapsulation": "
|
|
7159
|
+
"encapsulation": "shadow",
|
|
7160
7160
|
"tag": "ion-card-content",
|
|
7161
7161
|
"docs": "",
|
|
7162
7162
|
"docsTags": [
|
|
@@ -441,7 +441,7 @@ const Content = class {
|
|
|
441
441
|
const forceOverscroll = this.shouldForceOverscroll(mode);
|
|
442
442
|
const transitionShadow = theme === 'ios';
|
|
443
443
|
this.resize();
|
|
444
|
-
return (h(Host, Object.assign({ key: '
|
|
444
|
+
return (h(Host, Object.assign({ key: 'bb748c71d1b37dd18e39d4993a02e259a5797ee5', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
|
|
445
445
|
[theme]: true,
|
|
446
446
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
447
447
|
overscroll: forceOverscroll,
|
|
@@ -449,12 +449,12 @@ const Content = class {
|
|
|
449
449
|
}), style: {
|
|
450
450
|
'--offset-top': `${this.cTop}px`,
|
|
451
451
|
'--offset-bottom': `${this.cBottom}px`,
|
|
452
|
-
} }, inheritedAttributes), h("div", { key: '
|
|
452
|
+
} }, inheritedAttributes), h("div", { key: '2f5df1e55ba6425f5fdf46887be023d2b76f28a9', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? h("slot", { name: "fixed" }) : null, h("div", { key: '809f63d3a58637dec2fb854f38733c3f7879b439', class: {
|
|
453
453
|
'inner-scroll': true,
|
|
454
454
|
'scroll-x': scrollX,
|
|
455
455
|
'scroll-y': scrollY,
|
|
456
456
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
457
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '
|
|
457
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: 'c7c648ea22a5955170b8eaf1e48ff9799728addc' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? h("slot", { name: "fixed" }) : null));
|
|
458
458
|
}
|
|
459
459
|
get el() { return getElement(this); }
|
|
460
460
|
};
|
|
@@ -631,7 +631,7 @@ const Footer = class {
|
|
|
631
631
|
const theme = getIonTheme(this);
|
|
632
632
|
const tabs = this.el.closest('ion-tabs');
|
|
633
633
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
634
|
-
return (h(Host, { key: '
|
|
634
|
+
return (h(Host, { key: '5b61216dcb168a45472e037f9015c5e0f5bf7356', role: "contentinfo", class: {
|
|
635
635
|
[theme]: true,
|
|
636
636
|
// Used internally for styling
|
|
637
637
|
[`footer-${theme}`]: true,
|
|
@@ -639,7 +639,7 @@ const Footer = class {
|
|
|
639
639
|
[`footer-translucent-${theme}`]: translucent,
|
|
640
640
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
641
641
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
642
|
-
} }, theme === 'ios' && translucent && h("div", { key: '
|
|
642
|
+
} }, theme === 'ios' && translucent && h("div", { key: 'a6af70930e7be3ec51fe692d664304ced53ffe3e', class: "footer-background" }), h("slot", { key: '3591c712d6a3eceb5dc6c7307c32ceff54b1f9a7' })));
|
|
643
643
|
}
|
|
644
644
|
get el() { return getElement(this); }
|
|
645
645
|
};
|
|
@@ -994,7 +994,7 @@ const Header = class {
|
|
|
994
994
|
const collapse = this.collapse || 'none';
|
|
995
995
|
// banner role must be at top level, so remove role if inside a menu
|
|
996
996
|
const roleType = hostContext('ion-menu', this.el) ? 'none' : 'banner';
|
|
997
|
-
return (h(Host, Object.assign({ key: '
|
|
997
|
+
return (h(Host, Object.assign({ key: '6a3ad0b3da7b27c42f96a9a7e2d2380406bfa604', role: roleType, class: {
|
|
998
998
|
[theme]: true,
|
|
999
999
|
// Used internally for styling
|
|
1000
1000
|
[`header-${theme}`]: true,
|
|
@@ -1002,7 +1002,7 @@ const Header = class {
|
|
|
1002
1002
|
[`header-collapse-${collapse}`]: true,
|
|
1003
1003
|
[`header-translucent-${theme}`]: this.translucent,
|
|
1004
1004
|
['header-divider']: divider,
|
|
1005
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && h("div", { key: '
|
|
1005
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && h("div", { key: 'c0464df06d745da49d3163837180b21ec9fc2bdb', class: "header-background" }), h("slot", { key: '304859e675c67154563afb85c8e9358a8a6fb27b' })));
|
|
1006
1006
|
}
|
|
1007
1007
|
get el() { return getElement(this); }
|
|
1008
1008
|
};
|
|
@@ -1189,7 +1189,7 @@ const RouterOutlet = class {
|
|
|
1189
1189
|
return true;
|
|
1190
1190
|
}
|
|
1191
1191
|
render() {
|
|
1192
|
-
return h("slot", { key: '
|
|
1192
|
+
return h("slot", { key: 'e7752a955d59c869efccf59984db64431d692100' });
|
|
1193
1193
|
}
|
|
1194
1194
|
get el() { return getElement(this); }
|
|
1195
1195
|
static get watchers() { return {
|
|
@@ -1227,11 +1227,11 @@ const ToolbarTitle = class {
|
|
|
1227
1227
|
render() {
|
|
1228
1228
|
const theme = getIonTheme(this);
|
|
1229
1229
|
const size = this.getSize();
|
|
1230
|
-
return (h(Host, { key: '
|
|
1230
|
+
return (h(Host, { key: '3729a87a2d51819f5df791d0c2c8e22117bc78c9', class: createColorClasses(this.color, {
|
|
1231
1231
|
[theme]: true,
|
|
1232
1232
|
[`title-${size}`]: true,
|
|
1233
1233
|
'title-rtl': document.dir === 'rtl',
|
|
1234
|
-
}) }, h("div", { key: '
|
|
1234
|
+
}) }, h("div", { key: 'ef9ad4dc15aad7cb412aa74104c6788d29630b73', class: "toolbar-title" }, h("slot", { key: '7e459b8feae90082366679dc8def3537174f9345' }))));
|
|
1235
1235
|
}
|
|
1236
1236
|
get el() { return getElement(this); }
|
|
1237
1237
|
static get watchers() { return {
|
|
@@ -1440,10 +1440,10 @@ const Toolbar = class {
|
|
|
1440
1440
|
this.childrenStyles.forEach((style) => {
|
|
1441
1441
|
Object.assign(childStyles, style);
|
|
1442
1442
|
});
|
|
1443
|
-
return (h(Host, { key: '
|
|
1443
|
+
return (h(Host, { key: 'b69dcd7a5489c020974dbc99428dc19c60d35baf', class: Object.assign(Object.assign({}, createColorClasses(this.color, {
|
|
1444
1444
|
[theme]: true,
|
|
1445
1445
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
1446
|
-
})), childStyles) }, h("div", { key: '
|
|
1446
|
+
})), childStyles) }, h("div", { key: 'db4dd0375645d9fa5afe64918f6d02a015eeac54', class: "toolbar-background", part: "background" }), h("div", { key: 'cbc1125f1098a2f2ab1d74bef2f31f51ba7c3616', class: "toolbar-container", part: "container" }, h("slot", { key: '481ac56c95762f54f9c2a0ec733319a420899c59', name: "start", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '59df83b2f418a83377d9e74e1a73fd1a87eec9da', name: "secondary", onSlotchange: () => this.updateSlotClasses }), h("div", { key: '4f4d84081880239ed3e1035b69517d769f0a9531', class: "toolbar-content", part: "content" }, h("slot", { key: '3942de02118b0b927b270183074445d00745226e' })), h("slot", { key: '1f00e52f09c315eddaa4b7d8cc80e5b5e618c12e', name: "primary", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '7c749057d8d86270b0771c52bd44621eb2c5d200', name: "end", onSlotchange: () => this.updateSlotClasses }))));
|
|
1447
1447
|
}
|
|
1448
1448
|
get el() { return getElement(this); }
|
|
1449
1449
|
};
|
|
@@ -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: 'adffcb86964fae721b0d3f193c0944448fbffc60', class: {
|
|
163
163
|
[theme]: true,
|
|
164
|
-
} }, h("slot", { key: '
|
|
164
|
+
} }, h("slot", { key: '7ec02fa925ec4b950b8374131c00c37e1c96c82d' })));
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
167
|
Thumbnail.style = thumbnailCss;
|