@progress/kendo-react-dropdowns 7.2.0-develop.7 → 7.2.0-develop.9

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.
@@ -3,7 +3,8 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
+ import { DropDownsPopupSettings } from '../common/settings';
6
7
  /**
7
8
  * @hidden
8
9
  */
9
- export declare function useDropdownWidth(elementRef: React.RefObject<HTMLElement | null>, initialStyleWidth?: string | number, args?: any): string | number | undefined;
10
+ export declare function useDropdownWidth(elementRef: React.RefObject<HTMLElement | null>, defaultProps: any, popupSettings: DropDownsPopupSettings, style: React.CSSProperties): any;
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { PopupAnimation } from '@progress/kendo-react-popup';
5
+ import { PopupProps } from '@progress/kendo-react-popup';
6
6
  import { FilterDescriptor } from './filterDescriptor';
7
7
  /**
8
8
  * Represents the `skip` and `take` configurations which are wrapped in the `page` object.
@@ -37,15 +37,7 @@ export interface VirtualizationSettings {
37
37
  /**
38
38
  * The settings of the popup container.
39
39
  */
40
- export interface DropDownsPopupSettings {
41
- /**
42
- * Controls the popup animation. By default, the open and close animations are enabled.
43
- */
44
- animate?: boolean | PopupAnimation;
45
- /**
46
- * Specifies a list of CSS classes that will be added to the Popup element.
47
- */
48
- className?: string | Array<string>;
40
+ export interface DropDownsPopupSettings extends PopupProps {
49
41
  /**
50
42
  * Specifies a list of CSS classes that are used for styling the popup inner element.
51
43
  */
@@ -55,7 +47,7 @@ export interface DropDownsPopupSettings {
55
47
  */
56
48
  width?: string | number;
57
49
  /**
58
- * Sets the height of the popup container. By default, the height is 200px.
50
+ * Sets the height of the DOM element inside the DropDowns' popup that contains the data items of each component. This height doesn't include the header and footer.
59
51
  */
60
52
  height?: string | number;
61
53
  /**