Skip to content

Commit e8f46a4

Browse files
author
pipeline
committed
v19.3.59 is released
1 parent b7155e4 commit e8f46a4

File tree

20 files changed

+70
-32
lines changed

20 files changed

+70
-32
lines changed

components/base/CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88

99
#### Bug Fixes
1010

11-
- `333080` - Resolved the issue with Grid `editTemplate` drop down data source is not updated while using `useState`.
11+
- Resolved the issue with `nodeClicked` event is not triggered while rendering Tree View inside `office-ui-fabric` Panel.
1212

13-
## 19.2.49 (2021-07-27)
13+
## 19.3.46 (2021-10-19)
1414

1515
### Common
1616

1717
#### Bug Fixes
1818

19-
- `I335035`, `I331116` - Resolved the issue with Updating data source of components using React `usestate` hook is not working.
19+
- Resolved the issue with Custom toolbar buttons in rich text editor lead to a toolbar reset.
2020

21-
## 19.2.48 (2021-07-20)
21+
## 19.3.45 (2021-10-12)
2222

2323
### Common
2424

2525
#### Bug Fixes
2626

27-
- `I331796` - Resolved the issue with Selected value removed when focus changed in `MultiSelect`.
27+
- `F167610` - Resolved the issue with Console error occurs when using a value and `valueTemplate` together.
2828

2929
## 19.1.67 (2021-06-08)
3030

File renamed without changes.

components/base/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ module.exports = function (config) {
6262

6363
// start these browsers
6464
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
65-
browsers: [ 'Chrome'],
65+
browsers: ['ChromeHeadless', 'Chrome'],
6666

6767

6868
// Continuous Integration mode

components/base/package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-react-base",
3-
"version": "19.2.49",
3+
"version": "19.3.57",
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",
@@ -24,15 +24,15 @@
2424
"module": "./index.js",
2525
"readme": "ReadMe.md",
2626
"peerDependencies": {
27-
"react": "16.13.1 - 17.0.2",
28-
"react-dom": "16.13.1 - 17.0.2"
27+
"react": "15.5.4 - 16.13.1",
28+
"react-dom": "15.5.4 - 16.13.1"
2929
},
3030
"dependencies": {
3131
"@syncfusion/ej2-base": "*"
3232
},
3333
"devDependencies": {
34-
"react": "16.13.1 - 17.10.2",
35-
"react-dom": "16.13.1 - 17.10.2",
34+
"react": "15.5.4 - 16.10.2",
35+
"react-dom": "15.5.4 - 16.10.2",
3636
"@types/chai": "^3.4.28",
3737
"@types/es6-promise": "0.0.28",
3838
"@types/jasmine": "^2.2.29",
@@ -64,5 +64,6 @@
6464
"scripts": {
6565
"build": "gulp build",
6666
"test": "gulp test"
67-
}
67+
},
68+
"typings": "index.d.ts"
6869
}

components/base/src/component-base.ts

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,12 @@
9191
}
9292
}
9393

94-
public componentDidUpdate(): any {
94+
public componentDidUpdate(prev: Object): any {
9595
if(!this.isshouldComponentUpdateCalled && this.initRenderCalled && !this.isReactForeceUpdate) {
9696
this.isshouldComponentUpdateCalled = true;
97-
this.refreshProperties(this.props, true);
97+
if (prev !== this.props) {
98+
this.refreshProperties(this.props, true);
99+
}
98100
}
99101
}
100102

@@ -151,6 +153,9 @@
151153
delete dProps[propkey];
152154
}
153155
}
156+
else if (propkey === 'value' && nextProps[propkey] === this[propkey]) {
157+
delete dProps[propkey];
158+
}
154159
}
155160
if (dProps['children']) {
156161
delete dProps['children'];
@@ -303,12 +308,19 @@
303308
let keys: string[] = Object.keys(newProp);
304309
if (keys.length !== 0) {
305310
for (let key of keys) {
306-
let oldValue = oldProp[key];
307-
let newValue = newProp[key];
311+
let oldValue: any = oldProp[key];
312+
let newValue: any = newProp[key];
313+
if (key === 'items') {
314+
for(var _j=0; _j < newValue.length; _j++) {
315+
if (this.getModuleName() === 'richtexteditor' && typeof(newValue[_j]) === 'object') {
316+
return {status: true};
317+
}
318+
}
319+
}
308320
if (this.getModuleName()=== 'grid' && key === 'field') {
309321
curObj[key] = newValue;
310322
}
311-
if (!oldProp.hasOwnProperty(key) || !this.compareValues(newValue, oldValue)) {
323+
if (!oldProp.hasOwnProperty(key) || !this.compareValues(oldValue, newValue)) {
312324
if (!propName) {
313325
return { status: false };
314326
}

components/base/src/util.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@
3333
onFocus?: FocusEventHandler;
3434
onBlur?: FocusEventHandler;
3535
immediateRender?: boolean;
36+
isLegacyTemplate?:boolean;
3637
delayUpdate?: string | boolean;
3738
// tslint:disable-next-line:no-any
3839
onChange?: any;
3940

4041
}
41-
42+

components/base/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131
"test-report"
3232
],
3333
"compileOnSave": false
34-
}
34+
}

components/charts/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+
## 19.3.59 (2021-12-14)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I346999` - Data labels are now working properly while legend click.
12+
- `#I349146` - Range area and scatter series working fine on canvas mode.
13+
514
## 19.3.55 (2021-11-23)
615

716
### Chart

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-
## 19.3.57 (2021-12-07)
5+
## 19.3.59 (2021-12-14)
66

77
### File Manager
88

components/gantt/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-
## 19.3.57 (2021-12-07)
5+
## 19.3.59 (2021-12-14)
66

77
### Gantt
88

0 commit comments

Comments
 (0)