@progress/kendo-react-dropdowns 5.14.0-dev.202306020002 → 5.14.0-dev.202306022036
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/MultiSelect/MultiSelect.js +2 -2
- package/dist/es/common/AdaptiveMode.d.ts +2 -2
- package/dist/es/common/AdaptiveMode.js +2 -2
- package/dist/es/common/DropDownBase.js +2 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/MultiSelect/MultiSelect.js +2 -2
- package/dist/npm/common/AdaptiveMode.d.ts +2 -2
- package/dist/npm/common/AdaptiveMode.js +2 -2
- package/dist/npm/common/DropDownBase.js +2 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-react-dropdowns.js +1 -1
- package/package.json +15 -15
|
@@ -312,9 +312,9 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
|
|
|
312
312
|
mobileFilter: mobileFilter,
|
|
313
313
|
footer: {
|
|
314
314
|
cancelText: _this.localization.toLanguageString(adaptiveModeFooterCancel, messages[adaptiveModeFooterCancel]),
|
|
315
|
-
onCancel:
|
|
315
|
+
onCancel: _this.onCancel,
|
|
316
316
|
applyText: _this.localization.toLanguageString(adaptiveModeFooterApply, messages[adaptiveModeFooterApply]),
|
|
317
|
-
onApply:
|
|
317
|
+
onApply: _this.closePopup
|
|
318
318
|
}
|
|
319
319
|
};
|
|
320
320
|
return (React.createElement(AdaptiveMode, __assign({}, actionSheetProps),
|
|
@@ -12,9 +12,9 @@ export interface AdaptiveModeProps {
|
|
|
12
12
|
children: React.ReactNode;
|
|
13
13
|
footer?: {
|
|
14
14
|
cancelText: string;
|
|
15
|
-
onCancel: (event: React.
|
|
15
|
+
onCancel: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
16
16
|
applyText: string;
|
|
17
|
-
onApply: (event: React.
|
|
17
|
+
onApply: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
/** @hidden */
|
|
@@ -40,6 +40,6 @@ export var AdaptiveMode = function (props) {
|
|
|
40
40
|
React.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, mobileFilter)),
|
|
41
41
|
children,
|
|
42
42
|
footer && React.createElement(ActionSheetFooter, { className: 'k-actions k-actions-stretched' },
|
|
43
|
-
React.createElement(Button, { size: "large", tabIndex: 0, "aria-label": footer.cancelText, "aria-disabled": "false", type: "button", onClick:
|
|
44
|
-
React.createElement(Button, { tabIndex: 0, themeColor: "primary", size: "large", "aria-label": footer.applyText, "aria-disabled": "false", type: "button", onClick:
|
|
43
|
+
React.createElement(Button, { size: "large", tabIndex: 0, "aria-label": footer.cancelText, "aria-disabled": "false", type: "button", onClick: footer.onCancel }, footer.cancelText),
|
|
44
|
+
React.createElement(Button, { tabIndex: 0, themeColor: "primary", size: "large", "aria-label": footer.applyText, "aria-disabled": "false", type: "button", onClick: footer.onApply }, footer.applyText))));
|
|
45
45
|
};
|
|
@@ -217,8 +217,9 @@ var DropDownBase = /** @class */ (function () {
|
|
|
217
217
|
DropDownBase.prototype.getGroupedDataModernMode = function (data, groupField) {
|
|
218
218
|
var newData = [];
|
|
219
219
|
data.forEach(function (el, index) {
|
|
220
|
+
var _a;
|
|
220
221
|
if (data[index - 1] && el[groupField] !== data[index - 1][groupField]) {
|
|
221
|
-
newData.push({
|
|
222
|
+
newData.push((_a = {}, _a[groupField] = el[groupField], _a));
|
|
222
223
|
newData.push(data[index]);
|
|
223
224
|
}
|
|
224
225
|
else {
|
|
@@ -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: 1685735546,
|
|
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
|
};
|
|
@@ -315,9 +315,9 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
|
|
|
315
315
|
mobileFilter: mobileFilter,
|
|
316
316
|
footer: {
|
|
317
317
|
cancelText: _this.localization.toLanguageString(messages_1.adaptiveModeFooterCancel, messages_1.messages[messages_1.adaptiveModeFooterCancel]),
|
|
318
|
-
onCancel:
|
|
318
|
+
onCancel: _this.onCancel,
|
|
319
319
|
applyText: _this.localization.toLanguageString(messages_1.adaptiveModeFooterApply, messages_1.messages[messages_1.adaptiveModeFooterApply]),
|
|
320
|
-
onApply:
|
|
320
|
+
onApply: _this.closePopup
|
|
321
321
|
}
|
|
322
322
|
};
|
|
323
323
|
return (React.createElement(AdaptiveMode_1.AdaptiveMode, __assign({}, actionSheetProps),
|
|
@@ -12,9 +12,9 @@ export interface AdaptiveModeProps {
|
|
|
12
12
|
children: React.ReactNode;
|
|
13
13
|
footer?: {
|
|
14
14
|
cancelText: string;
|
|
15
|
-
onCancel: (event: React.
|
|
15
|
+
onCancel: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
16
16
|
applyText: string;
|
|
17
|
-
onApply: (event: React.
|
|
17
|
+
onApply: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
/** @hidden */
|
|
@@ -43,7 +43,7 @@ var AdaptiveMode = function (props) {
|
|
|
43
43
|
React.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, mobileFilter)),
|
|
44
44
|
children,
|
|
45
45
|
footer && React.createElement(kendo_react_layout_1.ActionSheetFooter, { className: 'k-actions k-actions-stretched' },
|
|
46
|
-
React.createElement(kendo_react_buttons_1.Button, { size: "large", tabIndex: 0, "aria-label": footer.cancelText, "aria-disabled": "false", type: "button", onClick:
|
|
47
|
-
React.createElement(kendo_react_buttons_1.Button, { tabIndex: 0, themeColor: "primary", size: "large", "aria-label": footer.applyText, "aria-disabled": "false", type: "button", onClick:
|
|
46
|
+
React.createElement(kendo_react_buttons_1.Button, { size: "large", tabIndex: 0, "aria-label": footer.cancelText, "aria-disabled": "false", type: "button", onClick: footer.onCancel }, footer.cancelText),
|
|
47
|
+
React.createElement(kendo_react_buttons_1.Button, { tabIndex: 0, themeColor: "primary", size: "large", "aria-label": footer.applyText, "aria-disabled": "false", type: "button", onClick: footer.onApply }, footer.applyText))));
|
|
48
48
|
};
|
|
49
49
|
exports.AdaptiveMode = AdaptiveMode;
|
|
@@ -219,8 +219,9 @@ var DropDownBase = /** @class */ (function () {
|
|
|
219
219
|
DropDownBase.prototype.getGroupedDataModernMode = function (data, groupField) {
|
|
220
220
|
var newData = [];
|
|
221
221
|
data.forEach(function (el, index) {
|
|
222
|
+
var _a;
|
|
222
223
|
if (data[index - 1] && el[groupField] !== data[index - 1][groupField]) {
|
|
223
|
-
newData.push({
|
|
224
|
+
newData.push((_a = {}, _a[groupField] = el[groupField], _a));
|
|
224
225
|
newData.push(data[index]);
|
|
225
226
|
}
|
|
226
227
|
else {
|
|
@@ -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: 1685735546,
|
|
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
|
};
|