@ionic/core 7.5.7-dev.11700601419.1c57af2e → 7.5.7-dev.11701113479.149fdab6
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/alert.js +1 -1
- package/components/backdrop.js +0 -12
- package/components/gesture-controller.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/ion-datetime.js +29 -62
- package/components/ion-infinite-scroll.js +3 -11
- package/components/ion-picker-legacy-column.d.ts +11 -0
- package/components/{ion-picker-column.js → ion-picker-legacy-column.js} +2 -2
- package/components/{ion-picker-column.d.ts → ion-picker-legacy.d.ts} +4 -4
- package/components/ion-picker-legacy.js +309 -0
- package/components/overlays.js +11 -4
- package/components/picker-column-internal.js +12 -7
- package/components/picker-column.js +3 -3
- package/dist/cjs/{button-active-af897e0e.js → button-active-cd07b55b.js} +1 -1
- package/dist/cjs/{gesture-controller-b46721be.js → gesture-controller-d6a3f907.js} +1 -0
- package/dist/cjs/{index-0ee995e4.js → index-0f8b33f8.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ion-alert.cjs.entry.js +5 -5
- package/dist/cjs/ion-app_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +0 -12
- package/dist/cjs/ion-datetime_3.cjs.entry.js +30 -43
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -11
- package/dist/cjs/ion-item-option_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-loading.cjs.entry.js +2 -1
- package/dist/cjs/ion-menu_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-modal.cjs.entry.js +3 -3
- package/dist/cjs/ion-nav_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +11 -7
- package/dist/cjs/ion-popover.cjs.entry.js +2 -1
- package/dist/cjs/ion-range.cjs.entry.js +1 -1
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +2 -1
- package/dist/cjs/ion-toast.cjs.entry.js +2 -1
- package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{overlays-2ffc5f27.js → overlays-dbb71984.js} +11 -4
- package/dist/cjs/{swipe-back-d0412fb6.js → swipe-back-a6dc6e5d.js} +2 -2
- package/dist/collection/collection-manifest.json +6 -6
- package/dist/collection/components/alert/alert.ios.css +10 -0
- package/dist/collection/components/backdrop/backdrop.js +0 -12
- package/dist/collection/components/content/content.css +0 -4
- package/dist/collection/components/datetime/datetime.ios.css +83 -24
- package/dist/collection/components/datetime/datetime.js +19 -34
- package/dist/collection/components/datetime/datetime.md.css +88 -24
- package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/a11y/datetime.spec.js +6 -9
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +10 -0
- package/dist/collection/components/datetime/test/disabled/datetime.spec.js +33 -0
- package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +2 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +3 -11
- package/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +11 -3
- package/dist/collection/components/picker-column-internal/picker-column-internal.js +27 -5
- package/dist/collection/components/picker-column-internal/picker-column-internal.md.css +11 -3
- package/dist/collection/components/picker-column-internal/test/disabled/picker-column-internal.e2e.js +34 -5
- package/dist/collection/components/{picker-column → picker-column-legacy}/picker-column.js +5 -5
- package/dist/collection/components/{picker-column → picker-column-legacy}/test/picker-column-aria.spec.js +3 -3
- package/dist/collection/components/{picker-column → picker-column-legacy}/test/picker-column-dynamic.spec.js +2 -2
- package/dist/collection/components/{picker-column → picker-column-legacy}/test/picker-column.spec.js +2 -2
- package/dist/collection/components/{picker-column → picker-column-legacy}/test/standalone/picker-column.e2e.js +3 -3
- package/dist/collection/components/{picker → picker-legacy}/picker.js +7 -5
- package/dist/collection/components/{picker → picker-legacy}/test/basic/picker.e2e.js +2 -2
- package/dist/collection/components/{picker → picker-legacy}/test/is-open/picker.e2e.js +4 -4
- package/dist/collection/components/{picker → picker-legacy}/test/picker-id.spec.js +5 -5
- package/dist/collection/components/{picker → picker-legacy}/test/trigger/picker.e2e.js +1 -1
- package/dist/collection/utils/gesture/gesture-controller.js +1 -1
- package/dist/collection/utils/overlays.js +11 -4
- package/dist/collection/utils/test/overlays/overlays-scroll-blocking.spec.js +65 -0
- package/dist/docs.json +32 -43
- package/dist/esm/{button-active-ce5cba4c.js → button-active-5b0516e7.js} +1 -1
- package/dist/esm/{gesture-controller-0fa396c4.js → gesture-controller-3723db7c.js} +1 -1
- package/dist/esm/{index-ff313b19.js → index-32cbee52.js} +2 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +4 -4
- package/dist/esm/ion-alert.entry.js +5 -5
- package/dist/esm/ion-app_8.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +0 -12
- package/dist/esm/ion-datetime_3.entry.js +29 -42
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -11
- package/dist/esm/ion-item-option_3.entry.js +1 -1
- package/dist/esm/ion-loading.entry.js +2 -1
- package/dist/esm/ion-menu_3.entry.js +3 -3
- package/dist/esm/ion-modal.entry.js +3 -3
- package/dist/esm/ion-nav_2.entry.js +1 -1
- package/dist/esm/ion-picker-column-internal.entry.js +11 -7
- package/dist/esm/ion-popover.entry.js +2 -1
- package/dist/esm/ion-range.entry.js +1 -1
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +2 -1
- package/dist/esm/ion-toast.entry.js +2 -1
- package/dist/esm/ion-toggle.entry.js +1 -1
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{overlays-6c9feb7e.js → overlays-789cd7a7.js} +11 -4
- package/dist/esm/{swipe-back-0f3bfc8e.js → swipe-back-cc4c2bcb.js} +2 -2
- package/dist/esm-es5/{button-active-ce5cba4c.js → button-active-5b0516e7.js} +1 -1
- package/dist/esm-es5/{gesture-controller-0fa396c4.js → gesture-controller-3723db7c.js} +1 -1
- package/dist/esm-es5/{index-ff313b19.js → index-32cbee52.js} +1 -1
- package/dist/esm-es5/index.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-backdrop.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-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-picker-column-internal.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-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.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/loader.js +1 -1
- package/dist/esm-es5/overlays-789cd7a7.js +4 -0
- package/dist/esm-es5/swipe-back-cc4c2bcb.js +4 -0
- package/dist/html.html-data.json +2 -2
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-02d8fdba.system.entry.js +4 -0
- package/dist/ionic/{p-f3c82f74.system.entry.js → p-06e6d235.system.entry.js} +2 -2
- package/dist/ionic/p-0c244faf.entry.js +4 -0
- package/dist/ionic/{p-e0b06b65.js → p-100ef961.js} +1 -1
- package/dist/ionic/p-1a368f2e.system.entry.js +4 -0
- package/dist/ionic/{p-34d2de14.system.entry.js → p-22813b28.system.entry.js} +1 -1
- package/dist/ionic/p-234b9617.system.entry.js +4 -0
- package/dist/ionic/p-25c34422.system.entry.js +4 -0
- package/dist/ionic/p-2804781b.entry.js +4 -0
- package/dist/ionic/p-29fe18ef.entry.js +4 -0
- package/dist/ionic/p-2ad38423.system.entry.js +4 -0
- package/dist/ionic/{p-7176cea3.entry.js → p-2ba9414e.entry.js} +1 -1
- package/dist/ionic/{p-fa8d4788.system.js → p-2e1794df.system.js} +1 -1
- package/dist/ionic/{p-e627ed84.js → p-302091ab.js} +1 -1
- package/dist/ionic/{p-67ed452a.system.entry.js → p-3f88eab8.system.entry.js} +1 -1
- package/dist/ionic/p-40903d34.system.js +1 -1
- package/dist/ionic/{p-0dc0d9b5.entry.js → p-477a182e.entry.js} +1 -1
- package/dist/ionic/{p-377c636c.system.entry.js → p-4f3e2767.system.entry.js} +1 -1
- package/dist/ionic/{p-3de79805.entry.js → p-56224549.entry.js} +1 -1
- package/dist/ionic/{p-965677f1.entry.js → p-5ce11143.entry.js} +1 -1
- package/dist/ionic/{p-9e852ff1.system.js → p-6500b298.system.js} +1 -1
- package/dist/ionic/p-6893f6e4.entry.js +4 -0
- package/dist/ionic/{p-b2a74a72.entry.js → p-835e0346.entry.js} +1 -1
- package/dist/ionic/{p-39044fe6.system.entry.js → p-878c7aa5.system.entry.js} +1 -1
- package/dist/ionic/p-8b4ab236.entry.js +4 -0
- package/dist/ionic/{p-f37b4b79.entry.js → p-939d903b.entry.js} +1 -1
- package/dist/ionic/{p-6d812360.system.entry.js → p-966cf574.system.entry.js} +1 -1
- package/dist/ionic/p-992d3bad.entry.js +4 -0
- package/dist/ionic/{p-1cb5f2f8.system.entry.js → p-9b5301cc.system.entry.js} +1 -1
- package/dist/ionic/p-9c967a65.system.entry.js +4 -0
- package/dist/ionic/{p-8e1bded3.entry.js → p-9e6bf9ed.entry.js} +1 -1
- package/dist/ionic/{p-6e23777e.system.entry.js → p-a4cda7a8.system.entry.js} +1 -1
- package/dist/ionic/{p-09d142b3.system.js → p-a57f223c.system.js} +1 -1
- package/dist/ionic/{p-8b1be026.js → p-a7e2ac5c.js} +1 -1
- package/dist/ionic/p-af016cd3.entry.js +4 -0
- package/dist/ionic/{p-bed722c4.system.entry.js → p-b3e79338.system.entry.js} +1 -1
- package/dist/ionic/p-b4cbb736.js +4 -0
- package/dist/ionic/{p-4fa201a7.entry.js → p-b6a8588f.entry.js} +1 -1
- package/dist/ionic/{p-73411c1b.entry.js → p-c1229981.entry.js} +1 -1
- package/dist/ionic/{p-db5043df.system.entry.js → p-c31fc05f.system.entry.js} +1 -1
- package/dist/ionic/p-c56b6570.system.entry.js +4 -0
- package/dist/ionic/p-c59d068a.entry.js +4 -0
- package/dist/ionic/{p-a936d224.system.js → p-c7fd81ba.system.js} +1 -1
- package/dist/ionic/p-dc565ca3.js +4 -0
- package/dist/ionic/p-dd837fa8.entry.js +4 -0
- package/dist/ionic/p-e8400078.system.entry.js +4 -0
- package/dist/ionic/p-e88ed07f.system.js +4 -0
- package/dist/ionic/p-eb07ec1a.system.entry.js +4 -0
- package/dist/ionic/p-eb5697b5.system.js +4 -0
- package/dist/ionic/{p-3ce8c3e3.entry.js → p-ee800093.entry.js} +1 -1
- package/dist/ionic/p-f0559c5d.system.entry.js +4 -0
- package/dist/ionic/p-fdd22426.entry.js +4 -0
- package/dist/types/components/backdrop/backdrop.d.ts +0 -3
- package/dist/types/components/datetime/datetime.d.ts +0 -1
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +0 -7
- package/dist/types/components/menu/menu.d.ts +1 -1
- package/dist/types/components/picker-column-internal/picker-column-internal.d.ts +4 -0
- package/dist/types/components/{picker-column → picker-column-legacy}/picker-column.d.ts +1 -1
- package/dist/types/components/{picker → picker-legacy}/picker.d.ts +1 -1
- package/dist/types/components.d.ts +138 -130
- package/dist/types/interface.d.ts +1 -1
- package/dist/types/utils/config.d.ts +2 -2
- package/dist/types/utils/gesture/gesture-controller.d.ts +1 -0
- package/dist/types/utils/overlays.d.ts +5 -2
- package/hydrate/index.js +50 -75
- package/package.json +1 -1
- package/components/ion-picker.d.ts +0 -11
- package/components/ion-picker.js +0 -307
- package/dist/collection/components/infinite-scroll/test/small-dom-update/infinite-scroll.e2e.js +0 -31
- package/dist/esm-es5/overlays-6c9feb7e.js +0 -4
- package/dist/esm-es5/swipe-back-0f3bfc8e.js +0 -4
- package/dist/ionic/p-0d8e9393.entry.js +0 -4
- package/dist/ionic/p-18e01b30.system.entry.js +0 -4
- package/dist/ionic/p-1e5165db.system.entry.js +0 -4
- package/dist/ionic/p-4794e0ac.system.entry.js +0 -4
- package/dist/ionic/p-4dbac22d.entry.js +0 -4
- package/dist/ionic/p-64296b15.entry.js +0 -4
- package/dist/ionic/p-6eec9c40.entry.js +0 -4
- package/dist/ionic/p-6f4fbf04.entry.js +0 -4
- package/dist/ionic/p-800ef057.js +0 -4
- package/dist/ionic/p-8dbdb163.system.js +0 -4
- package/dist/ionic/p-8f8bc519.system.entry.js +0 -4
- package/dist/ionic/p-97e31c0a.system.js +0 -4
- package/dist/ionic/p-a5c1e6ce.entry.js +0 -4
- package/dist/ionic/p-a9c3699b.system.entry.js +0 -4
- package/dist/ionic/p-ad61e508.entry.js +0 -4
- package/dist/ionic/p-b203659a.system.entry.js +0 -4
- package/dist/ionic/p-b91fe549.entry.js +0 -4
- package/dist/ionic/p-c919498d.entry.js +0 -4
- package/dist/ionic/p-cf425ec5.system.entry.js +0 -4
- package/dist/ionic/p-d91e93ac.system.entry.js +0 -4
- package/dist/ionic/p-ddfc4ef4.system.entry.js +0 -4
- package/dist/ionic/p-e6b240a0.js +0 -4
- package/dist/ionic/p-eae972be.system.entry.js +0 -4
- package/dist/ionic/p-f54ddd19.entry.js +0 -4
- /package/dist/collection/components/{picker-column → picker-column-legacy}/picker-column.ios.css +0 -0
- /package/dist/collection/components/{picker-column → picker-column-legacy}/picker-column.md.css +0 -0
- /package/dist/collection/components/{picker-column → picker-column-legacy}/test/test.utils.js +0 -0
- /package/dist/collection/components/{picker → picker-legacy}/animations/ios.enter.js +0 -0
- /package/dist/collection/components/{picker → picker-legacy}/animations/ios.leave.js +0 -0
- /package/dist/collection/components/{picker → picker-legacy}/picker-interface.js +0 -0
- /package/dist/collection/components/{picker → picker-legacy}/picker.ios.css +0 -0
- /package/dist/collection/components/{picker → picker-legacy}/picker.md.css +0 -0
- /package/dist/types/components/{picker-column → picker-column-legacy}/test/test.utils.d.ts +0 -0
- /package/dist/types/components/{picker → picker-legacy}/animations/ios.enter.d.ts +0 -0
- /package/dist/types/components/{picker → picker-legacy}/animations/ios.leave.d.ts +0 -0
- /package/dist/types/components/{picker → picker-legacy}/picker-interface.d.ts +0 -0
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
import { raf } from "../../utils/helpers";
|
|
6
6
|
import { createLockController } from "../../utils/lock-controller";
|
|
7
|
+
import { printIonWarning } from "../../utils/logging/index";
|
|
7
8
|
import { createDelegateController, createTriggerController, BACKDROP, dismiss, eventMethod, isCancel, prepareOverlay, present, safeCall, setOverlayId, } from "../../utils/overlays";
|
|
8
9
|
import { getClassMap } from "../../utils/theme";
|
|
9
10
|
import { getIonMode } from "../../global/ionic-global";
|
|
@@ -71,6 +72,7 @@ export class Picker {
|
|
|
71
72
|
setOverlayId(this.el);
|
|
72
73
|
}
|
|
73
74
|
componentDidLoad() {
|
|
75
|
+
printIonWarning('ion-picker-legacy and ion-picker-legacy-column have been deprecated in favor of the ion-picker and ion-picker-column components. These new components display inline with your page content allowing for more presentation flexibility than before.', this.el);
|
|
74
76
|
/**
|
|
75
77
|
* If picker was rendered with isOpen="true"
|
|
76
78
|
* then we should open picker immediately.
|
|
@@ -174,9 +176,9 @@ export class Picker {
|
|
|
174
176
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
175
177
|
}, class: Object.assign({ [mode]: true,
|
|
176
178
|
// Used internally for styling
|
|
177
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { tabindex: "0" }), h("div", { class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { class: "picker-columns" }, h("div", { class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-column", { col: c })), h("div", { class: "picker-below-highlight" }))), h("div", { tabindex: "0" })));
|
|
179
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { tabindex: "0" }), h("div", { class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { class: "picker-columns" }, h("div", { class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { class: "picker-below-highlight" }))), h("div", { tabindex: "0" })));
|
|
178
180
|
}
|
|
179
|
-
static get is() { return "ion-picker"; }
|
|
181
|
+
static get is() { return "ion-picker-legacy"; }
|
|
180
182
|
static get encapsulation() { return "scoped"; }
|
|
181
183
|
static get originalStyleUrls() {
|
|
182
184
|
return {
|
|
@@ -327,7 +329,7 @@ export class Picker {
|
|
|
327
329
|
"PickerButton": {
|
|
328
330
|
"location": "import",
|
|
329
331
|
"path": "./picker-interface",
|
|
330
|
-
"id": "src/components/picker/picker-interface.ts::PickerButton"
|
|
332
|
+
"id": "src/components/picker-legacy/picker-interface.ts::PickerButton"
|
|
331
333
|
}
|
|
332
334
|
}
|
|
333
335
|
},
|
|
@@ -349,7 +351,7 @@ export class Picker {
|
|
|
349
351
|
"PickerColumn": {
|
|
350
352
|
"location": "import",
|
|
351
353
|
"path": "./picker-interface",
|
|
352
|
-
"id": "src/components/picker/picker-interface.ts::PickerColumn"
|
|
354
|
+
"id": "src/components/picker-legacy/picker-interface.ts::PickerColumn"
|
|
353
355
|
}
|
|
354
356
|
}
|
|
355
357
|
},
|
|
@@ -778,7 +780,7 @@ export class Picker {
|
|
|
778
780
|
"PickerColumn": {
|
|
779
781
|
"location": "import",
|
|
780
782
|
"path": "./picker-interface",
|
|
781
|
-
"id": "src/components/picker/picker-interface.ts::PickerColumn"
|
|
783
|
+
"id": "src/components/picker-legacy/picker-interface.ts::PickerColumn"
|
|
782
784
|
}
|
|
783
785
|
},
|
|
784
786
|
"return": "Promise<PickerColumn | undefined>"
|
|
@@ -6,7 +6,7 @@ import { configs, test } from "../../../../utils/test/playwright/index";
|
|
|
6
6
|
configs().forEach(({ title, screenshot, config }) => {
|
|
7
7
|
test.describe(title('picker: basic'), () => {
|
|
8
8
|
test('should not have visual regressions', async ({ page }) => {
|
|
9
|
-
await page.goto('/src/components/picker/test/basic', config);
|
|
9
|
+
await page.goto('/src/components/picker-legacy/test/basic', config);
|
|
10
10
|
const didPresent = await page.spyOnEvent('ionPickerDidPresent');
|
|
11
11
|
const didDismiss = await page.spyOnEvent('ionPickerDidDismiss');
|
|
12
12
|
await page.click('#basic');
|
|
@@ -14,7 +14,7 @@ configs().forEach(({ title, screenshot, config }) => {
|
|
|
14
14
|
await page.waitForChanges();
|
|
15
15
|
await expect(page).toHaveScreenshot(screenshot(`picker-basic`));
|
|
16
16
|
await page.click('.picker-opt:nth-child(2)');
|
|
17
|
-
await page.click('ion-picker .save-btn');
|
|
17
|
+
await page.click('ion-picker-legacy .save-btn');
|
|
18
18
|
await didDismiss.next();
|
|
19
19
|
await page.click('#basic');
|
|
20
20
|
await didPresent.next();
|
|
@@ -9,10 +9,10 @@ import { configs, test } from "../../../../utils/test/playwright/index";
|
|
|
9
9
|
configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
10
10
|
test.describe(title('picker: isOpen'), () => {
|
|
11
11
|
test('should open and close the picker', async ({ page }) => {
|
|
12
|
-
await page.goto('/src/components/picker/test/is-open', config);
|
|
12
|
+
await page.goto('/src/components/picker-legacy/test/is-open', config);
|
|
13
13
|
const ionPickerDidPresent = await page.spyOnEvent('ionPickerDidPresent');
|
|
14
14
|
const ionPickerDidDismiss = await page.spyOnEvent('ionPickerDidDismiss');
|
|
15
|
-
const picker = page.locator('ion-picker');
|
|
15
|
+
const picker = page.locator('ion-picker-legacy');
|
|
16
16
|
await page.click('#default');
|
|
17
17
|
await ionPickerDidPresent.next();
|
|
18
18
|
await expect(picker).toBeVisible();
|
|
@@ -21,8 +21,8 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
21
21
|
await expect(picker).toBeHidden();
|
|
22
22
|
});
|
|
23
23
|
test('should open if isOpen is true on load', async ({ page }) => {
|
|
24
|
-
await page.setContent('<ion-picker is-open="true"></ion-picker>', config);
|
|
25
|
-
await expect(page.locator('ion-picker')).toBeVisible();
|
|
24
|
+
await page.setContent('<ion-picker-legacy is-open="true"></ion-picker-legacy>', config);
|
|
25
|
+
await expect(page.locator('ion-picker-legacy')).toBeVisible();
|
|
26
26
|
});
|
|
27
27
|
});
|
|
28
28
|
});
|
|
@@ -6,27 +6,27 @@ import { Picker } from "../picker";
|
|
|
6
6
|
it('picker should be assigned an incrementing id', async () => {
|
|
7
7
|
const page = await newSpecPage({
|
|
8
8
|
components: [Picker],
|
|
9
|
-
html: `<ion-picker is-open="true"></ion-picker>`,
|
|
9
|
+
html: `<ion-picker-legacy is-open="true"></ion-picker-legacy>`,
|
|
10
10
|
});
|
|
11
11
|
let picker;
|
|
12
|
-
picker = page.body.querySelector('ion-picker');
|
|
12
|
+
picker = page.body.querySelector('ion-picker-legacy');
|
|
13
13
|
expect(picker).not.toBe(null);
|
|
14
14
|
expect(picker.getAttribute('id')).toBe('ion-overlay-1');
|
|
15
15
|
// Remove the picker from the DOM
|
|
16
16
|
picker.remove();
|
|
17
17
|
await page.waitForChanges();
|
|
18
18
|
// Create a new picker to verify the id is incremented
|
|
19
|
-
picker = document.createElement('ion-picker');
|
|
19
|
+
picker = document.createElement('ion-picker-legacy');
|
|
20
20
|
picker.isOpen = true;
|
|
21
21
|
page.body.appendChild(picker);
|
|
22
22
|
await page.waitForChanges();
|
|
23
|
-
picker = page.body.querySelector('ion-picker');
|
|
23
|
+
picker = page.body.querySelector('ion-picker-legacy');
|
|
24
24
|
expect(picker.getAttribute('id')).toBe('ion-overlay-2');
|
|
25
25
|
// Presenting the same picker again should reuse the existing id
|
|
26
26
|
picker.isOpen = false;
|
|
27
27
|
await page.waitForChanges();
|
|
28
28
|
picker.isOpen = true;
|
|
29
29
|
await page.waitForChanges();
|
|
30
|
-
picker = page.body.querySelector('ion-picker');
|
|
30
|
+
picker = page.body.querySelector('ion-picker-legacy');
|
|
31
31
|
expect(picker.getAttribute('id')).toBe('ion-overlay-2');
|
|
32
32
|
});
|
|
@@ -9,7 +9,7 @@ import { configs, test } from "../../../../utils/test/playwright/index";
|
|
|
9
9
|
configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
10
10
|
test.describe(title('picker: trigger'), () => {
|
|
11
11
|
test.beforeEach(async ({ page }) => {
|
|
12
|
-
await page.goto('/src/components/picker/test/trigger', config);
|
|
12
|
+
await page.goto('/src/components/picker-legacy/test/trigger', config);
|
|
13
13
|
});
|
|
14
14
|
test('should open the picker', async ({ page }) => {
|
|
15
15
|
const ionPickerDidPresent = await page.spyOnEvent('ionPickerDidPresent');
|
|
@@ -5,6 +5,7 @@ import { doc } from "./browser/index";
|
|
|
5
5
|
import { config } from "../global/config";
|
|
6
6
|
import { getIonMode } from "../global/ionic-global";
|
|
7
7
|
import { CoreDelegate } from "./framework-delegate";
|
|
8
|
+
import { BACKDROP_NO_SCROLL } from "./gesture/gesture-controller";
|
|
8
9
|
import { OVERLAY_BACK_BUTTON_PRIORITY } from "./hardware-back-button";
|
|
9
10
|
import { addEventListener, componentOnReady, focusElement, getElementRoot, removeEventListener } from "./helpers";
|
|
10
11
|
import { printIonWarning } from "./logging";
|
|
@@ -28,7 +29,10 @@ export const alertController = /*@__PURE__*/ createController('ion-alert');
|
|
|
28
29
|
export const actionSheetController = /*@__PURE__*/ createController('ion-action-sheet');
|
|
29
30
|
export const loadingController = /*@__PURE__*/ createController('ion-loading');
|
|
30
31
|
export const modalController = /*@__PURE__*/ createController('ion-modal');
|
|
31
|
-
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated Use the inline ion-picker component instead.
|
|
34
|
+
*/
|
|
35
|
+
export const pickerController = /*@__PURE__*/ createController('ion-picker-legacy');
|
|
32
36
|
export const popoverController = /*@__PURE__*/ createController('ion-popover');
|
|
33
37
|
export const toastController = /*@__PURE__*/ createController('ion-toast');
|
|
34
38
|
/**
|
|
@@ -138,7 +142,7 @@ const focusLastDescendant = (ref, overlay) => {
|
|
|
138
142
|
* Should NOT include: Toast
|
|
139
143
|
*/
|
|
140
144
|
const trapKeyboardFocus = (ev, doc) => {
|
|
141
|
-
const lastOverlay = getPresentedOverlay(doc, 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover');
|
|
145
|
+
const lastOverlay = getPresentedOverlay(doc, 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover');
|
|
142
146
|
const target = ev.target;
|
|
143
147
|
/**
|
|
144
148
|
* If no active overlay, ignore this event.
|
|
@@ -323,7 +327,7 @@ export const dismissOverlay = (doc, data, role, overlayTag, id) => {
|
|
|
323
327
|
*/
|
|
324
328
|
export const getOverlays = (doc, selector) => {
|
|
325
329
|
if (selector === undefined) {
|
|
326
|
-
selector = 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast';
|
|
330
|
+
selector = 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast';
|
|
327
331
|
}
|
|
328
332
|
return Array.from(doc.querySelectorAll(selector)).filter((c) => c.overlayIndex > 0);
|
|
329
333
|
};
|
|
@@ -389,6 +393,7 @@ export const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation
|
|
|
389
393
|
return;
|
|
390
394
|
}
|
|
391
395
|
setRootAriaHidden(true);
|
|
396
|
+
document.body.classList.add(BACKDROP_NO_SCROLL);
|
|
392
397
|
overlay.presented = true;
|
|
393
398
|
overlay.willPresent.emit();
|
|
394
399
|
(_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
|
|
@@ -451,12 +456,14 @@ export const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLe
|
|
|
451
456
|
if (!overlay.presented) {
|
|
452
457
|
return false;
|
|
453
458
|
}
|
|
459
|
+
const lastOverlay = doc !== undefined && getPresentedOverlays(doc).length === 1;
|
|
454
460
|
/**
|
|
455
461
|
* If this is the last visible overlay then
|
|
456
462
|
* we want to re-add the root to the accessibility tree.
|
|
457
463
|
*/
|
|
458
|
-
if (
|
|
464
|
+
if (lastOverlay) {
|
|
459
465
|
setRootAriaHidden(false);
|
|
466
|
+
document.body.classList.remove(BACKDROP_NO_SCROLL);
|
|
460
467
|
}
|
|
461
468
|
overlay.presented = false;
|
|
462
469
|
try {
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { newSpecPage } from "@stencil/core/testing";
|
|
5
|
+
import { Modal } from "../../../components/modal/modal";
|
|
6
|
+
describe('overlays: scroll blocking', () => {
|
|
7
|
+
it('should not block scroll when the overlay is created', async () => {
|
|
8
|
+
const page = await newSpecPage({
|
|
9
|
+
components: [Modal],
|
|
10
|
+
html: `
|
|
11
|
+
<ion-modal></ion-modal>
|
|
12
|
+
`,
|
|
13
|
+
});
|
|
14
|
+
const body = page.doc.querySelector('body');
|
|
15
|
+
expect(body).not.toHaveClass('backdrop-no-scroll');
|
|
16
|
+
});
|
|
17
|
+
it('should block scroll when the overlay is presented', async () => {
|
|
18
|
+
const page = await newSpecPage({
|
|
19
|
+
components: [Modal],
|
|
20
|
+
html: `
|
|
21
|
+
<ion-modal></ion-modal>
|
|
22
|
+
`,
|
|
23
|
+
});
|
|
24
|
+
const modal = page.body.querySelector('ion-modal');
|
|
25
|
+
const body = page.doc.querySelector('body');
|
|
26
|
+
await modal.present();
|
|
27
|
+
expect(body).toHaveClass('backdrop-no-scroll');
|
|
28
|
+
await modal.dismiss();
|
|
29
|
+
expect(body).not.toHaveClass('backdrop-no-scroll');
|
|
30
|
+
});
|
|
31
|
+
it('should not block scroll when the overlay is dismissed', async () => {
|
|
32
|
+
const page = await newSpecPage({
|
|
33
|
+
components: [Modal],
|
|
34
|
+
html: `
|
|
35
|
+
<ion-modal></ion-modal>
|
|
36
|
+
`,
|
|
37
|
+
});
|
|
38
|
+
const modal = page.body.querySelector('ion-modal');
|
|
39
|
+
const body = page.doc.querySelector('body');
|
|
40
|
+
await modal.present();
|
|
41
|
+
expect(body).toHaveClass('backdrop-no-scroll');
|
|
42
|
+
await modal.dismiss();
|
|
43
|
+
expect(body).not.toHaveClass('backdrop-no-scroll');
|
|
44
|
+
});
|
|
45
|
+
it('should not enable scroll until last overlay is dismissed', async () => {
|
|
46
|
+
const page = await newSpecPage({
|
|
47
|
+
components: [Modal],
|
|
48
|
+
html: `
|
|
49
|
+
<ion-modal id="one"></ion-modal>
|
|
50
|
+
<ion-modal id="two"></ion-modal>
|
|
51
|
+
`,
|
|
52
|
+
});
|
|
53
|
+
const modalOne = page.body.querySelector('#one');
|
|
54
|
+
const modalTwo = page.body.querySelector('#two');
|
|
55
|
+
const body = page.doc.querySelector('body');
|
|
56
|
+
await modalOne.present();
|
|
57
|
+
expect(body).toHaveClass('backdrop-no-scroll');
|
|
58
|
+
await modalTwo.present();
|
|
59
|
+
expect(body).toHaveClass('backdrop-no-scroll');
|
|
60
|
+
await modalOne.dismiss();
|
|
61
|
+
expect(body).toHaveClass('backdrop-no-scroll');
|
|
62
|
+
await modalTwo.dismiss();
|
|
63
|
+
expect(body).not.toHaveClass('backdrop-no-scroll');
|
|
64
|
+
});
|
|
65
|
+
});
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2023-11-
|
|
2
|
+
"timestamp": "2023-11-27T19:33:07",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.7.2",
|
|
@@ -2574,7 +2574,7 @@
|
|
|
2574
2574
|
"ion-loading",
|
|
2575
2575
|
"ion-menu",
|
|
2576
2576
|
"ion-modal",
|
|
2577
|
-
"ion-picker",
|
|
2577
|
+
"ion-picker-legacy",
|
|
2578
2578
|
"ion-popover"
|
|
2579
2579
|
],
|
|
2580
2580
|
"dependencies": [],
|
|
@@ -2594,7 +2594,7 @@
|
|
|
2594
2594
|
"ion-modal": [
|
|
2595
2595
|
"ion-backdrop"
|
|
2596
2596
|
],
|
|
2597
|
-
"ion-picker": [
|
|
2597
|
+
"ion-picker-legacy": [
|
|
2598
2598
|
"ion-backdrop"
|
|
2599
2599
|
],
|
|
2600
2600
|
"ion-popover": [
|
|
@@ -7926,9 +7926,8 @@
|
|
|
7926
7926
|
"ion-button",
|
|
7927
7927
|
"ion-picker-internal",
|
|
7928
7928
|
"ion-picker-column-internal",
|
|
7929
|
-
"ion-item",
|
|
7930
|
-
"ion-label",
|
|
7931
7929
|
"ion-icon",
|
|
7930
|
+
"ion-ripple-effect",
|
|
7932
7931
|
"ion-popover"
|
|
7933
7932
|
],
|
|
7934
7933
|
"dependencyGraph": {
|
|
@@ -7937,19 +7936,13 @@
|
|
|
7937
7936
|
"ion-button",
|
|
7938
7937
|
"ion-picker-internal",
|
|
7939
7938
|
"ion-picker-column-internal",
|
|
7940
|
-
"ion-item",
|
|
7941
|
-
"ion-label",
|
|
7942
7939
|
"ion-icon",
|
|
7940
|
+
"ion-ripple-effect",
|
|
7943
7941
|
"ion-popover"
|
|
7944
7942
|
],
|
|
7945
7943
|
"ion-button": [
|
|
7946
7944
|
"ion-ripple-effect"
|
|
7947
7945
|
],
|
|
7948
|
-
"ion-item": [
|
|
7949
|
-
"ion-icon",
|
|
7950
|
-
"ion-ripple-effect",
|
|
7951
|
-
"ion-note"
|
|
7952
|
-
],
|
|
7953
7946
|
"ion-popover": [
|
|
7954
7947
|
"ion-backdrop"
|
|
7955
7948
|
]
|
|
@@ -11964,7 +11957,6 @@
|
|
|
11964
11957
|
}
|
|
11965
11958
|
],
|
|
11966
11959
|
"dependents": [
|
|
11967
|
-
"ion-datetime",
|
|
11968
11960
|
"ion-select-popover"
|
|
11969
11961
|
],
|
|
11970
11962
|
"dependencies": [
|
|
@@ -11978,9 +11970,6 @@
|
|
|
11978
11970
|
"ion-ripple-effect",
|
|
11979
11971
|
"ion-note"
|
|
11980
11972
|
],
|
|
11981
|
-
"ion-datetime": [
|
|
11982
|
-
"ion-item"
|
|
11983
|
-
],
|
|
11984
11973
|
"ion-select-popover": [
|
|
11985
11974
|
"ion-item"
|
|
11986
11975
|
]
|
|
@@ -12971,14 +12960,10 @@
|
|
|
12971
12960
|
"slots": [],
|
|
12972
12961
|
"parts": [],
|
|
12973
12962
|
"dependents": [
|
|
12974
|
-
"ion-datetime",
|
|
12975
12963
|
"ion-select-popover"
|
|
12976
12964
|
],
|
|
12977
12965
|
"dependencies": [],
|
|
12978
12966
|
"dependencyGraph": {
|
|
12979
|
-
"ion-datetime": [
|
|
12980
|
-
"ion-label"
|
|
12981
|
-
],
|
|
12982
12967
|
"ion-select-popover": [
|
|
12983
12968
|
"ion-label"
|
|
12984
12969
|
]
|
|
@@ -17264,9 +17249,9 @@
|
|
|
17264
17249
|
}
|
|
17265
17250
|
},
|
|
17266
17251
|
{
|
|
17267
|
-
"filePath": "src/components/picker/picker.tsx",
|
|
17252
|
+
"filePath": "src/components/picker-legacy/picker.tsx",
|
|
17268
17253
|
"encapsulation": "scoped",
|
|
17269
|
-
"tag": "ion-picker",
|
|
17254
|
+
"tag": "ion-picker-legacy",
|
|
17270
17255
|
"docs": "",
|
|
17271
17256
|
"docsTags": [
|
|
17272
17257
|
{
|
|
@@ -17330,7 +17315,7 @@
|
|
|
17330
17315
|
"PickerButton": {
|
|
17331
17316
|
"location": "import",
|
|
17332
17317
|
"path": "./picker-interface",
|
|
17333
|
-
"id": "src/components/picker/picker-interface.ts::PickerButton"
|
|
17318
|
+
"id": "src/components/picker-legacy/picker-interface.ts::PickerButton"
|
|
17334
17319
|
}
|
|
17335
17320
|
}
|
|
17336
17321
|
},
|
|
@@ -17357,7 +17342,7 @@
|
|
|
17357
17342
|
"PickerColumn": {
|
|
17358
17343
|
"location": "import",
|
|
17359
17344
|
"path": "./picker-interface",
|
|
17360
|
-
"id": "src/components/picker/picker-interface.ts::PickerColumn"
|
|
17345
|
+
"id": "src/components/picker-legacy/picker-interface.ts::PickerColumn"
|
|
17361
17346
|
}
|
|
17362
17347
|
}
|
|
17363
17348
|
},
|
|
@@ -17694,7 +17679,7 @@
|
|
|
17694
17679
|
"PickerColumn": {
|
|
17695
17680
|
"location": "import",
|
|
17696
17681
|
"path": "./picker-interface",
|
|
17697
|
-
"id": "src/components/picker/picker-interface.ts::PickerColumn"
|
|
17682
|
+
"id": "src/components/picker-legacy/picker-interface.ts::PickerColumn"
|
|
17698
17683
|
}
|
|
17699
17684
|
},
|
|
17700
17685
|
"return": "Promise<PickerColumn | undefined>"
|
|
@@ -18005,12 +17990,12 @@
|
|
|
18005
17990
|
"dependents": [],
|
|
18006
17991
|
"dependencies": [
|
|
18007
17992
|
"ion-backdrop",
|
|
18008
|
-
"ion-picker-column"
|
|
17993
|
+
"ion-picker-legacy-column"
|
|
18009
17994
|
],
|
|
18010
17995
|
"dependencyGraph": {
|
|
18011
|
-
"ion-picker": [
|
|
17996
|
+
"ion-picker-legacy": [
|
|
18012
17997
|
"ion-backdrop",
|
|
18013
|
-
"ion-picker-column"
|
|
17998
|
+
"ion-picker-legacy-column"
|
|
18014
17999
|
]
|
|
18015
18000
|
}
|
|
18016
18001
|
},
|
|
@@ -21238,6 +21223,7 @@
|
|
|
21238
21223
|
"ion-button",
|
|
21239
21224
|
"ion-card",
|
|
21240
21225
|
"ion-chip",
|
|
21226
|
+
"ion-datetime",
|
|
21241
21227
|
"ion-datetime-button",
|
|
21242
21228
|
"ion-fab-button",
|
|
21243
21229
|
"ion-item",
|
|
@@ -21267,6 +21253,9 @@
|
|
|
21267
21253
|
"ion-chip": [
|
|
21268
21254
|
"ion-ripple-effect"
|
|
21269
21255
|
],
|
|
21256
|
+
"ion-datetime": [
|
|
21257
|
+
"ion-ripple-effect"
|
|
21258
|
+
],
|
|
21270
21259
|
"ion-datetime-button": [
|
|
21271
21260
|
"ion-ripple-effect"
|
|
21272
21261
|
],
|
|
@@ -29058,6 +29047,16 @@
|
|
|
29058
29047
|
"docstring": "",
|
|
29059
29048
|
"path": "src/components/datetime/datetime-interface.ts"
|
|
29060
29049
|
},
|
|
29050
|
+
"src/components/picker-column-internal/picker-column-internal-interfaces.ts::PickerColumnItem": {
|
|
29051
|
+
"declaration": "export interface PickerColumnItem {\n text: string;\n value: string | number;\n disabled?: boolean;\n}",
|
|
29052
|
+
"docstring": "",
|
|
29053
|
+
"path": "src/components/picker-column-internal/picker-column-internal-interfaces.ts"
|
|
29054
|
+
},
|
|
29055
|
+
"src/components/picker-internal/picker-internal-interfaces.ts::PickerInternalChangeEventDetail": {
|
|
29056
|
+
"declaration": "export interface PickerInternalChangeEventDetail {\n useInputMode: boolean;\n inputModeColumn?: HTMLIonPickerColumnInternalElement;\n}",
|
|
29057
|
+
"docstring": "",
|
|
29058
|
+
"path": "src/components/picker-internal/picker-internal-interfaces.ts"
|
|
29059
|
+
},
|
|
29061
29060
|
"src/components/spinner/spinner-configs.ts::SpinnerTypes": {
|
|
29062
29061
|
"declaration": "\"bubbles\" | \"circles\" | \"circular\" | \"crescent\" | \"dots\" | \"lines\" | \"lines-small\" | \"lines-sharp\" | \"lines-sharp-small\"",
|
|
29063
29062
|
"docstring": "",
|
|
@@ -29158,25 +29157,15 @@
|
|
|
29158
29157
|
"docstring": "",
|
|
29159
29158
|
"path": "src/components/router/utils/interface.ts"
|
|
29160
29159
|
},
|
|
29161
|
-
"src/components/picker/picker-interface.ts::
|
|
29162
|
-
"declaration": "export interface PickerButton {\n text?: string;\n role?: string;\n cssClass?: string | string[];\n handler?: (value: any) => boolean | void;\n}",
|
|
29163
|
-
"docstring": "",
|
|
29164
|
-
"path": "src/components/picker/picker-interface.ts"
|
|
29165
|
-
},
|
|
29166
|
-
"src/components/picker/picker-interface.ts::PickerColumn": {
|
|
29160
|
+
"src/components/picker-legacy/picker-interface.ts::PickerColumn": {
|
|
29167
29161
|
"declaration": "export interface PickerColumn {\n name: string;\n align?: string;\n /**\n * Changing this value allows the initial value of a picker column to be set.\n */\n selectedIndex?: number;\n prevSelected?: number;\n prefix?: string;\n suffix?: string;\n options: PickerColumnOption[];\n cssClass?: string | string[];\n columnWidth?: string;\n prefixWidth?: string;\n suffixWidth?: string;\n optionsWidth?: string;\n}",
|
|
29168
29162
|
"docstring": "",
|
|
29169
|
-
"path": "src/components/picker/picker-interface.ts"
|
|
29170
|
-
},
|
|
29171
|
-
"src/components/picker-column-internal/picker-column-internal-interfaces.ts::PickerColumnItem": {
|
|
29172
|
-
"declaration": "export interface PickerColumnItem {\n text: string;\n value: string | number;\n disabled?: boolean;\n}",
|
|
29173
|
-
"docstring": "",
|
|
29174
|
-
"path": "src/components/picker-column-internal/picker-column-internal-interfaces.ts"
|
|
29163
|
+
"path": "src/components/picker-legacy/picker-interface.ts"
|
|
29175
29164
|
},
|
|
29176
|
-
"src/components/picker-
|
|
29177
|
-
"declaration": "export interface
|
|
29165
|
+
"src/components/picker-legacy/picker-interface.ts::PickerButton": {
|
|
29166
|
+
"declaration": "export interface PickerButton {\n text?: string;\n role?: string;\n cssClass?: string | string[];\n handler?: (value: any) => boolean | void;\n}",
|
|
29178
29167
|
"docstring": "",
|
|
29179
|
-
"path": "src/components/picker-
|
|
29168
|
+
"path": "src/components/picker-legacy/picker-interface.ts"
|
|
29180
29169
|
},
|
|
29181
29170
|
"src/components/popover/popover-interface.ts::TriggerAction": {
|
|
29182
29171
|
"declaration": "export type TriggerAction = 'click' | 'hover' | 'context-menu';",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { w as writeTask } from './index-7c9b1bca.js';
|
|
5
5
|
import { h as hapticSelectionEnd, a as hapticSelectionStart, b as hapticSelectionChanged } from './haptic-1243b917.js';
|
|
6
|
-
import { createGesture } from './index-
|
|
6
|
+
import { createGesture } from './index-32cbee52.js';
|
|
7
7
|
|
|
8
8
|
const createButtonActiveGesture = (el, isButton) => {
|
|
9
9
|
let currentTouchedButton;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { G as GESTURE_CONTROLLER } from './gesture-controller-
|
|
5
|
-
export { G as GESTURE_CONTROLLER } from './gesture-controller-
|
|
4
|
+
import { G as GESTURE_CONTROLLER } from './gesture-controller-3723db7c.js';
|
|
5
|
+
export { G as GESTURE_CONTROLLER } from './gesture-controller-3723db7c.js';
|
|
6
6
|
|
|
7
7
|
const addEventListener = (el, // TODO(FW-2832): type
|
|
8
8
|
eventName, callback, opts) => {
|
package/dist/esm/index.js
CHANGED
|
@@ -6,16 +6,16 @@ export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL
|
|
|
6
6
|
export { iosTransitionAnimation } from './ios.transition-1651c430.js';
|
|
7
7
|
export { mdTransitionAnimation } from './md.transition-66f18369.js';
|
|
8
8
|
export { g as getTimeGivenProgression } from './cubic-bezier-66542bc5.js';
|
|
9
|
-
export { createGesture } from './index-
|
|
9
|
+
export { createGesture } from './index-32cbee52.js';
|
|
10
10
|
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-40e42e7f.js';
|
|
11
11
|
export { c as componentOnReady } from './helpers-3379ba19.js';
|
|
12
12
|
export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-96c9ace3.js';
|
|
13
13
|
export { o as openURL } from './theme-17531cdf.js';
|
|
14
14
|
export { m as menuController } from './index-0aa6e61f.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-
|
|
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-789cd7a7.js';
|
|
16
16
|
import './index-7a14ecec.js';
|
|
17
17
|
import './index-7c9b1bca.js';
|
|
18
|
-
import './gesture-controller-
|
|
18
|
+
import './gesture-controller-3723db7c.js';
|
|
19
19
|
import './index-595d62c9.js';
|
|
20
20
|
import './hardware-back-button-39299f84.js';
|
|
21
21
|
import './framework-delegate-aa433dea.js';
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, d as createEvent, e as readTask, h, H as Host, f as getElement } from './index-7c9b1bca.js';
|
|
5
|
-
import { c as createButtonActiveGesture } from './button-active-
|
|
5
|
+
import { c as createButtonActiveGesture } from './button-active-5b0516e7.js';
|
|
6
6
|
import { r as raf } from './helpers-3379ba19.js';
|
|
7
7
|
import { c as createLockController } from './lock-controller-e8c6c051.js';
|
|
8
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-
|
|
8
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-789cd7a7.js';
|
|
9
9
|
import { g as getClassMap } from './theme-17531cdf.js';
|
|
10
10
|
import { b as getIonMode } from './ionic-global-40e42e7f.js';
|
|
11
11
|
import { c as createAnimation } from './animation-8aa13916.js';
|
|
12
12
|
import './haptic-1243b917.js';
|
|
13
13
|
import './capacitor-b4979570.js';
|
|
14
14
|
import './index-7a14ecec.js';
|
|
15
|
-
import './index-
|
|
16
|
-
import './gesture-controller-
|
|
15
|
+
import './index-32cbee52.js';
|
|
16
|
+
import './gesture-controller-3723db7c.js';
|
|
17
17
|
import './framework-delegate-aa433dea.js';
|
|
18
18
|
import './hardware-back-button-39299f84.js';
|
|
19
19
|
import './index-595d62c9.js';
|