@progress/kendo-react-dropdowns 7.3.0 → 7.4.0-develop.2
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/ComboBox/ComboBox.js +1 -1
- package/ComboBox/ComboBox.mjs +209 -195
- package/common/List.js +1 -1
- package/common/List.mjs +70 -69
- package/common/utils.js +1 -1
- package/common/utils.mjs +28 -24
- package/dist/cdn/js/kendo-react-dropdowns.js +1 -1
- package/index.d.mts +21 -12
- package/index.d.ts +21 -12
- package/package-metadata.mjs +1 -1
- package/package.json +9 -9
package/index.d.mts
CHANGED
|
@@ -700,7 +700,7 @@ export declare interface ComboBoxProps extends FormComponentProps {
|
|
|
700
700
|
*/
|
|
701
701
|
filterable?: boolean;
|
|
702
702
|
/**
|
|
703
|
-
* Sets the value of ComboBox input. Useful for making the ComboBox input a [controlled component](https://
|
|
703
|
+
* Sets the value of ComboBox input. Useful for making the ComboBox input a [controlled component](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components).
|
|
704
704
|
*/
|
|
705
705
|
filter?: string | null;
|
|
706
706
|
/**
|
|
@@ -1030,6 +1030,9 @@ export declare class ComboBoxWithoutContext extends React_2.Component<ComboBoxPr
|
|
|
1030
1030
|
private _input;
|
|
1031
1031
|
private _adaptiveFilterInput;
|
|
1032
1032
|
private itemHeight;
|
|
1033
|
+
private duplicates;
|
|
1034
|
+
private hasDuplicates;
|
|
1035
|
+
private navigationIndex;
|
|
1033
1036
|
private observerResize?;
|
|
1034
1037
|
private get document();
|
|
1035
1038
|
constructor(props: ComboBoxProps);
|
|
@@ -1060,6 +1063,11 @@ export declare class ComboBoxWithoutContext extends React_2.Component<ComboBoxPr
|
|
|
1060
1063
|
protected get validityStyles(): boolean;
|
|
1061
1064
|
/** @hidden */
|
|
1062
1065
|
protected get required(): boolean;
|
|
1066
|
+
/**
|
|
1067
|
+
* @hidden
|
|
1068
|
+
* Executed when no dataItemKey and textField are provided
|
|
1069
|
+
*/
|
|
1070
|
+
private checkForDuplicatePlainTextRecords;
|
|
1063
1071
|
/** @hidden */
|
|
1064
1072
|
componentDidUpdate(prevProps: ComboBoxProps, prevState: ComboBoxState): void;
|
|
1065
1073
|
/** @hidden */
|
|
@@ -1291,7 +1299,7 @@ declare interface DropdownEvent<T> {
|
|
|
1291
1299
|
*/
|
|
1292
1300
|
nativeEvent: Event;
|
|
1293
1301
|
/**
|
|
1294
|
-
* A React [`SyntheticEvent`](https://
|
|
1302
|
+
* A React [`SyntheticEvent`](https://react.dev/learn/responding-to-events).
|
|
1295
1303
|
*/
|
|
1296
1304
|
syntheticEvent: React.SyntheticEvent<HTMLElement>;
|
|
1297
1305
|
/**
|
|
@@ -1459,7 +1467,7 @@ export declare interface DropDownListProps extends FormComponentProps {
|
|
|
1459
1467
|
*/
|
|
1460
1468
|
filterable?: boolean;
|
|
1461
1469
|
/**
|
|
1462
|
-
* Sets the value of filtering input. Useful for making the filtering input a [controlled component](https://
|
|
1470
|
+
* Sets the value of filtering input. Useful for making the filtering input a [controlled component](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components).
|
|
1463
1471
|
*/
|
|
1464
1472
|
filter?: string;
|
|
1465
1473
|
/**
|
|
@@ -1483,7 +1491,7 @@ export declare interface DropDownListProps extends FormComponentProps {
|
|
|
1483
1491
|
*/
|
|
1484
1492
|
dataItemKey?: string;
|
|
1485
1493
|
/**
|
|
1486
|
-
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://
|
|
1494
|
+
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://react.dev/reference/react-dom/components/select) element.
|
|
1487
1495
|
*
|
|
1488
1496
|
* @example
|
|
1489
1497
|
* ```jsx-no-run
|
|
@@ -2042,7 +2050,7 @@ export declare interface DropDownTreeFocusEvent extends FocusEvent_2<DropDownTre
|
|
|
2042
2050
|
|
|
2043
2051
|
/**
|
|
2044
2052
|
* Represents the Object which is passed to the
|
|
2045
|
-
* [`ref`](https://
|
|
2053
|
+
* [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the DropDownTree component.
|
|
2046
2054
|
*/
|
|
2047
2055
|
export declare interface DropDownTreeHandle {
|
|
2048
2056
|
/**
|
|
@@ -2130,7 +2138,7 @@ export declare interface DropDownTreeProps extends FormComponentProps {
|
|
|
2130
2138
|
filterable?: boolean;
|
|
2131
2139
|
/**
|
|
2132
2140
|
* Sets the value of filtering input.
|
|
2133
|
-
* Useful for making the filtering input a [controlled component](https://
|
|
2141
|
+
* Useful for making the filtering input a [controlled component](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components).
|
|
2134
2142
|
*/
|
|
2135
2143
|
filter?: string;
|
|
2136
2144
|
/**
|
|
@@ -2167,7 +2175,7 @@ export declare interface DropDownTreeProps extends FormComponentProps {
|
|
|
2167
2175
|
*/
|
|
2168
2176
|
popupSettings?: DropDownsPopupSettings;
|
|
2169
2177
|
/**
|
|
2170
|
-
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://
|
|
2178
|
+
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://react.dev/reference/react-dom/components/select) element.
|
|
2171
2179
|
*
|
|
2172
2180
|
* @example
|
|
2173
2181
|
* ```jsx-no-run
|
|
@@ -2303,7 +2311,7 @@ declare interface EventData {
|
|
|
2303
2311
|
*/
|
|
2304
2312
|
declare interface FilterChangeEvent<T> extends DropdownEvent<T> {
|
|
2305
2313
|
/**
|
|
2306
|
-
* A React [`SyntheticEvent`](https://
|
|
2314
|
+
* A React [`SyntheticEvent`](https://react.dev/learn/responding-to-events).
|
|
2307
2315
|
*/
|
|
2308
2316
|
syntheticEvent: React.ChangeEvent<HTMLInputElement>;
|
|
2309
2317
|
/**
|
|
@@ -2580,6 +2588,7 @@ declare interface ListProps {
|
|
|
2580
2588
|
groupMode?: string;
|
|
2581
2589
|
isMultiColumn?: boolean;
|
|
2582
2590
|
optionsGuid?: string;
|
|
2591
|
+
hasDuplicates?: boolean;
|
|
2583
2592
|
listRef?: React_2.Ref<HTMLUListElement>;
|
|
2584
2593
|
wrapperRef?: React_2.Ref<HTMLDivElement>;
|
|
2585
2594
|
wrapperCssClass?: string;
|
|
@@ -3106,7 +3115,7 @@ export declare interface MultiSelectProps extends FormComponentProps {
|
|
|
3106
3115
|
*/
|
|
3107
3116
|
focusedItemIndex?: (data: any, inputText: string, textField?: string) => number;
|
|
3108
3117
|
/**
|
|
3109
|
-
* Sets the value of filtering input. Useful for making the filtering input a [controlled component](https://
|
|
3118
|
+
* Sets the value of filtering input. Useful for making the filtering input a [controlled component](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components).
|
|
3110
3119
|
*/
|
|
3111
3120
|
filter?: string;
|
|
3112
3121
|
/**
|
|
@@ -3423,7 +3432,7 @@ export declare interface MultiSelectTreeFocusEvent extends FocusEvent_2<MultiSel
|
|
|
3423
3432
|
|
|
3424
3433
|
/**
|
|
3425
3434
|
* Represents the Object which is passed to the
|
|
3426
|
-
* [`ref`](https://
|
|
3435
|
+
* [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the MultiSelectTree component.
|
|
3427
3436
|
*/
|
|
3428
3437
|
export declare interface MultiSelectTreeHandle {
|
|
3429
3438
|
/**
|
|
@@ -3528,7 +3537,7 @@ export declare interface MultiSelectTreeProps extends FormComponentProps {
|
|
|
3528
3537
|
filterable?: boolean;
|
|
3529
3538
|
/**
|
|
3530
3539
|
* Sets the value of filtering input.
|
|
3531
|
-
* Useful for making the filtering input a [controlled component](https://
|
|
3540
|
+
* Useful for making the filtering input a [controlled component](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components).
|
|
3532
3541
|
*/
|
|
3533
3542
|
filter?: string;
|
|
3534
3543
|
/**
|
|
@@ -3569,7 +3578,7 @@ export declare interface MultiSelectTreeProps extends FormComponentProps {
|
|
|
3569
3578
|
*/
|
|
3570
3579
|
popupSettings?: DropDownsPopupSettings;
|
|
3571
3580
|
/**
|
|
3572
|
-
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://
|
|
3581
|
+
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://react.dev/reference/react-dom/components/select) element.
|
|
3573
3582
|
*
|
|
3574
3583
|
* @example
|
|
3575
3584
|
* ```jsx-no-run
|
package/index.d.ts
CHANGED
|
@@ -700,7 +700,7 @@ export declare interface ComboBoxProps extends FormComponentProps {
|
|
|
700
700
|
*/
|
|
701
701
|
filterable?: boolean;
|
|
702
702
|
/**
|
|
703
|
-
* Sets the value of ComboBox input. Useful for making the ComboBox input a [controlled component](https://
|
|
703
|
+
* Sets the value of ComboBox input. Useful for making the ComboBox input a [controlled component](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components).
|
|
704
704
|
*/
|
|
705
705
|
filter?: string | null;
|
|
706
706
|
/**
|
|
@@ -1030,6 +1030,9 @@ export declare class ComboBoxWithoutContext extends React_2.Component<ComboBoxPr
|
|
|
1030
1030
|
private _input;
|
|
1031
1031
|
private _adaptiveFilterInput;
|
|
1032
1032
|
private itemHeight;
|
|
1033
|
+
private duplicates;
|
|
1034
|
+
private hasDuplicates;
|
|
1035
|
+
private navigationIndex;
|
|
1033
1036
|
private observerResize?;
|
|
1034
1037
|
private get document();
|
|
1035
1038
|
constructor(props: ComboBoxProps);
|
|
@@ -1060,6 +1063,11 @@ export declare class ComboBoxWithoutContext extends React_2.Component<ComboBoxPr
|
|
|
1060
1063
|
protected get validityStyles(): boolean;
|
|
1061
1064
|
/** @hidden */
|
|
1062
1065
|
protected get required(): boolean;
|
|
1066
|
+
/**
|
|
1067
|
+
* @hidden
|
|
1068
|
+
* Executed when no dataItemKey and textField are provided
|
|
1069
|
+
*/
|
|
1070
|
+
private checkForDuplicatePlainTextRecords;
|
|
1063
1071
|
/** @hidden */
|
|
1064
1072
|
componentDidUpdate(prevProps: ComboBoxProps, prevState: ComboBoxState): void;
|
|
1065
1073
|
/** @hidden */
|
|
@@ -1291,7 +1299,7 @@ declare interface DropdownEvent<T> {
|
|
|
1291
1299
|
*/
|
|
1292
1300
|
nativeEvent: Event;
|
|
1293
1301
|
/**
|
|
1294
|
-
* A React [`SyntheticEvent`](https://
|
|
1302
|
+
* A React [`SyntheticEvent`](https://react.dev/learn/responding-to-events).
|
|
1295
1303
|
*/
|
|
1296
1304
|
syntheticEvent: React.SyntheticEvent<HTMLElement>;
|
|
1297
1305
|
/**
|
|
@@ -1459,7 +1467,7 @@ export declare interface DropDownListProps extends FormComponentProps {
|
|
|
1459
1467
|
*/
|
|
1460
1468
|
filterable?: boolean;
|
|
1461
1469
|
/**
|
|
1462
|
-
* Sets the value of filtering input. Useful for making the filtering input a [controlled component](https://
|
|
1470
|
+
* Sets the value of filtering input. Useful for making the filtering input a [controlled component](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components).
|
|
1463
1471
|
*/
|
|
1464
1472
|
filter?: string;
|
|
1465
1473
|
/**
|
|
@@ -1483,7 +1491,7 @@ export declare interface DropDownListProps extends FormComponentProps {
|
|
|
1483
1491
|
*/
|
|
1484
1492
|
dataItemKey?: string;
|
|
1485
1493
|
/**
|
|
1486
|
-
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://
|
|
1494
|
+
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://react.dev/reference/react-dom/components/select) element.
|
|
1487
1495
|
*
|
|
1488
1496
|
* @example
|
|
1489
1497
|
* ```jsx-no-run
|
|
@@ -2042,7 +2050,7 @@ export declare interface DropDownTreeFocusEvent extends FocusEvent_2<DropDownTre
|
|
|
2042
2050
|
|
|
2043
2051
|
/**
|
|
2044
2052
|
* Represents the Object which is passed to the
|
|
2045
|
-
* [`ref`](https://
|
|
2053
|
+
* [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the DropDownTree component.
|
|
2046
2054
|
*/
|
|
2047
2055
|
export declare interface DropDownTreeHandle {
|
|
2048
2056
|
/**
|
|
@@ -2130,7 +2138,7 @@ export declare interface DropDownTreeProps extends FormComponentProps {
|
|
|
2130
2138
|
filterable?: boolean;
|
|
2131
2139
|
/**
|
|
2132
2140
|
* Sets the value of filtering input.
|
|
2133
|
-
* Useful for making the filtering input a [controlled component](https://
|
|
2141
|
+
* Useful for making the filtering input a [controlled component](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components).
|
|
2134
2142
|
*/
|
|
2135
2143
|
filter?: string;
|
|
2136
2144
|
/**
|
|
@@ -2167,7 +2175,7 @@ export declare interface DropDownTreeProps extends FormComponentProps {
|
|
|
2167
2175
|
*/
|
|
2168
2176
|
popupSettings?: DropDownsPopupSettings;
|
|
2169
2177
|
/**
|
|
2170
|
-
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://
|
|
2178
|
+
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://react.dev/reference/react-dom/components/select) element.
|
|
2171
2179
|
*
|
|
2172
2180
|
* @example
|
|
2173
2181
|
* ```jsx-no-run
|
|
@@ -2303,7 +2311,7 @@ declare interface EventData {
|
|
|
2303
2311
|
*/
|
|
2304
2312
|
declare interface FilterChangeEvent<T> extends DropdownEvent<T> {
|
|
2305
2313
|
/**
|
|
2306
|
-
* A React [`SyntheticEvent`](https://
|
|
2314
|
+
* A React [`SyntheticEvent`](https://react.dev/learn/responding-to-events).
|
|
2307
2315
|
*/
|
|
2308
2316
|
syntheticEvent: React.ChangeEvent<HTMLInputElement>;
|
|
2309
2317
|
/**
|
|
@@ -2580,6 +2588,7 @@ declare interface ListProps {
|
|
|
2580
2588
|
groupMode?: string;
|
|
2581
2589
|
isMultiColumn?: boolean;
|
|
2582
2590
|
optionsGuid?: string;
|
|
2591
|
+
hasDuplicates?: boolean;
|
|
2583
2592
|
listRef?: React_2.Ref<HTMLUListElement>;
|
|
2584
2593
|
wrapperRef?: React_2.Ref<HTMLDivElement>;
|
|
2585
2594
|
wrapperCssClass?: string;
|
|
@@ -3106,7 +3115,7 @@ export declare interface MultiSelectProps extends FormComponentProps {
|
|
|
3106
3115
|
*/
|
|
3107
3116
|
focusedItemIndex?: (data: any, inputText: string, textField?: string) => number;
|
|
3108
3117
|
/**
|
|
3109
|
-
* Sets the value of filtering input. Useful for making the filtering input a [controlled component](https://
|
|
3118
|
+
* Sets the value of filtering input. Useful for making the filtering input a [controlled component](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components).
|
|
3110
3119
|
*/
|
|
3111
3120
|
filter?: string;
|
|
3112
3121
|
/**
|
|
@@ -3423,7 +3432,7 @@ export declare interface MultiSelectTreeFocusEvent extends FocusEvent_2<MultiSel
|
|
|
3423
3432
|
|
|
3424
3433
|
/**
|
|
3425
3434
|
* Represents the Object which is passed to the
|
|
3426
|
-
* [`ref`](https://
|
|
3435
|
+
* [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the MultiSelectTree component.
|
|
3427
3436
|
*/
|
|
3428
3437
|
export declare interface MultiSelectTreeHandle {
|
|
3429
3438
|
/**
|
|
@@ -3528,7 +3537,7 @@ export declare interface MultiSelectTreeProps extends FormComponentProps {
|
|
|
3528
3537
|
filterable?: boolean;
|
|
3529
3538
|
/**
|
|
3530
3539
|
* Sets the value of filtering input.
|
|
3531
|
-
* Useful for making the filtering input a [controlled component](https://
|
|
3540
|
+
* Useful for making the filtering input a [controlled component](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components).
|
|
3532
3541
|
*/
|
|
3533
3542
|
filter?: string;
|
|
3534
3543
|
/**
|
|
@@ -3569,7 +3578,7 @@ export declare interface MultiSelectTreeProps extends FormComponentProps {
|
|
|
3569
3578
|
*/
|
|
3570
3579
|
popupSettings?: DropDownsPopupSettings;
|
|
3571
3580
|
/**
|
|
3572
|
-
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://
|
|
3581
|
+
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://react.dev/reference/react-dom/components/select) element.
|
|
3573
3582
|
*
|
|
3574
3583
|
* @example
|
|
3575
3584
|
* ```jsx-no-run
|
package/package-metadata.mjs
CHANGED
|
@@ -10,7 +10,7 @@ const e = {
|
|
|
10
10
|
name: "@progress/kendo-react-dropdowns",
|
|
11
11
|
productName: "KendoReact",
|
|
12
12
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
13
|
-
publishDate:
|
|
13
|
+
publishDate: 1711102860,
|
|
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": "7.
|
|
3
|
+
"version": "7.4.0-develop.2",
|
|
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": "7.
|
|
27
|
-
"@progress/kendo-react-common": "7.
|
|
28
|
-
"@progress/kendo-react-inputs": "7.
|
|
29
|
-
"@progress/kendo-react-intl": "7.
|
|
30
|
-
"@progress/kendo-react-labels": "7.
|
|
31
|
-
"@progress/kendo-react-layout": "7.
|
|
32
|
-
"@progress/kendo-react-popup": "7.
|
|
33
|
-
"@progress/kendo-react-treeview": "7.
|
|
26
|
+
"@progress/kendo-react-buttons": "7.4.0-develop.2",
|
|
27
|
+
"@progress/kendo-react-common": "7.4.0-develop.2",
|
|
28
|
+
"@progress/kendo-react-inputs": "7.4.0-develop.2",
|
|
29
|
+
"@progress/kendo-react-intl": "7.4.0-develop.2",
|
|
30
|
+
"@progress/kendo-react-labels": "7.4.0-develop.2",
|
|
31
|
+
"@progress/kendo-react-layout": "7.4.0-develop.2",
|
|
32
|
+
"@progress/kendo-react-popup": "7.4.0-develop.2",
|
|
33
|
+
"@progress/kendo-react-treeview": "7.4.0-develop.2",
|
|
34
34
|
"@progress/kendo-svg-icons": "^2.1.0",
|
|
35
35
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0",
|
|
36
36
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
|