@ionic/core 8.4.4-dev.11741027468.1f4941f2 → 8.4.4-dev.11741030124.1142ac6a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox.js +4 -6
- package/components/index6.js +3 -11
- package/components/ion-select.js +4 -6
- package/components/ion-toggle.js +4 -6
- package/components/modal.js +35 -259
- package/components/toolbar.js +2 -2
- package/css/core.css.map +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/{data-108e531d.js → data-21dc0f81.js} +1 -1
- package/dist/cjs/{index-0ff61d0b.js → index-1ae3f40a.js} +1 -1
- package/dist/cjs/{index-26bb7e42.js → index-4e14a46e.js} +3 -3
- package/dist/cjs/{index-2a46a047.js → index-5915f9b3.js} +3 -11
- package/dist/cjs/{index-6770fc00.js → index-c441c903.js} +1 -1
- package/dist/cjs/index.cjs.js +6 -6
- package/dist/cjs/{input-shims-fd997b01.js → input-shims-e748a364.js} +2 -4
- package/dist/cjs/{input.utils-c15a1814.js → input.utils-74e4ec28.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +2 -2
- package/dist/cjs/ion-alert.cjs.entry.js +2 -2
- package/dist/cjs/ion-app_8.cjs.entry.js +7 -7
- package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-checkbox.cjs.entry.js +4 -5
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-modal.cjs.entry.js +39 -262
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- 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-select-modal.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +6 -7
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +4 -5
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/{ios.transition-a4f35c55.js → ios.transition-afdec89f.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{md.transition-cdf904e6.js → md.transition-9f0d3db5.js} +2 -2
- package/dist/cjs/{overlays-86695cf1.js → overlays-76b29cd4.js} +1 -1
- package/dist/cjs/{status-tap-1a2485c1.js → status-tap-fb807fad.js} +2 -3
- package/dist/collection/components/checkbox/checkbox.js +4 -23
- package/dist/collection/components/modal/animations/ios.enter.js +4 -50
- package/dist/collection/components/modal/animations/ios.leave.js +2 -24
- package/dist/collection/components/modal/animations/md.enter.js +5 -52
- package/dist/collection/components/modal/animations/md.leave.js +3 -26
- package/dist/collection/components/modal/animations/sheet.js +2 -11
- package/dist/collection/components/modal/gestures/sheet.js +10 -79
- package/dist/collection/components/modal/modal.ios.css +0 -16
- package/dist/collection/components/modal/modal.js +7 -32
- package/dist/collection/components/modal/modal.md.css +0 -6
- package/dist/collection/components/select/select.js +4 -23
- package/dist/collection/components/toggle/toggle.js +4 -23
- package/dist/collection/components/toolbar/toolbar.js +2 -6
- package/dist/collection/utils/logging/index.js +3 -10
- package/dist/docs.json +2 -115
- package/dist/esm/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
- package/dist/esm/{index-dd0f7395.js → index-33f7e3ff.js} +1 -1
- package/dist/esm/{index-6a5baab0.js → index-7ec5519a.js} +3 -3
- package/dist/esm/{index-7105cd59.js → index-8785a9c6.js} +1 -1
- package/dist/esm/{index-6ad967f3.js → index-9b0d46f4.js} +3 -11
- package/dist/esm/index.js +6 -6
- package/dist/esm/{input-shims-dff819a9.js → input-shims-0e65111b.js} +2 -4
- package/dist/esm/{input.utils-2f1029cf.js → input.utils-1ad8dafc.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +2 -2
- package/dist/esm/ion-alert.entry.js +2 -2
- package/dist/esm/ion-app_8.entry.js +7 -7
- package/dist/esm/ion-button_2.entry.js +1 -1
- package/dist/esm/ion-checkbox.entry.js +4 -5
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +3 -3
- package/dist/esm/ion-modal.entry.js +39 -262
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-select-modal.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +6 -7
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +4 -5
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/{ios.transition-314468a2.js → ios.transition-085853ff.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-a560e0e2.js → md.transition-33826623.js} +2 -2
- package/dist/esm/{overlays-9a81f230.js → overlays-e3d0d356.js} +1 -1
- package/dist/esm/{status-tap-d07dbc82.js → status-tap-163e8128.js} +2 -3
- package/dist/esm-es5/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
- package/dist/esm-es5/{index-dd0f7395.js → index-33f7e3ff.js} +1 -1
- package/dist/esm-es5/{index-6a5baab0.js → index-7ec5519a.js} +1 -1
- package/dist/esm-es5/{index-7105cd59.js → index-8785a9c6.js} +1 -1
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-0e65111b.js +4 -0
- package/dist/esm-es5/{input.utils-2f1029cf.js → input.utils-1ad8dafc.js} +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-314468a2.js → ios.transition-085853ff.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-33826623.js +4 -0
- package/dist/esm-es5/{overlays-9a81f230.js → overlays-e3d0d356.js} +1 -1
- package/dist/esm-es5/status-tap-163e8128.js +4 -0
- package/dist/html.html-data.json +0 -16
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-c935cfc9.js → p-02e1ebd9.js} +1 -1
- package/dist/ionic/{p-037fc3f3.entry.js → p-0397811d.entry.js} +1 -1
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/p-075a94bd.js +4 -0
- package/dist/ionic/p-0a59f4fa.entry.js +4 -0
- package/dist/ionic/{p-18e101b7.system.entry.js → p-0c9b6d3a.system.entry.js} +1 -1
- package/dist/ionic/p-0e43be1b.entry.js +4 -0
- package/dist/ionic/p-0ee3b5a2.system.js +4 -0
- package/dist/ionic/p-135e5731.js +4 -0
- package/dist/ionic/{p-990630ca.js → p-13dc21b0.js} +1 -1
- package/dist/ionic/{p-d7bb5325.entry.js → p-14143257.entry.js} +1 -1
- package/dist/ionic/{p-a584c79d.system.entry.js → p-162c8d0c.system.entry.js} +1 -1
- package/dist/ionic/{p-578efda4.system.js → p-1a790eef.system.js} +2 -2
- package/dist/ionic/{p-5010643d.system.entry.js → p-1bbe8665.system.entry.js} +2 -2
- package/dist/ionic/{p-5882bffa.system.entry.js → p-1bc65aec.system.entry.js} +1 -1
- package/dist/ionic/{p-70af0afb.entry.js → p-203633d1.entry.js} +1 -1
- package/dist/ionic/p-25fa1d30.system.entry.js +4 -0
- package/dist/ionic/{p-9de5c787.entry.js → p-26194519.entry.js} +1 -1
- package/dist/ionic/p-322c5fb4.system.js +1 -1
- package/dist/ionic/{p-155c2bb0.entry.js → p-32e99b0a.entry.js} +1 -1
- package/dist/ionic/{p-8e407469.system.js → p-340e3f24.system.js} +1 -1
- package/dist/ionic/{p-d821466d.system.entry.js → p-3572f86a.system.entry.js} +1 -1
- package/dist/ionic/{p-63c09585.system.entry.js → p-3df889b3.system.entry.js} +1 -1
- package/dist/ionic/{p-e32557bb.system.entry.js → p-3eaf1444.system.entry.js} +1 -1
- package/dist/ionic/{p-39dd4f62.js → p-42808996.js} +1 -1
- package/dist/ionic/{p-efbf5af5.system.entry.js → p-4346c79d.system.entry.js} +1 -1
- package/dist/ionic/{p-36c448fe.entry.js → p-45de8d2a.entry.js} +1 -1
- package/dist/ionic/{p-acc8399c.system.entry.js → p-48a8d9b4.system.entry.js} +2 -2
- package/dist/ionic/{p-e5849f8d.entry.js → p-4c252070.entry.js} +1 -1
- package/dist/ionic/p-51dec25d.js +4 -0
- package/dist/ionic/{p-484d855b.system.entry.js → p-561ddcd4.system.entry.js} +1 -1
- package/dist/ionic/{p-bc616455.entry.js → p-57379000.entry.js} +1 -1
- package/dist/ionic/{p-a5b31c0f.entry.js → p-57ceead7.entry.js} +1 -1
- package/dist/ionic/{p-97a65908.entry.js → p-5cde8ef3.entry.js} +1 -1
- package/dist/ionic/p-61d044b4.entry.js +4 -0
- package/dist/ionic/p-68dc53a5.js +4 -0
- package/dist/ionic/{p-2cbe5399.entry.js → p-6b1bd0c1.entry.js} +1 -1
- package/dist/ionic/{p-31a6efce.system.entry.js → p-7b96e5c1.system.entry.js} +1 -1
- package/dist/ionic/{p-5fe8b767.entry.js → p-803f0bc2.entry.js} +1 -1
- package/dist/ionic/{p-9962f63f.entry.js → p-82b931e2.entry.js} +1 -1
- package/dist/ionic/{p-8818edd8.entry.js → p-83e68c71.entry.js} +1 -1
- package/dist/ionic/p-84b1b9a0.entry.js +4 -0
- package/dist/ionic/{p-af452fa4.system.js → p-881d9e52.system.js} +1 -1
- package/dist/ionic/p-8a836849.entry.js +4 -0
- package/dist/ionic/{p-af744710.system.entry.js → p-91f17b25.system.entry.js} +2 -2
- package/dist/ionic/{p-d1172fe3.system.entry.js → p-9a1f985d.system.entry.js} +1 -1
- package/dist/ionic/{p-eeb5cb45.system.entry.js → p-9be5f3ee.system.entry.js} +1 -1
- package/dist/ionic/{p-acb30a5c.system.js → p-9eee4de1.system.js} +1 -1
- package/dist/ionic/{p-860eb968.system.js → p-a2b6dd57.system.js} +1 -1
- package/dist/ionic/{p-10327ad2.system.entry.js → p-a3c78186.system.entry.js} +1 -1
- package/dist/ionic/{p-4d413973.system.entry.js → p-a4575db1.system.entry.js} +1 -1
- package/dist/ionic/{p-73897169.system.js → p-aa63b365.system.js} +1 -1
- package/dist/ionic/{p-155f4d90.entry.js → p-b0d8bbee.entry.js} +1 -1
- package/dist/ionic/p-b7433d7d.js +4 -0
- package/dist/ionic/{p-65346408.system.entry.js → p-b91acf8d.system.entry.js} +1 -1
- package/dist/ionic/{p-d99e8644.system.js → p-c1b51537.system.js} +1 -1
- package/dist/ionic/{p-8cfba7e9.system.entry.js → p-c29f8157.system.entry.js} +1 -1
- package/dist/ionic/{p-72ec9a26.entry.js → p-cc700b6b.entry.js} +1 -1
- package/dist/ionic/{p-0bfffa34.system.entry.js → p-d06601eb.system.entry.js} +1 -1
- package/dist/ionic/{p-93e3654c.system.entry.js → p-d192fdf7.system.entry.js} +1 -1
- package/dist/ionic/{p-7ae680ba.system.entry.js → p-d3b26da4.system.entry.js} +1 -1
- package/dist/ionic/{p-1a5bc5f7.js → p-d60342e3.js} +1 -1
- package/dist/ionic/{p-89bf08c7.entry.js → p-da074ff7.entry.js} +1 -1
- package/dist/ionic/{p-fec13c57.entry.js → p-e1bbacb7.entry.js} +1 -1
- package/dist/ionic/{p-179bf9d1.system.entry.js → p-e265ae18.system.entry.js} +1 -1
- package/dist/ionic/{p-fbf86e62.system.js → p-e308de5b.system.js} +1 -1
- package/dist/ionic/{p-655723eb.system.entry.js → p-e456ee59.system.entry.js} +1 -1
- package/dist/ionic/{p-058e61eb.system.js → p-e8232807.system.js} +1 -1
- package/dist/ionic/{p-80c6d619.entry.js → p-e97a3f44.entry.js} +1 -1
- package/dist/ionic/{p-f5d6624d.entry.js → p-f42743d1.entry.js} +1 -1
- package/dist/ionic/{p-4d3a5f86.js → p-f5035354.js} +1 -1
- package/dist/ionic/{p-343b6b1d.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/p-ff4b7e40.system.js +4 -0
- package/dist/ionic/{p-f56752be.system.entry.js → p-ffc48bc5.system.entry.js} +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +0 -6
- package/dist/types/components/modal/animations/sheet.d.ts +0 -1
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +0 -1
- package/dist/types/components/modal/modal.d.ts +0 -11
- package/dist/types/components/select/select.d.ts +0 -6
- package/dist/types/components/toggle/toggle.d.ts +0 -6
- package/dist/types/components/toolbar/toolbar.d.ts +0 -4
- package/dist/types/components.d.ts +0 -32
- package/dist/types/utils/config.d.ts +0 -9
- package/dist/types/utils/logging/index.d.ts +1 -13
- package/hydrate/index.js +52 -292
- package/hydrate/index.mjs +52 -292
- package/package.json +2 -2
- package/dist/esm-es5/index-6ad967f3.js +0 -4
- package/dist/esm-es5/input-shims-dff819a9.js +0 -4
- package/dist/esm-es5/md.transition-a560e0e2.js +0 -4
- package/dist/esm-es5/status-tap-d07dbc82.js +0 -4
- package/dist/ionic/p-21227121.js +0 -4
- package/dist/ionic/p-22149a4f.js +0 -4
- package/dist/ionic/p-34479cfb.entry.js +0 -4
- package/dist/ionic/p-346b2baf.js +0 -4
- package/dist/ionic/p-3e99e3e0.entry.js +0 -4
- package/dist/ionic/p-42c9deb1.entry.js +0 -4
- package/dist/ionic/p-52245809.js +0 -4
- package/dist/ionic/p-5c9324c6.js +0 -4
- package/dist/ionic/p-67222c16.system.js +0 -4
- package/dist/ionic/p-712fedc9.entry.js +0 -4
- package/dist/ionic/p-a18470c6.entry.js +0 -4
- package/dist/ionic/p-c3802319.system.js +0 -4
- package/dist/ionic/p-e8d56122.js +0 -4
- package/dist/ionic/p-f2613334.system.entry.js +0 -4
|
@@ -86,7 +86,6 @@ export class Modal {
|
|
|
86
86
|
this.enterAnimation = undefined;
|
|
87
87
|
this.leaveAnimation = undefined;
|
|
88
88
|
this.breakpoints = undefined;
|
|
89
|
-
this.expandToScroll = true;
|
|
90
89
|
this.initialBreakpoint = undefined;
|
|
91
90
|
this.backdropBreakpoint = 0;
|
|
92
91
|
this.handle = undefined;
|
|
@@ -302,7 +301,6 @@ export class Modal {
|
|
|
302
301
|
presentingEl: presentingElement,
|
|
303
302
|
currentBreakpoint: this.initialBreakpoint,
|
|
304
303
|
backdropBreakpoint: this.backdropBreakpoint,
|
|
305
|
-
expandToScroll: this.expandToScroll,
|
|
306
304
|
});
|
|
307
305
|
/* tslint:disable-next-line */
|
|
308
306
|
if (typeof window !== 'undefined') {
|
|
@@ -353,10 +351,7 @@ export class Modal {
|
|
|
353
351
|
// should be in the DOM and referenced by now, except
|
|
354
352
|
// for the presenting el
|
|
355
353
|
const animationBuilder = this.leaveAnimation || config.get('modalLeave', iosLeaveAnimation);
|
|
356
|
-
const ani = (this.animation = animationBuilder(el, {
|
|
357
|
-
presentingEl: this.presentingElement,
|
|
358
|
-
expandToScroll: this.expandToScroll,
|
|
359
|
-
}));
|
|
354
|
+
const ani = (this.animation = animationBuilder(el, { presentingEl: this.presentingElement }));
|
|
360
355
|
const contentEl = findIonContent(el);
|
|
361
356
|
if (!contentEl) {
|
|
362
357
|
printIonContentErrorMsg(el);
|
|
@@ -401,10 +396,9 @@ export class Modal {
|
|
|
401
396
|
presentingEl: this.presentingElement,
|
|
402
397
|
currentBreakpoint: initialBreakpoint,
|
|
403
398
|
backdropBreakpoint,
|
|
404
|
-
expandToScroll: this.expandToScroll,
|
|
405
399
|
}));
|
|
406
400
|
ani.progressStart(true, 1);
|
|
407
|
-
const { gesture, moveSheetToBreakpoint } = createSheetGesture(this.el, this.backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, ani, this.sortedBreakpoints,
|
|
401
|
+
const { gesture, moveSheetToBreakpoint } = createSheetGesture(this.el, this.backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, ani, this.sortedBreakpoints, () => { var _a; return (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : 0; }, () => this.sheetOnDismiss(), (breakpoint) => {
|
|
408
402
|
if (this.currentBreakpoint !== breakpoint) {
|
|
409
403
|
this.currentBreakpoint = breakpoint;
|
|
410
404
|
this.ionBreakpointDidChange.emit({ breakpoint });
|
|
@@ -482,7 +476,6 @@ export class Modal {
|
|
|
482
476
|
presentingEl: presentingElement,
|
|
483
477
|
currentBreakpoint: (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : this.initialBreakpoint,
|
|
484
478
|
backdropBreakpoint: this.backdropBreakpoint,
|
|
485
|
-
expandToScroll: this.expandToScroll,
|
|
486
479
|
});
|
|
487
480
|
if (dismissed) {
|
|
488
481
|
const { delegate } = this.getDelegate();
|
|
@@ -568,23 +561,23 @@ export class Modal {
|
|
|
568
561
|
return true;
|
|
569
562
|
}
|
|
570
563
|
render() {
|
|
571
|
-
const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap
|
|
564
|
+
const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap } = this;
|
|
572
565
|
const showHandle = handle !== false && isSheetModal;
|
|
573
566
|
const mode = getIonMode(this);
|
|
574
567
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
575
568
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
576
|
-
return (h(Host, Object.assign({ key: '
|
|
569
|
+
return (h(Host, Object.assign({ key: 'b4da5111fe4719fa450c39b2d4bd884a302a7924', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
577
570
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
578
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal,
|
|
571
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: 'c12dbf747e0eb914eaf1331798548ffc7e147763', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: 'da546ee80c6576b5acc66e959fd5009e0b9a8160', class: "modal-shadow" }), h("div", Object.assign({ key: '306ebe6427440ad5f7ed36d590e562d15a503b75',
|
|
579
572
|
/*
|
|
580
573
|
role and aria-modal must be used on the
|
|
581
574
|
same element. They must also be set inside the
|
|
582
575
|
shadow DOM otherwise ion-button will not be highlighted
|
|
583
576
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
584
577
|
*/
|
|
585
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
578
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: 'c5d17e346fe255a7c0cacbbf15c0083f2d09c488', class: "modal-handle",
|
|
586
579
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
587
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '
|
|
580
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '5cc714170a00b67f3eda0cd1d6f37c1489a99c83' }))));
|
|
588
581
|
}
|
|
589
582
|
static get is() { return "ion-modal"; }
|
|
590
583
|
static get encapsulation() { return "shadow"; }
|
|
@@ -742,24 +735,6 @@ export class Modal {
|
|
|
742
735
|
"text": "The breakpoints to use when creating a sheet modal. Each value in the\narray must be a decimal between 0 and 1 where 0 indicates the modal is fully\nclosed and 1 indicates the modal is fully open. Values are relative\nto the height of the modal, not the height of the screen. One of the values in this\narray must be the value of the `initialBreakpoint` property.\nFor example: [0, .25, .5, 1]"
|
|
743
736
|
}
|
|
744
737
|
},
|
|
745
|
-
"expandToScroll": {
|
|
746
|
-
"type": "boolean",
|
|
747
|
-
"mutable": false,
|
|
748
|
-
"complexType": {
|
|
749
|
-
"original": "boolean",
|
|
750
|
-
"resolved": "boolean",
|
|
751
|
-
"references": {}
|
|
752
|
-
},
|
|
753
|
-
"required": false,
|
|
754
|
-
"optional": false,
|
|
755
|
-
"docs": {
|
|
756
|
-
"tags": [],
|
|
757
|
-
"text": "Controls whether scrolling or dragging within the sheet modal expands\nit to a larger breakpoint. This only takes effect when `breakpoints`\nand `initialBreakpoint` are set.\n\nIf `true`, scrolling or dragging anywhere in the modal will first expand\nit to the next breakpoint. Once fully expanded, scrolling will affect the content.\nIf `false`, scrolling will always affect the content, and the modal will only expand\nwhen dragging the header or handle."
|
|
758
|
-
},
|
|
759
|
-
"attribute": "expand-to-scroll",
|
|
760
|
-
"reflect": false,
|
|
761
|
-
"defaultValue": "true"
|
|
762
|
-
},
|
|
763
738
|
"initialBreakpoint": {
|
|
764
739
|
"type": "number",
|
|
765
740
|
"mutable": false,
|
|
@@ -201,12 +201,6 @@ ion-backdrop {
|
|
|
201
201
|
bottom: 0;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
:host(.modal-sheet.modal-no-expand-scroll) ion-footer {
|
|
205
|
-
position: absolute;
|
|
206
|
-
bottom: 0;
|
|
207
|
-
width: var(--width);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
204
|
/**
|
|
211
205
|
* Convert a font size to a dynamic font size.
|
|
212
206
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -91,7 +91,6 @@ export class Select {
|
|
|
91
91
|
this.expandedIcon = undefined;
|
|
92
92
|
this.shape = undefined;
|
|
93
93
|
this.value = undefined;
|
|
94
|
-
this.required = false;
|
|
95
94
|
}
|
|
96
95
|
styleChanged() {
|
|
97
96
|
this.emitStyle();
|
|
@@ -656,8 +655,8 @@ export class Select {
|
|
|
656
655
|
return renderedLabel;
|
|
657
656
|
}
|
|
658
657
|
renderListbox() {
|
|
659
|
-
const { disabled, inputId, isExpanded
|
|
660
|
-
return (h("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`,
|
|
658
|
+
const { disabled, inputId, isExpanded } = this;
|
|
659
|
+
return (h("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`, onFocus: this.onFocus, onBlur: this.onBlur, ref: (focusEl) => (this.focusEl = focusEl) }));
|
|
661
660
|
}
|
|
662
661
|
render() {
|
|
663
662
|
const { disabled, el, isExpanded, expandedIcon, labelPlacement, justify, placeholder, fill, shape, name, value } = this;
|
|
@@ -688,7 +687,7 @@ export class Select {
|
|
|
688
687
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
689
688
|
*/
|
|
690
689
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
691
|
-
return (h(Host, { key: '
|
|
690
|
+
return (h(Host, { key: 'b2dca9ae25d88e4d9fdb55003041a66be5668fcf', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
692
691
|
[mode]: true,
|
|
693
692
|
'in-item': inItem,
|
|
694
693
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -704,7 +703,7 @@ export class Select {
|
|
|
704
703
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
705
704
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
706
705
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
707
|
-
}) }, h("label", { key: '
|
|
706
|
+
}) }, h("label", { key: 'c22fe9aee8cd448223497ef143e89529fcef8af6', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '601972df4579f4fa6a9c2c12865593e807decb72', class: "select-wrapper-inner" }, h("slot", { key: '5f7b1261862f74b978b26f026533e3fd1cc666ba', name: "start" }), h("div", { key: '39616da89f4b4b78432f6da85116a7de2ca589e7', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '1d7b3601b73af7c05b3627cfc8e5147ea379bb03', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'b0344f0ac15003e22fee66d3d7ed03a07da7e8b7', class: "select-highlight" }))));
|
|
708
707
|
}
|
|
709
708
|
static get is() { return "ion-select"; }
|
|
710
709
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1070,24 +1069,6 @@ export class Select {
|
|
|
1070
1069
|
},
|
|
1071
1070
|
"attribute": "value",
|
|
1072
1071
|
"reflect": false
|
|
1073
|
-
},
|
|
1074
|
-
"required": {
|
|
1075
|
-
"type": "boolean",
|
|
1076
|
-
"mutable": false,
|
|
1077
|
-
"complexType": {
|
|
1078
|
-
"original": "boolean",
|
|
1079
|
-
"resolved": "boolean",
|
|
1080
|
-
"references": {}
|
|
1081
|
-
},
|
|
1082
|
-
"required": false,
|
|
1083
|
-
"optional": false,
|
|
1084
|
-
"docs": {
|
|
1085
|
-
"tags": [],
|
|
1086
|
-
"text": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid."
|
|
1087
|
-
},
|
|
1088
|
-
"attribute": "required",
|
|
1089
|
-
"reflect": false,
|
|
1090
|
-
"defaultValue": "false"
|
|
1091
1072
|
}
|
|
1092
1073
|
};
|
|
1093
1074
|
}
|
|
@@ -71,7 +71,6 @@ export class Toggle {
|
|
|
71
71
|
this.labelPlacement = 'start';
|
|
72
72
|
this.justify = undefined;
|
|
73
73
|
this.alignment = undefined;
|
|
74
|
-
this.required = false;
|
|
75
74
|
}
|
|
76
75
|
disabledChanged() {
|
|
77
76
|
if (this.gesture) {
|
|
@@ -153,12 +152,12 @@ export class Toggle {
|
|
|
153
152
|
return this.el.textContent !== '';
|
|
154
153
|
}
|
|
155
154
|
render() {
|
|
156
|
-
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment
|
|
155
|
+
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment } = this;
|
|
157
156
|
const mode = getIonMode(this);
|
|
158
157
|
const value = this.getValue();
|
|
159
158
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
160
159
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
161
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: 'f52195ec3bc14c024647cb41319c32a4cd330e19', onClick: this.onClick, class: createColorClasses(color, {
|
|
162
161
|
[mode]: true,
|
|
163
162
|
'in-item': hostContext('ion-item', el),
|
|
164
163
|
'toggle-activated': activated,
|
|
@@ -168,10 +167,10 @@ export class Toggle {
|
|
|
168
167
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
169
168
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
170
169
|
[`toggle-${rtl}`]: true,
|
|
171
|
-
}) }, h("label", { key: '
|
|
170
|
+
}) }, h("label", { key: 'f8b3a215ad85b2cee611ad63449b584e1640f27f', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'f387b1ea840737a9737917e516834c887be99c09', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: '936af880db59fe377cd2de9101eb28a1c4fb8914', class: {
|
|
172
171
|
'label-text-wrapper': true,
|
|
173
172
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
174
|
-
}, part: "label" }, h("slot", { key: '
|
|
173
|
+
}, part: "label" }, h("slot", { key: '80a6672e2e792c15011a9496dcd75363cdba31c6' })), h("div", { key: '2b2b318b38ab27b194c0dab4cecd77d9d780f2ca', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
175
174
|
}
|
|
176
175
|
static get is() { return "ion-toggle"; }
|
|
177
176
|
static get encapsulation() { return "shadow"; }
|
|
@@ -353,24 +352,6 @@ export class Toggle {
|
|
|
353
352
|
},
|
|
354
353
|
"attribute": "alignment",
|
|
355
354
|
"reflect": false
|
|
356
|
-
},
|
|
357
|
-
"required": {
|
|
358
|
-
"type": "boolean",
|
|
359
|
-
"mutable": false,
|
|
360
|
-
"complexType": {
|
|
361
|
-
"original": "boolean",
|
|
362
|
-
"resolved": "boolean",
|
|
363
|
-
"references": {}
|
|
364
|
-
},
|
|
365
|
-
"required": false,
|
|
366
|
-
"optional": false,
|
|
367
|
-
"docs": {
|
|
368
|
-
"tags": [],
|
|
369
|
-
"text": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid."
|
|
370
|
-
},
|
|
371
|
-
"attribute": "required",
|
|
372
|
-
"reflect": false,
|
|
373
|
-
"defaultValue": "false"
|
|
374
355
|
}
|
|
375
356
|
};
|
|
376
357
|
}
|
|
@@ -12,10 +12,6 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
12
12
|
* @slot secondary - Content is placed to the left of the toolbar text in `ios` mode, and directly to the right in `md` mode.
|
|
13
13
|
* @slot primary - Content is placed to the right of the toolbar text in `ios` mode, and to the far right in `md` mode.
|
|
14
14
|
* @slot end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL.
|
|
15
|
-
*
|
|
16
|
-
* @part background - The background of the toolbar, covering the entire area behind the toolbar content.
|
|
17
|
-
* @part container - The container that wraps all toolbar content, including the default slot and named slot content.
|
|
18
|
-
* @part content - The container for the default slot, wrapping content provided without a named slot.
|
|
19
15
|
*/
|
|
20
16
|
export class Toolbar {
|
|
21
17
|
constructor() {
|
|
@@ -66,10 +62,10 @@ export class Toolbar {
|
|
|
66
62
|
this.childrenStyles.forEach((value) => {
|
|
67
63
|
Object.assign(childStyles, value);
|
|
68
64
|
});
|
|
69
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: '462538a5ecd01baf3cde116c9f029aeda26c81be', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
70
66
|
[mode]: true,
|
|
71
67
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
72
|
-
})) }, h("div", { key: '
|
|
68
|
+
})) }, h("div", { key: 'c0b4415d3b2472de643a9be7cb3b13b3b628621b', class: "toolbar-background" }), h("div", { key: '0ccb8a2dbeaa28d8f9bed87629c0c097446690c2', class: "toolbar-container" }, h("slot", { key: '3e726dac359e923df21d80301651f16063a3de20', name: "start" }), h("slot", { key: 'cd799330b56a7f8833bc61bb2807aafb21846f71', name: "secondary" }), h("div", { key: '395282e6ac8c53576922dcdb5f08c25d34638c86', class: "toolbar-content" }, h("slot", { key: 'a437c60e4ba5aae65e55169ae82a6f379868ec1d' })), h("slot", { key: '711af9b9d321a7b31ede924c9bdcad767aa9a1ca', name: "primary" }), h("slot", { key: 'ecc02edeaf80a837890bcb08d5096df1e22a0b9a', name: "end" }))));
|
|
73
69
|
}
|
|
74
70
|
static get is() { return "ion-toolbar"; }
|
|
75
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { config } from "../../global/config";
|
|
5
4
|
/**
|
|
6
5
|
* Logs a warning to the console with an Ionic prefix
|
|
7
6
|
* to indicate the library that is warning the developer.
|
|
@@ -9,12 +8,9 @@ import { config } from "../../global/config";
|
|
|
9
8
|
* @param message - The string message to be logged to the console.
|
|
10
9
|
*/
|
|
11
10
|
export const printIonWarning = (message, ...params) => {
|
|
12
|
-
|
|
13
|
-
if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
14
|
-
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
15
|
-
}
|
|
11
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
16
12
|
};
|
|
17
|
-
|
|
13
|
+
/*
|
|
18
14
|
* Logs an error to the console with an Ionic prefix
|
|
19
15
|
* to indicate the library that is warning the developer.
|
|
20
16
|
*
|
|
@@ -22,10 +18,7 @@ export const printIonWarning = (message, ...params) => {
|
|
|
22
18
|
* @param params - Additional arguments to supply to the console.error.
|
|
23
19
|
*/
|
|
24
20
|
export const printIonError = (message, ...params) => {
|
|
25
|
-
|
|
26
|
-
if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
27
|
-
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
28
|
-
}
|
|
21
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
29
22
|
};
|
|
30
23
|
/**
|
|
31
24
|
* Prints an error informing developers that an implementation requires an element to be used
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-03-
|
|
2
|
+
"timestamp": "2025-03-03T19:30:40",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.20.0",
|
|
@@ -6018,28 +6018,6 @@
|
|
|
6018
6018
|
"optional": false,
|
|
6019
6019
|
"required": false
|
|
6020
6020
|
},
|
|
6021
|
-
{
|
|
6022
|
-
"name": "required",
|
|
6023
|
-
"type": "boolean",
|
|
6024
|
-
"complexType": {
|
|
6025
|
-
"original": "boolean",
|
|
6026
|
-
"resolved": "boolean",
|
|
6027
|
-
"references": {}
|
|
6028
|
-
},
|
|
6029
|
-
"mutable": false,
|
|
6030
|
-
"attr": "required",
|
|
6031
|
-
"reflectToAttr": false,
|
|
6032
|
-
"docs": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid.",
|
|
6033
|
-
"docsTags": [],
|
|
6034
|
-
"default": "false",
|
|
6035
|
-
"values": [
|
|
6036
|
-
{
|
|
6037
|
-
"type": "boolean"
|
|
6038
|
-
}
|
|
6039
|
-
],
|
|
6040
|
-
"optional": false,
|
|
6041
|
-
"required": false
|
|
6042
|
-
},
|
|
6043
6021
|
{
|
|
6044
6022
|
"name": "value",
|
|
6045
6023
|
"type": "any",
|
|
@@ -17046,28 +17024,6 @@
|
|
|
17046
17024
|
"optional": true,
|
|
17047
17025
|
"required": false
|
|
17048
17026
|
},
|
|
17049
|
-
{
|
|
17050
|
-
"name": "expandToScroll",
|
|
17051
|
-
"type": "boolean",
|
|
17052
|
-
"complexType": {
|
|
17053
|
-
"original": "boolean",
|
|
17054
|
-
"resolved": "boolean",
|
|
17055
|
-
"references": {}
|
|
17056
|
-
},
|
|
17057
|
-
"mutable": false,
|
|
17058
|
-
"attr": "expand-to-scroll",
|
|
17059
|
-
"reflectToAttr": false,
|
|
17060
|
-
"docs": "Controls whether scrolling or dragging within the sheet modal expands\nit to a larger breakpoint. This only takes effect when `breakpoints`\nand `initialBreakpoint` are set.\n\nIf `true`, scrolling or dragging anywhere in the modal will first expand\nit to the next breakpoint. Once fully expanded, scrolling will affect the content.\nIf `false`, scrolling will always affect the content, and the modal will only expand\nwhen dragging the header or handle.",
|
|
17061
|
-
"docsTags": [],
|
|
17062
|
-
"default": "true",
|
|
17063
|
-
"values": [
|
|
17064
|
-
{
|
|
17065
|
-
"type": "boolean"
|
|
17066
|
-
}
|
|
17067
|
-
],
|
|
17068
|
-
"optional": false,
|
|
17069
|
-
"required": false
|
|
17070
|
-
},
|
|
17071
17027
|
{
|
|
17072
17028
|
"name": "focusTrap",
|
|
17073
17029
|
"type": "boolean",
|
|
@@ -27742,28 +27698,6 @@
|
|
|
27742
27698
|
"optional": true,
|
|
27743
27699
|
"required": false
|
|
27744
27700
|
},
|
|
27745
|
-
{
|
|
27746
|
-
"name": "required",
|
|
27747
|
-
"type": "boolean",
|
|
27748
|
-
"complexType": {
|
|
27749
|
-
"original": "boolean",
|
|
27750
|
-
"resolved": "boolean",
|
|
27751
|
-
"references": {}
|
|
27752
|
-
},
|
|
27753
|
-
"mutable": false,
|
|
27754
|
-
"attr": "required",
|
|
27755
|
-
"reflectToAttr": false,
|
|
27756
|
-
"docs": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid.",
|
|
27757
|
-
"docsTags": [],
|
|
27758
|
-
"default": "false",
|
|
27759
|
-
"values": [
|
|
27760
|
-
{
|
|
27761
|
-
"type": "boolean"
|
|
27762
|
-
}
|
|
27763
|
-
],
|
|
27764
|
-
"optional": false,
|
|
27765
|
-
"required": false
|
|
27766
|
-
},
|
|
27767
27701
|
{
|
|
27768
27702
|
"name": "selectedText",
|
|
27769
27703
|
"type": "null | string | undefined",
|
|
@@ -32725,28 +32659,6 @@
|
|
|
32725
32659
|
"optional": false,
|
|
32726
32660
|
"required": false
|
|
32727
32661
|
},
|
|
32728
|
-
{
|
|
32729
|
-
"name": "required",
|
|
32730
|
-
"type": "boolean",
|
|
32731
|
-
"complexType": {
|
|
32732
|
-
"original": "boolean",
|
|
32733
|
-
"resolved": "boolean",
|
|
32734
|
-
"references": {}
|
|
32735
|
-
},
|
|
32736
|
-
"mutable": false,
|
|
32737
|
-
"attr": "required",
|
|
32738
|
-
"reflectToAttr": false,
|
|
32739
|
-
"docs": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid.",
|
|
32740
|
-
"docsTags": [],
|
|
32741
|
-
"default": "false",
|
|
32742
|
-
"values": [
|
|
32743
|
-
{
|
|
32744
|
-
"type": "boolean"
|
|
32745
|
-
}
|
|
32746
|
-
],
|
|
32747
|
-
"optional": false,
|
|
32748
|
-
"required": false
|
|
32749
|
-
},
|
|
32750
32662
|
{
|
|
32751
32663
|
"name": "value",
|
|
32752
32664
|
"type": "null | string | undefined",
|
|
@@ -33033,18 +32945,6 @@
|
|
|
33033
32945
|
{
|
|
33034
32946
|
"name": "slot",
|
|
33035
32947
|
"text": "end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL."
|
|
33036
|
-
},
|
|
33037
|
-
{
|
|
33038
|
-
"name": "part",
|
|
33039
|
-
"text": "background - The background of the toolbar, covering the entire area behind the toolbar content."
|
|
33040
|
-
},
|
|
33041
|
-
{
|
|
33042
|
-
"name": "part",
|
|
33043
|
-
"text": "container - The container that wraps all toolbar content, including the default slot and named slot content."
|
|
33044
|
-
},
|
|
33045
|
-
{
|
|
33046
|
-
"name": "part",
|
|
33047
|
-
"text": "content - The container for the default slot, wrapping content provided without a named slot."
|
|
33048
32948
|
}
|
|
33049
32949
|
],
|
|
33050
32950
|
"usage": {},
|
|
@@ -33302,20 +33202,7 @@
|
|
|
33302
33202
|
"docs": "Content is placed to the left of the toolbar text in LTR, and to the right in RTL."
|
|
33303
33203
|
}
|
|
33304
33204
|
],
|
|
33305
|
-
"parts": [
|
|
33306
|
-
{
|
|
33307
|
-
"name": "background",
|
|
33308
|
-
"docs": "The background of the toolbar, covering the entire area behind the toolbar content."
|
|
33309
|
-
},
|
|
33310
|
-
{
|
|
33311
|
-
"name": "container",
|
|
33312
|
-
"docs": "The container that wraps all toolbar content, including the default slot and named slot content."
|
|
33313
|
-
},
|
|
33314
|
-
{
|
|
33315
|
-
"name": "content",
|
|
33316
|
-
"docs": "The container for the default slot, wrapping content provided without a named slot."
|
|
33317
|
-
}
|
|
33318
|
-
],
|
|
33205
|
+
"parts": [],
|
|
33319
33206
|
"dependents": [
|
|
33320
33207
|
"ion-select-modal"
|
|
33321
33208
|
],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { c as componentOnReady } from './helpers-9b49d7d2.js';
|
|
5
|
-
import { b as printRequiredElementError } from './index-
|
|
5
|
+
import { b as printRequiredElementError } from './index-9b0d46f4.js';
|
|
6
6
|
|
|
7
7
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
8
8
|
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { c as config } from './ionic-global-c81d82ab.js';
|
|
5
5
|
import { w as writeTask, B as Build } from './index-28849c61.js';
|
|
6
|
-
import { p as printIonWarning } from './index-
|
|
6
|
+
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
7
7
|
import { r as raf } from './helpers-9b49d7d2.js';
|
|
8
8
|
|
|
9
9
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
@@ -120,8 +120,8 @@ const createFocusController = () => {
|
|
|
120
120
|
};
|
|
121
121
|
const LAST_FOCUS = 'ion-last-focus';
|
|
122
122
|
|
|
123
|
-
const iosTransitionAnimation = () => import('./ios.transition-
|
|
124
|
-
const mdTransitionAnimation = () => import('./md.transition-
|
|
123
|
+
const iosTransitionAnimation = () => import('./ios.transition-085853ff.js');
|
|
124
|
+
const mdTransitionAnimation = () => import('./md.transition-33826623.js');
|
|
125
125
|
const focusController = createFocusController();
|
|
126
126
|
// TODO(FW-2832): types
|
|
127
127
|
const transition = (opts) => {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index-a5d50daf.js';
|
|
5
5
|
import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-06ef3c3e.js';
|
|
6
|
-
import { p as printIonWarning } from './index-
|
|
6
|
+
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
7
7
|
import { c as componentOnReady } from './helpers-9b49d7d2.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global-c81d82ab.js';
|
|
9
9
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { c as config } from './ionic-global-c81d82ab.js';
|
|
5
|
-
|
|
6
4
|
/**
|
|
7
5
|
* Logs a warning to the console with an Ionic prefix
|
|
8
6
|
* to indicate the library that is warning the developer.
|
|
@@ -10,12 +8,9 @@ import { c as config } from './ionic-global-c81d82ab.js';
|
|
|
10
8
|
* @param message - The string message to be logged to the console.
|
|
11
9
|
*/
|
|
12
10
|
const printIonWarning = (message, ...params) => {
|
|
13
|
-
|
|
14
|
-
if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
15
|
-
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
16
|
-
}
|
|
11
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
17
12
|
};
|
|
18
|
-
|
|
13
|
+
/*
|
|
19
14
|
* Logs an error to the console with an Ionic prefix
|
|
20
15
|
* to indicate the library that is warning the developer.
|
|
21
16
|
*
|
|
@@ -23,10 +18,7 @@ const printIonWarning = (message, ...params) => {
|
|
|
23
18
|
* @param params - Additional arguments to supply to the console.error.
|
|
24
19
|
*/
|
|
25
20
|
const printIonError = (message, ...params) => {
|
|
26
|
-
|
|
27
|
-
if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
28
|
-
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
29
|
-
}
|
|
21
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
30
22
|
};
|
|
31
23
|
/**
|
|
32
24
|
* Prints an error informing developers that an implementation requires an element to be used
|
package/dist/esm/index.js
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
export { c as createAnimation } from './animation-eab5a4ca.js';
|
|
5
|
-
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-
|
|
6
|
-
export { iosTransitionAnimation } from './ios.transition-
|
|
7
|
-
export { mdTransitionAnimation } from './md.transition-
|
|
5
|
+
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-7ec5519a.js';
|
|
6
|
+
export { iosTransitionAnimation } from './ios.transition-085853ff.js';
|
|
7
|
+
export { mdTransitionAnimation } from './md.transition-33826623.js';
|
|
8
8
|
export { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
|
|
9
9
|
export { createGesture } from './index-39782642.js';
|
|
10
10
|
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-c81d82ab.js';
|
|
11
11
|
export { c as componentOnReady } from './helpers-9b49d7d2.js';
|
|
12
12
|
export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-49c88215.js';
|
|
13
13
|
export { o as openURL } from './theme-01f3f29c.js';
|
|
14
|
-
export { m as menuController } from './index-
|
|
15
|
-
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-
|
|
14
|
+
export { m as menuController } from './index-8785a9c6.js';
|
|
15
|
+
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-e3d0d356.js';
|
|
16
16
|
import './index-a5d50daf.js';
|
|
17
17
|
import './index-28849c61.js';
|
|
18
|
-
import './index-
|
|
18
|
+
import './index-9b0d46f4.js';
|
|
19
19
|
import './gesture-controller-314a54f6.js';
|
|
20
20
|
import './hardware-back-button-06ef3c3e.js';
|
|
21
21
|
import './framework-delegate-f683816e.js';
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { w as win, d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import { g as getScrollElement, c as scrollByPoint, f as findClosestIonContent } from './index-
|
|
5
|
+
import { g as getScrollElement, c as scrollByPoint, f as findClosestIonContent } from './index-33f7e3ff.js';
|
|
6
6
|
import { a as addEventListener, b as removeEventListener, r as raf, c as componentOnReady } from './helpers-9b49d7d2.js';
|
|
7
7
|
import { a as KeyboardResize, K as Keyboard } from './keyboard-73175e24.js';
|
|
8
|
-
import './index-
|
|
9
|
-
import './ionic-global-c81d82ab.js';
|
|
10
|
-
import './index-28849c61.js';
|
|
8
|
+
import './index-9b0d46f4.js';
|
|
11
9
|
import './capacitor-59395cbd.js';
|
|
12
10
|
|
|
13
11
|
const cloneMap = new WeakMap();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { w as win } from './index-a5d50daf.js';
|
|
5
5
|
import { r as raf } from './helpers-9b49d7d2.js';
|
|
6
|
-
import { a as printIonError } from './index-
|
|
6
|
+
import { a as printIonError } from './index-9b0d46f4.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Used to update a scoped component that uses emulated slots. This fires when
|
|
@@ -5,7 +5,7 @@ import { r as registerInstance, h, f as Host, i as getElement, d as createEvent
|
|
|
5
5
|
import { r as raf, t as transitionEndAsync, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-9b49d7d2.js';
|
|
6
6
|
import { l as chevronDown } from './index-e2cf2ceb.js';
|
|
7
7
|
import { c as config, b as getIonMode } from './ionic-global-c81d82ab.js';
|
|
8
|
-
import { p as printIonWarning } from './index-
|
|
8
|
+
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
9
9
|
|
|
10
10
|
const accordionIosCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";
|
|
11
11
|
const IonAccordionIosStyle0 = accordionIosCss;
|