@ionic/core 8.8.6-dev.11777572994.1147595d → 8.8.6-nightly.20260501
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/index.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-picker-legacy-column.d.ts +11 -0
- package/components/ion-picker-legacy-column.js +4 -0
- package/components/ion-picker-legacy.d.ts +11 -0
- package/components/ion-picker-legacy.js +4 -0
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/p-1KVKSLu5.js +4 -0
- package/components/{p-DbISMmiI.js → p-BSB38Tek.js} +1 -1
- package/components/{p-CDXBV7oG.js → p-BTeL5HCK.js} +1 -1
- package/components/p-BegtE7nr.js +4 -0
- package/components/{p-Ct3FLpwo.js → p-BlNv564p.js} +1 -1
- package/components/p-CH0NYjKq.js +4 -0
- package/components/{p-DL2W2mt3.js → p-CgfaEEem.js} +1 -1
- package/components/p-Cq8cQ0NL.js +4 -0
- package/components/{p-nPoOPlPt.js → p-Cyxa_4PV.js} +1 -1
- package/components/{p-OOMJP0jy.js → p-D-cP12ZN.js} +1 -1
- package/components/p-DHsZWn1l.js +4 -0
- package/components/{p-BeL7B3Bb.js → p-DJMZehmW.js} +1 -1
- package/components/p-DUqnmRFi.js +4 -0
- package/components/{p-DrIm1s9R.js → p-fpbh6w3f.js} +1 -1
- package/components/{p-DxXmSp9Y.js → p-kvaDs24J.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -8
- package/dist/cjs/ion-alert.cjs.entry.js +3 -7
- package/dist/cjs/ion-app_8.cjs.entry.js +9 -23
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/{ion-datetime.cjs.entry.js → ion-datetime_3.cjs.entry.js} +639 -1
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +3 -7
- package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-modal.cjs.entry.js +5 -9
- package/dist/cjs/ion-popover.cjs.entry.js +3 -7
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
- 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 +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- 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/cjs/{overlays-DIfHxkst.js → overlays-C2jiBSNQ.js} +7 -26
- package/dist/collection/collection-manifest.json +9 -5
- package/dist/collection/components/action-sheet/action-sheet.js +4 -8
- package/dist/collection/components/alert/alert.js +3 -7
- package/dist/collection/components/loading/loading.js +3 -7
- package/dist/collection/components/modal/modal.js +5 -9
- package/dist/collection/components/picker-legacy/animations/ios.enter.js +27 -0
- package/dist/collection/components/picker-legacy/animations/ios.leave.js +23 -0
- package/dist/collection/components/picker-legacy/picker-interface.js +1 -0
- package/dist/collection/components/picker-legacy/picker.ios.css +300 -0
- package/dist/collection/components/picker-legacy/picker.js +890 -0
- package/dist/collection/components/picker-legacy/picker.md.css +287 -0
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +231 -0
- package/dist/collection/components/picker-legacy-column/picker-column.js +422 -0
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +222 -0
- package/dist/collection/components/picker-legacy-column/test/test.utils.js +43 -0
- package/dist/collection/components/popover/popover.js +3 -7
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +4 -4
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- 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 +5 -38
- package/dist/collection/components/row/row.js +1 -1
- 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 +2 -2
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- 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 +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- 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/collection/index.js +1 -1
- package/dist/collection/utils/overlays.js +6 -25
- package/dist/docs.json +941 -28
- package/dist/esm/{index-AlrZKoWR.js → index-DV3sJJW8.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +4 -8
- package/dist/esm/ion-alert.entry.js +3 -7
- package/dist/esm/ion-app_8.entry.js +9 -23
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/{ion-datetime.entry.js → ion-datetime_3.entry.js} +641 -5
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +1 -1
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +3 -7
- package/dist/esm/ion-menu_3.entry.js +2 -2
- package/dist/esm/ion-modal.entry.js +5 -9
- package/dist/esm/ion-popover.entry.js +3 -7
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +3 -3
- 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 +5 -5
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +4 -4
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{overlays-BDGzTP3L.js → overlays-F8GHPo-e.js} +7 -26
- package/dist/html.html-data.json +59 -4
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-f17d05e3.entry.js → p-031b76f7.entry.js} +1 -1
- package/dist/ionic/{p-ede28b71.entry.js → p-07506134.entry.js} +1 -1
- package/dist/ionic/{p-e9dd191b.entry.js → p-084c25b2.entry.js} +1 -1
- package/dist/ionic/{p-fed27c64.entry.js → p-0d8b5c38.entry.js} +1 -1
- package/dist/ionic/p-16813ce7.entry.js +4 -0
- package/dist/ionic/p-1b02923f.entry.js +4 -0
- package/dist/ionic/{p-898f9d11.entry.js → p-1b169fb6.entry.js} +1 -1
- package/dist/ionic/p-23fac490.entry.js +4 -0
- package/dist/ionic/{p-7fe42b71.entry.js → p-28a9e720.entry.js} +1 -1
- package/dist/ionic/{p-3b58996c.entry.js → p-294f4bb5.entry.js} +1 -1
- package/dist/ionic/{p-f7762013.entry.js → p-2a68388b.entry.js} +1 -1
- package/dist/ionic/p-2f5a8140.entry.js +4 -0
- package/dist/ionic/{p-34b3a309.entry.js → p-2fd110aa.entry.js} +1 -1
- package/dist/ionic/{p-4ed63122.entry.js → p-301c43f8.entry.js} +1 -1
- package/dist/ionic/p-4c67ce4c.entry.js +4 -0
- package/dist/ionic/p-51c11c47.entry.js +4 -0
- package/dist/ionic/p-53f750a5.entry.js +4 -0
- package/dist/ionic/p-6b701daa.entry.js +4 -0
- package/dist/ionic/{p-19adf785.entry.js → p-7620be24.entry.js} +1 -1
- package/dist/ionic/{p-18b5d5ff.entry.js → p-771b27a5.entry.js} +1 -1
- package/dist/ionic/p-7ca71c83.entry.js +4 -0
- package/dist/ionic/{p-66494f9b.entry.js → p-80cac7a2.entry.js} +1 -1
- package/dist/ionic/{p-506038d3.entry.js → p-8fda6a62.entry.js} +1 -1
- package/dist/ionic/{p-7f269aff.entry.js → p-9cbc6f1f.entry.js} +1 -1
- package/dist/ionic/{p-b6f16f18.entry.js → p-9cdbabbb.entry.js} +1 -1
- package/dist/ionic/p-DTPR1Wpn.js +4 -0
- package/dist/ionic/{p-AlrZKoWR.js → p-DV3sJJW8.js} +1 -1
- package/dist/ionic/{p-dc198c3a.entry.js → p-a84f2d21.entry.js} +1 -1
- package/dist/ionic/{p-b8f4a31c.entry.js → p-aa812c4b.entry.js} +1 -1
- package/dist/ionic/{p-30f5ad9e.entry.js → p-b325a113.entry.js} +1 -1
- package/dist/ionic/p-b5ea8cdd.entry.js +4 -0
- package/dist/ionic/{p-1d2163ad.entry.js → p-bcaa827e.entry.js} +1 -1
- package/dist/ionic/{p-6e99ae8d.entry.js → p-c3cce9d8.entry.js} +1 -1
- package/dist/ionic/{p-b553828c.entry.js → p-d4e8b473.entry.js} +1 -1
- package/dist/ionic/p-e0287f41.entry.js +4 -0
- package/dist/ionic/{p-6da572e7.entry.js → p-e863ffe8.entry.js} +1 -1
- package/dist/ionic/p-f2deaceb.entry.js +4 -0
- package/dist/ionic/{p-460fbe5b.entry.js → p-f69a5f71.entry.js} +1 -1
- package/dist/ionic/{p-4ea520a4.entry.js → p-f8186550.entry.js} +1 -1
- package/dist/ionic/{p-8a3a936b.entry.js → p-fdbc90d4.entry.js} +1 -1
- package/dist/types/components/picker-legacy/animations/ios.enter.d.ts +5 -0
- package/dist/types/components/picker-legacy/animations/ios.leave.d.ts +5 -0
- package/dist/types/components/picker-legacy/picker-interface.d.ts +52 -0
- package/dist/types/components/picker-legacy/picker.d.ts +158 -0
- package/dist/types/components/picker-legacy-column/picker-column.d.ts +46 -0
- package/dist/types/components/picker-legacy-column/test/test.utils.d.ts +9 -0
- package/dist/types/components/router-outlet/router-outlet.d.ts +0 -7
- package/dist/types/components.d.ts +272 -9
- package/dist/types/index.d.ts +1 -1
- package/dist/types/interface.d.ts +1 -0
- package/dist/types/utils/config.d.ts +8 -0
- package/dist/types/utils/overlays.d.ts +9 -11
- package/hydrate/index.js +788 -164
- package/hydrate/index.mjs +788 -164
- package/package.json +3 -3
- package/components/p-BHlzkIpO.js +0 -4
- package/components/p-Bg7NsGS9.js +0 -4
- package/components/p-CWpbvhwY.js +0 -4
- package/components/p-DBHdZu4y.js +0 -4
- package/components/p-DPdqO7R6.js +0 -4
- package/dist/ionic/p-2089f9cb.entry.js +0 -4
- package/dist/ionic/p-4c8d8c55.entry.js +0 -4
- package/dist/ionic/p-4f3a8ccf.entry.js +0 -4
- package/dist/ionic/p-528d4c1d.entry.js +0 -4
- package/dist/ionic/p-5430ae94.entry.js +0 -4
- package/dist/ionic/p-5c2cc090.entry.js +0 -4
- package/dist/ionic/p-6406d5a9.entry.js +0 -4
- package/dist/ionic/p-7f9db51b.entry.js +0 -4
- package/dist/ionic/p-Csx_Ej2k.js +0 -4
- package/dist/ionic/p-a39db980.entry.js +0 -4
- package/dist/ionic/p-b5e3e1f7.entry.js +0 -4
- package/dist/ionic/p-cce0cd26.entry.js +0 -4
- package/dist/ionic/p-d92ba088.entry.js +0 -4
|
@@ -23,11 +23,11 @@ export class ToolbarTitle {
|
|
|
23
23
|
render() {
|
|
24
24
|
const mode = getIonMode(this);
|
|
25
25
|
const size = this.getSize();
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '44e63f8439df64c470692904427b417e19406476', class: createColorClasses(this.color, {
|
|
27
27
|
[mode]: true,
|
|
28
28
|
[`title-${size}`]: true,
|
|
29
29
|
'title-rtl': document.dir === 'rtl',
|
|
30
|
-
}) }, h("div", { key: '
|
|
30
|
+
}) }, h("div", { key: '784cf60a0db16045391891cc8fad0c7dbeba4039', class: "toolbar-title" }, h("slot", { key: '0c720a50479ba257e8756337aeb9b0ab7516a227' }))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "ion-title"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -417,9 +417,9 @@ export class Toast {
|
|
|
417
417
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
418
418
|
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);
|
|
419
419
|
}
|
|
420
|
-
return (h(Host, Object.assign({ key: '
|
|
420
|
+
return (h(Host, Object.assign({ key: 'b5256edcf33d0ef51e6c5080c84e1ca58abe2ae0', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
421
421
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
422
|
-
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '
|
|
422
|
+
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '0860f7e895d8bc66e44c4d924ca569f4cbb1a749', class: wrapperClass, part: "wrapper" }, h("div", { key: '28784199c880a3f664677c8f5560b7caa8903251', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: '0a63ba1336ad43d2aec14e49055eb46c112359c2', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: 'ecec8107af582dc55d4b3828dd7f3054a29f26b1', class: "toast-content", part: "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')))));
|
|
423
423
|
}
|
|
424
424
|
static get is() { return "ion-toast"; }
|
|
425
425
|
static get encapsulation() { return "shadow"; }
|
|
@@ -287,7 +287,7 @@ export class Toggle {
|
|
|
287
287
|
const value = this.getValue();
|
|
288
288
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
289
289
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
290
|
-
return (h(Host, { key: '
|
|
290
|
+
return (h(Host, { key: '736e1dcfca34fd41f6f0632652e7f86d6996a232', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, "aria-required": required ? 'true' : undefined, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, class: createColorClasses(color, {
|
|
291
291
|
[mode]: true,
|
|
292
292
|
'in-item': hostContext('ion-item', el),
|
|
293
293
|
'toggle-activated': activated,
|
|
@@ -297,10 +297,10 @@ export class Toggle {
|
|
|
297
297
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
298
298
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
299
299
|
[`toggle-${rtl}`]: true,
|
|
300
|
-
}) }, h("label", { key: '
|
|
300
|
+
}) }, h("label", { key: 'e697739fd3964c1c6c23331cf7e38a9841c46a6a', class: "toggle-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: '3d500b8c1bc879591249d183c1abb3f5f26aff6b', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), h("div", { key: 'e38f3fe0e66b4ca434fd81514f5ef771c2960841', class: {
|
|
301
301
|
'label-text-wrapper': true,
|
|
302
302
|
'label-text-wrapper-hidden': !hasLabel,
|
|
303
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '
|
|
303
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '006dd3558264d69ab020c07005b348adc4ecdd5b' }), this.renderHintText()), h("div", { key: 'dd4e52de31caabee41ec1bc58efecd1e213368c9', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
304
304
|
}
|
|
305
305
|
static get is() { return "ion-toggle"; }
|
|
306
306
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,10 +65,10 @@ export class Toolbar {
|
|
|
65
65
|
this.childrenStyles.forEach((value) => {
|
|
66
66
|
Object.assign(childStyles, value);
|
|
67
67
|
});
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'b849db2863778dee6c5a251bffa1b3a657aeb036', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
69
69
|
[mode]: true,
|
|
70
70
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
71
|
-
})) }, h("div", { key: '
|
|
71
|
+
})) }, h("div", { key: '67f5bba9c4f527c3f35bfe1313a2b85741f9b246', class: "toolbar-background", part: "background" }), h("div", { key: '085e8c68f056e5b0deb9d1606431fbeb45dae8e5', class: "toolbar-container", part: "container" }, h("slot", { key: '15227c79c3baf883fd8c43fdb7e1313453933c79', name: "start" }), h("slot", { key: '0b8a7f7e685aa31c80d9bc03446ccc3a9d07e0e8', name: "secondary" }), h("div", { key: '57e4628c1fa89df79dd80456259db961bb691404', class: "toolbar-content", part: "content" }, h("slot", { key: '82c2f6e1acf8d96db259bd8baf295881801edbd5' })), h("slot", { key: 'b2d4afb15214199f206c0a5e08b581e4c9c2f58a', name: "primary" }), h("slot", { key: 'bfb909a0c472f8834046c2ea23bef2f562167ad3', name: "end" }))));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "ion-toolbar"; }
|
|
74
74
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/index.js
CHANGED
|
@@ -17,5 +17,5 @@ export { getMode, setupConfig } from './utils/config';
|
|
|
17
17
|
export { openURL } from './utils/theme';
|
|
18
18
|
export { LIFECYCLE_WILL_ENTER, LIFECYCLE_DID_ENTER, LIFECYCLE_WILL_LEAVE, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_UNLOAD, } from './components/nav/constants';
|
|
19
19
|
export { menuController } from './utils/menu-controller';
|
|
20
|
-
export { alertController, actionSheetController, modalController, loadingController, popoverController, toastController, } from './utils/overlays';
|
|
20
|
+
export { alertController, actionSheetController, modalController, loadingController, pickerController, popoverController, toastController, } from './utils/overlays';
|
|
21
21
|
export { IonicSlides } from './components/slides/IonicSlides';
|
|
@@ -39,6 +39,10 @@ export const alertController = /*@__PURE__*/ createController('ion-alert');
|
|
|
39
39
|
export const actionSheetController = /*@__PURE__*/ createController('ion-action-sheet');
|
|
40
40
|
export const loadingController = /*@__PURE__*/ createController('ion-loading');
|
|
41
41
|
export const modalController = /*@__PURE__*/ createController('ion-modal');
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated Use the inline ion-picker component instead.
|
|
44
|
+
*/
|
|
45
|
+
export const pickerController = /*@__PURE__*/ createController('ion-picker-legacy');
|
|
42
46
|
export const popoverController = /*@__PURE__*/ createController('ion-popover');
|
|
43
47
|
export const toastController = /*@__PURE__*/ createController('ion-toast');
|
|
44
48
|
/**
|
|
@@ -132,7 +136,7 @@ const focusElementInOverlay = (hostToFocus, overlay) => {
|
|
|
132
136
|
* Should NOT include: Toast
|
|
133
137
|
*/
|
|
134
138
|
const trapKeyboardFocus = (ev, doc) => {
|
|
135
|
-
const lastOverlay = getPresentedOverlay(doc, 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-popover');
|
|
139
|
+
const lastOverlay = getPresentedOverlay(doc, 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover');
|
|
136
140
|
const target = ev.target;
|
|
137
141
|
/**
|
|
138
142
|
* If no active overlay, ignore this event.
|
|
@@ -366,7 +370,7 @@ export const dismissOverlay = (doc, data, role, overlayTag, id) => {
|
|
|
366
370
|
*/
|
|
367
371
|
export const getOverlays = (doc, selector) => {
|
|
368
372
|
if (selector === undefined) {
|
|
369
|
-
selector = 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-popover,ion-toast';
|
|
373
|
+
selector = 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast';
|
|
370
374
|
}
|
|
371
375
|
return Array.from(doc.querySelectorAll(selector)).filter((c) => c.overlayIndex > 0);
|
|
372
376
|
};
|
|
@@ -428,29 +432,6 @@ export const setRootAriaHidden = (hidden = false) => {
|
|
|
428
432
|
viewContainer.removeAttribute('aria-hidden');
|
|
429
433
|
}
|
|
430
434
|
};
|
|
431
|
-
/**
|
|
432
|
-
* Cleans up root `aria-hidden` and `backdrop-no-scroll` when
|
|
433
|
-
* an overlay is removed from the DOM without going through
|
|
434
|
-
* the `dismiss()` flow (e.g., when a framework unmounts the
|
|
435
|
-
* overlay during a route change).
|
|
436
|
-
*
|
|
437
|
-
* Should be called from an overlay's `disconnectedCallback`
|
|
438
|
-
* when the overlay was still presented at the time of removal.
|
|
439
|
-
*/
|
|
440
|
-
export const cleanupRootFocusTrapAccessibility = () => {
|
|
441
|
-
if (typeof document === 'undefined') {
|
|
442
|
-
return;
|
|
443
|
-
}
|
|
444
|
-
const remainingOverlays = getPresentedOverlays(document);
|
|
445
|
-
const hasRemainingLocking = remainingOverlays.some((o) => {
|
|
446
|
-
const el = o;
|
|
447
|
-
return el.tagName !== 'ION-TOAST' && el.focusTrap !== false && isBackdropAlwaysBlocking(el);
|
|
448
|
-
});
|
|
449
|
-
if (!hasRemainingLocking) {
|
|
450
|
-
setRootAriaHidden(false);
|
|
451
|
-
document.body.classList.remove(BACKDROP_NO_SCROLL);
|
|
452
|
-
}
|
|
453
|
-
};
|
|
454
435
|
export const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts) => {
|
|
455
436
|
var _a, _b;
|
|
456
437
|
if (overlay.presented) {
|