Skip to content

Commit b2734de

Browse files
author
pipeline
committed
v21.1.35 is released
1 parent e1583ee commit b2734de

File tree

335 files changed

+1488
-1304
lines changed

Some content is hidden

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

335 files changed

+1488
-1304
lines changed

components/barcodegenerator/package.json

+1-1
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": "19.4.0",
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/barcodegenerator/src/barcode-generator/barcodegenerator.component.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export class BarcodeGeneratorComponent extends BarcodeGenerator {
1717
private getDefaultAttributes: Function;
1818
public initRenderCalled: boolean = false;
1919
private checkInjectedModules: boolean = true;
20+
private statelessTemplateProps: string[] = null;
2021
private immediateRender: boolean = true;
2122
public props: Readonly<{ children?: React.ReactNode | React.ReactNode[] }>
2223
& Readonly<BarcodeGeneratorModel & DefaultHtmlAttributes>;

components/barcodegenerator/src/datamatrix-generator/datamatrixgenerator.component.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export class DataMatrixGeneratorComponent extends DataMatrixGenerator {
1717
private getDefaultAttributes: Function;
1818
public initRenderCalled: boolean = false;
1919
private checkInjectedModules: boolean = true;
20+
private statelessTemplateProps: string[] = null;
2021
private immediateRender: boolean = true;
2122
public props: Readonly<{ children?: React.ReactNode | React.ReactNode[] }>
2223
& Readonly<DataMatrixGeneratorModel & DefaultHtmlAttributes>;

components/barcodegenerator/src/qrcode-generator/qrcodegenerator.component.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export class QRCodeGeneratorComponent extends QRCodeGenerator {
1717
private getDefaultAttributes: Function;
1818
public initRenderCalled: boolean = false;
1919
private checkInjectedModules: boolean = true;
20+
private statelessTemplateProps: string[] = null;
2021
private immediateRender: boolean = true;
2122
public props: Readonly<{ children?: React.ReactNode | React.ReactNode[] }>
2223
& Readonly<QRCodeGeneratorModel & DefaultHtmlAttributes>;

components/base/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,4 +274,4 @@
274274
Base library provide options to enable following React functionalities in Essential JS 2 components.
275275

276276
- Support for data binding.
277-
- Tree shaking using `UglifyJS`.
277+
- Tree shaking using `UglifyJS`.

components/base/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-react-base",
3-
"version": "20.4.48",
3+
"version": "17.27.0",
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

+3-2
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,9 @@ export class ComponentBase<P, S> extends React.Component<P, S> {
141141
private updateProperties(nextProps: Object, silent?: boolean): void {
142142
let dProps: Object = extend({}, nextProps);
143143
let keys: string[] = Object.keys(nextProps);
144-
let templateProps: string[] = ['valueTemplate', 'itemTemplate', 'headerTemplate', 'content'];
145-
let statelessTemplates: string[] = !isNullOrUndefined(this.props['statelessTemplates']) ? this.props['statelessTemplates'] : templateProps;
144+
// The statelessTemplates props value is taken from sample level property or default component property.
145+
let statelessTemplates: string[] = !isNullOrUndefined(this.props['statelessTemplates']) ? this.props['statelessTemplates'] :
146+
(!isNullOrUndefined(this['statelessTemplateProps']) ? this['statelessTemplateProps'] : []);
146147
for (let propkey of keys) {
147148
let isClassName: boolean = propkey === 'className';
148149
if(propkey === 'children'){

components/buttons/CHANGELOG.md

+9-28
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,36 @@
22

33
## [Unreleased]
44

5-
## 20.4.53 (2023-03-07)
5+
## 21.1.35 (2023-03-23)
66

77
### Checkbox
88

99
#### Bug Fixes
1010

11-
- `#I436942` - The issue with "Checkbox checked property is not updated properly at initial rendering" has been resolved.
11+
- `#I427235` - The issue `cssClass` property not updated properly while string with a white space in the end of the property in checkbox has been fixed.
1212

13-
## 20.4.50 (2023-02-14)
13+
### Chip
1414

15-
### RadioButton
15+
#### New Features
1616

17-
#### Bug Fixes
17+
- `#I422263` - The Chip component now supports htmlAttributes, which enables users to add required attributes such as 'aria-label', 'title', 'class', and more to the Chip item.
1818

19-
- `#F40707` - Value change event triggered twice in Radio Button component has been fixed.
19+
- `#I422263` - The Chip component now supports htmlAttributes, which enables users to add required attributes such as 'aria-label', 'title', 'class', and more to the Chip item.
2020

21-
## 20.4.49 (2023-02-07)
2221

23-
### Switch
22+
### RadioButton
2423

2524
#### Bug Fixes
2625

27-
- `#I427994` - Provided aria-label and id `htmlAttributes` support to the switch component.
28-
29-
## 20.4.44 (2023-01-18)
26+
- `#F40707` - Value change event triggered twice in Radio Button component has been fixed.
3027

3128
### Switch
3229

3330
#### Bug Fixes
3431

3532
- `#I427994` - Provided the `htmlAttributes` support to the switch component.
3633

37-
## 20.4.42 (2023-01-04)
38-
39-
### Checkbox
40-
41-
#### Bug Fixes
42-
43-
- `#I427235` - The issue `cssClass` property not updated properly while string with a white space in the end of the property in checkbox has been fixed.
44-
45-
### Chips
46-
47-
#### Bug Fixes
48-
49-
- `#I422262` - Added the aria-disabled attribute to the disabled Chip items.
50-
51-
## 20.4.40 (2022-12-28)
52-
53-
## 20.3.47 (2022-09-29)
34+
## 20.3.47 (2022-10-11)
5435

5536
### Floating Action Button `Preview`
5637

0 commit comments

Comments
 (0)