@progress/kendo-react-dropdowns 9.2.0-develop.2 → 9.2.0-develop.3

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 (70) hide show
  1. package/AutoComplete/AutoComplete.js +2 -2
  2. package/AutoComplete/AutoComplete.mjs +282 -219
  3. package/ComboBox/ComboBox.js +2 -2
  4. package/ComboBox/ComboBox.mjs +38 -39
  5. package/DropDownList/DropDownList.js +2 -2
  6. package/DropDownList/DropDownList.mjs +116 -117
  7. package/DropDownTree/DropDownTree.js +2 -2
  8. package/DropDownTree/DropDownTree.mjs +67 -68
  9. package/DropDownTree/ListNoData.js +1 -1
  10. package/DropDownTree/ListNoData.mjs +1 -1
  11. package/DropDownTree/useDropdownWidth.js +1 -1
  12. package/DropDownTree/useDropdownWidth.mjs +1 -1
  13. package/LICENSE.md +1 -1
  14. package/MultiColumnComboBox/MultiColumnComboBox.js +1 -1
  15. package/MultiColumnComboBox/MultiColumnComboBox.mjs +1 -1
  16. package/MultiSelect/MultiSelect.js +2 -2
  17. package/MultiSelect/MultiSelect.mjs +42 -43
  18. package/MultiSelect/TagList.js +1 -1
  19. package/MultiSelect/TagList.mjs +1 -1
  20. package/MultiSelectTree/MultiSelectTree.js +2 -2
  21. package/MultiSelectTree/MultiSelectTree.mjs +65 -66
  22. package/MultiSelectTree/utils.js +1 -1
  23. package/MultiSelectTree/utils.mjs +1 -1
  24. package/README.md +1 -1
  25. package/common/AdaptiveMode.js +2 -2
  26. package/common/AdaptiveMode.mjs +44 -42
  27. package/common/ClearButton.js +1 -1
  28. package/common/ClearButton.mjs +1 -1
  29. package/common/DropDownBase.js +1 -1
  30. package/common/DropDownBase.mjs +1 -1
  31. package/common/GroupStickyHeader.js +1 -1
  32. package/common/GroupStickyHeader.mjs +1 -1
  33. package/common/List.js +1 -1
  34. package/common/List.mjs +1 -1
  35. package/common/ListContainer.js +1 -1
  36. package/common/ListContainer.mjs +1 -1
  37. package/common/ListDefaultItem.js +1 -1
  38. package/common/ListDefaultItem.mjs +1 -1
  39. package/common/ListFilter.js +1 -1
  40. package/common/ListFilter.mjs +1 -1
  41. package/common/ListGroupItem.js +1 -1
  42. package/common/ListGroupItem.mjs +1 -1
  43. package/common/ListItem.js +1 -1
  44. package/common/ListItem.mjs +1 -1
  45. package/common/MultiColumnList.js +1 -1
  46. package/common/MultiColumnList.mjs +1 -1
  47. package/common/Navigation.js +1 -1
  48. package/common/Navigation.mjs +1 -1
  49. package/common/SearchBar.js +1 -1
  50. package/common/SearchBar.mjs +1 -1
  51. package/common/VirtualScrollStatic.js +1 -1
  52. package/common/VirtualScrollStatic.mjs +1 -1
  53. package/common/settings.js +1 -1
  54. package/common/settings.mjs +1 -1
  55. package/common/utils.js +1 -1
  56. package/common/utils.mjs +1 -1
  57. package/common/withCustomComponent.js +1 -1
  58. package/common/withCustomComponent.mjs +1 -1
  59. package/dist/cdn/js/kendo-react-dropdowns.js +2 -2
  60. package/index.d.mts +31 -2
  61. package/index.d.ts +31 -2
  62. package/index.js +1 -1
  63. package/index.mjs +1 -1
  64. package/messages/index.js +1 -1
  65. package/messages/index.mjs +1 -1
  66. package/package-metadata.js +1 -1
  67. package/package-metadata.mjs +2 -2
  68. package/package.json +9 -9
  69. package/common/constants.js +0 -8
  70. package/common/constants.mjs +0 -13
