@ionic/core 8.6.3-dev.11750799190.186437ae → 8.6.3-dev.11750971489.140836b0

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.
Files changed (80) hide show
  1. package/components/action-sheet.js +8 -9
  2. package/components/alert.js +7 -8
  3. package/components/ion-app.js +3 -1
  4. package/components/ion-datetime.js +8 -2
  5. package/components/ion-loading.js +7 -8
  6. package/components/ion-menu.js +27 -5
  7. package/components/ion-reorder-group.js +1 -2
  8. package/components/ion-router.js +1 -0
  9. package/components/ion-searchbar.js +4 -6
  10. package/components/ion-toast.js +6 -7
  11. package/components/modal.js +25 -11
  12. package/components/popover.js +8 -7
  13. package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -9
  14. package/dist/cjs/ion-alert.cjs.entry.js +7 -8
  15. package/dist/cjs/ion-app_8.cjs.entry.js +3 -1
  16. package/dist/cjs/ion-datetime_3.cjs.entry.js +8 -2
  17. package/dist/cjs/ion-loading.cjs.entry.js +7 -8
  18. package/dist/cjs/ion-menu_3.cjs.entry.js +27 -5
  19. package/dist/cjs/ion-modal.cjs.entry.js +25 -11
  20. package/dist/cjs/ion-popover.cjs.entry.js +8 -7
  21. package/dist/cjs/ion-reorder_2.cjs.entry.js +1 -2
  22. package/dist/cjs/ion-route_4.cjs.entry.js +1 -0
  23. package/dist/cjs/ion-searchbar.cjs.entry.js +4 -6
  24. package/dist/cjs/ion-toast.cjs.entry.js +6 -7
  25. package/dist/collection/components/action-sheet/action-sheet.js +11 -12
  26. package/dist/collection/components/alert/alert.js +10 -11
  27. package/dist/collection/components/app/app.js +8 -3
  28. package/dist/collection/components/datetime/datetime.js +23 -8
  29. package/dist/collection/components/loading/loading.js +10 -11
  30. package/dist/collection/components/menu/menu.js +62 -19
  31. package/dist/collection/components/modal/modal.js +34 -17
  32. package/dist/collection/components/popover/popover.js +18 -14
  33. package/dist/collection/components/reorder-group/reorder-group.js +2 -3
  34. package/dist/collection/components/router/router.js +5 -1
  35. package/dist/collection/components/searchbar/searchbar.js +5 -7
  36. package/dist/collection/components/toast/toast.js +9 -10
  37. package/dist/docs.json +138 -72
  38. package/dist/esm/ion-action-sheet.entry.js +8 -9
  39. package/dist/esm/ion-alert.entry.js +7 -8
  40. package/dist/esm/ion-app_8.entry.js +3 -1
  41. package/dist/esm/ion-datetime_3.entry.js +8 -2
  42. package/dist/esm/ion-loading.entry.js +7 -8
  43. package/dist/esm/ion-menu_3.entry.js +27 -5
  44. package/dist/esm/ion-modal.entry.js +25 -11
  45. package/dist/esm/ion-popover.entry.js +8 -7
  46. package/dist/esm/ion-reorder_2.entry.js +1 -2
  47. package/dist/esm/ion-route_4.entry.js +1 -0
  48. package/dist/esm/ion-searchbar.entry.js +4 -6
  49. package/dist/esm/ion-toast.entry.js +6 -7
  50. package/dist/ionic/ionic.esm.js +1 -1
  51. package/dist/ionic/{p-96389029.entry.js → p-01123ecf.entry.js} +1 -1
  52. package/dist/ionic/{p-cb787a4b.entry.js → p-03d21728.entry.js} +1 -1
  53. package/dist/ionic/{p-9e699d4a.entry.js → p-0d131a02.entry.js} +1 -1
  54. package/dist/ionic/{p-6b666996.entry.js → p-2d0eccfb.entry.js} +1 -1
  55. package/dist/ionic/{p-ead42a37.entry.js → p-5f671887.entry.js} +1 -1
  56. package/dist/ionic/p-69f91268.entry.js +4 -0
  57. package/dist/ionic/p-9e32212d.entry.js +4 -0
  58. package/dist/ionic/{p-2020aa51.entry.js → p-b758a177.entry.js} +1 -1
  59. package/dist/ionic/p-b9ba04ca.entry.js +4 -0
  60. package/dist/ionic/{p-cd12ed1c.entry.js → p-d8429eb4.entry.js} +1 -1
  61. package/dist/ionic/{p-3a4feac2.entry.js → p-e37d6c67.entry.js} +1 -1
  62. package/dist/types/components/action-sheet/action-sheet.d.ts +5 -6
  63. package/dist/types/components/alert/alert.d.ts +5 -6
  64. package/dist/types/components/app/app.d.ts +2 -0
  65. package/dist/types/components/datetime/datetime.d.ts +6 -0
  66. package/dist/types/components/loading/loading.d.ts +5 -6
  67. package/dist/types/components/menu/menu.d.ts +25 -3
  68. package/dist/types/components/modal/modal.d.ts +14 -6
  69. package/dist/types/components/popover/popover.d.ts +6 -5
  70. package/dist/types/components/reorder-group/reorder-group.d.ts +0 -1
  71. package/dist/types/components/router/router.d.ts +1 -0
  72. package/dist/types/components/searchbar/searchbar.d.ts +0 -2
  73. package/dist/types/components/toast/toast.d.ts +4 -5
  74. package/dist/types/components.d.ts +32 -18
  75. package/hydrate/index.js +105 -66
  76. package/hydrate/index.mjs +105 -66
  77. package/package.json +1 -1
  78. package/dist/ionic/p-6dd2e493.entry.js +0 -4
  79. package/dist/ionic/p-7149db7e.entry.js +0 -4
  80. package/dist/ionic/p-bec79123.entry.js +0 -4
