@progress/kendo-react-dropdowns 7.1.0-develop.11 → 7.1.0-develop.13
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/AutoComplete/AutoComplete.d.ts +6 -0
- package/AutoComplete/AutoCompleteProps.d.ts +9 -1
- package/ComboBox/ComboBox.d.ts +6 -0
- package/ComboBox/ComboBoxProps.d.ts +10 -2
- package/MultiColumnComboBox/MultiColumnComboBox.d.ts +9 -0
- package/MultiSelect/MultiSelect.d.ts +6 -0
- package/MultiSelect/MultiSelectProps.d.ts +9 -1
- package/common/withCustomComponent.d.ts +11 -0
- package/dist/cdn/js/kendo-react-dropdowns.js +1 -1
- package/index.js +1 -1
- package/index.mjs +1270 -1255
- package/package.json +9 -9
|
@@ -86,6 +86,12 @@ export declare class AutoCompleteWithoutContext extends React.Component<AutoComp
|
|
|
86
86
|
rounded: "small" | "medium" | "large" | "full" | null | undefined;
|
|
87
87
|
fillMode: "solid" | "flat" | "outline" | null | undefined;
|
|
88
88
|
skipDisabledItems: boolean;
|
|
89
|
+
prefix: React.ExoticComponent<{
|
|
90
|
+
children?: React.ReactNode;
|
|
91
|
+
}>;
|
|
92
|
+
suffix: React.ExoticComponent<{
|
|
93
|
+
children?: React.ReactNode;
|
|
94
|
+
}>;
|
|
89
95
|
popupSettings: {
|
|
90
96
|
height: string;
|
|
91
97
|
};
|
|
@@ -8,7 +8,7 @@ import { DropDownsPopupSettings, Suggestion } from '../common/settings';
|
|
|
8
8
|
import { ListGroupItemProps } from '../common/ListGroupItem';
|
|
9
9
|
import { GroupStickyHeaderProps } from '../common/GroupStickyHeader';
|
|
10
10
|
import { ListItemProps } from '../common/ListItem';
|
|
11
|
-
import { FormComponentProps } from '@progress/kendo-react-common';
|
|
11
|
+
import { CustomComponent, FormComponentProps } from '@progress/kendo-react-common';
|
|
12
12
|
/**
|
|
13
13
|
* Represents the object of the `change` AutoComplete event.
|
|
14
14
|
*/
|
|
@@ -243,4 +243,12 @@ export interface AutoCompleteProps extends FormComponentProps {
|
|
|
243
243
|
* Defines if AutoComplete's disabled items will be skipped or focused when navigating through the list of items using a keyboard. Defaults to `true`.
|
|
244
244
|
*/
|
|
245
245
|
skipDisabledItems?: boolean;
|
|
246
|
+
/**
|
|
247
|
+
* Sets a custom prefix to the AutoComplete component.
|
|
248
|
+
*/
|
|
249
|
+
prefix?: CustomComponent<any>;
|
|
250
|
+
/**
|
|
251
|
+
* Sets a custom suffix to the AutoComplete component.
|
|
252
|
+
*/
|
|
253
|
+
suffix?: CustomComponent<any>;
|
|
246
254
|
}
|
package/ComboBox/ComboBox.d.ts
CHANGED
|
@@ -104,6 +104,12 @@ export declare class ComboBoxWithoutContext extends React.Component<ComboBoxProp
|
|
|
104
104
|
groupMode: string | undefined;
|
|
105
105
|
isMultiColumn: boolean;
|
|
106
106
|
skipDisabledItems: boolean;
|
|
107
|
+
prefix: React.ExoticComponent<{
|
|
108
|
+
children?: React.ReactNode;
|
|
109
|
+
}>;
|
|
110
|
+
suffix: React.ExoticComponent<{
|
|
111
|
+
children?: React.ReactNode;
|
|
112
|
+
}>;
|
|
107
113
|
popupSettings: {
|
|
108
114
|
height: string;
|
|
109
115
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ComboBox } from './ComboBox';
|
|
6
6
|
import { FilterChangeEvent, ChangeEvent, OpenEvent, CloseEvent, FocusEvent, BlurEvent, PageChangeEvent } from './../common/events';
|
|
7
|
-
import { FormComponentProps, SVGIcon } from '@progress/kendo-react-common';
|
|
7
|
+
import { CustomComponent, FormComponentProps, SVGIcon } from '@progress/kendo-react-common';
|
|
8
8
|
import { VirtualizationSettings, DropDownsPopupSettings } from '../common/settings';
|
|
9
9
|
import { ListItemProps } from '../common/ListItem';
|
|
10
10
|
import { ListGroupItemProps } from '../common/ListGroupItem';
|
|
@@ -310,7 +310,15 @@ export interface ComboBoxProps extends FormComponentProps {
|
|
|
310
310
|
*/
|
|
311
311
|
adaptiveTitle?: string;
|
|
312
312
|
/**
|
|
313
|
-
* Defines if
|
|
313
|
+
* Defines if ComboBox's disabled items will be skipped or focused when navigating through the list of items using a keyboard. Defaults to `true`.
|
|
314
314
|
*/
|
|
315
315
|
skipDisabledItems?: boolean;
|
|
316
|
+
/**
|
|
317
|
+
* Sets a custom prefix to the ComboBox component.
|
|
318
|
+
*/
|
|
319
|
+
prefix?: CustomComponent<any>;
|
|
320
|
+
/**
|
|
321
|
+
* Sets a custom suffix to the ComboBox component.
|
|
322
|
+
*/
|
|
323
|
+
suffix?: CustomComponent<any>;
|
|
316
324
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
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 { CustomComponent } from '@progress/kendo-react-common';
|
|
6
7
|
import { ComboBoxBlurEvent, ComboBoxChangeEvent, ComboBoxCloseEvent, ComboBoxFilterChangeEvent, ComboBoxFocusEvent, ComboBoxOpenEvent, ComboBoxPageChangeEvent, ComboBoxProps } from '../ComboBox/ComboBoxProps';
|
|
7
8
|
import { DropDownsPopupSettings, VirtualizationSettings } from '../common/settings';
|
|
8
9
|
import { ListItemProps } from '../common/ListItem';
|
|
@@ -198,6 +199,14 @@ export interface MultiColumnComboBoxProps extends ComboBoxProps {
|
|
|
198
199
|
* @default `solid`
|
|
199
200
|
*/
|
|
200
201
|
fillMode?: null | 'solid' | 'flat' | 'outline';
|
|
202
|
+
/**
|
|
203
|
+
* Sets a custom prefix to the MultiColumnComboBox component.
|
|
204
|
+
*/
|
|
205
|
+
prefix?: CustomComponent<any>;
|
|
206
|
+
/**
|
|
207
|
+
* Sets a custom suffix to the MultiColumnComboBox component.
|
|
208
|
+
*/
|
|
209
|
+
suffix?: CustomComponent<any>;
|
|
201
210
|
}
|
|
202
211
|
/**
|
|
203
212
|
* Represents the target(element and props) of the MultiColumnComboBoxChangeEvent.
|
|
@@ -97,6 +97,12 @@ export declare class MultiSelectWithoutContext extends React.Component<MultiSele
|
|
|
97
97
|
fillMode: "solid" | "flat" | "outline" | null | undefined;
|
|
98
98
|
groupMode: string | undefined;
|
|
99
99
|
skipDisabledItems: boolean;
|
|
100
|
+
prefix: React.ExoticComponent<{
|
|
101
|
+
children?: React.ReactNode;
|
|
102
|
+
}>;
|
|
103
|
+
suffix: React.ExoticComponent<{
|
|
104
|
+
children?: React.ReactNode;
|
|
105
|
+
}>;
|
|
100
106
|
popupSettings: {
|
|
101
107
|
height: string;
|
|
102
108
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { MultiSelect } from './MultiSelect';
|
|
6
|
-
import { FormComponentProps } from '@progress/kendo-react-common';
|
|
6
|
+
import { CustomComponent, FormComponentProps } from '@progress/kendo-react-common';
|
|
7
7
|
import { FilterChangeEvent, ChangeEvent, OpenEvent, CloseEvent, FocusEvent, BlurEvent, PageChangeEvent, CancelEvent } from './../common/events';
|
|
8
8
|
import { VirtualizationSettings, DropDownsPopupSettings } from '../common/settings';
|
|
9
9
|
import { ListGroupItemProps } from '../common/ListGroupItem';
|
|
@@ -314,4 +314,12 @@ export interface MultiSelectProps extends FormComponentProps {
|
|
|
314
314
|
* Defines if MultiSelect's disabled items will be skipped or focused when navigating through the list of items using a keyboard. Defaults to `true`.
|
|
315
315
|
*/
|
|
316
316
|
skipDisabledItems?: boolean;
|
|
317
|
+
/**
|
|
318
|
+
* Sets a custom prefix to the MultiSelect component.
|
|
319
|
+
*/
|
|
320
|
+
prefix?: CustomComponent<any>;
|
|
321
|
+
/**
|
|
322
|
+
* Sets a custom suffix to the MultiSelect component.
|
|
323
|
+
*/
|
|
324
|
+
suffix?: CustomComponent<any>;
|
|
317
325
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
8
|
+
declare const withCustomComponent: <P = {}>(comp: import("@progress/kendo-react-common").CustomComponent<P>) => [import("react").ComponentType<P & {
|
|
9
|
+
ref?: import("react").Ref<any> | undefined;
|
|
10
|
+
}>, Partial<P>];
|
|
11
|
+
export default withCustomComponent;
|