@progress/kendo-react-dropdowns 5.5.1-dev.202207140841 → 5.5.1-dev.202207252139
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/dist/cdn/js/kendo-react-dropdowns.js +1 -1
- package/dist/es/AutoComplete/AutoComplete.js +4 -4
- package/dist/es/DropDownList/DropDownList.js +4 -6
- package/dist/es/MultiSelect/MultiSelect.js +8 -8
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/AutoComplete/AutoComplete.js +4 -4
- package/dist/npm/DropDownList/DropDownList.js +4 -6
- package/dist/npm/MultiSelect/MultiSelect.js +8 -8
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-react-dropdowns.js +1 -1
- package/package.json +12 -12
|
@@ -383,14 +383,14 @@ var AutoCompleteWithoutContext = /** @class */ (function (_super) {
|
|
|
383
383
|
animate: popupSettings.animate,
|
|
384
384
|
anchor: this.element,
|
|
385
385
|
show: opened,
|
|
386
|
-
popupClass: classNames(popupSettings.popupClass,
|
|
387
|
-
_a["k-list-".concat(sizeMap[size] || size)] = size,
|
|
388
|
-
_a)),
|
|
386
|
+
popupClass: classNames(popupSettings.popupClass),
|
|
389
387
|
className: popupSettings.className,
|
|
390
388
|
appendTo: popupSettings.appendTo
|
|
391
389
|
}, dir: dir !== undefined ? dir : this.base.dirCalculated, itemsCount: [data.length] },
|
|
392
390
|
header && React.createElement("div", { className: "k-list-header" }, header),
|
|
393
|
-
|
|
391
|
+
React.createElement("div", { className: classNames('k-list', (_a = {},
|
|
392
|
+
_a["k-list-".concat(sizeMap[size] || size)] = size,
|
|
393
|
+
_a)) }, this.renderList()),
|
|
394
394
|
footer && React.createElement("div", { className: "k-list-footer" }, footer)));
|
|
395
395
|
};
|
|
396
396
|
AutoCompleteWithoutContext.prototype.renderList = function () {
|
|
@@ -98,10 +98,7 @@ var DropDownListWithoutContext = /** @class */ (function (_super) {
|
|
|
98
98
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
99
99
|
width: popupWidth,
|
|
100
100
|
popupSettings: {
|
|
101
|
-
popupClass: classNames(popupSettings.popupClass, 'k-list',
|
|
102
|
-
_a["k-list-".concat(sizeMap[size] || size)] = size,
|
|
103
|
-
_a['k-virtual-list'] = _this.base.vs.enabled,
|
|
104
|
-
_a)),
|
|
101
|
+
popupClass: classNames(popupSettings.popupClass, 'k-list-container'),
|
|
105
102
|
className: popupSettings.className,
|
|
106
103
|
animate: popupSettings.animate,
|
|
107
104
|
anchor: _this.element,
|
|
@@ -114,9 +111,10 @@ var DropDownListWithoutContext = /** @class */ (function (_super) {
|
|
|
114
111
|
};
|
|
115
112
|
return (React.createElement(ListContainer, __assign({}, listContainerProps),
|
|
116
113
|
_this.renderListFilter(),
|
|
117
|
-
_this.renderDefaultItem(),
|
|
118
114
|
header && React.createElement("div", { className: "k-list-header" }, header),
|
|
119
|
-
|
|
115
|
+
React.createElement("div", { className: classNames('k-list', (_a = {}, _a["k-list-".concat(sizeMap[size] || size)] = size, _a['k-virtual-list'] = _this.base.vs.enabled, _a)) },
|
|
116
|
+
_this.renderDefaultItem(),
|
|
117
|
+
_this.renderList()),
|
|
120
118
|
footer && React.createElement("div", { className: "k-list-footer" }, footer)));
|
|
121
119
|
};
|
|
122
120
|
_this.renderList = function () {
|
|
@@ -258,10 +258,7 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
|
|
|
258
258
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
259
259
|
width: popupWidth,
|
|
260
260
|
popupSettings: {
|
|
261
|
-
popupClass: classNames(popupSettings.popupClass,
|
|
262
|
-
_a["k-list-".concat(sizeMap[size] || size)] = size,
|
|
263
|
-
_a['k-virtual-list'] = _this.base.vs.enabled,
|
|
264
|
-
_a)),
|
|
261
|
+
popupClass: classNames(popupSettings.popupClass),
|
|
265
262
|
className: popupSettings.className,
|
|
266
263
|
animate: popupSettings.animate,
|
|
267
264
|
anchor: _this.element,
|
|
@@ -273,16 +270,19 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
|
|
|
273
270
|
itemsCount: [data.length, _this.value.length]
|
|
274
271
|
};
|
|
275
272
|
var focusedType = _this.getFocusedState().focusedType;
|
|
276
|
-
var customItem = allowCustom && text && (React.createElement("div", { className: classNames('k-list', (
|
|
277
|
-
|
|
278
|
-
|
|
273
|
+
var customItem = allowCustom && text && (React.createElement("div", { className: classNames('k-list', (_a = {},
|
|
274
|
+
_a["k-list-".concat(sizeMap[size] || size)] = size,
|
|
275
|
+
_a)), key: "customitem", onClick: _this.customItemSelect, onMouseDown: preventDefault },
|
|
279
276
|
React.createElement("div", { className: classNames('k-list-item k-custom-item', { 'k-focus': isCustom(focusedType) }), style: { fontStyle: 'italic' } },
|
|
280
277
|
text,
|
|
281
278
|
React.createElement("span", { className: "k-icon k-i-plus", style: { position: 'absolute', right: '0.5em' } }))));
|
|
282
279
|
return (React.createElement(ListContainer, __assign({}, listContainerProps),
|
|
283
280
|
header && React.createElement("div", { className: "k-list-header" }, header),
|
|
284
281
|
customItem,
|
|
285
|
-
|
|
282
|
+
React.createElement("div", { className: classNames('k-list', (_b = {},
|
|
283
|
+
_b["k-list-".concat(sizeMap[size] || size)] = size,
|
|
284
|
+
_b['k-virtual-list'] = _this.base.vs.enabled,
|
|
285
|
+
_b)) }, _this.renderList()),
|
|
286
286
|
footer && React.createElement("div", { className: "k-list-footer" }, footer)));
|
|
287
287
|
};
|
|
288
288
|
_this.renderList = function () {
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-dropdowns',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1658784164,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -386,14 +386,14 @@ var AutoCompleteWithoutContext = /** @class */ (function (_super) {
|
|
|
386
386
|
animate: popupSettings.animate,
|
|
387
387
|
anchor: this.element,
|
|
388
388
|
show: opened,
|
|
389
|
-
popupClass: (0, kendo_react_common_1.classNames)(popupSettings.popupClass,
|
|
390
|
-
_a["k-list-".concat(sizeMap[size] || size)] = size,
|
|
391
|
-
_a)),
|
|
389
|
+
popupClass: (0, kendo_react_common_1.classNames)(popupSettings.popupClass),
|
|
392
390
|
className: popupSettings.className,
|
|
393
391
|
appendTo: popupSettings.appendTo
|
|
394
392
|
}, dir: dir !== undefined ? dir : this.base.dirCalculated, itemsCount: [data.length] },
|
|
395
393
|
header && React.createElement("div", { className: "k-list-header" }, header),
|
|
396
|
-
|
|
394
|
+
React.createElement("div", { className: (0, kendo_react_common_1.classNames)('k-list', (_a = {},
|
|
395
|
+
_a["k-list-".concat(sizeMap[size] || size)] = size,
|
|
396
|
+
_a)) }, this.renderList()),
|
|
397
397
|
footer && React.createElement("div", { className: "k-list-footer" }, footer)));
|
|
398
398
|
};
|
|
399
399
|
AutoCompleteWithoutContext.prototype.renderList = function () {
|
|
@@ -101,10 +101,7 @@ var DropDownListWithoutContext = /** @class */ (function (_super) {
|
|
|
101
101
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
102
102
|
width: popupWidth,
|
|
103
103
|
popupSettings: {
|
|
104
|
-
popupClass: (0, kendo_react_common_1.classNames)(popupSettings.popupClass, 'k-list',
|
|
105
|
-
_a["k-list-".concat(sizeMap[size] || size)] = size,
|
|
106
|
-
_a['k-virtual-list'] = _this.base.vs.enabled,
|
|
107
|
-
_a)),
|
|
104
|
+
popupClass: (0, kendo_react_common_1.classNames)(popupSettings.popupClass, 'k-list-container'),
|
|
108
105
|
className: popupSettings.className,
|
|
109
106
|
animate: popupSettings.animate,
|
|
110
107
|
anchor: _this.element,
|
|
@@ -117,9 +114,10 @@ var DropDownListWithoutContext = /** @class */ (function (_super) {
|
|
|
117
114
|
};
|
|
118
115
|
return (React.createElement(ListContainer_1.default, __assign({}, listContainerProps),
|
|
119
116
|
_this.renderListFilter(),
|
|
120
|
-
_this.renderDefaultItem(),
|
|
121
117
|
header && React.createElement("div", { className: "k-list-header" }, header),
|
|
122
|
-
|
|
118
|
+
React.createElement("div", { className: (0, kendo_react_common_1.classNames)('k-list', (_a = {}, _a["k-list-".concat(sizeMap[size] || size)] = size, _a['k-virtual-list'] = _this.base.vs.enabled, _a)) },
|
|
119
|
+
_this.renderDefaultItem(),
|
|
120
|
+
_this.renderList()),
|
|
123
121
|
footer && React.createElement("div", { className: "k-list-footer" }, footer)));
|
|
124
122
|
};
|
|
125
123
|
_this.renderList = function () {
|
|
@@ -261,10 +261,7 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
|
|
|
261
261
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
262
262
|
width: popupWidth,
|
|
263
263
|
popupSettings: {
|
|
264
|
-
popupClass: (0, kendo_react_common_1.classNames)(popupSettings.popupClass,
|
|
265
|
-
_a["k-list-".concat(sizeMap[size] || size)] = size,
|
|
266
|
-
_a['k-virtual-list'] = _this.base.vs.enabled,
|
|
267
|
-
_a)),
|
|
264
|
+
popupClass: (0, kendo_react_common_1.classNames)(popupSettings.popupClass),
|
|
268
265
|
className: popupSettings.className,
|
|
269
266
|
animate: popupSettings.animate,
|
|
270
267
|
anchor: _this.element,
|
|
@@ -276,16 +273,19 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
|
|
|
276
273
|
itemsCount: [data.length, _this.value.length]
|
|
277
274
|
};
|
|
278
275
|
var focusedType = _this.getFocusedState().focusedType;
|
|
279
|
-
var customItem = allowCustom && text && (React.createElement("div", { className: (0, kendo_react_common_1.classNames)('k-list', (
|
|
280
|
-
|
|
281
|
-
|
|
276
|
+
var customItem = allowCustom && text && (React.createElement("div", { className: (0, kendo_react_common_1.classNames)('k-list', (_a = {},
|
|
277
|
+
_a["k-list-".concat(sizeMap[size] || size)] = size,
|
|
278
|
+
_a)), key: "customitem", onClick: _this.customItemSelect, onMouseDown: preventDefault },
|
|
282
279
|
React.createElement("div", { className: (0, kendo_react_common_1.classNames)('k-list-item k-custom-item', { 'k-focus': isCustom(focusedType) }), style: { fontStyle: 'italic' } },
|
|
283
280
|
text,
|
|
284
281
|
React.createElement("span", { className: "k-icon k-i-plus", style: { position: 'absolute', right: '0.5em' } }))));
|
|
285
282
|
return (React.createElement(ListContainer_1.default, __assign({}, listContainerProps),
|
|
286
283
|
header && React.createElement("div", { className: "k-list-header" }, header),
|
|
287
284
|
customItem,
|
|
288
|
-
|
|
285
|
+
React.createElement("div", { className: (0, kendo_react_common_1.classNames)('k-list', (_b = {},
|
|
286
|
+
_b["k-list-".concat(sizeMap[size] || size)] = size,
|
|
287
|
+
_b['k-virtual-list'] = _this.base.vs.enabled,
|
|
288
|
+
_b)) }, _this.renderList()),
|
|
289
289
|
footer && React.createElement("div", { className: "k-list-footer" }, footer)));
|
|
290
290
|
};
|
|
291
291
|
_this.renderList = function () {
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-react-dropdowns',
|
|
9
9
|
productName: 'KendoReact',
|
|
10
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1658784164,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
14
14
|
};
|