@ionic/core 8.7.6-dev.11762446926.123acdf7 → 8.7.6-dev.11762793111.1cac12b3
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 +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +3 -3
- package/components/ion-thumbnail.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/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 +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/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.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +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 +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +3 -3
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-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-77da86d1.entry.js → p-3a6a92ab.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-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 +175 -166
- package/hydrate/index.mjs +175 -166
- 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-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
|
@@ -1387,9 +1387,9 @@ const Popover = class {
|
|
|
1387
1387
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
1388
1388
|
const desktop = isPlatform('desktop');
|
|
1389
1389
|
const enableArrow = arrow && !parentPopover;
|
|
1390
|
-
return (h(Host, Object.assign({ key: '
|
|
1390
|
+
return (h(Host, Object.assign({ key: 'd8cac78e3fda5731eb8a3532ce83a711190a0f1d', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1391
1391
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1392
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '
|
|
1392
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: 'ec62e04664d67c7ef9c43bb77e5baa517ab88e7f', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '1da57db158ecd1f6260369d44f2db5b0791ecd3a', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '22966b014e1a5ff24963dff94cad281200a3b334', class: "popover-arrow", part: "arrow" }), h("div", { key: 'a2b960c96a54c06807e07edc2579b5d459e5d108', class: "popover-content", part: "content" }, h("slot", { key: 'bae331e17437df55a77db538a693ef459f11e78a' })))));
|
|
1393
1393
|
}
|
|
1394
1394
|
get el() { return getElement(this); }
|
|
1395
1395
|
static get watchers() { return {
|
|
@@ -56,7 +56,7 @@ const ProgressBar = class {
|
|
|
56
56
|
const shape = this.getShape();
|
|
57
57
|
// If the progress is displayed as a solid bar.
|
|
58
58
|
const progressSolid = buffer === 1;
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '9adef68c31bdf39d48199e01587f8d5295d4c6af', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
60
60
|
[theme]: true,
|
|
61
61
|
[`progress-bar-${type}`]: true,
|
|
62
62
|
'progress-paused': paused,
|
|
@@ -138,7 +138,7 @@ const Radio = class {
|
|
|
138
138
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
139
139
|
const theme = getIonTheme(this);
|
|
140
140
|
const inItem = hostContext('ion-item', el);
|
|
141
|
-
return (h(Host, { key: '
|
|
141
|
+
return (h(Host, { key: '7ac17b6d0b96104b5baba1bb8c28c37f30005fdd', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
142
142
|
[theme]: true,
|
|
143
143
|
'in-item': inItem,
|
|
144
144
|
'radio-checked': checked,
|
|
@@ -149,10 +149,10 @@ const Radio = class {
|
|
|
149
149
|
// Focus and active styling should not apply when the radio is in an item
|
|
150
150
|
'ion-activatable': !inItem,
|
|
151
151
|
'ion-focusable': !inItem,
|
|
152
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
152
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '41305f13b3025e3876236097131beb7ef8a40515', class: "radio-wrapper" }, h("div", { key: '603d3ac36c227995a3b9f5bd6fa1ec4de4fa304a', class: {
|
|
153
153
|
'label-text-wrapper': true,
|
|
154
154
|
'label-text-wrapper-hidden': !hasLabel,
|
|
155
|
-
}, part: "label" }, h("slot", { key: '
|
|
155
|
+
}, part: "label" }, h("slot", { key: '838d3a84c3ce2aaa31e61ce2b82c6a23818b0908' })), h("div", { key: '3d4ac72bbf52e04a2500782223baac24784f361e', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
156
156
|
}
|
|
157
157
|
get el() { return getElement(this); }
|
|
158
158
|
static get watchers() { return {
|
|
@@ -358,9 +358,9 @@ const RadioGroup = class {
|
|
|
358
358
|
const { label, labelId, el, name, value } = this;
|
|
359
359
|
const theme = getIonTheme(this);
|
|
360
360
|
renderHiddenInput(true, el, name, value, false);
|
|
361
|
-
return (h(Host, { key: '
|
|
361
|
+
return (h(Host, { key: '3eb581e8348cac7c4f8d6b7238b968dd79ec3c35', class: {
|
|
362
362
|
[theme]: true,
|
|
363
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick }, this.renderHintText(), h("div", { key: '
|
|
363
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick }, this.renderHintText(), h("div", { key: '1091e1f540cb2b9241ddbc5ed6a2b28a77557682', class: "radio-group-wrapper" }, h("slot", { key: 'd83c63bcc7b20722f6405db656d5f945b3fb5407' }))));
|
|
364
364
|
}
|
|
365
365
|
get el() { return getElement(this); }
|
|
366
366
|
static get watchers() { return {
|
|
@@ -724,7 +724,7 @@ const Range = class {
|
|
|
724
724
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
725
725
|
const theme = getIonTheme(this);
|
|
726
726
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
727
|
-
return (h(Host, { key: '
|
|
727
|
+
return (h(Host, { key: 'abffed8811679954ae1ccded14b09c1070aec868', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
728
728
|
[theme]: true,
|
|
729
729
|
'in-item': inItem,
|
|
730
730
|
'range-disabled': disabled,
|
|
@@ -733,10 +733,10 @@ const Range = class {
|
|
|
733
733
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
734
734
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
735
735
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
736
|
-
}) }, h("label", { key: '
|
|
736
|
+
}) }, h("label", { key: '4296d7310d335ba9783d96e982159e8563a3ea35', class: "range-wrapper", id: "range-label" }, h("div", { key: '8087acc009ee1287f0ddd483669cd6284ff84004', class: {
|
|
737
737
|
'label-text-wrapper': true,
|
|
738
738
|
'label-text-wrapper-hidden': !hasLabel,
|
|
739
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
739
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: 'fa1207cbb99ccb9a9cc60c2409977c1b925476b0', class: "native-wrapper" }, h("slot", { key: 'fdbe6f0c142f3511e1b526f6d4df195c105660c5', name: "start" }), this.renderRangeSlider(), h("slot", { key: '3f03f148fbd461a7a87c8f2da5e5cba37213ef30', name: "end" })))));
|
|
740
740
|
}
|
|
741
741
|
get el() { return getElement(this); }
|
|
742
742
|
static get watchers() { return {
|
|
@@ -889,7 +889,7 @@ const Refresher = class {
|
|
|
889
889
|
}
|
|
890
890
|
render() {
|
|
891
891
|
const theme = getIonTheme(this);
|
|
892
|
-
return (h(Host, { key: '
|
|
892
|
+
return (h(Host, { key: 'fdf580e687c1cd7c507a7357ea87a03270ff9f0b', slot: "fixed", class: {
|
|
893
893
|
[theme]: true,
|
|
894
894
|
// Used internally for styling
|
|
895
895
|
[`refresher-${theme}`]: true,
|
|
@@ -961,9 +961,9 @@ const RefresherContent = class {
|
|
|
961
961
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
962
962
|
const theme = getIonTheme(this);
|
|
963
963
|
const arrowIcon = theme === 'ionic' ? caretLeftFillSvg : caretBackSharp;
|
|
964
|
-
return (h(Host, { key: '
|
|
964
|
+
return (h(Host, { key: '3a3a3fb44f8397bb8e5019b51254ada8c26ae371', class: {
|
|
965
965
|
[theme]: true,
|
|
966
|
-
} }, h("div", { key: '
|
|
966
|
+
} }, h("div", { key: '3e63966e8c2b262b1f9d4a5545dbdd00e97a4c68', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: 'd4c8fa7151cee666520a40050c58f6e8201b14a5', class: "refresher-pulling-icon" }, h("div", { key: '2f45a17fe5fe51e81e2d7bd580fd60ce754c5989', class: "spinner-arrow-container" }, h("ion-spinner", { key: '210cd5f152453a283dbc579f545c683e3af84ea3', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (h("div", { key: '060c8d531e90478121113f59989ac29809f48947', class: "arrow-container" }, h("ion-icon", { key: '7c30ddd2c1a6e2274e7d57f792733017c663197b', icon: arrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: '3dee253d56c871195dcd59eaedc2b867ac578319', class: "refresher-pulling-icon" }, h("ion-icon", { key: '46b859328da272449f316ea8f68f3c3dd545c2e7', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '56660f9f6cff1006c5552df3a9430124689d42cb', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: 'e8232281f251e5d0d22972fa8e38176edc3d9e5d', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: '70f42df444c4669f393137f218ba9d635f76a26c', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
967
967
|
}
|
|
968
968
|
get el() { return getElement(this); }
|
|
969
969
|
};
|
|
@@ -51,9 +51,9 @@ const Reorder = class {
|
|
|
51
51
|
render() {
|
|
52
52
|
const { reorderHandleIcon } = this;
|
|
53
53
|
const theme = getIonTheme(this);
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'ba59a095c200b70c6d847dc7362d52b315dc853a', class: {
|
|
55
55
|
[theme]: true,
|
|
56
|
-
} }, h("slot", { key: '
|
|
56
|
+
} }, h("slot", { key: '79be263f78cc21c9c4f91326e557e65849ab1e51' }, h("ion-icon", { key: '6e5c47c8bbd33f5cd405a5fd531831cb87c8e57e', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
57
57
|
}
|
|
58
58
|
get el() { return getElement(this); }
|
|
59
59
|
};
|
|
@@ -317,7 +317,7 @@ const ReorderGroup = class {
|
|
|
317
317
|
}
|
|
318
318
|
render() {
|
|
319
319
|
const theme = getIonTheme(this);
|
|
320
|
-
return (h(Host, { key: '
|
|
320
|
+
return (h(Host, { key: 'df12858536c409c76552fe79b88827b3c4a5d9c5', class: {
|
|
321
321
|
[theme]: true,
|
|
322
322
|
'reorder-enabled': !this.disabled,
|
|
323
323
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -76,7 +76,7 @@ const RippleEffect = class {
|
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
78
|
const theme = getIonTheme(this);
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '502ce1841747f255dfab542914bebd0d0f4ae9bd', role: "presentation", class: {
|
|
80
80
|
[theme]: true,
|
|
81
81
|
unbounded: this.unbounded,
|
|
82
82
|
} }));
|
|
@@ -896,10 +896,10 @@ const RouterLink = class {
|
|
|
896
896
|
rel: this.rel,
|
|
897
897
|
target: this.target,
|
|
898
898
|
};
|
|
899
|
-
return (h(Host, { key: '
|
|
899
|
+
return (h(Host, { key: '518b86cf40eb95e03f75a20ff44fff804ac8ec4d', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
900
900
|
[theme]: true,
|
|
901
901
|
'ion-activatable': true,
|
|
902
|
-
}) }, h("a", Object.assign({ key: '
|
|
902
|
+
}) }, h("a", Object.assign({ key: 'dbf3cc12752b4fa2d3873723a8ea5a30b053d261' }, attrs), h("slot", { key: '9614e46a8d35201937f1f9a39b88f71b78efa7a0' }))));
|
|
903
903
|
}
|
|
904
904
|
};
|
|
905
905
|
RouterLink.style = routerLinkCss;
|
|
@@ -544,8 +544,8 @@ const Searchbar = class {
|
|
|
544
544
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
545
545
|
const shape = this.getShape();
|
|
546
546
|
const size = this.getSize();
|
|
547
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
548
|
-
return (h(Host, { key: '
|
|
547
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '3f7daa2a4ec57132e8baf591542569338e7ec9c8', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: 'f214142fec5644d91eae82644558e6b817094957', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
548
|
+
return (h(Host, { key: '47e075305f28373fffab3e006ab4014da6dfb0c8', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
549
549
|
[theme]: true,
|
|
550
550
|
'searchbar-animated': animated,
|
|
551
551
|
'searchbar-disabled': this.disabled,
|
|
@@ -559,14 +559,14 @@ const Searchbar = class {
|
|
|
559
559
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
560
560
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
561
561
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
562
|
-
}) }, h("div", { key: '
|
|
562
|
+
}) }, h("div", { key: '14b271ab3eebf1b651a8cfd758c7880b548bb98d', class: "searchbar-input-container" }, h("input", Object.assign({ key: 'f84a9435002eba2084ce0269fa3c926b7c03209d', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), (theme === 'md' || theme === 'ionic') && cancelButton, this.shouldShowSearchIcon() && (h("ion-icon", { key: 'e1c7a66dba99591b0e3df5966acd027a561ee0ca', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (h("button", { key: 'bf55ac02128e22f9d303e75b9289c251bd582cdd', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
563
563
|
/**
|
|
564
564
|
* This prevents mobile browsers from
|
|
565
565
|
* blurring the input when the clear
|
|
566
566
|
* button is activated.
|
|
567
567
|
*/
|
|
568
568
|
ev.preventDefault();
|
|
569
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
569
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '1ce87193499ccb682ad115a64cc5579e9bb586c9', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
570
570
|
}
|
|
571
571
|
get el() { return getElement(this); }
|
|
572
572
|
static get watchers() { return {
|
|
@@ -10,7 +10,7 @@ const SegmentContent = class {
|
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '81cc29460a17c32592fbf9fca6242f4bb1738aa6' }, h("slot", { key: '4f718420caf11c6672642fcf1a1bdb7f48d6cdfc' })));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
SegmentContent.style = segmentContentCss;
|
|
@@ -108,10 +108,10 @@ const SegmentView = class {
|
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
110
|
const { disabled, isManualScroll } = this;
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: 'caf57037127fff688f45edd7c27018fc1d8cc689', class: {
|
|
112
112
|
'segment-view-disabled': disabled,
|
|
113
113
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
114
|
-
} }, h("slot", { key: '
|
|
114
|
+
} }, h("slot", { key: 'f93d19747ed3f04ee5a966412f62f2900ee45480' })));
|
|
115
115
|
}
|
|
116
116
|
get el() { return getElement(this); }
|
|
117
117
|
};
|
|
@@ -550,14 +550,14 @@ const Segment = class {
|
|
|
550
550
|
}
|
|
551
551
|
render() {
|
|
552
552
|
const theme = getIonTheme(this);
|
|
553
|
-
return (h(Host, { key: '
|
|
553
|
+
return (h(Host, { key: '578d4eb20a89742c8c3cb3109fe62a5fdf87b089', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
554
554
|
[theme]: true,
|
|
555
555
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
556
556
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
557
557
|
'segment-activated': this.activated,
|
|
558
558
|
'segment-disabled': this.disabled,
|
|
559
559
|
'segment-scrollable': this.scrollable,
|
|
560
|
-
}) }, h("slot", { key: '
|
|
560
|
+
}) }, h("slot", { key: '4b9999c95622773aea0c1bf3d1ab9dc650efb5eb', onSlotchange: this.onSlottedItemsChange })));
|
|
561
561
|
}
|
|
562
562
|
get el() { return getElement(this); }
|
|
563
563
|
static get watchers() { return {
|
|
@@ -678,7 +678,7 @@ const SegmentButton = class {
|
|
|
678
678
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
679
679
|
const theme = getIonTheme(this);
|
|
680
680
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
681
|
-
return (h(Host, { key: '
|
|
681
|
+
return (h(Host, { key: '75eeffd15e3581c15f48a0b12cbf5a4229b087d6', class: {
|
|
682
682
|
[theme]: true,
|
|
683
683
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
684
684
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -694,7 +694,7 @@ const SegmentButton = class {
|
|
|
694
694
|
'ion-activatable': true,
|
|
695
695
|
'ion-activatable-instant': true,
|
|
696
696
|
'ion-focusable': true,
|
|
697
|
-
} }, h("button", Object.assign({ key: '
|
|
697
|
+
} }, h("button", Object.assign({ key: '701fd86647377f744d91eb92427c73583d229253', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '63634d3e500312c847194551996a2897610e0cc7', class: "button-inner" }, h("slot", { key: '89963e233c9a7ea84b7262ab84db6edbe76ee95e' })), theme === 'md' && h("ion-ripple-effect", { key: '9d766c3d48c0b2ba50ab03f2279ccf710973bbba' })), h("div", { key: 'a70f2d1a57cca4e04b00b36a6b47eb93ef4cb26e', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: 'aff9931755a1f643147bf0e7d2be29b35d8f9d41', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
698
698
|
}
|
|
699
699
|
get el() { return getElement(this); }
|
|
700
700
|
static get watchers() { return {
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
import { r as registerInstance, h, i as forceUpdate, d as Host, g as getElement } from './index-C8IsBmNU.js';
|
|
5
5
|
import { b as getIonMode } from './ionic-global-2R0iPB51.js';
|
|
6
6
|
import { s as safeCall } from './overlays-Da_6xSKI.js';
|
|
7
|
-
import { g as getClassMap } from './theme-DiVJyqlX.js';
|
|
7
|
+
import { h as hostContext, g as getClassMap } from './theme-DiVJyqlX.js';
|
|
8
8
|
import './helpers-Bsml3FcE.js';
|
|
9
9
|
import './focus-visible-vXpMhGrs.js';
|
|
10
10
|
import './framework-delegate-D2mUP0WI.js';
|
|
11
11
|
import './gesture-controller-BTEOs1at.js';
|
|
12
12
|
|
|
13
|
-
const selectModalIonicCss = ".sc-ion-select-modal-ionic-h{height:100%}ion-item.sc-ion-select-modal-ionic{--border-width:0}ion-item.ion-focused.sc-ion-select-modal-ionic::part(native)::after,ion-item.ion-focused.sc-ion-select-modal-ionic [part~=\"native\"]::after{border:none}ion-toolbar.sc-ion-select-modal-ionic{font-size:var(--token-font-size-450, 1.125rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-700, var(--token-scale-700, 28px));text-decoration:none;text-transform:none}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(container),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~=\"container\"]{display:none}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(label),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~=\"label\"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(label),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~=\"label\"],ion-list.sc-ion-select-modal-ionic ion-checkbox.sc-ion-select-modal-ionic::part(label),ion-list.sc-ion-select-modal-ionic ion-checkbox.sc-ion-select-modal-ionic [part~=\"label\"]{font-size:var(--token-font-size-400, 1rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-600, var(--token-scale-600, 24px));text-decoration:none;text-transform:none}.item-radio-checked.sc-ion-select-modal-ionic,.item-checkbox-checked.sc-ion-select-modal-ionic{--background:var(--token-semantics-primary-100, var(--token-primitives-blue-100, #f2f4fd));--border-radius:var(--token-border-radius-400, var(--token-scale-400, 16px))}ion-content.sc-ion-select-modal-ionic{--padding-start:var(--token-space-400, var(--token-scale-400, 16px)) !important;--padding-end:var(--token-space-400, var(--token-scale-400, 16px)) !important;--padding-bottom:var(--token-space-1200, var(--token-scale-1200, 48px)) !important}ion-content.sc-ion-select-modal-ionic:has(.radio-checked) .ion-focused.sc-ion-select-modal-ionic:not(.item-radio-checked){--background-focused-opacity:1}";
|
|
13
|
+
const selectModalIonicCss = ".sc-ion-select-modal-ionic-h{height:100%}.in-modal-default.sc-ion-select-modal-ionic-h ion-content.sc-ion-select-modal-ionic::part(scroll),.in-modal-default.sc-ion-select-modal-ionic-h ion-content.sc-ion-select-modal-ionic [part~=\"scroll\"]{--padding-bottom:var(--token-space-400, var(--token-scale-400, 16px))}ion-item.sc-ion-select-modal-ionic{--border-width:0}ion-item.ion-focused.sc-ion-select-modal-ionic::part(native)::after,ion-item.ion-focused.sc-ion-select-modal-ionic [part~=\"native\"]::after{border:none}ion-toolbar.sc-ion-select-modal-ionic{font-size:var(--token-font-size-450, 1.125rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-700, var(--token-scale-700, 28px));text-decoration:none;text-transform:none}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(container),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~=\"container\"]{display:none}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(label),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~=\"label\"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(label),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~=\"label\"],ion-list.sc-ion-select-modal-ionic ion-checkbox.sc-ion-select-modal-ionic::part(label),ion-list.sc-ion-select-modal-ionic ion-checkbox.sc-ion-select-modal-ionic [part~=\"label\"]{font-size:var(--token-font-size-400, 1rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-600, var(--token-scale-600, 24px));text-decoration:none;text-transform:none}.item-radio-checked.sc-ion-select-modal-ionic,.item-checkbox-checked.sc-ion-select-modal-ionic{--background:var(--token-semantics-primary-100, var(--token-primitives-blue-100, #f2f4fd));--border-radius:var(--token-border-radius-400, var(--token-scale-400, 16px))}ion-content.sc-ion-select-modal-ionic{--padding-start:var(--token-space-400, var(--token-scale-400, 16px)) !important;--padding-end:var(--token-space-400, var(--token-scale-400, 16px)) !important;--padding-bottom:var(--token-space-1200, var(--token-scale-1200, 48px)) !important}ion-content.sc-ion-select-modal-ionic:has(.radio-checked) .ion-focused.sc-ion-select-modal-ionic:not(.item-radio-checked){--background-focused-opacity:1}";
|
|
14
14
|
|
|
15
15
|
const selectModalIosCss = ".sc-ion-select-modal-ios-h{height:100%}ion-item.sc-ion-select-modal-ios{--inner-padding-end:0}ion-radio.sc-ion-select-modal-ios::after{bottom:0;position:absolute;width:calc(100% - 0.9375rem - 16px);border-width:0px 0px 0.55px 0px;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));content:\"\"}ion-radio.sc-ion-select-modal-ios::after{inset-inline-start:calc(0.9375rem + 16px)}";
|
|
16
16
|
|
|
@@ -59,6 +59,13 @@ const SelectModal = class {
|
|
|
59
59
|
option.checked = ev.detail.checked;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
+
getModalContextClasses() {
|
|
63
|
+
const el = this.el;
|
|
64
|
+
return {
|
|
65
|
+
'in-modal-default': hostContext('ion-modal.modal-default', el),
|
|
66
|
+
'in-modal-sheet': hostContext('ion-modal.modal-sheet', el),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
62
69
|
renderRadioOptions() {
|
|
63
70
|
const checked = this.options.filter((o) => o.checked).map((o) => o.value)[0];
|
|
64
71
|
return (h("ion-radio-group", { value: checked, onIonChange: (ev) => this.callOptionHandler(ev) }, this.options.map((option) => (h("ion-item", { lines: "none", class: Object.assign({
|
|
@@ -87,7 +94,7 @@ const SelectModal = class {
|
|
|
87
94
|
} }, option.text))));
|
|
88
95
|
}
|
|
89
96
|
render() {
|
|
90
|
-
return (h(Host, { key: '
|
|
97
|
+
return (h(Host, { key: '2ceb196accee272559c43225a859befa68027333', class: Object.assign({ [getIonMode(this)]: true }, this.getModalContextClasses()) }, h("ion-header", { key: 'b0176847bd9ce94e28d72766d6a035a93ff6f10a' }, h("ion-toolbar", { key: '49c2b1cf8e82b1d975cca67b154b149823b47b1f' }, this.header !== undefined && h("ion-title", { key: 'fdc881fd94c07ca38d60e85170d176c7cf4139fb' }, this.header), h("ion-buttons", { key: '8dfc972aa974909ecf2e5782e972b959a900f8c5', slot: "end" }, h("ion-button", { key: 'b862896118bd4da0afc17925eab9dc9ed5269220', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: 'a7f5bf8f88377d978d2c7bdba3abefcc332296a3' }, h("ion-list", { key: '23529677979b9ac63e2cba8d55f7f965489b74c5' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
91
98
|
}
|
|
92
99
|
get el() { return getElement(this); }
|
|
93
100
|
};
|
|
@@ -805,7 +805,7 @@ const Select = class {
|
|
|
805
805
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
806
806
|
*/
|
|
807
807
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
808
|
-
return (h(Host, { key: '
|
|
808
|
+
return (h(Host, { key: '1ab6cf909651f167800bb3398a1522c360d03023', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
809
809
|
[theme]: true,
|
|
810
810
|
'in-item': inItem,
|
|
811
811
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -824,7 +824,7 @@ const Select = class {
|
|
|
824
824
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
825
825
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
826
826
|
[`select-size-${size}`]: size !== undefined,
|
|
827
|
-
}) }, h("label", { key: '
|
|
827
|
+
}) }, h("label", { key: '9a78e88197abc7bc4d9fb8f42a56172ee50fcb64', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '51e1ec9bfb08344c8d1ff2fb08ead29ece3fbe6d', class: "select-wrapper-inner" },
|
|
828
828
|
/**
|
|
829
829
|
* For the ionic theme, we render the outline container here
|
|
830
830
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -834,7 +834,7 @@ const Select = class {
|
|
|
834
834
|
* <label> element, ensuring that clicking the label text
|
|
835
835
|
* focuses the select.
|
|
836
836
|
*/
|
|
837
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
837
|
+
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()));
|
|
838
838
|
}
|
|
839
839
|
get el() { return getElement(this); }
|
|
840
840
|
static get watchers() { return {
|
|
@@ -898,7 +898,7 @@ const SelectOption = class {
|
|
|
898
898
|
}
|
|
899
899
|
render() {
|
|
900
900
|
const theme = getIonTheme(this);
|
|
901
|
-
return (h(Host, { key: '
|
|
901
|
+
return (h(Host, { key: '39af595655b3645c923617fe4d4fa64112008273', class: {
|
|
902
902
|
[theme]: true,
|
|
903
903
|
}, role: "option", id: this.inputId }));
|
|
904
904
|
}
|
|
@@ -1008,9 +1008,9 @@ const SelectPopover = class {
|
|
|
1008
1008
|
const { header, message, options, subHeader } = this;
|
|
1009
1009
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
1010
1010
|
const theme = getIonTheme(this);
|
|
1011
|
-
return (h(Host, { key: '
|
|
1011
|
+
return (h(Host, { key: '9b5160e6657620038fb4167ab7d08e2687be554b', class: {
|
|
1012
1012
|
[theme]: true,
|
|
1013
|
-
} }, h("ion-list", { key: '
|
|
1013
|
+
} }, 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))));
|
|
1014
1014
|
}
|
|
1015
1015
|
get el() { return getElement(this); }
|
|
1016
1016
|
};
|
|
@@ -59,7 +59,7 @@ const Spinner = class {
|
|
|
59
59
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '0b3ce4b99c2c828d05b507c4f073811ebbe17d0f', class: createColorClasses(self.color, {
|
|
63
63
|
[theme]: true,
|
|
64
64
|
[`spinner-${spinnerName}`]: true,
|
|
65
65
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -128,12 +128,12 @@ const SplitPane = class {
|
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
130
|
const theme = getIonTheme(this);
|
|
131
|
-
return (h(Host, { key: '
|
|
131
|
+
return (h(Host, { key: '9d0c67f1f81b09bb9a6f14a66053e5cc7431a286', class: {
|
|
132
132
|
[theme]: true,
|
|
133
133
|
// Used internally for styling
|
|
134
134
|
[`split-pane-${theme}`]: true,
|
|
135
135
|
'split-pane-visible': this.visible,
|
|
136
|
-
} }, h("slot", { key: '
|
|
136
|
+
} }, h("slot", { key: 'ab7b3050d3c5484bd00949cf57efa4396b4d5bc3' })));
|
|
137
137
|
}
|
|
138
138
|
get el() { return getElement(this); }
|
|
139
139
|
static get watchers() { return {
|
|
@@ -88,13 +88,13 @@ const TabBar = class {
|
|
|
88
88
|
const theme = getIonTheme(this);
|
|
89
89
|
const shape = this.getShape();
|
|
90
90
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
91
|
-
return (h(Host, { key: '
|
|
91
|
+
return (h(Host, { key: '21c2a3f3a8ea77cc2c757c37bb8ccad2016c3c4c', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
|
|
92
92
|
[theme]: true,
|
|
93
93
|
'tab-bar-translucent': translucent,
|
|
94
94
|
'tab-bar-hidden': shouldHide,
|
|
95
95
|
[`tab-bar-${expand}`]: true,
|
|
96
96
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
97
|
-
}) }, h("slot", { key: '
|
|
97
|
+
}) }, h("slot", { key: '3b6784b6f6206efcd69327bd224e10ff6225222b' })));
|
|
98
98
|
}
|
|
99
99
|
get el() { return getElement(this); }
|
|
100
100
|
static get watchers() { return {
|
|
@@ -188,7 +188,7 @@ const TabButton = class {
|
|
|
188
188
|
rel,
|
|
189
189
|
target,
|
|
190
190
|
};
|
|
191
|
-
return (h(Host, { key: '
|
|
191
|
+
return (h(Host, { key: '848ea6fa1aff3e7ac9add43a6acb50759653c13b', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
192
192
|
[theme]: true,
|
|
193
193
|
'tab-selected': selected,
|
|
194
194
|
'tab-disabled': disabled,
|
|
@@ -201,7 +201,7 @@ const TabButton = class {
|
|
|
201
201
|
'ion-selectable': true,
|
|
202
202
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
203
203
|
'ion-focusable': true,
|
|
204
|
-
} }, h("a", Object.assign({ key: '
|
|
204
|
+
} }, 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" }))));
|
|
205
205
|
}
|
|
206
206
|
get el() { return getElement(this); }
|
|
207
207
|
};
|
|
@@ -44,10 +44,10 @@ const Tab = class {
|
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
46
|
const { tab, active, component } = this;
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: 'b249545a5adfcef4616afe79aa0f215bab464d0a', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
48
48
|
'ion-page': component === undefined,
|
|
49
49
|
'tab-hidden': !active,
|
|
50
|
-
} }, h("slot", { key: '
|
|
50
|
+
} }, h("slot", { key: '19e2a406d96d20d8d4af8c3ff900e975d06021f6' })));
|
|
51
51
|
}
|
|
52
52
|
get el() { return getElement(this); }
|
|
53
53
|
static get watchers() { return {
|
|
@@ -217,7 +217,7 @@ const Tabs = class {
|
|
|
217
217
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
218
218
|
}
|
|
219
219
|
render() {
|
|
220
|
-
return (h(Host, { key: '
|
|
220
|
+
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" })));
|
|
221
221
|
}
|
|
222
222
|
get el() { return getElement(this); }
|
|
223
223
|
};
|
|
@@ -13,9 +13,9 @@ const Text = class {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const theme = getIonTheme(this);
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '7a3f31d6e219207a1ff98ac441357caa512012e5', class: createColorClasses(this.color, {
|
|
17
17
|
[theme]: true,
|
|
18
|
-
}) }, h("slot", { key: '
|
|
18
|
+
}) }, h("slot", { key: '392d48d6a5e0e5d1b44e762ec96fb8b53b3ebd49' })));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
Text.style = textCss;
|
|
@@ -509,7 +509,7 @@ const Textarea = class {
|
|
|
509
509
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
510
510
|
*/
|
|
511
511
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
512
|
-
return (h(Host, { key: '
|
|
512
|
+
return (h(Host, { key: '48e2eabbe846a187efc692742db695556d938aeb', class: createColorClasses(this.color, {
|
|
513
513
|
[theme]: true,
|
|
514
514
|
'has-value': hasValue,
|
|
515
515
|
'has-focus': hasFocus,
|
|
@@ -520,7 +520,7 @@ const Textarea = class {
|
|
|
520
520
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
521
521
|
'textarea-disabled': disabled,
|
|
522
522
|
'textarea-readonly': readonly,
|
|
523
|
-
}) }, h("label", { key: '
|
|
523
|
+
}) }, h("label", { key: '3e75d1c9688734ced8ed2d093f0f923667e1db6c', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '869a040e9a1cb065f852e1eb0cf96ead4a8313eb', class: "textarea-wrapper-inner" },
|
|
524
524
|
/**
|
|
525
525
|
* For the ionic theme, we render the outline container here
|
|
526
526
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -530,7 +530,7 @@ const Textarea = class {
|
|
|
530
530
|
* <label> element, ensuring that clicking the label text
|
|
531
531
|
* focuses the textarea.
|
|
532
532
|
*/
|
|
533
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
533
|
+
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()));
|
|
534
534
|
}
|
|
535
535
|
get el() { return getElement(this); }
|
|
536
536
|
static get watchers() { return {
|
|
@@ -871,9 +871,9 @@ const Toast = class {
|
|
|
871
871
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
872
872
|
printIonWarning('[ion-toast] - This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
|
|
873
873
|
}
|
|
874
|
-
return (h(Host, Object.assign({ key: '
|
|
874
|
+
return (h(Host, Object.assign({ key: '3f25e3c14197723e0c97edb71ddeeccb4f9143b3', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
875
875
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
876
|
-
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '
|
|
876
|
+
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: 'cec09872b7e08429a62e5cb821e072fa6259e63a', class: wrapperClass }, h("div", { key: '8179d7a3c8b27536e37886a21293d1a6add60306', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: 'ef87a58440d914e4c55b8b3ecaac45f983f35daf', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '56bca03e8501ad921cf2de37faace99a4f59cc71', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
877
877
|
}
|
|
878
878
|
get el() { return getElement(this); }
|
|
879
879
|
static get watchers() { return {
|
|
@@ -293,7 +293,7 @@ const Toggle = class {
|
|
|
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 @@ const Toggle = class {
|
|
|
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
|
get el() { return getElement(this); }
|
|
314
314
|
static get watchers() { return {
|