@ionic/core 8.7.6-dev.11762446926.123acdf7 → 8.7.6-dev.11762860091.168e634c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/button.js +1 -1
- package/components/checkbox.js +3 -3
- package/components/content.js +3 -3
- package/components/header.js +2 -2
- package/components/ion-card-content.js +8 -7
- 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 +5 -5
- 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 +10 -3
- 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.ionic.css +1 -1
- package/css/ionic/bundle.ionic.css.map +1 -1
- package/css/ionic/core.ionic.css +1 -1
- package/css/ionic/core.ionic.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-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-card_5.cjs.entry.js +13 -11
- 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 +5 -5
- 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 +9 -2
- 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/button/button.ionic.css +25 -9
- package/dist/collection/components/card-content/card-content.ionic.css +7 -4
- package/dist/collection/components/card-content/card-content.ios.css +14 -14
- package/dist/collection/components/card-content/card-content.js +4 -3
- 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.ionic.css +6 -0
- 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.ionic.css +4 -0
- package/dist/collection/components/select-modal/select-modal.js +9 -2
- 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 +16 -1
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.ionic.css +1 -0
- 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-button_2.entry.js +1 -1
- package/dist/esm/ion-card_5.entry.js +13 -11
- 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 +5 -5
- 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 +10 -3
- 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-0d5fd927.entry.js +4 -0
- package/dist/ionic/{p-6afa042a.entry.js → p-127ae3b5.entry.js} +1 -1
- package/dist/ionic/{p-03d25ce5.entry.js → p-16c5a01c.entry.js} +1 -1
- package/dist/ionic/{p-eadd22a8.entry.js → p-23e4b68a.entry.js} +1 -1
- package/dist/ionic/{p-b2951be0.entry.js → p-28571945.entry.js} +1 -1
- package/dist/ionic/{p-5121535d.entry.js → p-2bab0853.entry.js} +1 -1
- package/dist/ionic/{p-89346674.entry.js → p-2e19a4dd.entry.js} +1 -1
- package/dist/ionic/{p-493b739a.entry.js → p-3622a9ea.entry.js} +1 -1
- package/dist/ionic/p-3cb3d194.entry.js +4 -0
- package/dist/ionic/{p-6e079661.entry.js → p-418e4330.entry.js} +1 -1
- package/dist/ionic/{p-875e46fd.entry.js → p-4261dc5d.entry.js} +1 -1
- package/dist/ionic/{p-2dfbae3f.entry.js → p-56a9319e.entry.js} +1 -1
- package/dist/ionic/{p-efefd9cd.entry.js → p-59a79bd9.entry.js} +1 -1
- package/dist/ionic/{p-325c3304.entry.js → p-59e6c978.entry.js} +1 -1
- package/dist/ionic/{p-f62d555b.entry.js → p-642b022d.entry.js} +1 -1
- package/dist/ionic/{p-687242ec.entry.js → p-64385b66.entry.js} +1 -1
- package/dist/ionic/{p-75c553c0.entry.js → p-66397fac.entry.js} +1 -1
- package/dist/ionic/{p-f20f9e12.entry.js → p-6fac73e6.entry.js} +1 -1
- package/dist/ionic/p-734b6dc2.entry.js +4 -0
- package/dist/ionic/{p-9a80a61f.entry.js → p-7d450184.entry.js} +1 -1
- package/dist/ionic/{p-cc3ec408.entry.js → p-81770a5c.entry.js} +1 -1
- package/dist/ionic/{p-5c4a86bc.entry.js → p-83a116e6.entry.js} +1 -1
- package/dist/ionic/{p-2e9373ba.entry.js → p-844bd58c.entry.js} +1 -1
- package/dist/ionic/{p-9978eeb9.entry.js → p-86b82096.entry.js} +1 -1
- package/dist/ionic/{p-c1448dbf.entry.js → p-87678140.entry.js} +1 -1
- package/dist/ionic/{p-21aee5b7.entry.js → p-88ef6829.entry.js} +1 -1
- package/dist/ionic/p-89743bba.entry.js +4 -0
- package/dist/ionic/{p-1a920cdb.entry.js → p-90320028.entry.js} +1 -1
- package/dist/ionic/p-915944d6.entry.js +4 -0
- package/dist/ionic/{p-a61d1f23.entry.js → p-91966afa.entry.js} +1 -1
- package/dist/ionic/{p-5c76d65d.entry.js → p-9bee2bdd.entry.js} +1 -1
- package/dist/ionic/{p-a3299f26.entry.js → p-a1128f7f.entry.js} +1 -1
- package/dist/ionic/{p-6b13c6c1.entry.js → p-a57c0cce.entry.js} +1 -1
- package/dist/ionic/{p-9d649ff0.entry.js → p-b2291ef0.entry.js} +1 -1
- package/dist/ionic/{p-ad8f157e.entry.js → p-b26aeaf8.entry.js} +1 -1
- package/dist/ionic/{p-b5d51634.entry.js → p-c2f738d2.entry.js} +1 -1
- package/dist/ionic/{p-a2583cce.entry.js → p-c775e3c0.entry.js} +1 -1
- package/dist/ionic/p-ce510c06.entry.js +4 -0
- package/dist/ionic/p-cea1ee31.entry.js +4 -0
- package/dist/ionic/p-d1c60c1c.entry.js +4 -0
- package/dist/ionic/{p-49217750.entry.js → p-db90b95a.entry.js} +1 -1
- package/dist/ionic/{p-67bb35ab.entry.js → p-dcfb2b1d.entry.js} +1 -1
- package/dist/ionic/{p-eef5cef8.entry.js → p-e28d6a81.entry.js} +1 -1
- package/dist/ionic/{p-a98829dd.entry.js → p-e9dd8600.entry.js} +1 -1
- package/dist/ionic/p-ec02238a.entry.js +4 -0
- package/dist/ionic/{p-15e5d054.entry.js → p-ecc8aebb.entry.js} +1 -1
- package/dist/ionic/{p-4e349265.entry.js → p-f3de58bd.entry.js} +1 -1
- package/dist/types/components/select-modal/select-modal.d.ts +1 -0
- package/hydrate/index.js +177 -168
- package/hydrate/index.mjs +177 -168
- package/package.json +1 -1
- package/dist/ionic/p-22c02aea.entry.js +0 -4
- package/dist/ionic/p-43d72b76.entry.js +0 -4
- package/dist/ionic/p-48b1b019.entry.js +0 -4
- package/dist/ionic/p-5feb1aec.entry.js +0 -4
- package/dist/ionic/p-77da86d1.entry.js +0 -4
- package/dist/ionic/p-8d1ebcd0.entry.js +0 -4
- package/dist/ionic/p-9a31abcd.entry.js +0 -4
- package/dist/ionic/p-ce61e4b4.entry.js +0 -4
- package/dist/ionic/p-f33349c8.entry.js +0 -4
|
@@ -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: '1ab6cf909651f167800bb3398a1522c360d03023', 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: '9a78e88197abc7bc4d9fb8f42a56172ee50fcb64', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '51e1ec9bfb08344c8d1ff2fb08ead29ece3fbe6d', 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: '9008f743f2cbeac39cb736e285854e855625f45d', class: "select-outline" }), h("slot", { key: 'a5c981053510d9b19d9097fb0b220d9eaccd61d7', name: "start" }), h("div", { key: '80ba2091466f912ee63a3e4c11334b657f8d9b3d', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '18b657eee882ac2b63c945843d1035f26474aa58', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: '84630c4f5716fd87400da571aa3cf6c1d624694e', class: "select-highlight" })), this.renderBottomContent()));
|
|
886
886
|
}
|
|
887
887
|
static get is() { return "ion-select"; }
|
|
888
888
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { getIonMode } from "../../global/ionic-global";
|
|
5
5
|
import { Host, forceUpdate, h } from "@stencil/core";
|
|
6
6
|
import { safeCall } from "../../utils/overlays";
|
|
7
|
-
import { getClassMap } from "../../utils/theme";
|
|
7
|
+
import { getClassMap, hostContext } from "../../utils/theme";
|
|
8
8
|
export class SelectModal {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.options = [];
|
|
@@ -47,6 +47,13 @@ export class SelectModal {
|
|
|
47
47
|
option.checked = ev.detail.checked;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
+
getModalContextClasses() {
|
|
51
|
+
const el = this.el;
|
|
52
|
+
return {
|
|
53
|
+
'in-modal-default': hostContext('ion-modal.modal-default', el),
|
|
54
|
+
'in-modal-sheet': hostContext('ion-modal.modal-sheet', el),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
50
57
|
renderRadioOptions() {
|
|
51
58
|
const checked = this.options.filter((o) => o.checked).map((o) => o.value)[0];
|
|
52
59
|
return (h("ion-radio-group", { value: checked, onIonChange: (ev) => this.callOptionHandler(ev) }, this.options.map((option) => (h("ion-item", { lines: "none", class: Object.assign({
|
|
@@ -75,7 +82,7 @@ export class SelectModal {
|
|
|
75
82
|
} }, option.text))));
|
|
76
83
|
}
|
|
77
84
|
render() {
|
|
78
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '2ceb196accee272559c43225a859befa68027333', class: Object.assign({ [getIonMode(this)]: true }, this.getModalContextClasses()) }, h("ion-header", { key: 'b0176847bd9ce94e28d72766d6a035a93ff6f10a' }, h("ion-toolbar", { key: '49c2b1cf8e82b1d975cca67b154b149823b47b1f' }, this.header !== undefined && h("ion-title", { key: 'fdc881fd94c07ca38d60e85170d176c7cf4139fb' }, this.header), h("ion-buttons", { key: '8dfc972aa974909ecf2e5782e972b959a900f8c5', slot: "end" }, h("ion-button", { key: 'b862896118bd4da0afc17925eab9dc9ed5269220', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: 'a7f5bf8f88377d978d2c7bdba3abefcc332296a3' }, h("ion-list", { key: '23529677979b9ac63e2cba8d55f7f965489b74c5' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
79
86
|
}
|
|
80
87
|
static get is() { return "ion-select-modal"; }
|
|
81
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: '39af595655b3645c923617fe4d4fa64112008273', 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: '9b5160e6657620038fb4167ab7d08e2687be554b', class: {
|
|
109
109
|
[theme]: true,
|
|
110
|
-
} }, h("ion-list", { key: '
|
|
110
|
+
} }, h("ion-list", { key: '5f015bcc53bf96de3da98f05a73c6e1e7bc3250c' }, header !== undefined && h("ion-list-header", { key: 'e7275a4b3b0b8706b6a89ed9fd4bf1bb6cf274a8' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: 'ca5750144abaf01d613f7ff4923939e6d6f4c0c8' }, h("ion-label", { key: '299735684f529e05f08405b6587dec23fb8d2851', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: 'af85ac2c17050eca4902811a886e7001b92701fe' }, subHeader), message !== undefined && h("p", { key: 'f64006af8f2ffaf41d6d21701efa2d40580796e0' }, message)))), this.renderOptions(options))));
|
|
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: '5014563646b6c5213750d503babce3013b66ec96', class: {
|
|
36
36
|
[theme]: true,
|
|
37
37
|
'skeleton-text-animated': animated,
|
|
38
38
|
'in-media': inMedia,
|
|
39
|
-
} }, h("span", { key: '
|
|
39
|
+
} }, h("span", { key: '4b816883b1c71bb1db66d8b2b084559f7cb489bd' }, "\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: '0b3ce4b99c2c828d05b507c4f073811ebbe17d0f', 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: '9d0c67f1f81b09bb9a6f14a66053e5cc7431a286', 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: 'ab7b3050d3c5484bd00949cf57efa4396b4d5bc3' })));
|
|
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: 'b249545a5adfcef4616afe79aa0f215bab464d0a', 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: '19e2a406d96d20d8d4af8c3ff900e975d06021f6' })));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "ion-tab"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -119,6 +119,16 @@
|
|
|
119
119
|
--border: var(--token-border-size-0, var(--token-scale-0, 0px)) var(--token-border-style-solid, solid) var(--ion-tab-bar-border-color, transparent);
|
|
120
120
|
--color: var(--ion-tab-bar-color, var(--token-primitives-neutral-800, #626262));
|
|
121
121
|
--color-selected: var(--ion-tab-bar-color-selected, var(--token-text-primary, var(--token-semantics-primary-900, var(--token-primitives-blue-900, #0d4bc3))));
|
|
122
|
+
/*
|
|
123
|
+
* In case there's scrolling, justify the content to the start.
|
|
124
|
+
*/
|
|
125
|
+
justify-content: unset;
|
|
126
|
+
/*
|
|
127
|
+
* Ensure the tab bar does not grow larger than the viewport width.
|
|
128
|
+
* Useful for when the tab buttons have large labels, allowing the space
|
|
129
|
+
* to be evenly divided among the buttons.
|
|
130
|
+
*/
|
|
131
|
+
max-width: 100%;
|
|
122
132
|
/**
|
|
123
133
|
* Tab bar has a box sizing of content-box to ensure the padding
|
|
124
134
|
* is not included in the height. This is important for the
|
|
@@ -130,6 +140,11 @@
|
|
|
130
140
|
min-height: calc(var(--token-scale-1400, 56px) - var(--token-space-100, var(--token-scale-100, 4px)) * 2);
|
|
131
141
|
gap: var(--token-space-300, var(--token-scale-300, 12px));
|
|
132
142
|
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));
|
|
143
|
+
/*
|
|
144
|
+
* In case there are more tab buttons than can fit in the tab bar, enable
|
|
145
|
+
* horizontal scrolling.
|
|
146
|
+
*/
|
|
147
|
+
overflow: auto hidden;
|
|
133
148
|
z-index: 10;
|
|
134
149
|
}
|
|
135
150
|
|
|
@@ -167,7 +182,7 @@
|
|
|
167
182
|
}
|
|
168
183
|
|
|
169
184
|
:host([slot=bottom].tab-bar-compact) {
|
|
170
|
-
bottom: calc(var(--token-space-
|
|
185
|
+
bottom: calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--ion-safe-area-bottom, 0));
|
|
171
186
|
}
|
|
172
187
|
|
|
173
188
|
/* 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: '21c2a3f3a8ea77cc2c757c37bb8ccad2016c3c4c', 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: '3b6784b6f6206efcd69327bd224e10ff6225222b' })));
|
|
88
88
|
}
|
|
89
89
|
static get is() { return "ion-tab-bar"; }
|
|
90
90
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '848ea6fa1aff3e7ac9add43a6acb50759653c13b', 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: 'f6081f8ef0220a2b5e232f6b51da8538d68a3e80' }, 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: 'ed8af45092210cfd868adb4eb57dfc6e13a873a0', class: "button-inner" }, h("slot", { key: '253fcce3a920b9d2cae5af2a14872b1e127c7d62' })), theme === 'md' && h("ion-ripple-effect", { key: '5161991db4e08d16da5d0838fe2aee145afd91ad', 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: '36ea7975bf456a6a874d9701a7e81275d85bc4d9', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: 'f4765050fa4b9092b25ea839ad2d10fab7a95bfd', name: "top" }), h("div", { key: 'af7f7caaad51bc7b5fc3ab4ce51e00b067ad002e', class: "tabs-inner" }, h("slot", { key: '1f83638b73c6f9a2a146b32aa07a230e4f65d017' })), h("slot", { key: '8db364ec5fa354682de09a3103b071c0f8bb6b50', 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: '7a3f31d6e219207a1ff98ac441357caa512012e5', class: createColorClasses(this.color, {
|
|
15
15
|
[theme]: true,
|
|
16
|
-
}) }, h("slot", { key: '
|
|
16
|
+
}) }, h("slot", { key: '392d48d6a5e0e5d1b44e762ec96fb8b53b3ebd49' })));
|
|
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: '48e2eabbe846a187efc692742db695556d938aeb', 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: '3e75d1c9688734ced8ed2d093f0f923667e1db6c', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '869a040e9a1cb065f852e1eb0cf96ead4a8313eb', 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: '4d72e9fe76d2b79f1063b293a39f2c04ff490493', class: "textarea-outline" }), h("div", { key: '209f3fb1fc340614c3ad2303604f0445c15838cb', class: "start-slot-wrapper" }, h("slot", { key: '2011ab81e259dbfd3ed731de713d1a9c367ceff9', name: "start" })), h("div", { key: '6c23f82042cbcfdd9b3995968bc8ed741191ef29', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: '1f3ecfcaa9b9e2d83497adbe6c7f0a4ddc8a5cae', 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: '8e0aa4eb359d28f13d3a6df29e76ca439246df01', class: "end-slot-wrapper" }, h("slot", { key: '78bc82fa44eab07e9a596009bc72ced8aebe52a3', name: "end" }))), shouldRenderHighlight && h("div", { key: 'a85b1339432d4e0107b840d746b7bf4f37964df7', 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: '6053cf163155d4268dad4fc81ffc6bbc70d75659', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: 'b7afb5835bce7c7ed9e5cf44758bbe2d802e1271' })));
|
|
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: '8db3e5f9dbd8b1762a9919eaeef29c98649dfb25', 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: 'a31ebae2c494a51d2145eec69d0b1bc635108a01', class: "toolbar-title" }, h("slot", { key: 'f5975b44b3e3afbf98dcbdb53fc78447b49407b3' }))));
|
|
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: '3f25e3c14197723e0c97edb71ddeeccb4f9143b3', 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: 'cec09872b7e08429a62e5cb821e072fa6259e63a', class: wrapperClass }, h("div", { key: '8179d7a3c8b27536e37886a21293d1a6add60306', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: 'ef87a58440d914e4c55b8b3ecaac45f983f35daf', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '56bca03e8501ad921cf2de37faace99a4f59cc71', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
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: '956aeee2151b8cc8239edeaa935475e3019a7b5f', 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: '4aa309eac4fe94639f96d08ae9d09a65fedb271f', class: "toggle-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: '4057524d70ca25e0df76d726d85656f16df655ca', 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: '3b0a476f62f1e183d4b4cbc823c749140ba27d4d', 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: '75a6ccef569eabf17b3d3fba165d8110960832af' }), this.renderHintText()), h("div", { key: 'e2bc757d81ecc56ac40450586d1bc9f87e0ea726', 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: '6f52a5408379012843d0b93ac20c25b868e0211c', 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: '8f79b04f7c26edb4d64b88d1e1a69ee6e4ab8773', class: "toolbar-background", part: "background" }), h("div", { key: '8a682653ea75f07fa583d9b7cf38850294e83448', class: "toolbar-container", part: "container" }, h("slot", { key: '1a4e3289bdc3802cbabdd99d4bd5ab45e10846d8', name: "start", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '5578aaf1d8bf6dba08ab4ac9ccd9b8d8fe6c8ff1', name: "secondary", onSlotchange: () => this.updateSlotClasses }), h("div", { key: 'd4ba11c8daf43ed164a9c89dafdd96c5d2b50a35', class: "toolbar-content", part: "content" }, h("slot", { key: '994952702fe18216044d10a96abbf9cf071612e3' })), h("slot", { key: '2e07d6585687764a0a24bbc1b2f456aec30bfea7', name: "primary", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: 'ebcb8dcde1202d6ced4c251a3b78c30b1153849f', 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-11T11:23:42",
|
|
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": "none",
|
|
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: 'ee94e34dd128cb2a21ef2b370d35e099a1125447', 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: '75954692de33cae260441064d0c4034d818b7de6', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? h("slot", { name: "fixed" }) : null, h("div", { key: '374f5d2da6f15b42df0ad268c2f9a188ac6aedcb', 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: '625c1dc26f6b6c43ade2de6f61a92ae7a8bcbaa7' })), 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: 'e70e2616f69a6205a1c2045bf13a792c9a6bc27c', 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: '72803059c1d82a766a0ce69e5a8a6a3b7e576700', class: "footer-background" }), h("slot", { key: 'de450e4eb8f5c63b11f548061f29d957ef308539' })));
|
|
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: 'f5c81cee59b635b407fcad7732c793c651edb91e', 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: 'd8373a8418756961185de934082142da01b27a26', class: "header-background" }), h("slot", { key: '9fda3dcb16fd09f7f6fa1c345d17cdf130e1e331' })));
|
|
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: '3f107f085a977b4d27c7266771a9564e3219f736' });
|
|
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: '8db3e5f9dbd8b1762a9919eaeef29c98649dfb25', 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: 'a31ebae2c494a51d2145eec69d0b1bc635108a01', class: "toolbar-title" }, h("slot", { key: 'f5975b44b3e3afbf98dcbdb53fc78447b49407b3' }))));
|
|
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: '6f52a5408379012843d0b93ac20c25b868e0211c', 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: '8f79b04f7c26edb4d64b88d1e1a69ee6e4ab8773', class: "toolbar-background", part: "background" }), h("div", { key: '8a682653ea75f07fa583d9b7cf38850294e83448', class: "toolbar-container", part: "container" }, h("slot", { key: '1a4e3289bdc3802cbabdd99d4bd5ab45e10846d8', name: "start", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '5578aaf1d8bf6dba08ab4ac9ccd9b8d8fe6c8ff1', name: "secondary", onSlotchange: () => this.updateSlotClasses }), h("div", { key: 'd4ba11c8daf43ed164a9c89dafdd96c5d2b50a35', class: "toolbar-content", part: "content" }, h("slot", { key: '994952702fe18216044d10a96abbf9cf071612e3' })), h("slot", { key: '2e07d6585687764a0a24bbc1b2f456aec30bfea7', name: "primary", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: 'ebcb8dcde1202d6ced4c251a3b78c30b1153849f', 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: '6053cf163155d4268dad4fc81ffc6bbc70d75659', class: {
|
|
163
163
|
[theme]: true,
|
|
164
|
-
} }, h("slot", { key: '
|
|
164
|
+
} }, h("slot", { key: 'b7afb5835bce7c7ed9e5cf44758bbe2d802e1271' })));
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
167
|
Thumbnail.style = thumbnailCss;
|