Skip to content

Commit 55d1c27

Browse files
author
pipeline
committed
v18.3.48 is released
1 parent 2d5e446 commit 55d1c27

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+283
-66
lines changed

components/base/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 18.3.48 (2020-11-11)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- Resolved the key warning in the input components.
12+
513
## 18.3.35 (2020-10-01)
614

715
### Common

components/base/dist/ej2-react-base.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/ej2-react-base.umd.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/es6/ej2-react-base.es2015.js

Lines changed: 17 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/es6/ej2-react-base.es2015.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/es6/ej2-react-base.es5.js

Lines changed: 17 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/es6/ej2-react-base.es5.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/global/blazor/reactbase.js

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,19 +143,30 @@ var ComponentBase = /** @class */ (function (_super) {
143143
var _this = this;
144144
this.isReact = true;
145145
var propKeys = Object.keys(this.props);
146-
this.htmlattributes = {};
146+
if (!this.htmlattributes) {
147+
this.htmlattributes = {};
148+
}
147149
this.attrKeys = defaulthtmlkeys.concat(this.controlAttributes || []);
148150
for (var _i = 0, propKeys_1 = propKeys; _i < propKeys_1.length; _i++) {
149151
var prop = propKeys_1[_i];
150152
if (prop.indexOf('data-') !== -1 || prop.indexOf('aria-') !== -1 || this.attrKeys.indexOf(prop) !== -1) {
151-
this.htmlattributes[prop] = this.props[prop];
153+
if (this.htmlattributes[prop] !== this.props[prop]) {
154+
this.htmlattributes[prop] = this.props[prop];
155+
}
152156
}
153157
}
154158
if (!this.htmlattributes.ref) {
155159
/* tslint:disable:no-any */
156160
this.htmlattributes.ref = function (ele) {
157161
_this.reactElement = ele;
158162
};
163+
var keycompoentns = ['autocomplete', 'combobox', 'dropdownlist', 'dropdowntree', 'multiselect',
164+
'listbox', 'colorpicker', 'numerictextbox', 'textbox',
165+
'uploader', 'maskedtextbox', 'slider', 'datepicker', 'datetimepicker', 'daterangepicker', 'timepicker'];
166+
if (keycompoentns.indexOf(this.getModuleName()) !== -1) {
167+
this.htmlattributes.key = '' + ComponentBase.reactUid;
168+
ComponentBase.reactUid++;
169+
}
159170
}
160171
return this.htmlattributes;
161172
};
@@ -437,6 +448,10 @@ var ComponentBase = /** @class */ (function (_super) {
437448
}
438449
return [];
439450
};
451+
/**
452+
* @private
453+
*/
454+
ComponentBase.reactUid = 1;
440455
return ComponentBase;
441456
}(React.Component));
442457

components/base/dist/global/ej2-react-base.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/global/ej2-react-base.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-react-base",
3-
"version": "18.3.35",
3+
"version": "18.3.47",
44
"description": "A common package of Essential JS 2 React base, methods and class definitions",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/base/src/component-base.ts

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ let reactUid: number = 0;
4040

