@progress/kendo-react-dropdowns 5.12.0 → 5.12.1-dev.202303280933
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/ComboBox/ComboBox.d.ts +1 -1
- package/dist/es/ComboBox/ComboBox.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/ComboBox/ComboBox.d.ts +1 -1
- package/dist/npm/ComboBox/ComboBox.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-react-dropdowns.js +1 -1
- package/package.json +13 -13
|
@@ -111,7 +111,7 @@ export declare class ComboBoxWithoutContext extends React.Component<ComboBoxProp
|
|
|
111
111
|
private _input;
|
|
112
112
|
private _adaptiveFilterInput;
|
|
113
113
|
private itemHeight;
|
|
114
|
-
private observerResize
|
|
114
|
+
private observerResize?;
|
|
115
115
|
private get document();
|
|
116
116
|
constructor(props: ComboBoxProps);
|
|
117
117
|
/** @hidden */
|
|
@@ -61,7 +61,6 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
|
|
|
61
61
|
_this._input = null;
|
|
62
62
|
_this._adaptiveFilterInput = null;
|
|
63
63
|
_this.itemHeight = 0;
|
|
64
|
-
_this.observerResize = (window === null || window === void 0 ? void 0 : window.ResizeObserver) && new window.ResizeObserver(_this.calculateMedia.bind(_this));
|
|
65
64
|
/** @hidden */
|
|
66
65
|
_this.focus = function () {
|
|
67
66
|
if (_this._input) {
|
|
@@ -414,6 +413,7 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
|
|
|
414
413
|
/** @hidden */
|
|
415
414
|
ComboBoxWithoutContext.prototype.componentDidMount = function () {
|
|
416
415
|
var _a;
|
|
416
|
+
this.observerResize = canUseDOM && window.ResizeObserver && new window.ResizeObserver(this.calculateMedia.bind(this));
|
|
417
417
|
this.base.didMount();
|
|
418
418
|
this.setValidity();
|
|
419
419
|
if (((_a = this.document) === null || _a === void 0 ? void 0 : _a.body) && this.observerResize) {
|
|
@@ -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: 1679994731,
|
|
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
|
};
|
|
@@ -111,7 +111,7 @@ export declare class ComboBoxWithoutContext extends React.Component<ComboBoxProp
|
|
|
111
111
|
private _input;
|
|
112
112
|
private _adaptiveFilterInput;
|
|
113
113
|
private itemHeight;
|
|
114
|
-
private observerResize
|
|
114
|
+
private observerResize?;
|
|
115
115
|
private get document();
|
|
116
116
|
constructor(props: ComboBoxProps);
|
|
117
117
|
/** @hidden */
|
|
@@ -64,7 +64,6 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
|
|
|
64
64
|
_this._input = null;
|
|
65
65
|
_this._adaptiveFilterInput = null;
|
|
66
66
|
_this.itemHeight = 0;
|
|
67
|
-
_this.observerResize = (window === null || window === void 0 ? void 0 : window.ResizeObserver) && new window.ResizeObserver(_this.calculateMedia.bind(_this));
|
|
68
67
|
/** @hidden */
|
|
69
68
|
_this.focus = function () {
|
|
70
69
|
if (_this._input) {
|
|
@@ -417,6 +416,7 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
|
|
|
417
416
|
/** @hidden */
|
|
418
417
|
ComboBoxWithoutContext.prototype.componentDidMount = function () {
|
|
419
418
|
var _a;
|
|
419
|
+
this.observerResize = kendo_react_common_2.canUseDOM && window.ResizeObserver && new window.ResizeObserver(this.calculateMedia.bind(this));
|
|
420
420
|
this.base.didMount();
|
|
421
421
|
this.setValidity();
|
|
422
422
|
if (((_a = this.document) === null || _a === void 0 ? void 0 : _a.body) && this.observerResize) {
|
|
@@ -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: 1679994731,
|
|
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
|
};
|