@@ -794,6 +794,8 @@ export class Datetime {
794
794
  * Confirms the selected datetime value, updates the
795
795
  * `value` property, and optionally closes the popover
796
796
  * or modal that the datetime was presented in.
797
+ *
798
+ * @param closeOverlay If `true`, closes the parent overlay. Defaults to `false`.
797
799
  */
798
800
  async confirm(closeOverlay = false) {
799
801
  const { isCalendarPicker, activeParts, preferWheel, workingParts } = this;
@@ -827,6 +829,8 @@ export class Datetime {
827
829
  * Resets the internal state of the datetime but does not update the value.
828
830
  * Passing a valid ISO-8601 string will reset the state of the component to the provided date.
829
831
  * If no value is provided, the internal state will be reset to the clamped value of the min, max and today.
832
+ *
833
+ * @param startDate A valid [ISO-8601 string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format) to reset the datetime state to.
830
834
  */
831
835
  async reset(startDate) {
832
836
  this.processValue(startDate);
@@ -836,6 +840,8 @@ export class Datetime {
836
840
  * optionally closes the popover
837
841
  * or modal that the datetime was
838
842
  * presented in.
843
+ *
844
+ * @param closeOverlay If `true`, closes the parent overlay. Defaults to `false`.
839
845
  */
840
846
  async cancel(closeOverlay = false) {
841
847
  this.ionCancel.emit();
@@ -1649,7 +1655,7 @@ export class Datetime {
1649
1655
  const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
1650
1656
  const hasWheelVariant = hasDatePresentation && preferWheel;
1651
1657
  renderHiddenInput(true, el, name, formatValue(value), disabled);
1652
- return (h(Host, { key: '7ea46c27aa5fb01b748dd4d6eb2340ad13f65175', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
1658
+ return (h(Host, { key: '79677f5bc0fb32fb68569636bd76e68238e62eb8', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
1653
1659
  [mode]: true,
1654
1660
  ['datetime-readonly']: readonly,
1655
1661
  ['datetime-disabled']: disabled,
@@ -1659,7 +1665,7 @@ export class Datetime {
1659
1665
  [`datetime-size-${size}`]: true,
1660
1666
  [`datetime-prefer-wheel`]: hasWheelVariant,
1661
1667
  [`datetime-grid`]: isGridStyle,
1662
- })) }, h("div", { key: '6964378424c58b053e23279d08eaedf28dfcc315', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
1668
+ })) }, h("div", { key: 'bf07b1e3c64af6e837663ff470bea93787a6e86f', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
1663
1669
  }
1664
1670
  static get is() { return "ion-datetime"; }
1665
1671
  static get encapsulation() { return "shadow"; }
@@ -2475,7 +2481,7 @@ export class Datetime {
2475
2481
  "parameters": [{
2476
2482
  "name": "closeOverlay",
2477
2483
  "type": "boolean",
2478
- "docs": ""
2484
+ "docs": "If `true`, closes the parent overlay. Defaults to `false`."
2479
2485
  }],
2480
2486
  "references": {
2481
2487
  "Promise": {
@@ -2487,7 +2493,10 @@ export class Datetime {
2487
2493
  },
2488
2494
  "docs": {
2489
2495
  "text": "Confirms the selected datetime value, updates the\n`value` property, and optionally closes the popover\nor modal that the datetime was presented in.",
2490
- "tags": []
2496
+ "tags": [{
2497
+ "name": "param",
2498
+ "text": "closeOverlay If `true`, closes the parent overlay. Defaults to `false`."
2499
+ }]
2491
2500
  }
2492
2501
  },
2493
2502
  "reset": {
@@ -2496,7 +2505,7 @@ export class Datetime {
2496
2505
  "parameters": [{
2497
2506
  "name": "startDate",
2498
2507
  "type": "string | undefined",
2499
- "docs": ""
2508
+ "docs": "A valid [ISO-8601 string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format) to reset the datetime state to."
2500
2509
  }],
2501
2510
  "references": {
2502
2511
  "Promise": {
@@ -2508,7 +2517,10 @@ export class Datetime {
2508
2517
  },
2509
2518
  "docs": {
2510
2519
  "text": "Resets the internal state of the datetime but does not update the value.\nPassing a valid ISO-8601 string will reset the state of the component to the provided date.\nIf no value is provided, the internal state will be reset to the clamped value of the min, max and today.",
2511
- "tags": []
2520
+ "tags": [{
2521
+ "name": "param",
2522
+ "text": "startDate A valid [ISO-8601 string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format) to reset the datetime state to."
2523
+ }]
2512
2524
  }
2513
2525
  },
2514
2526
  "cancel": {
@@ -2517,7 +2529,7 @@ export class Datetime {
2517
2529
  "parameters": [{
2518
2530
  "name": "closeOverlay",
2519
2531
  "type": "boolean",
2520
- "docs": ""
2532
+ "docs": "If `true`, closes the parent overlay. Defaults to `false`."
2521
2533
  }],
2522
2534
  "references": {
2523
2535
  "Promise": {
@@ -2529,7 +2541,10 @@ export class Datetime {
2529
2541
  },
2530
2542
  "docs": {
2531
2543
  "text": "Emits the ionCancel event and\noptionally closes the popover\nor modal that the datetime was\npresented in.",
2532
- "tags": []
2544
+ "tags": [{
2545
+ "name": "param",
2546
+ "text": "closeOverlay If `true`, closes the parent overlay. Defaults to `false`."
2547
+ }]
2533
2548
  }
2534
2549
  }
2535
2550
  };
@@ -129,16 +129,15 @@ export class Loading {
129
129
  }
130
130
  /**
131
131
  * Dismiss the loading overlay after it has been presented.
132
+ * This is a no-op if the overlay has not been presented yet. If you want
133
+ * to remove an overlay from the DOM that was never presented, use the
134
+ * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.
132
135
  *
133
136
  * @param data Any data to emit in the dismiss events.
134
137
  * @param role The role of the element that is dismissing the loading.
135
138
  * This can be useful in a button handler for determining which button was
136
- * clicked to dismiss the loading.
137
- * Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
138
- *
139
- * This is a no-op if the overlay has not been presented yet. If you want
140
- * to remove an overlay from the DOM that was never presented, use the
141
- * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.
139
+ * clicked to dismiss the loading. Some examples include:
140
+ * `"cancel"`, `"destructive"`, `"selected"`, and `"backdrop"`.
142
141
  */
143
142
  async dismiss(data, role) {
144
143
  const unlock = await this.lockController.lock();
@@ -180,9 +179,9 @@ export class Loading {
180
179
  * Otherwise, don't set aria-labelledby.
181
180
  */
182
181
  const ariaLabelledBy = message !== undefined ? msgId : null;
183
- return (h(Host, Object.assign({ key: '6369ed244c06c39aa338141bffacf7a861d7da1a', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
182
+ return (h(Host, Object.assign({ key: '4497183ce220242abe19ae15f328f9a92ccafbbc', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
184
183
  zIndex: `${40000 + this.overlayIndex}`,
185
- }, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '1fd5fd8581d59eec321e534f9116f3ec0501010a', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'b4028045b0c8fbb9946136d85d939d55120b867c', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'b045fb0e61cc28e8163d45be18b431918dc27c80', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '2cf9df796f987d1251b3599d10a48ed87a1d0eb9', class: "loading-spinner" }, h("ion-spinner", { key: '371cd41655402326adcb1e2fe1481009a83243b2', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: '2a5e5e66d22ee4c1cef0c93815ef023d47e7a8eb', tabindex: "0", "aria-hidden": "true" })));
184
+ }, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '231dec84e424a2dc358ce95b84d6035cf43e4dea', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'c9af29b6e6bb49a217396a5c874bbfb8835a926c', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'a8659863743cdeccbe1ba810eaabfd3ebfcb86f3', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '3b346f39bc71691bd8686556a1e142198a7b12fa', class: "loading-spinner" }, h("ion-spinner", { key: '8dc2bf1556e5138e262827f1516c59ecd09f3520', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: '054164c0dbae9a0e0973dd3c8e28f5b771820310', tabindex: "0", "aria-hidden": "true" })));
186
185
  }
187
186
  static get is() { return "ion-loading"; }
188
187
  static get encapsulation() { return "scoped"; }
@@ -744,7 +743,7 @@ export class Loading {
744
743
  }, {
745
744
  "name": "role",
746
745
  "type": "string | undefined",
747
- "docs": "The role of the element that is dismissing the loading.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the loading.\nSome examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method."
746
+ "docs": "The role of the element that is dismissing the loading.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the loading. Some examples include:\n`\"cancel\"`, `\"destructive\"`, `\"selected\"`, and `\"backdrop\"`."
748
747
  }],
749
748
  "references": {
750
749
  "Promise": {
@@ -755,13 +754,13 @@ export class Loading {
755
754
  "return": "Promise<boolean>"
756
755
  },
757
756
  "docs": {
758
- "text": "Dismiss the loading overlay after it has been presented.",
757
+ "text": "Dismiss the loading overlay after it has been presented.\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.",
759
758
  "tags": [{
760
759
  "name": "param",
761
760
  "text": "data Any data to emit in the dismiss events."
762
761
  }, {
763
762
  "name": "param",
764
- "text": "role The role of the element that is dismissing the loading.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the loading.\nSome examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method."
763
+ "text": "role The role of the element that is dismissing the loading.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the loading. Some examples include:\n`\"cancel\"`, `\"destructive\"`, `\"selected\"`, and `\"backdrop\"`."
765
764
  }]
766
765
  }
767
766
  },
@@ -237,7 +237,7 @@ export class Menu {
237
237
  return Promise.resolve(this._isOpen);
238
238
  }
239
239
  /**
240
- * Returns `true` is the menu is active.
240
+ * Returns `true` if the menu is active.
241
241
  *
242
242
  * A menu is active when it can be opened or closed, meaning it's enabled
243
243
  * and it's not part of a `ion-split-pane`.
@@ -248,6 +248,10 @@ export class Menu {
248
248
  /**
249
249
  * Opens the menu. If the menu is already open or it can't be opened,
250
250
  * it returns `false`.
251
+ *
252
+ * @param animated If `true`, the menu will animate when opening.
253
+ * If `false`, the menu will open instantly without animation.
254
+ * Defaults to `true`.
251
255
  */
252
256
  open(animated = true) {
253
257
  return this.setOpen(true, animated);
@@ -255,20 +259,38 @@ export class Menu {
255
259
  /**
256
260
  * Closes the menu. If the menu is already closed or it can't be closed,
257
261
  * it returns `false`.
262
+ *
263
+ * @param animated If `true`, the menu will animate when closing. If `false`,
264
+ * the menu will close instantly without animation. Defaults to `true`.
265
+ * @param role The role of the element that is closing the menu.
266
+ * This can be useful in a button handler for determining which button was
267
+ * clicked to close the menu. Some examples include:
268
+ * `"cancel"`, `"destructive"`, `"selected"`, and `"backdrop"`.
258
269
  */
259
270
  close(animated = true, role) {
260
271
  return this.setOpen(false, animated, role);
261
272
  }
262
273
  /**
263
- * Toggles the menu. If the menu is already open, it will try to close, otherwise it will try to open it.
274
+ * Toggles the menu. If the menu is already open, it will try to close,
275
+ * otherwise it will try to open it.
264
276
  * If the operation can't be completed successfully, it returns `false`.
277
+ *
278
+ * @param animated If `true`, the menu will animate when opening/closing.
279
+ * If `false`, the menu will open/close instantly without animation.
280
+ * Defaults to `true`.
265
281
  */
266
282
  toggle(animated = true) {
267
283
  return this.setOpen(!this._isOpen, animated);
268
284
  }
269
285
  /**
270
- * Opens or closes the button.
286
+ * Opens or closes the menu.
271
287
  * If the operation can't be completed successfully, it returns `false`.
288
+ *
289
+ * @param shouldOpen If `true`, the menu will open. If `false`, the menu
290
+ * will close.
291
+ * @param animated If `true`, the menu will animate when opening/closing.
292
+ * If `false`, the menu will open/close instantly without animation.
293
+ * @param role The role of the element that is closing the menu.
272
294
  */
273
295
  setOpen(shouldOpen, animated = true, role) {
274
296
  return menuController._setOpen(this, shouldOpen, animated, role);
@@ -633,14 +655,14 @@ export class Menu {
633
655
  * the ionBackButton listener in the menu controller
634
656
  * will handle closing the menu when Escape is pressed.
635
657
  */
636
- return (h(Host, { key: '9e4ae9476a76781f1d228395c9af9e1c39ec82bb', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
658
+ return (h(Host, { key: 'a5c75aa40a34530b56ee3b98d706a5ac5ae300de', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
637
659
  [mode]: true,
638
660
  [`menu-type-${type}`]: true,
639
661
  'menu-enabled': !disabled,
640
662
  [`menu-side-${side}`]: true,
641
663
  'menu-pane-visible': isPaneVisible,
642
664
  'split-pane-side': hostContext('ion-split-pane', el),
643
- } }, h("div", { key: 'c6153589d872ac7e3fdf5eedfdb858eb64ccd713', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '9994aac4b22f17db34c9b8b2aa56b8710b9df645' })), h("ion-backdrop", { key: 'f09ac30cc4dd2dcb10628965e659dae5a23baf98', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
665
+ } }, h("div", { key: '3f5f70acd4d3ed6bb445122f4f01d73db738a75f', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '3161326c9330e7f7441299c428b87a91b31a83e9' })), h("ion-backdrop", { key: '917b50f38489bdf03d0c642af8b4e4e172c7dc4c', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
644
666
  }
645
667
  static get is() { return "ion-menu"; }
646
668
  static get encapsulation() { return "shadow"; }
@@ -946,7 +968,7 @@ export class Menu {
946
968
  "return": "Promise<boolean>"
947
969
  },
948
970
  "docs": {
949
- "text": "Returns `true` is the menu is active.\n\nA menu is active when it can be opened or closed, meaning it's enabled\nand it's not part of a `ion-split-pane`.",
971
+ "text": "Returns `true` if the menu is active.\n\nA menu is active when it can be opened or closed, meaning it's enabled\nand it's not part of a `ion-split-pane`.",
950
972
  "tags": []
951
973
  }
952
974
  },
@@ -956,7 +978,7 @@ export class Menu {
956
978
  "parameters": [{
957
979
  "name": "animated",
958
980
  "type": "boolean",
959
- "docs": ""
981
+ "docs": "If `true`, the menu will animate when opening.\nIf `false`, the menu will open instantly without animation.\nDefaults to `true`."
960
982
  }],
961
983
  "references": {
962
984
  "Promise": {
@@ -968,7 +990,10 @@ export class Menu {
968
990
  },
969
991
  "docs": {
970
992
  "text": "Opens the menu. If the menu is already open or it can't be opened,\nit returns `false`.",
971
- "tags": []
993
+ "tags": [{
994
+ "name": "param",
995
+ "text": "animated If `true`, the menu will animate when opening.\nIf `false`, the menu will open instantly without animation.\nDefaults to `true`."
996
+ }]
972
997
  }
973
998
  },
974
999
  "close": {
@@ -977,11 +1002,11 @@ export class Menu {
977
1002
  "parameters": [{
978
1003
  "name": "animated",
979
1004
  "type": "boolean",
980
- "docs": ""
1005
+ "docs": "If `true`, the menu will animate when closing. If `false`,\nthe menu will close instantly without animation. Defaults to `true`."
981
1006
  }, {
982
1007
  "name": "role",
983
1008
  "type": "string | undefined",
984
- "docs": ""
1009
+ "docs": "The role of the element that is closing the menu.\nThis can be useful in a button handler for determining which button was\nclicked to close the menu. Some examples include:\n`\"cancel\"`, `\"destructive\"`, `\"selected\"`, and `\"backdrop\"`."
985
1010
  }],
986
1011
  "references": {
987
1012
  "Promise": {
@@ -993,7 +1018,13 @@ export class Menu {
993
1018
  },
994
1019
  "docs": {
995
1020
  "text": "Closes the menu. If the menu is already closed or it can't be closed,\nit returns `false`.",
996
- "tags": []
1021
+ "tags": [{
1022
+ "name": "param",
1023
+ "text": "animated If `true`, the menu will animate when closing. If `false`,\nthe menu will close instantly without animation. Defaults to `true`."
1024
+ }, {
1025
+ "name": "param",
1026
+ "text": "role The role of the element that is closing the menu.\nThis can be useful in a button handler for determining which button was\nclicked to close the menu. Some examples include:\n`\"cancel\"`, `\"destructive\"`, `\"selected\"`, and `\"backdrop\"`."
1027
+ }]
997
1028
  }
998
1029
  },
999
1030
  "toggle": {
@@ -1002,7 +1033,7 @@ export class Menu {
1002
1033
  "parameters": [{
1003
1034
  "name": "animated",
1004
1035
  "type": "boolean",
1005
- "docs": ""
1036
+ "docs": "If `true`, the menu will animate when opening/closing.\nIf `false`, the menu will open/close instantly without animation.\nDefaults to `true`."
1006
1037
  }],
1007
1038
  "references": {
1008
1039
  "Promise": {
@@ -1013,8 +1044,11 @@ export class Menu {
1013
1044
  "return": "Promise<boolean>"
1014
1045
  },
1015
1046
  "docs": {
1016
- "text": "Toggles the menu. If the menu is already open, it will try to close, otherwise it will try to open it.\nIf the operation can't be completed successfully, it returns `false`.",
1017
- "tags": []
1047
+ "text": "Toggles the menu. If the menu is already open, it will try to close,\notherwise it will try to open it.\nIf the operation can't be completed successfully, it returns `false`.",
1048
+ "tags": [{
1049
+ "name": "param",
1050
+ "text": "animated If `true`, the menu will animate when opening/closing.\nIf `false`, the menu will open/close instantly without animation.\nDefaults to `true`."
1051
+ }]
1018
1052
  }
1019
1053
  },
1020
1054
  "setOpen": {
@@ -1023,15 +1057,15 @@ export class Menu {
1023
1057
  "parameters": [{
1024
1058
  "name": "shouldOpen",
1025
1059
  "type": "boolean",
1026
- "docs": ""
1060
+ "docs": "If `true`, the menu will open. If `false`, the menu\nwill close."
1027
1061
  }, {
1028
1062
  "name": "animated",
1029
1063
  "type": "boolean",
1030
- "docs": ""
1064
+ "docs": "If `true`, the menu will animate when opening/closing.\nIf `false`, the menu will open/close instantly without animation."
1031
1065
  }, {
1032
1066
  "name": "role",
1033
1067
  "type": "string | undefined",
1034
- "docs": ""
1068
+ "docs": "The role of the element that is closing the menu."
1035
1069
  }],
1036
1070
  "references": {
1037
1071
  "Promise": {
@@ -1042,8 +1076,17 @@ export class Menu {
1042
1076
  "return": "Promise<boolean>"
1043
1077
  },
1044
1078
  "docs": {
1045
- "text": "Opens or closes the button.\nIf the operation can't be completed successfully, it returns `false`.",
1046
- "tags": []
1079
+ "text": "Opens or closes the menu.\nIf the operation can't be completed successfully, it returns `false`.",
1080
+ "tags": [{
1081
+ "name": "param",
1082
+ "text": "shouldOpen If `true`, the menu will open. If `false`, the menu\nwill close."
1083
+ }, {
1084
+ "name": "param",
1085
+ "text": "animated If `true`, the menu will animate when opening/closing.\nIf `false`, the menu will open/close instantly without animation."
1086
+ }, {
1087
+ "name": "param",
1088
+ "text": "role The role of the element that is closing the menu."
1089
+ }]
1047
1090
  }
1048
1091
  }
1049
1092
  };
@@ -184,6 +184,17 @@ export class Modal {
184
184
  el.dispatchEvent(ev);
185
185
  }
186
186
  };
187
+ /**
188
+ * When the modal receives focus directly, pass focus to the handle
189
+ * if it exists and is focusable, otherwise let the focus trap handle it.
190
+ */
191
+ this.onModalFocus = (ev) => {
192
+ const { dragHandleEl, el } = this;
193
+ // Only handle focus if the modal itself was focused (not a child element)
194
+ if (ev.target === el && dragHandleEl && dragHandleEl.tabIndex !== -1) {
195
+ dragHandleEl.focus();
196
+ }
197
+ };
187
198
  }
188
199
  onIsOpenChange(newValue, oldValue) {
189
200
  if (newValue === true && oldValue === false) {
@@ -515,13 +526,13 @@ export class Modal {
515
526
  }
516
527
  /**
517
528
  * Dismiss the modal overlay after it has been presented.
518
- *
519
- * @param data Any data to emit in the dismiss events.
520
- * @param role The role of the element that is dismissing the modal. For example, 'cancel' or 'backdrop'.
521
- *
522
529
  * This is a no-op if the overlay has not been presented yet. If you want
523
530
  * to remove an overlay from the DOM that was never presented, use the
524
531
  * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.
532
+ *
533
+ * @param data Any data to emit in the dismiss events.
534
+ * @param role The role of the element that is dismissing the modal.
535
+ * For example, `cancel` or `backdrop`.
525
536
  */
526
537
  async dismiss(data, role) {
527
538
  var _a;
@@ -593,8 +604,10 @@ export class Modal {
593
604
  return eventMethod(this.el, 'ionModalWillDismiss');
594
605
  }
595
606
  /**
596
- * Move a sheet style modal to a specific breakpoint. The breakpoint value must
597
- * be a value defined in your `breakpoints` array.
607
+ * Move a sheet style modal to a specific breakpoint.
608
+ *
609
+ * @param breakpoint The breakpoint value to move the sheet modal to.
610
+ * Must be a value defined in your `breakpoints` array.
598
611
  */
599
612
  async setCurrentBreakpoint(breakpoint) {
600
613
  if (!this.isSheetModal) {
@@ -653,20 +666,21 @@ export class Modal {
653
666
  const mode = getIonMode(this);
654
667
  const isCardModal = presentingElement !== undefined && mode === 'ios';
655
668
  const isHandleCycle = handleBehavior === 'cycle';
656
- return (h(Host, Object.assign({ key: '04c094d52dcd7095fc08d74ab7f3e37b498ec480', "no-router": true,
669
+ const isSheetModalWithHandle = isSheetModal && showHandle;
670
+ return (h(Host, Object.assign({ key: '8add05bb43a2cdb5e3cf180147d31eb85a018fe0', "no-router": true,
657
671
  // Allow the modal to be navigable when the handle is focusable
658
- tabIndex: !isHandleCycle ? -1 : 0 }, htmlAttributes, { style: {
672
+ tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
659
673
  zIndex: `${20000 + this.overlayIndex}`,
660
- }, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, '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: '20e56317fbf12a75fbcfd4abb394146de1764b9b', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: 'cb87817485a204ee7bc117aaa9472de8acaebfd6', class: "modal-shadow" }), h("div", Object.assign({ key: 'b5e88cd83782a5d09fe2caf298aaaf67d226f699',
674
+ }, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, '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, onFocus: this.onModalFocus }), h("ion-backdrop", { key: '90a6605a9564a699d6f66cf71cf6b506796a2963', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: 'a97d071395333bf803c0a9347bda000cf7500d8d', class: "modal-shadow" }), h("div", Object.assign({ key: 'e7b7985c7414a13e3ba8dcecf497b76e92edf53e',
661
675
  /*
662
676
  role and aria-modal must be used on the
663
677
  same element. They must also be set inside the
664
678
  shadow DOM otherwise ion-button will not be highlighted
665
679
  when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
666
680
  */
667
- role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '90340f02007b74da70ace1d5035d7b49573fad2b', class: "modal-handle",
681
+ role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '8258b65570b11a8ee9c9df2537d6419cd2e34536', class: "modal-handle",
668
682
  // Prevents the handle from receiving keyboard focus when it does not cycle
669
- 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: 'c7db14c97e2a80b0b9680635ea9d4361e8f4b77e' }))));
683
+ tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '394370d0ed03ee03152f8f8abae7ff7664ca5c13' }))));
670
684
  }
671
685
  static get is() { return "ion-modal"; }
672
686
  static get encapsulation() { return "shadow"; }
@@ -1454,7 +1468,7 @@ export class Modal {
1454
1468
  }, {
1455
1469
  "name": "role",
1456
1470
  "type": "string | undefined",
1457
- "docs": "The role of the element that is dismissing the modal. For example, 'cancel' or 'backdrop'.\n\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method."
1471
+ "docs": "The role of the element that is dismissing the modal.\nFor example, `cancel` or `backdrop`."
1458
1472
  }],
1459
1473
  "references": {
1460
1474
  "Promise": {
@@ -1469,13 +1483,13 @@ export class Modal {
1469
1483
  "return": "Promise<boolean>"
1470
1484
  },
1471
1485
  "docs": {
1472
- "text": "Dismiss the modal overlay after it has been presented.",
1486
+ "text": "Dismiss the modal overlay after it has been presented.\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.",
1473
1487
  "tags": [{
1474
1488
  "name": "param",
1475
1489
  "text": "data Any data to emit in the dismiss events."
1476
1490
  }, {
1477
1491
  "name": "param",
1478
- "text": "role The role of the element that is dismissing the modal. For example, 'cancel' or 'backdrop'.\n\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method."
1492
+ "text": "role The role of the element that is dismissing the modal.\nFor example, `cancel` or `backdrop`."
1479
1493
  }]
1480
1494
  }
1481
1495
  },
@@ -1537,7 +1551,7 @@ export class Modal {
1537
1551
  "parameters": [{
1538
1552
  "name": "breakpoint",
1539
1553
  "type": "number",
1540
- "docs": ""
1554
+ "docs": "The breakpoint value to move the sheet modal to.\nMust be a value defined in your `breakpoints` array."
1541
1555
  }],
1542
1556
  "references": {
1543
1557
  "Promise": {
@@ -1548,8 +1562,11 @@ export class Modal {
1548
1562
  "return": "Promise<void>"
1549
1563
  },
1550
1564
  "docs": {
1551
- "text": "Move a sheet style modal to a specific breakpoint. The breakpoint value must\nbe a value defined in your `breakpoints` array.",
1552
- "tags": []
1565
+ "text": "Move a sheet style modal to a specific breakpoint.",
1566
+ "tags": [{
1567
+ "name": "param",
1568
+ "text": "breakpoint The breakpoint value to move the sheet modal to.\nMust be a value defined in your `breakpoints` array."
1569
+ }]
1553
1570
  }
1554
1571
  },
1555
1572
  "getCurrentBreakpoint": {
@@ -309,6 +309,8 @@ export class Popover {
309
309
  * Developers can pass a mouse, touch, or pointer event
310
310
  * to position the popover relative to where that event
311
311
  * was dispatched.
312
+ *
313
+ * @param event The event to position the popover relative to.
312
314
  */
313
315
  async present(event) {
314
316
  const unlock = await this.lockController.lock();
@@ -372,15 +374,14 @@ export class Popover {
372
374
  }
373
375
  /**
374
376
  * Dismiss the popover overlay after it has been presented.
377
+ * This is a no-op if the overlay has not been presented yet. If you want
378
+ * to remove an overlay from the DOM that was never presented, use the
379
+ * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.
375
380
  *
376
381
  * @param data Any data to emit in the dismiss events.
377
- * @param role The role of the element that is dismissing the popover. For example, 'cancel' or 'backdrop'.
382
+ * @param role The role of the element that is dismissing the popover. For example, `cancel` or `backdrop`.
378
383
  * @param dismissParentPopover If `true`, dismissing this popover will also dismiss
379
384
  * a parent popover if this popover is nested. Defaults to `true`.
380
- *
381
- * This is a no-op if the overlay has not been presented yet. If you want
382
- * to remove an overlay from the DOM that was never presented, use the
383
- * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.
384
385
  */
385
386
  async dismiss(data, role, dismissParentPopover = true) {
386
387
  const unlock = await this.lockController.lock();
@@ -432,9 +433,9 @@ export class Popover {
432
433
  const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
433
434
  const desktop = isPlatform('desktop');
434
435
  const enableArrow = arrow && !parentPopover;
435
- return (h(Host, Object.assign({ key: '1de4862099cfcb5035e78008e6dc7c1371846f9a', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
436
+ return (h(Host, Object.assign({ key: '16866c02534968c982cf4730d2936d03a5107c8b', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
436
437
  zIndex: `${20000 + this.overlayIndex}`,
437
- }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '981aa4e0102cb93312ffbd8243cdf2a0cdc60469', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '1a28ed55e9d34ef78cf0eb0178643301fd2dd75d', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '1c206ea5eb3c0b5883a3d45c34cd22dd5ffe4b65', class: "popover-arrow", part: "arrow" }), h("div", { key: '5ba561486a328c0c7ab825995fdbfb7a196429a4', class: "popover-content", part: "content" }, h("slot", { key: '00fc244ce9dcc2dfc677e6c34b7c8e7a330b2b03' })))));
438
+ }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '0df258601a4d30df3c27aa8234a7d5e056c3ecbb', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: 'f94e80ed996b957b5cd09b826472b4f60e8fcc78', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '185ce22f6386e8444a9cc7b8818dbfc16c463c99', class: "popover-arrow", part: "arrow" }), h("div", { key: '206202b299404e110de5397b229678cca18568d3', class: "popover-content", part: "content" }, h("slot", { key: 'ee543a0b92d6e35a837c0a0e4617c7b0fc4ad0b0' })))));
438
439
  }
439
440
  static get is() { return "ion-popover"; }
440
441
  static get encapsulation() { return "shadow"; }
@@ -1259,7 +1260,7 @@ export class Popover {
1259
1260
  "parameters": [{
1260
1261
  "name": "event",
1261
1262
  "type": "MouseEvent | PointerEvent | TouchEvent | CustomEvent<any> | undefined",
1262
- "docs": ""
1263
+ "docs": "The event to position the popover relative to."
1263
1264
  }],
1264
1265
  "references": {
1265
1266
  "Promise": {
@@ -1291,7 +1292,10 @@ export class Popover {
1291
1292
  },
1292
1293
  "docs": {
1293
1294
  "text": "Present the popover overlay after it has been created.\nDevelopers can pass a mouse, touch, or pointer event\nto position the popover relative to where that event\nwas dispatched.",
1294
- "tags": []
1295
+ "tags": [{
1296
+ "name": "param",
1297
+ "text": "event The event to position the popover relative to."
1298
+ }]
1295
1299
  }
1296
1300
  },
1297
1301
  "dismiss": {
@@ -1304,11 +1308,11 @@ export class Popover {
1304
1308
  }, {
1305
1309
  "name": "role",
1306
1310
  "type": "string | undefined",
1307
- "docs": "The role of the element that is dismissing the popover. For example, 'cancel' or 'backdrop'."
1311
+ "docs": "The role of the element that is dismissing the popover. For example, `cancel` or `backdrop`."
1308
1312
  }, {
1309
1313
  "name": "dismissParentPopover",
1310
1314
  "type": "boolean",
1311
- "docs": "If `true`, dismissing this popover will also dismiss\na parent popover if this popover is nested. Defaults to `true`.\n\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method."
1315
+ "docs": "If `true`, dismissing this popover will also dismiss\na parent popover if this popover is nested. Defaults to `true`."
1312
1316
  }],
1313
1317
  "references": {
1314
1318
  "Promise": {
@@ -1323,16 +1327,16 @@ export class Popover {
1323
1327
  "return": "Promise<boolean>"
1324
1328
  },
1325
1329
  "docs": {
1326
- "text": "Dismiss the popover overlay after it has been presented.",
1330
+ "text": "Dismiss the popover overlay after it has been presented.\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.",
1327
1331
  "tags": [{
1328
1332
  "name": "param",
1329
1333
  "text": "data Any data to emit in the dismiss events."
1330
1334
  }, {
1331
1335
  "name": "param",
1332
- "text": "role The role of the element that is dismissing the popover. For example, 'cancel' or 'backdrop'."
1336
+ "text": "role The role of the element that is dismissing the popover. For example, `cancel` or `backdrop`."
1333
1337
  }, {
1334
1338
  "name": "param",
1335
- "text": "dismissParentPopover If `true`, dismissing this popover will also dismiss\na parent popover if this popover is nested. Defaults to `true`.\n\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method."
1339
+ "text": "dismissParentPopover If `true`, dismissing this popover will also dismiss\na parent popover if this popover is nested. Defaults to `true`."
1336
1340
  }]
1337
1341
  }
1338
1342
  },
@@ -54,7 +54,6 @@ export class ReorderGroup {
54
54
  }
55
55
  /**
56
56
  * Completes the reorder operation. Must be called by the `ionItemReorder` event.
57
- *
58
57
  * If a list of items is passed, the list will be reordered and returned in the
59
58
  * proper order.
60
59
  *
@@ -241,7 +240,7 @@ export class ReorderGroup {
241
240
  }
242
241
  render() {
243
242
  const mode = getIonMode(this);
244
- return (h(Host, { key: 'f30613b361c5c3095b7928a92fb4b1e8d6eff600', class: {
243
+ return (h(Host, { key: 'dfcdc3a6aa1b2fba15f861ec868d6a11e667c9de', class: {
245
244
  [mode]: true,
246
245
  'reorder-enabled': !this.disabled,
247
246
  'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
@@ -330,7 +329,7 @@ export class ReorderGroup {
330
329
  "return": "Promise<any>"
331
330
  },
332
331
  "docs": {
333
- "text": "Completes the reorder operation. Must be called by the `ionItemReorder` event.\n\nIf a list of items is passed, the list will be reordered and returned in the\nproper order.\n\nIf no parameters are passed or if `true` is passed in, the reorder will complete\nand the item will remain in the position it was dragged to. If `false` is passed,\nthe reorder will complete and the item will bounce back to its original position.",
332
+ "text": "Completes the reorder operation. Must be called by the `ionItemReorder` event.\nIf a list of items is passed, the list will be reordered and returned in the\nproper order.\n\nIf no parameters are passed or if `true` is passed in, the reorder will complete\nand the item will remain in the position it was dragged to. If `false` is passed,\nthe reorder will complete and the item will bounce back to its original position.",
334
333
  "tags": [{
335
334
  "name": "param",
336
335
  "text": "listOrReorder A list of items to be sorted and returned in the new order or a\nboolean of whether or not the reorder should reposition the item."