@progress/kendo-react-dateinputs 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-dateinputs.js +1 -1
- package/dist/es/common/AdaptiveMode.d.ts +2 -2
- package/dist/es/common/AdaptiveMode.js +2 -2
- package/dist/es/daterangepicker/DateRangePicker.d.ts +1 -1
- package/dist/es/daterangepicker/DateRangePicker.js +2 -2
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/timepicker/TimePicker.js +1 -1
- package/dist/npm/common/AdaptiveMode.d.ts +2 -2
- package/dist/npm/common/AdaptiveMode.js +2 -2
- package/dist/npm/daterangepicker/DateRangePicker.d.ts +1 -1
- package/dist/npm/daterangepicker/DateRangePicker.js +2 -2
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/timepicker/TimePicker.js +1 -1
- package/dist/systemjs/kendo-react-dateinputs.js +1 -1
- package/package.json +13 -13
|
@@ -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
|
};
|
|
@@ -43,7 +43,7 @@ export interface DateRangePickerProps extends DateRangePickerSettings {
|
|
|
43
43
|
/**
|
|
44
44
|
* Fires each time the popup of the DateRangePicker is about to cancel in ([adaptive mode]({% slug adaptive_rendering_daterangepicker %})).
|
|
45
45
|
*/
|
|
46
|
-
onCancel?: (event: React.
|
|
46
|
+
onCancel?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
47
47
|
/**
|
|
48
48
|
* Specifies the selected date range of the DateRangePicker ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-value)).
|
|
49
49
|
*
|
|
@@ -112,9 +112,9 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
112
112
|
windowWidth: windowWidth,
|
|
113
113
|
footer: {
|
|
114
114
|
cancelText: _this.localizationService.toLanguageString(dateRangePickerCancel, messages[dateRangePickerCancel]),
|
|
115
|
-
onCancel:
|
|
115
|
+
onCancel: _this.handleCancel,
|
|
116
116
|
applyText: _this.localizationService.toLanguageString(dateRangePickerSet, messages[dateRangePickerSet]),
|
|
117
|
-
onApply:
|
|
117
|
+
onApply: _this.handleBlur
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
return (React.createElement(AdaptiveMode, __assign({}, actionSheetProps),
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-dateinputs',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1685735201,
|
|
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
|
};
|
|
@@ -100,7 +100,7 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
100
100
|
windowWidth: windowWidth,
|
|
101
101
|
footer: {
|
|
102
102
|
cancelText: _this.localizationService.toLanguageString(toggleClock, messages[timePickerCancel]),
|
|
103
|
-
onCancel:
|
|
103
|
+
onCancel: _this.handleValueReject,
|
|
104
104
|
applyText: _this.localizationService.toLanguageString(timePickerSet, messages[timePickerSet]),
|
|
105
105
|
onApply: function (event) { return _this.handleValueChange(event); }
|
|
106
106
|
}
|
|
@@ -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;
|
|
@@ -43,7 +43,7 @@ export interface DateRangePickerProps extends DateRangePickerSettings {
|
|
|
43
43
|
/**
|
|
44
44
|
* Fires each time the popup of the DateRangePicker is about to cancel in ([adaptive mode]({% slug adaptive_rendering_daterangepicker %})).
|
|
45
45
|
*/
|
|
46
|
-
onCancel?: (event: React.
|
|
46
|
+
onCancel?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
47
47
|
/**
|
|
48
48
|
* Specifies the selected date range of the DateRangePicker ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-value)).
|
|
49
49
|
*
|
|
@@ -115,9 +115,9 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
115
115
|
windowWidth: windowWidth,
|
|
116
116
|
footer: {
|
|
117
117
|
cancelText: _this.localizationService.toLanguageString(messages_1.dateRangePickerCancel, messages_1.messages[messages_1.dateRangePickerCancel]),
|
|
118
|
-
onCancel:
|
|
118
|
+
onCancel: _this.handleCancel,
|
|
119
119
|
applyText: _this.localizationService.toLanguageString(messages_1.dateRangePickerSet, messages_1.messages[messages_1.dateRangePickerSet]),
|
|
120
|
-
onApply:
|
|
120
|
+
onApply: _this.handleBlur
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
123
|
return (React.createElement(AdaptiveMode_1.AdaptiveMode, __assign({}, actionSheetProps),
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-react-dateinputs',
|
|
9
9
|
productName: 'KendoReact',
|
|
10
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1685735201,
|
|
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
|
};
|
|
@@ -103,7 +103,7 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
103
103
|
windowWidth: windowWidth,
|
|
104
104
|
footer: {
|
|
105
105
|
cancelText: _this.localizationService.toLanguageString(messages_1.toggleClock, messages_1.messages[messages_1.timePickerCancel]),
|
|
106
|
-
onCancel:
|
|
106
|
+
onCancel: _this.handleValueReject,
|
|
107
107
|
applyText: _this.localizationService.toLanguageString(messages_1.timePickerSet, messages_1.messages[messages_1.timePickerSet]),
|
|
108
108
|
onApply: function (event) { return _this.handleValueChange(event); }
|
|
109
109
|
}
|