@mescius/wijmo.input 5.20251.35-nightly.d20250528.t173338 → 5.20251.35-nightly.d20250530.t173923

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20251.35-nightly.d20250528.t173338
3
+ * Wijmo Library 5.20251.35-nightly.d20250530.t173923
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -1988,6 +1988,15 @@ export declare enum KeyAction {
1988
1988
  /** Opens the dropdown without changing selection. */
1989
1989
  OpenDropdown = 1
1990
1990
  }
1991
+ /**
1992
+ * Defines the behavior when the TAB key is pressed in the control.
1993
+ */
1994
+ export declare enum TabKeyAction {
1995
+ /** Closes the dropdown while maintaining focus on the control */
1996
+ CloseAndKeepFocus = 0,
1997
+ /** Closes the dropdown and moves focus to the next tabbable element. */
1998
+ CloseAndMoveFocus = 1
1999
+ }
1991
2000
  /**
1992
2001
  * DropDown control (abstract).
1993
2002
  *
@@ -2887,6 +2896,7 @@ export declare class InputDate extends DropDown {
2887
2896
  protected _currentInput: string;
2888
2897
  static _ctrlTemplate: string;
2889
2898
  _ariaLabelledby: string;
2899
+ _keyActionTab: TabKeyAction;
2890
2900
  /**
2891
2901
  * Gets or sets the template used to instantiate {@link InputDate} control.
2892
2902
  */
@@ -3303,6 +3313,27 @@ export declare class InputDate extends DropDown {
3303
3313
  ariaLabelledBy: string;
3304
3314
  protected _updateInputAriaLabel(): void;
3305
3315
  getAriaLabelForScreenReader(): any;
3316
+ /**
3317
+ * Gets or sets the action to perform when the TAB key is pressed.
3318
+ *
3319
+ * The default setting for this property is {@link TabKeyAction.CloseAndMoveFocus},
3320
+ * which provides standard form navigation behavior by:
3321
+ * - Closing the dropdown (if open)
3322
+ * - Moving focus to the next focusable element
3323
+ *
3324
+ * For specialized cases, you can set this to {@link TabKeyAction.CloseAndKeepFocus}
3325
+ * to maintain focus on the control after closing the dropdown.
3326
+ *
3327
+ * This setting is particularly useful for controlling accessibility behavior
3328
+ * and keyboard navigation flow in form controls.
3329
+ *
3330
+ * Example:
3331
+ * ```typescript
3332
+ * // Change TAB key behavior
3333
+ * inputDate.keyActionTab = TabKeyAction.CloseAndMoveFocus;
3334
+ * ```
3335
+ */
3336
+ keyActionTab: TabKeyAction;
3306
3337
  }
3307
3338
  /**
3308
3339
  * The {@link InputDateRange} control extends the {@link InputDate}
@@ -3426,15 +3457,6 @@ export declare class InputColor extends DropDown {
3426
3457
  protected _copy(key: string, value: any): boolean;
3427
3458
  getAriaLabelForScreenReader(): any;
3428
3459
  }
3429
- /**
3430
- * Defines the behavior when the TAB key is pressed in the control.
3431
- */
3432
- export declare enum TabKeyAction {
3433
- /** Closes the dropdown while maintaining focus on the control */
3434
- CloseAndKeepFocus = 0,
3435
- /** Closes the dropdown and moves focus to the next tabbable element. */
3436
- CloseAndMoveFocus = 1
3437
- }
3438
3460
  /**
3439
3461
  * The {@link ComboBox} control allows users to pick strings from lists.
3440
3462
  *