@ionic/core 8.7.4-dev.11756220757.185b8cbf → 8.7.4-dev.11756388042.1a103a79

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 (84) hide show
  1. package/components/ion-datetime.js +4 -3
  2. package/components/ion-input.js +8 -63
  3. package/components/ion-menu.js +5 -2
  4. package/components/ion-textarea.js +7 -62
  5. package/components/overlays.js +18 -109
  6. package/components/picker-column-option.js +3 -3
  7. package/components/picker-column.js +3 -39
  8. package/dist/cjs/index.cjs.js +1 -1
  9. package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
  10. package/dist/cjs/ion-alert.cjs.entry.js +1 -1
  11. package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
  12. package/dist/cjs/ion-input.cjs.entry.js +8 -62
  13. package/dist/cjs/ion-loading.cjs.entry.js +1 -1
  14. package/dist/cjs/ion-menu_3.cjs.entry.js +6 -3
  15. package/dist/cjs/ion-modal.cjs.entry.js +1 -1
  16. package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
  17. package/dist/cjs/ion-picker-column.cjs.entry.js +3 -39
  18. package/dist/cjs/ion-popover.cjs.entry.js +1 -1
  19. package/dist/cjs/ion-select-modal.cjs.entry.js +1 -1
  20. package/dist/cjs/ion-select_3.cjs.entry.js +1 -1
  21. package/dist/cjs/ion-textarea.cjs.entry.js +7 -61
  22. package/dist/cjs/ion-toast.cjs.entry.js +1 -1
  23. package/dist/cjs/ionic.cjs.js +1 -1
  24. package/dist/cjs/loader.cjs.js +1 -1
  25. package/dist/cjs/{overlays-CglR7j-u.js → overlays-v_jc1Hok.js} +17 -108
  26. package/dist/collection/components/datetime/datetime.js +4 -3
  27. package/dist/collection/components/input/input.js +9 -64
  28. package/dist/collection/components/menu/menu.js +9 -2
  29. package/dist/collection/components/picker-column/picker-column.js +3 -39
  30. package/dist/collection/components/picker-column-option/picker-column-option.ios.css +2 -2
  31. package/dist/collection/components/picker-column-option/picker-column-option.js +1 -1
  32. package/dist/collection/components/picker-column-option/picker-column-option.md.css +2 -2
  33. package/dist/collection/components/textarea/textarea.js +8 -63
  34. package/dist/collection/utils/overlays.js +17 -109
  35. package/dist/docs.json +5 -1
  36. package/dist/esm/index.js +1 -1
  37. package/dist/esm/ion-action-sheet.entry.js +1 -1
  38. package/dist/esm/ion-alert.entry.js +1 -1
  39. package/dist/esm/ion-datetime_3.entry.js +4 -4
  40. package/dist/esm/ion-input.entry.js +8 -62
  41. package/dist/esm/ion-loading.entry.js +1 -1
  42. package/dist/esm/ion-menu_3.entry.js +6 -3
  43. package/dist/esm/ion-modal.entry.js +1 -1
  44. package/dist/esm/ion-picker-column-option.entry.js +3 -3
  45. package/dist/esm/ion-picker-column.entry.js +3 -39
  46. package/dist/esm/ion-popover.entry.js +1 -1
  47. package/dist/esm/ion-select-modal.entry.js +1 -1
  48. package/dist/esm/ion-select_3.entry.js +1 -1
  49. package/dist/esm/ion-textarea.entry.js +7 -61
  50. package/dist/esm/ion-toast.entry.js +1 -1
  51. package/dist/esm/ionic.js +1 -1
  52. package/dist/esm/loader.js +1 -1
  53. package/dist/esm/{overlays-ZX_4-t_r.js → overlays-BJaRj3Rj.js} +18 -109
  54. package/dist/ionic/index.esm.js +1 -1
  55. package/dist/ionic/ionic.esm.js +1 -1
  56. package/dist/ionic/{p-f2884bc2.entry.js → p-095073c6.entry.js} +1 -1
  57. package/dist/ionic/p-1488b7cc.entry.js +4 -0
  58. package/dist/ionic/p-1ab0fc21.entry.js +4 -0
  59. package/dist/ionic/{p-92e8f208.entry.js → p-2060feb1.entry.js} +1 -1
  60. package/dist/ionic/p-22a0f820.entry.js +4 -0
  61. package/dist/ionic/{p-c575e7ce.entry.js → p-5a9be5a3.entry.js} +1 -1
  62. package/dist/ionic/{p-7bac2c5f.entry.js → p-60ff6bf6.entry.js} +1 -1
  63. package/dist/ionic/p-8888efe4.entry.js +4 -0
  64. package/dist/ionic/{p-ab33ef20.entry.js → p-89c2e0a3.entry.js} +1 -1
  65. package/dist/ionic/p-CoDfkBuk.js +4 -0
  66. package/dist/ionic/{p-91d6ccb0.entry.js → p-b17f0554.entry.js} +1 -1
  67. package/dist/ionic/p-b292804d.entry.js +4 -0
  68. package/dist/ionic/p-c5210d3e.entry.js +4 -0
  69. package/dist/ionic/{p-ac434970.entry.js → p-cd93c119.entry.js} +1 -1
  70. package/dist/ionic/p-dc8d0bb9.entry.js +4 -0
  71. package/dist/types/components/input/input.d.ts +0 -9
  72. package/dist/types/components/picker-column/picker-column.d.ts +0 -7
  73. package/dist/types/components/textarea/textarea.d.ts +0 -9
  74. package/hydrate/index.js +46 -248
  75. package/hydrate/index.mjs +46 -248
  76. package/package.json +2 -2
  77. package/dist/ionic/p-0816f67c.entry.js +0 -4
  78. package/dist/ionic/p-1d5b934a.entry.js +0 -4
  79. package/dist/ionic/p-29032e49.entry.js +0 -4
  80. package/dist/ionic/p-8d96a0cd.entry.js +0 -4
  81. package/dist/ionic/p-8e2de06f.entry.js +0 -4
  82. package/dist/ionic/p-982fe1c4.entry.js +0 -4
  83. package/dist/ionic/p-CSwZyt05.js +0 -4
  84. package/dist/ionic/p-f456d176.entry.js +0 -4
