Skip to content

Commit b29d6d4

Browse files
author
pipeline
committed
v20.1.48 is released
1 parent 411fa43 commit b29d6d4

Some content is hidden

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

64 files changed

+518
-102
lines changed

components/barcodegenerator/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-barcode-generator",
3-
"version": "19.3.0",
3+
"version": "20.1.47",
44
"description": "Barcode generator component is a pure JavaScript library which will convert a string to Barcode and show it to the user. This supports major 1D and 2D barcodes including coda bar, code 128, QR Code. for React",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/base/CHANGELOG.md

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

33
## [Unreleased]
44

5-
### Common
6-
7-
#### Bug Fixes
8-
9-
- `SF-366476` - Resolved the issue with React `Dialog` content does not update when changing state.
10-
11-
## 19.4.52 (2022-02-15)
12-
13-
### Common
14-
15-
#### Bug Fixes
16-
17-
- `I352651` - Styles not applied properly if it dynamically changed has been resolved.
18-
19-
## 19.4.47 (2022-01-25)
20-
21-
### Common
22-
23-
#### Bug Fixes
24-
25-
- `F167610` - Resolved the Console error occurs when using a value and `valueTemplate` together.
26-
27-
## 19.4.43 (2022-01-18)
28-
29-
### Common
30-
31-
#### Bug Fixes
32-
33-
- `I362528` - Resolved the peer dependency warning in higher React version
34-
35-
## 19.4.42 (2022-01-11)
36-
37-
### Common
38-
39-
#### Bug Fixes
40-
41-
- `I339589` - Resolved the `DropdownButton` issue with react component as target.
42-
- `F165505` - Resolved the issue with Focus lost in input component each time `onchange` invoked.
43-
445
## 19.1.67 (2021-06-08)
456

467
### Common

components/base/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ Product support is available for through following mediums.
7272

7373
## License
7474

75-
Check the license detail [here](https://github.com/syncfusion/ej2-react-ui-components/blob/master/license).
75+
Check the license detail [here](https://github.com/syncfusion/ej2-react-base/blob/master/license).
7676

7777
## Changelog
7878

79-
Check the changelog [here](https://ej2.syncfusion.com/react/documentation/release-notes/index?utm_source=npm&utm_campaign=ej2-react-base)
79+
Check the changelog [here](https://ej2.syncfusion.com/react/documentation/release-notes?utm_source=npm&utm_campaign=ej2-react-base)
8080

8181
© Copyright 2019 Syncfusion, Inc. All Rights Reserved.
8282
The Syncfusion Essential Studio license and copyright applies to this distribution.

components/base/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-react-base",
3-
"version": "19.4.52",
3+
"version": "20.1.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",
@@ -23,6 +23,10 @@
2323
"main": "./dist/ej2-react-base.umd.min.js",
2424
"module": "./index.js",
2525
"readme": "ReadMe.md",
26+
"peerDependencies": {
27+
"react": "15.5.4 - 16.13.1",
28+
"react-dom": "15.5.4 - 16.13.1"
29+
},
2630
"dependencies": {
2731
"@syncfusion/ej2-base": "*"
2832
},

components/base/src/component-base.ts

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* React Component Base
33
*/
44
import * as React from 'react';
5-
import * as ReactDOM from 'react-dom';
65
import { extend, isNullOrUndefined, setValue, getValue, isObject } from '@syncfusion/ej2-base';
76
/**
87
* Interface for processing directives
@@ -153,19 +152,22 @@
153152
let propsClsName = this.props[propkey].split(' ');
154153
for (let i: number = 0; i < propsClsName.length; i++) {
155154
this.element.classList.remove(propsClsName[i]);
156-
}
155+
}
157156
let dpropsClsName = dProps[propkey].split(' ');
158157
for (let j: number = 0; j < dpropsClsName.length; j++) {
159158
this.element.classList.add(dpropsClsName[j]);
160-
}
159+
}
161160
} else if (propkey !== 'disabled') {
162161
delete dProps[propkey];
163162
}
164163
}
165164
else if (propkey === 'value' && nextProps[propkey] === this[propkey]) {
166165
delete dProps[propkey];
167166
}
168-
else if ((propkey === 'valueTemplate' || propkey === 'itemTemplate') && nextProps[propkey].toString() === this[propkey].toString()) {
167+
else if ((propkey === 'valueTemplate' || propkey === 'itemTemplate' || propkey === 'headerTemplate') && nextProps[propkey].toString() === this[propkey].toString()) {
168+
delete dProps[propkey];
169+
}
170+
else if(propkey === 'content' && typeof dProps[propkey] === 'function') {
169171
delete dProps[propkey];
170172
}
171173
}
@@ -236,7 +238,7 @@
236238
}
237239

238240
}
239-
if (this.clsName) {
241+
if (this.clsName) {
240242
let clsList: string[] = this.element.classList;
241243
let className: any = this.htmlattributes['className'];
242244
for(let i: number = 0; i < clsList.length; i++){
@@ -453,12 +455,6 @@
453455
}
454456

455457
}
456-
457-
// tslint:disable:no-any
458-
public appendReactElement (element: any, container: HTMLElement) {
459-
ReactDOM.render((ReactDOM as any).createPortal(element, container), container);
460-
};
461-
462458
// tslint:disable:no-any
463459
public renderReactTemplates (callback?: any): void {
464460
this.isReactForeceUpdate = true;

components/buttons/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-buttons",
3-
"version": "18.30.0",
3+
"version": "20.1.47",
44
"description": "A package of feature-rich Essential JS 2 components such as Button, CheckBox, RadioButton and Switch. for React",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

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.27.6",
3+
"version": "20.1.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: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
## [Unreleased]
44

5+
## 20.1.48 (2022-04-12)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I369936` - Console error when setting the legend mode as `Point` has been resolved.
12+
- `#I371101` - Now data labels will be rendered without overlapping.
13+
- `#I366649` - Polar Radar not rendered in canvas mode issue has been fixed.
14+
- `#I369616` - Spline curve break when zoom in issue has been fixed.
15+
16+
## 20.1.47 (2022-04-04)
17+
518
### Chart
619

720
#### New Features

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": "1.168.1",
3+
"version": "20.1.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/circulargauge/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-circulargauge",
3-
"version": "16.39.0",
3+
"version": "20.1.47",
44
"description": "Essential JS 2 CircularGauge Components for React",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

0 commit comments

Comments
 (0)