@progress/kendo-react-dateinputs 5.8.0-dev.202210061034 → 5.8.0
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/calendar/components/Calendar.js +3 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/calendar/components/Calendar.js +2 -0
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-react-dateinputs.js +1 -1
- package/package.json +12 -12
|
@@ -15,7 +15,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
15
15
|
})();
|
|
16
16
|
import * as React from 'react';
|
|
17
17
|
import * as PropTypes from 'prop-types';
|
|
18
|
-
import { classNames, guid, Keys, validatePackage, withPropsContext, createPropsContext } from '@progress/kendo-react-common';
|
|
18
|
+
import { classNames, guid, Keys, validatePackage, withPropsContext, createPropsContext, setScrollbarWidth } from '@progress/kendo-react-common';
|
|
19
19
|
import { cloneDate, getDate, isEqualDate } from '@progress/kendo-date-math';
|
|
20
20
|
import { provideIntlService, registerForIntl } from '@progress/kendo-react-intl';
|
|
21
21
|
import { packageMetadata } from '../../package-metadata';
|
|
@@ -252,6 +252,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
|
|
|
252
252
|
*/
|
|
253
253
|
CalendarWithoutContext.prototype.componentDidMount = function () {
|
|
254
254
|
var _this = this;
|
|
255
|
+
setScrollbarWidth();
|
|
255
256
|
// Async calculation of height to avoid animation cancellation
|
|
256
257
|
Promise.resolve().then(function () {
|
|
257
258
|
if (!_this._element) {
|
|
@@ -267,6 +268,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
|
|
|
267
268
|
* @hidden
|
|
268
269
|
*/
|
|
269
270
|
CalendarWithoutContext.prototype.componentDidUpdate = function (_, prevState) {
|
|
271
|
+
setScrollbarWidth();
|
|
270
272
|
if (prevState.activeView !== this.state.activeView && this.scrollSyncService) {
|
|
271
273
|
this.scrollSyncService.configure(this.state.activeView);
|
|
272
274
|
}
|
|
@@ -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: 1665144310,
|
|
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
|
};
|
|
@@ -255,6 +255,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
|
|
|
255
255
|
*/
|
|
256
256
|
CalendarWithoutContext.prototype.componentDidMount = function () {
|
|
257
257
|
var _this = this;
|
|
258
|
+
(0, kendo_react_common_1.setScrollbarWidth)();
|
|
258
259
|
// Async calculation of height to avoid animation cancellation
|
|
259
260
|
Promise.resolve().then(function () {
|
|
260
261
|
if (!_this._element) {
|
|
@@ -270,6 +271,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
|
|
|
270
271
|
* @hidden
|
|
271
272
|
*/
|
|
272
273
|
CalendarWithoutContext.prototype.componentDidUpdate = function (_, prevState) {
|
|
274
|
+
(0, kendo_react_common_1.setScrollbarWidth)();
|
|
273
275
|
if (prevState.activeView !== this.state.activeView && this.scrollSyncService) {
|
|
274
276
|
this.scrollSyncService.configure(this.state.activeView);
|
|
275
277
|
}
|
|
@@ -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: 1665144310,
|
|
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
|
};
|