@@ -11,7 +11,6 @@ import { CoreDelegate } from "./framework-delegate";
11
11
  import { BACKDROP_NO_SCROLL } from "./gesture/gesture-controller";
12
12
  import { OVERLAY_BACK_BUTTON_PRIORITY } from "./hardware-back-button";
13
13
  import { addEventListener, componentOnReady, focusVisibleElement, getElementRoot, removeEventListener, } from "./helpers";
14
- import { isPlatform } from "./platform";
15
14
  let lastOverlayIndex = 0;
16
15
  let lastId = 0;
17
16
  export const activeAnimations = new WeakMap();
@@ -412,15 +411,17 @@ export const getPresentedOverlay = (doc, overlayTag, id) => {
412
411
  */
413
412
  export const setRootAriaHidden = (hidden = false) => {
414
413
  const root = getAppRoot(document);
415
- const viewContainer = root.querySelector('ion-router-outlet, ion-nav, #ion-view-container-root');
414
+ const viewContainer = root.querySelector('ion-router-outlet, #ion-view-container-root');
416
415
  if (!viewContainer) {
417
416
  return;
418
417
  }
419
418
  if (hidden) {
420
419
  viewContainer.setAttribute('aria-hidden', 'true');
420
+ viewContainer.setAttribute('inert', '');
421
421
  }
422
422
  else {
423
423
  viewContainer.removeAttribute('aria-hidden');
424
+ viewContainer.removeAttribute('inert');
424
425
  }
425
426
  };
426
427
  export const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts) => {
@@ -428,6 +429,17 @@ export const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation
428
429
  if (overlay.presented) {
429
430
  return;
430
431
  }
432
+ /**
433
+ * When an overlay that steals focus
434
+ * is dismissed, focus should be returned
435
+ * to the element that was focused
436
+ * prior to the overlay opening. Toast
437
+ * does not steal focus and is excluded
438
+ * from returning focus as a result.
439
+ */
440
+ if (overlay.el.tagName !== 'ION-TOAST') {
441
+ restoreElementFocus(overlay.el);
442
+ }
431
443
  /**
432
444
  * Due to accessibility guidelines, toasts do not have
433
445
  * focus traps.
@@ -439,8 +451,6 @@ export const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation
439
451
  setRootAriaHidden(true);
440
452
  document.body.classList.add(BACKDROP_NO_SCROLL);
441
453
  }
442
- hideUnderlyingOverlaysFromScreenReaders(overlay.el);
443
- hideAnimatingOverlayFromScreenReaders(overlay.el);
444
454
  overlay.presented = true;
445
455
  overlay.willPresent.emit();
446
456
  (_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
@@ -454,17 +464,6 @@ export const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation
454
464
  overlay.didPresent.emit();
455
465
  (_b = overlay.didPresentShorthand) === null || _b === void 0 ? void 0 : _b.emit();
456
466
  }
457
- /**
458
- * When an overlay that steals focus
459
- * is dismissed, focus should be returned
460
- * to the element that was focused
461
- * prior to the overlay opening. Toast
462
- * does not steal focus and is excluded
463
- * from returning focus as a result.
464
- */
465
- if (overlay.el.tagName !== 'ION-TOAST') {
466
- restoreElementFocus(overlay.el);
467
- }
468
467
  /**
469
468
  * If the focused element is already
470
469
  * inside the overlay component then
@@ -487,6 +486,7 @@ export const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation
487
486
  * screen readers.
488
487
  */
489
488
  overlay.el.removeAttribute('aria-hidden');
489
+ overlay.el.removeAttribute('inert');
490
490
  };
491
491
  /**
492
492
  * When an overlay component is dismissed,
@@ -503,6 +503,8 @@ const restoreElementFocus = async (overlayEl) => {
503
503
  if (!previousElement) {
504
504
  return;
505
505
  }
506
+ // Ensure active element is blurred to prevent a11y warning issues
507
+ previousElement.blur();
506
508
  const shadowRoot = previousElement === null || previousElement === void 0 ? void 0 : previousElement.shadowRoot;
507
509
  if (shadowRoot) {
508
510
  // If there are no inner focusable elements, just focus the host element.
@@ -566,12 +568,6 @@ export const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLe
566
568
  }
567
569
  overlay.presented = false;
568
570
  try {
569
- /**
570
- * There is no need to show the overlay to screen readers during
571
- * the dismiss animation. This is because the overlay will be removed
572
- * from the DOM after the animation is complete.
573
- */
574
- hideAnimatingOverlayFromScreenReaders(overlay.el);
575
571
  // Overlay contents should not be clickable during dismiss
576
572
  overlay.el.style.setProperty('pointer-events', 'none');
577
573
  overlay.willDismiss.emit({ data, role });
@@ -610,7 +606,6 @@ export const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLe
610
606
  printIonError(`[${overlay.el.tagName.toLowerCase()}] - `, err);