package/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -318,6 +318,14 @@ export declare interface AutoCompleteProps extends FormComponentProps {
318
318
  * Sets the key for comparing the data items of the AutoComplete. If `dataItemKey` is not set, the AutoComplete compares the items by reference.
319
319
  */
320
320
  dataItemKey?: string;
321
+ /**
322
+ * Providing different rendering of the popup element based on the screen dimensions.
323
+ */
324
+ adaptive?: boolean;
325
+ /**
326
+ * Specifies the text that is rendered as title in the adaptive popup.
327
+ */
328
+ adaptiveTitle?: string;
321
329
  /**
322
330
  * Defines if AutoComplete's disabled items will be skipped or focused when navigating through the list of items using a keyboard. Defaults to `true`.
323
331
  */
@@ -351,6 +359,7 @@ export declare const AutoCompletePropsContext: React_2.Context<(p: AutoCompleteP
351
359
  declare interface AutoCompleteState extends DropDownStateBase {
352
360
  focusedItem?: any;
353
361
  value?: string;
362
+ windowWidth?: number;
354
363
  }
355
364
 
356
365
  /** @hidden */
@@ -377,6 +386,9 @@ export declare class AutoCompleteWithoutContext extends React_2.Component<AutoCo
377
386
  ariaLabelledBy: PropTypes.Requireable<string>;
378
387
  ariaDescribedBy: PropTypes.Requireable<string>;
379
388
  list: PropTypes.Requireable<any>;
389
+ adaptive: PropTypes.Requireable<boolean>;
390
+ adaptiveTitle: PropTypes.Requireable<string>;
391
+ onCancel: PropTypes.Requireable<(...args: any[]) => any>;
380
392
  skipDisabledItems: PropTypes.Requireable<boolean>;
381
393
  inputAttributes: PropTypes.Requireable<object>;
382
394
  opened: PropTypes.Requireable<boolean>;
@@ -436,9 +448,13 @@ export declare class AutoCompleteWithoutContext extends React_2.Component<AutoCo
436
448
  private get _inputId();
437
449
  private _suggested;
438
450
  private _input;
451
+ private _adaptiveInput;
452
+ private _skipFocusEvent;
439
453
  private _valueDuringOnChange?;
440
454
  private _isScrolling;
441
455
  private itemHeight;
456
+ private observerResize?;
457
+ private get document();
442
458
  constructor(props: AutoCompleteProps);
443
459
  /**
444
460
  * @hidden
@@ -460,6 +476,12 @@ export declare class AutoCompleteWithoutContext extends React_2.Component<AutoCo
460
476
  * Represents the validity state into which the AutoComplete is set.
461
477
  */
462
478
  get validity(): FormComponentValidity;
479
+ /** @hidden */
480
+ get opened(): boolean;
481
+ /**
482
+ * The mobile mode of the AuoComplete.
483
+ */
484
+ get mobileMode(): boolean;
463
485
  /**
464
486
  * @hidden
465
487
  */
@@ -502,18 +524,25 @@ export declare class AutoCompleteWithoutContext extends React_2.Component<AutoCo
502
524
  applyInputValue(value: string, state: AutoCompleteInternalState, eventKey?: number): void;
503
525
  private setValidity;
504
526
  private renderSearchBar;
527
+ private renderAdaptiveListContainer;
528
+ private onCancel;
505
529
  private renderListContainer;
530
+ private listContainerContent;
506
531
  private renderList;
507
532
  private onScroll;
508
533
  private handleItemClick;
509
534
  private onChangeHandler;
510
535
  private clearButtonClick;
511
536
  private onInputKeyDown;
537
+ private handleFocus;
512
538
  private handleBlur;
539
+ private handleWrapperClick;
513
540
  private triggerOnChange;
541
+ private focusElement;
514
542
  private applyState;
515
543
  private suggestValue;
516
544
  private focusedIndex;
545
+ private calculateMedia;
517
546
  }
518
547
 
519
548
  /**
@@ -3678,7 +3707,7 @@ export declare class MultiSelectWithoutContext extends React_2.Component<MultiSe
3678
3707
  /** @hidden */
3679
3708
  get tagsToRender(): Array<TagData>;
3680
3709
  /**
3681
- * The mobile mode of the ComboBox.
3710
+ * The mobile mode of the MultiSelect.
3682
3711
  */
3683
3712
  get mobileMode(): boolean;
3684
3713
  /**
package/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -318,6 +318,14 @@ export declare interface AutoCompleteProps extends FormComponentProps {
318
318
  * Sets the key for comparing the data items of the AutoComplete. If `dataItemKey` is not set, the AutoComplete compares the items by reference.
319
319
  */
320
320
  dataItemKey?: string;
321
+ /**
322
+ * Providing different rendering of the popup element based on the screen dimensions.
323
+ */
324
+ adaptive?: boolean;
325
+ /**
326
+ * Specifies the text that is rendered as title in the adaptive popup.
327
+ */
328
+ adaptiveTitle?: string;
321
329
  /**
322
330
  * Defines if AutoComplete's disabled items will be skipped or focused when navigating through the list of items using a keyboard. Defaults to `true`.
323
331
  */
@@ -351,6 +359,7 @@ export declare const AutoCompletePropsContext: React_2.Context<(p: AutoCompleteP
351
359
  declare interface AutoCompleteState extends DropDownStateBase {
352
360
  focusedItem?: any;
353
361
  value?: string;
362
+ windowWidth?: number;
354
363
  }
355
364
 
356
365
  /** @hidden */
@@ -377,6 +386,9 @@ export declare class AutoCompleteWithoutContext extends React_2.Component<AutoCo
377
386
  ariaLabelledBy: PropTypes.Requireable<string>;
378
387
  ariaDescribedBy: PropTypes.Requireable<string>;
379
388
  list: PropTypes.Requireable<any>;
389
+ adaptive: PropTypes.Requireable<boolean>;
390
+ adaptiveTitle: PropTypes.Requireable<string>;
391
+ onCancel: PropTypes.Requireable<(...args: any[]) => any>;
380
392
  skipDisabledItems: PropTypes.Requireable<boolean>;
381
393
  inputAttributes: PropTypes.Requireable<object>;
382
394
  opened: PropTypes.Requireable<boolean>;
@@ -436,9 +448,13 @@ export declare class AutoCompleteWithoutContext extends React_2.Component<AutoCo
436
448
  private get _inputId();
437
449
  private _suggested;
438
450
  private _input;
451
+ private _adaptiveInput;
452
+ private _skipFocusEvent;
439
453
  private _valueDuringOnChange?;
440
454
  private _isScrolling;
441
455
  private itemHeight;
456
+ private observerResize?;
457
+ private get document();
442
458
  constructor(props: AutoCompleteProps);
443
459
  /**
444
460
  * @hidden
@@ -460,6 +476,12 @@ export declare class AutoCompleteWithoutContext extends React_2.Component<AutoCo
460
476
  * Represents the validity state into which the AutoComplete is set.
461
477
  */
462
478
  get validity(): FormComponentValidity;
479
+ /** @hidden */
480
+ get opened(): boolean;
481
+ /**
482
+ * The mobile mode of the AuoComplete.
483
+ */
484
+ get mobileMode(): boolean;
463
485
  /**
464
486
  * @hidden
465
487
  */
@@ -502,18 +524,25 @@ export declare class AutoCompleteWithoutContext extends React_2.Component<AutoCo
502
524
  applyInputValue(value: string, state: AutoCompleteInternalState, eventKey?: number): void;
503
525
  private setValidity;
504
526
  private renderSearchBar;
527
+ private renderAdaptiveListContainer;
528
+ private onCancel;
505
529
  private renderListContainer;
530
+ private listContainerContent;
506
531
  private renderList;
507
532
  private onScroll;
508
533
  private handleItemClick;
509
534
  private onChangeHandler;
510
535
  private clearButtonClick;
511
536
  private onInputKeyDown;
537
+ private handleFocus;
512
538
  private handleBlur;
539
+ private handleWrapperClick;
513
540
  private triggerOnChange;
541
+ private focusElement;
514
542
  private applyState;
515
543
  private suggestValue;
516
544
  private focusedIndex;
545
+ private calculateMedia;
517
546
  }
518
547
 
519
548
  /**
@@ -3678,7 +3707,7 @@ export declare class MultiSelectWithoutContext extends React_2.Component<MultiSe
3678
3707
  /** @hidden */
3679
3708
  get tagsToRender(): Array<TagData>;
3680
3709
  /**
3681
- * The mobile mode of the ComboBox.
3710
+ * The mobile mode of the MultiSelect.
3682
3711
  */
3683
3712
  get mobileMode(): boolean;
3684
3713
  /**
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
package/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
package/messages/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -10,7 +10,7 @@ const e = {
10
10
  name: "@progress/kendo-react-dropdowns",
11
11
  productName: "KendoReact",
12
12
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
13
- publishDate: 1734711437,
13
+ publishDate: 1736152797,
14
14
  version: "",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-dropdowns",
3
- "version": "9.2.0-develop.2",
3
+ "version": "9.2.0-develop.3",
4
4
  "description": "React DropDowns offer an interface for users to select different items from a list and more. KendoReact Dropdowns package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -23,14 +23,14 @@
23
23
  "sideEffects": false,
24
24
  "peerDependencies": {
25
25
  "@progress/kendo-licensing": "^1.3.4",
26
- "@progress/kendo-react-buttons": "9.2.0-develop.2",
27
- "@progress/kendo-react-common": "9.2.0-develop.2",
28
- "@progress/kendo-react-inputs": "9.2.0-develop.2",
29
- "@progress/kendo-react-intl": "9.2.0-develop.2",
30
- "@progress/kendo-react-labels": "9.2.0-develop.2",
31
- "@progress/kendo-react-layout": "9.2.0-develop.2",
32
- "@progress/kendo-react-popup": "9.2.0-develop.2",
33
- "@progress/kendo-react-treeview": "9.2.0-develop.2",
26
+ "@progress/kendo-react-buttons": "9.2.0-develop.3",
27
+ "@progress/kendo-react-common": "9.2.0-develop.3",
28
+ "@progress/kendo-react-inputs": "9.2.0-develop.3",
29
+ "@progress/kendo-react-intl": "9.2.0-develop.3",
30
+ "@progress/kendo-react-labels": "9.2.0-develop.3",
31
+ "@progress/kendo-react-layout": "9.2.0-develop.3",
32
+ "@progress/kendo-react-popup": "9.2.0-develop.3",
33
+ "@progress/kendo-react-treeview": "9.2.0-develop.3",
34
34
  "@progress/kendo-svg-icons": "^4.0.0",
35
35
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
36
36
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
@@ -1,8 +0,0 @@
1
- /**
2
- * @license
3
- *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
- * Licensed under commercial license. See LICENSE.md in the package root for more information
6
- *-------------------------------------------------------------------------------------------
7
- */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=500,M=768;exports.MOBILE_MEDIUM_DEVISE=M;exports.MOBILE_SMALL_DEVISE=E;
@@ -1,13 +0,0 @@
1
- /**
2
- * @license
3
- *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
- * Licensed under commercial license. See LICENSE.md in the package root for more information
6
- *-------------------------------------------------------------------------------------------
7
- */
8
- "use client";
9
- const E = 500, I = 768;
10
- export {
11
- I as MOBILE_MEDIUM_DEVISE,
12
- E as MOBILE_SMALL_DEVISE
13
- };