4141
// tslint:disable
4242
export class ComponentBase<P, S> extends React.Component<P, S> {
43+
/**
44+
* @private
45+
*/
46+
public static reactUid: number = 1;
4347
private setProperties: Function;
4448
private element: any;
4549
private appendTo: Function;
@@ -175,18 +179,30 @@ export class ComponentBase<P, S> extends React.Component<P, S> {
175179
public getDefaultAttributes(): Object {
176180
this.isReact = true;
177181
let propKeys: string[] = Object.keys(this.props);
178-
this.htmlattributes = {};
182+
if(!this.htmlattributes) {
183+
this.htmlattributes = {};
184+
}
179185
this.attrKeys = defaulthtmlkeys.concat(this.controlAttributes || []);
180186
for (let prop of propKeys) {
181187
if (prop.indexOf('data-') !== -1 || prop.indexOf('aria-') !== -1 || this.attrKeys.indexOf(prop) !== -1) {
182-
this.htmlattributes[prop] = (<{ [key: string]: Object }>this.props)[prop];
188+
if( this.htmlattributes[prop] !== (<{ [key: string]: Object }>this.props)[prop]) {
189+
this.htmlattributes[prop] = (<{ [key: string]: Object }>this.props)[prop];
190+
}
183191
}
184192
}
185193
if(!this.htmlattributes.ref) {
186194
/* tslint:disable:no-any */
187195
this.htmlattributes.ref = (ele: any ) => {
188196
this.reactElement = ele;
189197
};
198+
let keycompoentns: string[] = ['autocomplete', 'combobox', 'dropdownlist', 'dropdowntree', 'multiselect',
199+
'listbox', 'colorpicker', 'numerictextbox', 'textbox',
200+
'uploader', 'maskedtextbox', 'slider','datepicker','datetimepicker','daterangepicker','timepicker'];
201+
if (keycompoentns.indexOf(this.getModuleName()) !== -1) {
202+
this.htmlattributes.key = '' + ComponentBase.reactUid;
203+
ComponentBase.reactUid++;
204+
}
205+
190206
}
191207
return this.htmlattributes;
192208
}
@@ -233,7 +249,7 @@ export class ComponentBase<P, S> extends React.Component<P, S> {
233249
value1 instanceof Number ||
234250
typeVal === 'function'
235251
) {
236-
return value1.toString() === value2.toString()
252+
return value1.toString() === value2.toString();
237253
}
238254
if (isObject(value1) || Array.isArray(value1)) {
239255
let tempVal: Object[] = value1;
@@ -461,4 +477,4 @@ export class ComponentBase<P, S> extends React.Component<P, S> {
461477
return [];
462478
}
463479
}
464-
/* tslint:enable:no-any */
480+
/* tslint:enable:no-any */

components/calendars/CHANGELOG.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,6 @@
22

33
## [Unreleased]
44

5-
## 18.3.47 (2020-11-05)
6-
7-
### DateTimePicker
8-
9-
#### Bug Fixes
10-
11-
- `#297995` - Issue with "script error throws while rendering the component" has been resolved.
12-
13-
### DateRangePicker
14-
15-
#### Bug Fixes
16-
17-
- `#F158355` - Issue with "script error throws while rendering the component" has been resolved.
18-
19-
### TimePicker
20-
21-
#### Bug Fixes
22-
23-
- `#299456` - Issue with "script error throws while rendering the component" has been resolved.
24-
255
## 18.3.40 (2020-10-13)
266

277
### DateRangePicker
@@ -1100,6 +1080,26 @@ TimePicker component is the pre-filled dropdown list with the time values 12/24
11001080
- **Accessibility** - Provided with built-in accessibility support which helps to access all the TimePicker component features through the keyboard, screen readers, or other assistive technology devices.
11011081

11021082

1083+
## 18.3.47 (2020-11-05)
1084+
1085+
### DateTimePicker
1086+
1087+
#### Bug Fixes
1088+
1089+
- `#297995` - Issue with "script error throws while rendering the component" has been resolved.
1090+
1091+
### DateRangePicker
1092+
1093+
#### Bug Fixes
1094+
1095+
- `#F158355` - Issue with "script error throws while rendering the component" has been resolved.
1096+
1097+
### TimePicker
1098+
1099+
#### Bug Fixes
1100+
1101+
- `#299456` - Issue with "script error throws while rendering the component" has been resolved.
1102+
11031103
## 18.2.56 (2020-09-01)
11041104

11051105
### DateRangePicker

components/calendars/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-react-calendars",
3-
"version": "18.3.42",
3+
"version": "18.3.47",
44
"description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization. for React",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/charts/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,23 @@
22

33
## [Unreleased]
44

5+
## 18.3.48 (2020-11-11)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#292894` - Chart axis title overlaps when `labelPadding` is provided for axis labels issue has been fixed.
12+
- `#290869` - Axis label rotation issue has been fixed.
13+
- `#299015` - Script error on hovering the chart in animation issue has been fixed.
14+
515
## 18.3.47 (2020-11-05)
616

717
### Chart
818

919
#### Bug Fixes
1020

21+
- `#295143` - Scrollbar `zoomFactor` and `zoomPosition` related issue has been fixed.
1122
- `#293312` - Waterfall series not working properly for 0 values issue has been fixed.
1223
- `#296989` - PageX and PageY arguments are not available in pie pointClick event issue fixed.
1324
- `#278146` - Scrollbar is not working properly for live data issue has been fixed.

components/charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-react-charts",
3-
"version": "18.3.44",
3+
"version": "18.3.47",
44
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball. for React",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/diagrams/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
## [Unreleased]
44

5+
## 18.3.48 (2020-11-11)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#297343` - This issue "While undo and redo with line routing exception occurs" has been fixed.
12+
- `F159245` - This issue "Node z index behaves incorrectly" has been fixed.
13+
- `#300316` - This issue "Exception occurs when try to save diagram with prevent defaults set as true" has been fixed.
14+
- `#292439` - The issue "Exception occurs when try to draw the connector using user handle" has been fixed.
15+
516
## 18.3.47 (2020-11-05)
617

718
### Diagram

components/diagrams/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-react-diagrams",
3-
"version": "18.3.44",
3+
"version": "18.3.47",
44
"description": "Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts. for React",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/documenteditor/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
## [Unreleased]
44

5+
## 18.3.48 (2020-11-11)
6+
7+
### Document Editor
8+
9+
#### Bug Fixes
10+
11+
- `#294075` - Resolved table bottom border rendering issue when table contains merged cell.
12+
- `#292515` - Resolved context menu position issue in IE11.
13+
514
## 18.3.47 (2020-11-05)
615

716
### Document Editor

components/documenteditor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-react-documenteditor",
3-
"version": "18.3.44",
3+
"version": "18.3.47",
44
"description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for React",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/dropdowns/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 18.3.47 (2020-11-05)
5+
## 18.3.44 (2020-10-27)
66

77
### MultiSelect
88

components/dropdowns/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-react-dropdowns",
3-
"version": "18.3.42",
3+
"version": "18.3.47",
44
"description": "Essential JS 2 DropDown Components for React",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/filemanager/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 18.3.47 (2020-11-05)
5+
## 18.3.48 (2020-11-11)
66

77
### File Manager
88

0 commit comments

Comments
 (0)