611
607
  }
612
608
  overlay.el.remove();
613
- revealOverlaysToScreenReaders();
614
609
  return true;
615
610
  };
616
611
  const getAppRoot = (doc) => {
@@ -806,91 +801,4 @@ export const createTriggerController = () => {
806
801
  removeClickListener,
807
802
  };
808
803
  };
809
- /**
810
- * The overlay that is being animated also needs to hide from screen
811
- * readers during its animation. This ensures that assistive technologies
812
- * like TalkBack do not announce or interact with the content until the
813
- * animation is complete, avoiding confusion for users.
814
- *
815
- * When the overlay is presented on an Android device, TalkBack's focus rings
816
- * may appear in the wrong position due to the transition (specifically
817
- * `transform` styles). This occurs because the focus rings are initially
818
- * displayed at the starting position of the elements before the transition
819
- * begins. This workaround ensures the focus rings do not appear in the
820
- * incorrect location.
821
- *
822
- * If this solution is applied to iOS devices, then it leads to a bug where
823
- * the overlays cannot be accessed by screen readers. This is due to
824
- * VoiceOver not being able to update the accessibility tree when the
825
- * `aria-hidden` is removed.
826
- *
827
- * @param overlay - The overlay that is being animated.
828
- */
829
- const hideAnimatingOverlayFromScreenReaders = (overlay) => {
830
- if (doc === undefined)
831
- return;
832
- if (isPlatform('android')) {
833
- /**
834
- * Once the animation is complete, this attribute will be removed.
835
- * This is done at the end of the `present` method.
836
- */
837
- overlay.setAttribute('aria-hidden', 'true');
838
- }
839
- };
840
- /**
841
- * Ensure that underlying overlays have aria-hidden if necessary so that screen readers
842
- * cannot move focus to these elements. Note that we cannot rely on focus/focusin/focusout
843
- * events here because those events do not fire when the screen readers moves to a non-focusable
844
- * element such as text.
845
- * Without this logic screen readers would be able to move focus outside of the top focus-trapped overlay.
846
- *
847
- * @param newTopMostOverlay - The overlay that is being presented. Since the overlay has not been
848
- * fully presented yet at the time this function is called it will not be included in the getPresentedOverlays result.
849
- */
850
- const hideUnderlyingOverlaysFromScreenReaders = (newTopMostOverlay) => {
851
- var _a;
852
- if (doc === undefined)
853
- return;
854
- const overlays = getPresentedOverlays(doc);
855
- for (let i = overlays.length - 1; i >= 0; i--) {
856
- const presentedOverlay = overlays[i];
857
- const nextPresentedOverlay = (_a = overlays[i + 1]) !== null && _a !== void 0 ? _a : newTopMostOverlay;
858
- /**
859
- * If next overlay has aria-hidden then all remaining overlays will have it too.
860
- * Or, if the next overlay is a Toast that does not have aria-hidden then current overlay
861
- * should not have aria-hidden either so focus can remain in the current overlay.
862
- */
863
- if (nextPresentedOverlay.hasAttribute('aria-hidden') || nextPresentedOverlay.tagName !== 'ION-TOAST') {
864
- presentedOverlay.setAttribute('aria-hidden', 'true');
865
- }
866
- }
867
- };
868
- /**
869
- * When dismissing an overlay we need to reveal the new top-most overlay to screen readers.
870
- * If the top-most overlay is a Toast we potentially need to reveal more overlays since
871
- * focus is never automatically moved to the Toast.
872
- */
873
- const revealOverlaysToScreenReaders = () => {
874
- if (doc === undefined)
875
- return;
876
- const overlays = getPresentedOverlays(doc);
877
- for (let i = overlays.length - 1; i >= 0; i--) {
878
- const currentOverlay = overlays[i];
879
- /**
880
- * If the current we are looking at is a Toast then we can remove aria-hidden.
881
- * However, we potentially need to keep looking at the overlay stack because there
882
- * could be more Toasts underneath. Additionally, we need to unhide the closest non-Toast
883
- * overlay too so focus can move there since focus is never automatically moved to the Toast.
884
- */
885
- currentOverlay.removeAttribute('aria-hidden');
886
- /**
887
- * If we found a non-Toast element then we can just remove aria-hidden and stop searching entirely
888
- * since this overlay should always receive focus. As a result, all underlying overlays should still
889
- * be hidden from screen readers.
890
- */
891
- if (currentOverlay.tagName !== 'ION-TOAST') {
892
- break;
893
- }
894
- }
895
- };
896
804
  export const FOCUS_TRAP_DISABLE_CLASS = 'ion-disable-focus-trap';
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-08-26T15:07:41",
2
+ "timestamp": "2025-08-28T13:35:57",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.36.2",
@@ -18445,6 +18445,10 @@
18445
18445
  "Promise": {
18446
18446
  "location": "global",
18447
18447
  "id": "global::Promise"
18448
+ },
18449
+ "HTMLElement": {
18450
+ "location": "global",
18451
+ "id": "global::HTMLElement"
18448
18452
  }
18449
18453
  },
18450
18454
  "return": "Promise<boolean>"
package/dist/esm/index.js CHANGED
@@ -13,7 +13,7 @@ export { L as LogLevel } from './index-4DxY6_gG.js';
13
13
  export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-Dx_6wPIJ.js';
14
14
  export { o as openURL } from './theme-DiVJyqlX.js';
15
15
  export { m as menuController } from './index-CXSTcaAW.js';
16
- export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-ZX_4-t_r.js';
16
+ export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-BJaRj3Rj.js';
17
17
  import './index-ZjP4CjeZ.js';
18
18
  import './gesture-controller-BTEOs1at.js';
19
19
  import './hardware-back-button-Dhbd-23H.js';
@@ -5,7 +5,7 @@ import { r as registerInstance, c as createEvent, a as readTask, h, d as Host, g
5
5
  import { c as createButtonActiveGesture } from './button-active-DBUPuLNw.js';
6
6
  import { r as raf } from './helpers-8KSQQGQy.js';
7
7
  import { c as createLockController } from './lock-controller-B-hirT0v.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-ZX_4-t_r.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-BJaRj3Rj.js';
9
9
  import { g as getClassMap } from './theme-DiVJyqlX.js';
10
10
  import { b as getIonMode } from './ionic-global-CTSyufhF.js';
11
11
  import { c as createAnimation } from './animation-BvhAtgca.js';
@@ -6,7 +6,7 @@ import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './conf
6
6
  import { c as createButtonActiveGesture } from './button-active-DBUPuLNw.js';
7
7
  import { r as raf } from './helpers-8KSQQGQy.js';
8
8
  import { c as createLockController } from './lock-controller-B-hirT0v.js';
9
- import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-ZX_4-t_r.js';
9
+ import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-BJaRj3Rj.js';
10
10
  import { g as getClassMap } from './theme-DiVJyqlX.js';
11
11
  import { b as getIonMode } from './ionic-global-CTSyufhF.js';
12
12
  import { c as createAnimation } from './animation-BvhAtgca.js';
@@ -4,13 +4,13 @@
4
4
  import { j as printIonError, f as printIonWarning, r as registerInstance, c as createEvent, w as writeTask, h, d as Host, g as getElement } from './index-4DxY6_gG.js';
5
5
  import { startFocusVisible } from './focus-visible-BmVRXR1y.js';
6
6
  import { r as raf, g as getElementRoot, a as renderHiddenInput, e as clamp } from './helpers-8KSQQGQy.js';
7
+ import { F as FOCUS_TRAP_DISABLE_CLASS, d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-BJaRj3Rj.js';
7
8
  import { i as isRTL } from './dir-C53feagD.js';
8
9
  import { c as createColorClasses, g as getClassMap } from './theme-DiVJyqlX.js';
9
10
  import { l as chevronDown, o as caretUpSharp, p as chevronForward, q as caretDownSharp, c as chevronBack } from './index-DV3sJJW8.js';
10
11
  import { b as getIonMode } from './ionic-global-CTSyufhF.js';
11
12
  import { i as isBefore, a as isAfter, g as getPreviousMonth, b as getNextMonth, c as isSameDay, d as getDay, e as generateDayAriaLabel, v as validateParts, f as getPartsFromCalendarDay, h as getNextYear, j as getPreviousYear, k as getEndOfWeek, l as getStartOfWeek, m as getPreviousDay, n as getNextDay, o as getPreviousWeek, p as getNextWeek, q as parseMinParts, r as parseMaxParts, s as parseDate, w as warnIfValueOutOfBounds, t as parseAmPm, u as clampDate, x as convertToArrayOfNumbers, y as convertDataToISO, z as getToday, A as getClosestValidDate, B as generateMonths, C as getNumDaysInMonth, D as getCombinedDateColumnData, E as getMonthColumnData, F as getDayColumnData, G as getYearColumnData, H as isMonthFirstLocale, I as getTimeColumnsData, J as isLocaleDayPeriodRTL, K as calculateHourFromAMPM, L as getDaysOfWeek, M as getMonthAndYear, N as getDaysOfMonth, O as getHourCycle, P as getLocalizedTime, Q as getLocalizedDateTime, R as formatValue } from './data-CKHMWxfe.js';
12
13
  import { c as createLockController } from './lock-controller-B-hirT0v.js';
13
- import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-ZX_4-t_r.js';
14
14
  import { c as createAnimation } from './animation-BvhAtgca.js';
15
15
  import { a as hapticSelectionChanged, h as hapticSelectionEnd, b as hapticSelectionStart } from './haptic-DzAMWJuk.js';
16
16
  import './index-ZjP4CjeZ.js';
@@ -1299,7 +1299,7 @@ const Datetime = class {
1299
1299
  const renderArray = forcePresentation === 'time-date'
1300
1300
  ? [this.renderTimePickerColumns(forcePresentation), this.renderDatePickerColumns(forcePresentation)]
1301
1301
  : [this.renderDatePickerColumns(forcePresentation), this.renderTimePickerColumns(forcePresentation)];
1302
- return h("ion-picker", null, renderArray);
1302
+ return h("ion-picker", { class: FOCUS_TRAP_DISABLE_CLASS }, renderArray);
1303
1303
  }
1304
1304
  renderDatePickerColumns(forcePresentation) {
1305
1305
  return forcePresentation === 'date-time' || forcePresentation === 'time-date'
@@ -1856,7 +1856,7 @@ const Datetime = class {
1856
1856
  const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
1857
1857
  const hasWheelVariant = hasDatePresentation && preferWheel;
1858
1858
  renderHiddenInput(true, el, name, formatValue(value), disabled);
1859
- return (h(Host, { key: 'f35cf200ff05d33074576e3d2754d3b2a0735b96', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
1859
+ return (h(Host, { key: '57492534800ea059a7c2bbd9f0059cc0b75ae8d2', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
1860
1860
  [mode]: true,
1861
1861
  ['datetime-readonly']: readonly,
1862
1862
  ['datetime-disabled']: disabled,
@@ -1866,7 +1866,7 @@ const Datetime = class {
1866
1866
  [`datetime-size-${size}`]: true,
1867
1867
  [`datetime-prefer-wheel`]: hasWheelVariant,
1868
1868
  [`datetime-grid`]: isGridStyle,
1869
- })) }, h("div", { key: '859e9354a12bfa58ac3f964c2e66839f17071c00', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
1869
+ })) }, h("div", { key: '97dac5e5195635ac0bc5fb472b9d09e5c3c6bbc3', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
1870
1870
  }
1871
1871
  get el() { return getElement(this); }
1872
1872
  static get watchers() { return {
@@ -42,10 +42,6 @@ const Input = class {
42
42
  * is applied in both cases.
43
43
  */
44
44
  this.hasFocus = false;
45
- /**
46
- * Track validation state for proper aria-live announcements
47
- */
48
- this.isInvalid = false;
49
45
  /**
50
46
  * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
51
47
  * Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
@@ -131,19 +127,6 @@ const Input = class {
131
127
  }
132
128
  this.didInputClearOnEdit = false;
133
129
  this.ionBlur.emit(ev);
134
- /**
135
- * Check validation state after blur to handle framework-managed classes.
136
- * Frameworks like Angular update classes asynchronously, often using
137
- * requestAnimationFrame or promises. Using setTimeout ensures we check
138
- * after all microtasks and animation frames have completed.
139
- */
140
- setTimeout(() => {
141
- const newIsInvalid = this.checkValidationState();
142
- if (this.isInvalid !== newIsInvalid) {
143
- this.isInvalid = newIsInvalid;
144
- forceUpdate(this);
145
- }
146
- }, 100);
147
130
  };
148
131
  this.onFocus = (ev) => {
149
132
  this.hasFocus = true;
@@ -243,42 +226,10 @@ const Input = class {
243
226
  componentWillLoad() {
244
227
  this.inheritedAttributes = Object.assign(Object.assign({}, inheritAriaAttributes(this.el)), inheritAttributes(this.el, ['tabindex', 'title', 'data-form-type', 'dir']));
245
228
  }
246
- /**
247
- * Checks if the input is in an invalid state based on validation classes
248
- */
249
- checkValidationState() {
250
- // Check for both Ionic and Angular validation classes on the element itself
251
- // Angular applies ng-touched/ng-invalid directly to the host element with ngModel
252
- const hasIonTouched = this.el.classList.contains('ion-touched');
253
- const hasIonInvalid = this.el.classList.contains('ion-invalid');
254
- const hasNgTouched = this.el.classList.contains('ng-touched');
255
- const hasNgInvalid = this.el.classList.contains('ng-invalid');
256
- // Return true if we have both touched and invalid states from either framework
257
- const isTouched = hasIonTouched || hasNgTouched;
258
- const isInvalid = hasIonInvalid || hasNgInvalid;
259
- return isTouched && isInvalid;
260
- }
261
229
  connectedCallback() {
262
230
  const { el } = this;
263
231
  this.slotMutationController = createSlotMutationController(el, ['label', 'start', 'end'], () => forceUpdate(this));
264
232
  this.notchController = createNotchController(el, () => this.notchSpacerEl, () => this.labelSlot);
265
- // Watch for class changes to update validation state
266
- if (typeof MutationObserver !== 'undefined') {
267
- this.validationObserver = new MutationObserver(() => {
268
- const newIsInvalid = this.checkValidationState();
269
- if (this.isInvalid !== newIsInvalid) {
270
- this.isInvalid = newIsInvalid;
271
- // Force a re-render to update aria-describedby immediately
272
- forceUpdate(this);
273
- }
274
- });
275
- this.validationObserver.observe(el, {
276
- attributes: true,
277
- attributeFilter: ['class'],
278
- });
279
- }
280
- // Always set initial state
281
- this.isInvalid = this.checkValidationState();
282
233
  this.debounceChanged();
283
234
  {
284
235
  document.dispatchEvent(new CustomEvent('ionInputDidLoad', {
@@ -315,11 +266,6 @@ const Input = class {
315
266
  this.notchController.destroy();
316
267
  this.notchController = undefined;
317
268
  }
318
- // Clean up validation observer to prevent memory leaks
319
- if (this.validationObserver) {
320
- this.validationObserver.disconnect();
321
- this.validationObserver = undefined;
322
- }
323
269
  }
324
270
  /**
325
271
  * Sets focus on the native `input` in `ion-input`. Use this method instead of the global
@@ -421,15 +367,15 @@ const Input = class {
421
367
  * Renders the helper text or error text values
422
368
  */
423
369
  renderHintText() {
424
- const { helperText, errorText, helperTextId, errorTextId, isInvalid } = this;
370
+ const { helperText, errorText, helperTextId, errorTextId } = this;
425
371
  return [
426
- h("div", { id: helperTextId, class: "helper-text", "aria-live": "polite" }, !isInvalid ? helperText : null),
427
- h("div", { id: errorTextId, class: "error-text", role: "alert" }, isInvalid ? errorText : null),
372
+ h("div", { id: helperTextId, class: "helper-text" }, helperText),
373
+ h("div", { id: errorTextId, class: "error-text" }, errorText),
428
374
  ];
429
375
  }
430
376
  getHintTextID() {
431
- const { isInvalid, helperText, errorText, helperTextId, errorTextId } = this;
432
- if (isInvalid && errorText) {
377
+ const { el, helperText, errorText, helperTextId, errorTextId } = this;
378
+ if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
433
379
  return errorTextId;
434
380
  }
435
381
  if (helperText) {
@@ -542,7 +488,7 @@ const Input = class {
542
488
  * TODO(FW-5592): Remove hasStartEndSlots condition
543
489
  */
544
490
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
545
- return (h(Host, { key: '7b7a7ffdf1b3528b2d6dff693beea2ae7553fd8c', class: createColorClasses(this.color, {
491
+ return (h(Host, { key: '41b2526627e7d2773a80f011b123284203a71ca0', class: createColorClasses(this.color, {
546
492
  [mode]: true,
547
493
  'has-value': hasValue,
548
494
  'has-focus': hasFocus,
@@ -553,14 +499,14 @@ const Input = class {
553
499
  'in-item': inItem,
554
500
  'in-item-color': hostContext('ion-item.ion-color', this.el),
555
501
  'input-disabled': disabled,
556
- }) }, h("label", { key: 'd8c75416ad9cc7623bcc68acd718cc1f71b56a31', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: 'cfd382a5aa284e8248c6c4eb658ee3a97df73fdf', class: "native-wrapper", onClick: this.onLabelClick }, h("slot", { key: '03237fe5befc1c6f6f54a751613a8f8cdee0106b', name: "start" }), h("input", Object.assign({ key: 'cfb1a1fa653e9b6c91702f134adbef42568feab1', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (h("button", { key: '446a5575018472bb2d916ce301c7faa92f7e0ffc', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
502
+ }) }, h("label", { key: '9ab078363e32528102b441ad1791d83f86fdcbdc', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: 'e34b594980ec62e4c618e827fadf7669a39ad0d8', class: "native-wrapper", onClick: this.onLabelClick }, h("slot", { key: '12dc04ead5502e9e5736240e918bf9331bf7b5d9', name: "start" }), h("input", Object.assign({ key: 'df356eb4ced23109b2c0242f36dc043aba8782d6', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (h("button", { key: 'f79f68cabcd4ea99419331174a377827db0c0741', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
557
503
  /**
558
504
  * This prevents mobile browsers from
559
505
  * blurring the input when the clear
560
506
  * button is activated.
561
507
  */
562
508
  ev.preventDefault();
563
- }, onClick: this.clearTextInput }, h("ion-icon", { key: '2c3e12a424cba56b03eb0f0c2d1dca58ba1c81a8', "aria-hidden": "true", icon: clearIconData }))), h("slot", { key: '5c01c0549264f08ac05bbca6caba7597bb435c9c', name: "end" })), shouldRenderHighlight && h("div", { key: '3f26a10f86971a1e07ca7a9cb2b53989b51e0bca', class: "input-highlight" })), this.renderBottomContent()));
509
+ }, onClick: this.clearTextInput }, h("ion-icon", { key: '237ec07ec2e10f08818a332bb596578c2c49f770', "aria-hidden": "true", icon: clearIconData }))), h("slot", { key: '1f0a3624aa3e8dc3c307a6762230ab698768a5e5', name: "end" })), shouldRenderHighlight && h("div", { key: '8a8cbb82695a722a0010b53dd0b1f1f97534a20b', class: "input-highlight" })), this.renderBottomContent()));
564
510
  }
565
511
  get el() { return getElement(this); }
566
512
  static get watchers() { return {
@@ -5,7 +5,7 @@ import { r as registerInstance, c as createEvent, e as config, h, d as Host, g a
5
5
  import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-Dx_6wPIJ.js';
6
6
  import { r as raf } from './helpers-8KSQQGQy.js';
7
7
  import { c as createLockController } from './lock-controller-B-hirT0v.js';
8
- import { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-ZX_4-t_r.js';
8
+ import { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-BJaRj3Rj.js';
9
9
  import { g as getClassMap } from './theme-DiVJyqlX.js';
10
10
  import { b as getIonMode } from './ionic-global-CTSyufhF.js';
11
11
  import { c as createAnimation } from './animation-BvhAtgca.js';
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { r as registerInstance, c as createEvent, e as config, j as printIonError, h, d as Host, g as getElement } from './index-4DxY6_gG.js';
5
5
  import { g as getTimeGivenProgression } from './cubic-bezier-hHmYLOfE.js';
6
- import { o as getPresentedOverlay, B as BACKDROP, n as focusFirstDescendant, q as focusLastDescendant, G as GESTURE } from './overlays-ZX_4-t_r.js';
6
+ import { o as getPresentedOverlay, B as BACKDROP, n as focusFirstDescendant, q as focusLastDescendant, G as GESTURE } from './overlays-BJaRj3Rj.js';
7
7
  import { G as GESTURE_CONTROLLER } from './gesture-controller-BTEOs1at.js';
8
8
  import { shouldUseCloseWatcher } from './hardware-back-button-Dhbd-23H.js';
9
9
  import { o as isEndSide, i as inheritAriaAttributes, l as assert, e as clamp } from './helpers-8KSQQGQy.js';
@@ -297,6 +297,9 @@ const Menu = class {
297
297
  * @param role The role of the element that is closing the menu.
298
298
  */
299
299
  setOpen(shouldOpen, animated = true, role) {
300
+ var _a;
301
+ // Blur the active element to prevent it from being kept focused inside an element that will be set with aria-hidden="true"
302
+ (_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.blur();
300
303
  return menuController._setOpen(this, shouldOpen, animated, role);
301
304
  }
302
305
  trapKeyboardFocus(ev, doc) {
@@ -659,14 +662,14 @@ const Menu = class {
659
662
  * the ionBackButton listener in the menu controller
660
663
  * will handle closing the menu when Escape is pressed.
661
664
  */
662
- return (h(Host, { key: 'a5c75aa40a34530b56ee3b98d706a5ac5ae300de', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
665
+ return (h(Host, { key: '70a427f3414a476414c3386efe6c8723fd37eccf', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
663
666
  [mode]: true,
664
667
  [`menu-type-${type}`]: true,
665
668
  'menu-enabled': !disabled,
666
669
  [`menu-side-${side}`]: true,
667
670
  'menu-pane-visible': isPaneVisible,
668
671
  'split-pane-side': hostContext('ion-split-pane', el),
669
- } }, 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" })));
672
+ } }, h("div", { key: '83af04e5a47d5a92caafaf06088a7114ae61984b', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '7b35048642864bd0f30de9f6b61c949c1b601692' })), h("ion-backdrop", { key: '347af516c7970d80dd11c6d1ed61e9a040ceb5fb', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
670
673
  }
671
674
  get el() { return getElement(this); }
672
675
  static get watchers() { return {
@@ -7,7 +7,7 @@ import { C as CoreDelegate, a as attachComponent, d as detachComponent } from '.
7
7
  import { e as clamp, g as getElementRoot, r as raf, b as inheritAttributes, h as hasLazyBuild } from './helpers-8KSQQGQy.js';
8
8
  import { c as createLockController } from './lock-controller-B-hirT0v.js';
9
9
  import { g as getCapacitor } from './capacitor-CFERIeaU.js';
10
- import { G as GESTURE, O as OVERLAY_GESTURE_PRIORITY, F as FOCUS_TRAP_DISABLE_CLASS, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-ZX_4-t_r.js';
10
+ import { G as GESTURE, O as OVERLAY_GESTURE_PRIORITY, F as FOCUS_TRAP_DISABLE_CLASS, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-BJaRj3Rj.js';
11
11
  import { g as getClassMap } from './theme-DiVJyqlX.js';
12
12
  import { e as deepReady, w as waitForMount } from './index-Dp7GXH1z.js';
13
13
  import { b as getIonMode } from './ionic-global-CTSyufhF.js';
@@ -6,9 +6,9 @@ import { b as inheritAttributes } from './helpers-8KSQQGQy.js';
6
6
  import { c as createColorClasses } from './theme-DiVJyqlX.js';
7
7
  import { b as getIonMode } from './ionic-global-CTSyufhF.js';
8
8
 
9
- const pickerColumnOptionIosCss = "button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}";
9
+ const pickerColumnOptionIosCss = ".picker-column-option-button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) .picker-column-option-button{cursor:default}";
10
10
 
11
- const pickerColumnOptionMdCss = "button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}:host(.option-active){color:var(--ion-color-base)}";
11
+ const pickerColumnOptionMdCss = ".picker-column-option-button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) .picker-column-option-button{cursor:default}:host(.option-active){color:var(--ion-color-base)}";
12
12
 
13
13
  const PickerColumnOption = class {
14
14
  constructor(hostRef) {
@@ -100,7 +100,7 @@ const PickerColumnOption = class {
100
100
  return (h(Host, { key: 'f816729941aabcb31ddfdce3ffe2e2139030d715', class: createColorClasses(color, {
101
101
  [mode]: true,
102
102
  ['option-disabled']: disabled,
103
- }) }, h("button", { key: '48dff7833bb60fc8331cd353a0885e6affa683d1', tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, h("slot", { key: 'f9224d0e7b7aa6c05b29abfdcfe0f30ad6ee3141' }))));
103
+ }) }, h("div", { key: 'd942de84fd14d7dc06b1e5cf4f7920d1dc3c6371', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: 'b0df5717b42209e649097209a01476e1a66f5c5c' }))));
104
104
  }
105
105
  get el() { return getElement(this); }
106
106
  static get watchers() { return {
@@ -408,23 +408,6 @@ const PickerColumn = class {
408
408
  var _a;
409
409
  return el ? (_a = el.getAttribute('aria-label')) !== null && _a !== void 0 ? _a : el.innerText : '';
410
410
  };
411
- /**
412
- * Render an element that overlays the column. This element is for assistive
413
- * tech to allow users to navigate the column up/down. This element should receive
414
- * focus as it listens for synthesized keyboard events as required by the
415
- * slider role: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/slider_role
416
- */
417
- this.renderAssistiveFocusable = () => {
418
- const { activeItem } = this;
419
- const valueText = this.getOptionValueText(activeItem);
420
- /**
421
- * When using the picker, the valuetext provides important context that valuenow
422
- * does not. Additionally, using non-zero valuemin/valuemax values can cause
423
- * WebKit to incorrectly announce numeric valuetext values (such as a year
424
- * like "2024") as percentages: https://bugs.webkit.org/show_bug.cgi?id=273126
425
- */
426
- return (h("div", { ref: (el) => (this.assistiveFocusable = el), class: "assistive-focusable", role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": valueText, "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }));
427
- };
428
411
  }
429
412
  ariaLabelChanged(newValue) {
430
413
  this.ariaLabel = newValue;
@@ -565,33 +548,14 @@ const PickerColumn = class {
565
548
  render() {
566
549
  const { color, disabled, isActive, numericInput } = this;
567
550
  const mode = getIonMode(this);
568
- return (h(Host, { key: 'ea0280355b2f87895bf7dddd289ccf473aa759f3', class: createColorClasses(color, {
551
+ return (h(Host, { key: 'db903fd415f8a2d91994dececca481c1af8ba6a9', class: createColorClasses(color, {
569
552
  [mode]: true,
570
553
  ['picker-column-active']: isActive,
571
554
  ['picker-column-numeric-input']: numericInput,
572
555
  ['picker-column-disabled']: disabled,
573
- }) }, this.renderAssistiveFocusable(), h("slot", { key: '482992131cdeb85b1f61430d7fe1322a16345769', name: "prefix" }), h("div", { key: '43f7f80d621d411ef366b3ca1396299e8c9a0c97', "aria-hidden": "true", class: "picker-opts", ref: (el) => {
556
+ }) }, h("slot", { key: '02ce9e1dd7df91afcd50b06416552bcffb5dec98', name: "prefix" }), h("div", { key: '6dfd7d2429bec19244a6b1afb4448121963a031b', class: "picker-opts", ref: (el) => {
574
557
  this.scrollEl = el;
575
- },
576
- /**
577
- * When an element has an overlay scroll style and
578
- * a fixed height, Firefox will focus the scrollable
579
- * container if the content exceeds the container's
580
- * dimensions.
581
- *
582
- * This causes keyboard navigation to focus to this
583
- * element instead of going to the next element in
584
- * the tab order.
585
- *
586
- * The desired behavior is for the user to be able to
587
- * focus the assistive focusable element and tab to
588
- * the next element in the tab order. Instead of tabbing
589
- * to this element.
590
- *
591
- * To prevent this, we set the tabIndex to -1. This
592
- * will match the behavior of the other browsers.
593
- */
594
- tabIndex: -1 }, h("div", { key: '13a9ee686132af32240710730765de4c0003a9e8', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: 'dbccba4920833cfcebe9b0fc763458ec3053705a', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '682b43f83a5ea2e46067457f3af118535e111edb', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("slot", { key: 'd27e1e1dc0504b2f4627a29912a05bb91e8e413a' }), h("div", { key: '61c948dbb9cf7469aed3018542bc0954211585ba', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: 'cf46c277fbee65e35ff44ce0d53ce12aa9cbf9db', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: 'bbc0e2d491d3f836ab849493ade2f7fa6ad9244e', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), h("slot", { key: 'd25cbbe14b2914fe7b878d43b4e3f4a8c8177d24', name: "suffix" })));
558
+ }, role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }, h("div", { key: 'e30ce0b9cefbfe4d4441fa33acf595da31855c3f', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '8be2bd293c12c6ba720d9b31d0d561a96f42e97d', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '8afdcddddabbf646fbb55cb0ba4448309a2c1dd9', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("slot", { key: '6aa0dacc34d6848575ad5b122b9046982308ca43' }), h("div", { key: '92ec8a357414c1b779b11d1dd18fb87a7ee63982', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: 'b89457cb74b5907c25594ff6720ac54ca537e933', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '5bbc92e6bc24de08e39873bf08c5b668373ac0f8', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), h("slot", { key: 'd7bf2b519214f0f3576a4ca79844ad97827dd97f', name: "suffix" })));
595
559
  }
596
560
  get el() { return getElement(this); }
597
561
  static get watchers() { return {
@@ -2,7 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { r as registerInstance, c as createEvent, f as printIonWarning, h, d as Host, g as getElement } from './index-4DxY6_gG.js';
5
- import { B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, n as focusFirstDescendant, g as dismiss, h as eventMethod, F as FOCUS_TRAP_DISABLE_CLASS } from './overlays-ZX_4-t_r.js';
5
+ import { B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, n as focusFirstDescendant, g as dismiss, h as eventMethod, F as FOCUS_TRAP_DISABLE_CLASS } from './overlays-BJaRj3Rj.js';
6
6
  import { C as CoreDelegate, a as attachComponent, d as detachComponent } from './framework-delegate-BLEBgH06.js';
7
7
  import { g as getElementRoot, r as raf, f as addEventListener, h as hasLazyBuild } from './helpers-8KSQQGQy.js';
8
8
  import { c as createLockController } from './lock-controller-B-hirT0v.js';
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { r as registerInstance, h, i as forceUpdate, d as Host, g as getElement } from './index-4DxY6_gG.js';
5
5
  import { b as getIonMode } from './ionic-global-CTSyufhF.js';
6
- import { s as safeCall } from './overlays-ZX_4-t_r.js';
6
+ import { s as safeCall } from './overlays-BJaRj3Rj.js';
7
7
  import { g as getClassMap } from './theme-DiVJyqlX.js';
8
8
  import './index-ZjP4CjeZ.js';
9
9
  import './helpers-8KSQQGQy.js';
@@ -5,7 +5,7 @@ import { r as registerInstance, c as createEvent, f as printIonWarning, h, d as
5
5
  import { c as createNotchController } from './notch-controller-lb417-kU.js';
6
6
  import { i as isOptionSelected, c as compareOptions } from './compare-with-utils-sObYyvOy.js';
7
7
  import { b as inheritAttributes, a as renderHiddenInput, n as focusVisibleElement } from './helpers-8KSQQGQy.js';
8
- import { c as popoverController, b as actionSheetController, a as alertController, m as modalController, s as safeCall } from './overlays-ZX_4-t_r.js';
8
+ import { c as popoverController, b as actionSheetController, a as alertController, m as modalController, s as safeCall } from './overlays-BJaRj3Rj.js';
9
9
  import { i as isRTL } from './dir-C53feagD.js';
10
10
  import { h as hostContext, c as createColorClasses, g as getClassMap } from './theme-DiVJyqlX.js';
11
11
  import { w as watchForOptions } from './watch-options-Dtdm8lKC.js';