Skip to content

Commit 5aefeb4

Browse files
author
pipeline
committed
v25.1.35 is released
1 parent bc02430 commit 5aefeb4

File tree

156 files changed

+913
-1462
lines changed

Some content is hidden

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

156 files changed

+913
-1462
lines changed

components/barcodegenerator/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 24.2.9 (2024-03-06)
5+
## 25.1.35 (2024-03-15)
66

77
### Barcode
88

components/base/CHANGELOG.md

+5-9
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,17 @@
22

33
## [Unreleased]
44

5-
## 24.2.7 (2024-02-20)
5+
## 25.1.35 (2024-03-15)
66

77
### Common
88

9-
#### Bug Fixes
10-
11-
- `#I545133` - The issue with "the class name of a component is removed from the element when the state is updated" has been resolved.
9+
#### Breaking Changes
1210

13-
## 24.1.46 (2024-01-17)
11+
- `#I549176` - The installation warnings triggered by outdated versions of external dependencies during the React packages installation have been addressed, and these dependencies have been removed. This modification improves the installation process, ensuring a more seamless experience without dependence on external dependencies.
1412

15-
### Common
16-
17-
#### Bug Fixes
13+
#### New Features
1814

19-
- `#I537758`, `#I538396`, `#F184789` - The issue with "warning is thrown when using the `statelessTemplates` property in React components" has been resolved.
15+
- Provided compatible support with `Preact` for the React components.
2016

2117
## 24.1.41 (2023-12-18)
2218

components/base/package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-react-base",
3-
"version": "24.2.7",
3+
"version": "25.1.35",
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",
@@ -27,15 +27,16 @@
2727
"@syncfusion/ej2-base": "*"
2828
},
2929
"devDependencies": {
30-
"react": "15.5.4 - 16.10.2",
31-
"react-dom": "15.5.4 - 16.10.2",
30+
"@syncfusion/ej2-staging": "^1.0.1",
3231
"@types/chai": "^3.4.28",
3332
"@types/es6-promise": "0.0.28",
3433
"@types/jasmine": "2.8.22",
3534
"@types/jasmine-ajax": "^3.1.27",
3635
"@types/react": "^15.0.24",
3736
"@types/react-dom": "^15.5.0",
3837
"@types/requirejs": "^2.1.26",
38+
"react": "15.5.4 - 16.10.2",
39+
"react-dom": "15.5.4 - 16.10.2",
3940
"es6-promise": "^3.2.1",
4041
"gulp": "^3.9.1",
4142
"gulp-sass": "^3.1.0",

components/base/src/component-base.ts

+98-90
Large diffs are not rendered by default.

components/base/src/services.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* Dependency injection
33
*/
44
import * as React from 'react';
5-
import * as ReactDOM from 'react-dom';
65

76
export class Inject extends React.PureComponent<{ services: Object[] }, {}> {
87
public static isService: boolean = true;

components/base/src/template.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Template compiler for react
33
*/
4-
import { setTemplateEngine, getTemplateEngine, detach, extend } from '@syncfusion/ej2-base';
4+
import { setTemplateEngine, getTemplateEngine, extend } from '@syncfusion/ej2-base';
55
import * as ReactDOM from 'react-dom';
66
import * as React from 'react';
77
/* eslint-disable @typescript-eslint/no-explicit-any */

components/base/src/util.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function applyMixins(derivedClass: any, baseClass: any[]): void {
77
// tslint:disable:typedef
88
baseClass.forEach(baseClass => {
99
Object.getOwnPropertyNames(baseClass.prototype).forEach(name => {
10-
if (name !== 'isMounted' && name !== 'replaceState') {
10+
if (name !== 'isMounted' && name !== 'replaceState' && name !== 'render') {
1111
derivedClass.prototype[`${name}`] = baseClass.prototype[`${name}`];
1212
}
1313
});
@@ -39,13 +39,13 @@ export interface DefaultHtmlAttributes {
3939
onChange?: any;
4040
/**
4141
* Specifies the array of the template names where the state value updates need to be ignored.
42-
*
42+
*
4343
* ```html
4444
* <TreeViewComponent fields={fields} statelessTemplates={['nodeTemplate']} nodeTemplate={nodeTemplate} />
4545
* ```
46-
*
46+
*
4747
* If the templates are defined in nested directives of the component, then pass the statelessTemplates property array value as "directiveTemplates" instead of the template names.
48-
*
48+
*
4949
* ```html
5050
* <GridComponent dataSource={siteCedarData} statelessTemplates={['directiveTemplates']}>
5151
* <ColumnsDirective>
@@ -54,7 +54,7 @@ export interface DefaultHtmlAttributes {
5454
* </ColumnsDirective>
5555
* </GridComponent>
5656
* ```
57-
*
57+
*
5858
* This support will prevent the re-rendering of the component template during state updates.
5959
* It will increase the performance of the components if you prevent state updates for the templates that are not required.
6060
*/

components/buttons/CHANGELOG.md

+2-34
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,13 @@
22

33
## [Unreleased]
44

5-
## 24.2.7 (2024-02-20)
6-
7-
### Button
8-
9-
#### Bug Fixes
10-
11-
- `#I551397` - The issue with "Tailwind theme when changing the primary text color in the button the text color is not changed" has been resolved.
12-
13-
## 24.2.3 (2024-01-31)
14-
15-
### Switch
16-
17-
#### Bug Fixes
18-
19-
- `#I547814` - The issue with "Script error thrown when using toggle in angular platform" has been resolved.
20-
21-
## 24.1.46 (2024-01-17)
5+
## 25.1.35 (2024-03-15)
226

237
### Checkbox
248

259
#### Bug Fixes
2610

27-
- `#I535107` - Need to set `HtmlAttributes` Id in input element checkbox has been resolved.
28-
29-
## 24.1.45 (2024-01-09)
30-
31-
### Switch
32-
33-
#### Bug Fixes
34-
35-
- `#I530742` - The issue with "Switch unintentionally changed when we touch the switch and drag vertically" has been resolved.
36-
37-
## 24.1.41 (2023-12-18)
11+
- `#I399484` - The issue with aria-checked accessibility issue in angular checkbox has been fixed.
3812

3913
### RadioButton
4014

@@ -48,12 +22,6 @@
4822

4923
- `#I512179` - The issue with "Duplicate Icon Span while using the `onPropertyChange` of button" has been resolved.
5024

51-
### Checkbox
52-
53-
#### Bug Fixes
54-
55-
- `#I399484` - The issue with aria-checked accessibility issue in angular checkbox has been fixed.
56-
5725
### Switch
5826

5927
#### Bug Fixes

components/buttons/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-react-buttons",
3-
"version": "24.2.7",
3+
"version": "18.64.1",
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/CHANGELOG.md

-57
Original file line numberDiff line numberDiff line change
@@ -2,63 +2,6 @@
22

33
## [Unreleased]
44

5-
## 24.2.9 (2024-03-06)
6-
7-
### DateTimePicker
8-
9-
#### Bug Fixes
10-
11-
- `#FB50296` - Fixed an issue where the date format `MMM/YYYY` was displaying the wrong date value in languages other than English.
12-
13-
## 24.2.8 (2024-02-27)
14-
15-
### DateRangePicker
16-
17-
#### Bug Fixes
18-
19-
- `#I554330` - Fixed an issue where the selected value was not being updated when invalid text was entered into the input field.
20-
- `#I553168` - Fixed an issue where setting presets with a specific time would initially work, but changing the preset would reset the time.
21-
22-
## 24.2.5 (2024-02-13)
23-
24-
### DatePicker
25-
26-
#### Bug Fixes
27-
28-
- `#I860067` - Resolved an issue where users were unable to focus on the Today button using the Tab key.
29-
30-
## 24.2.3 (2024-01-31)
31-
32-
### DateTimePicker
33-
34-
#### Bug Fixes
35-
36-
- `#I541657` - Fixed an issue where the change event in the DateTimePicker was firing after the first time losing focus when milliseconds were included.
37-
38-
## 24.1.47 (2024-01-23)
39-
40-
### DateRangePicker
41-
42-
#### Bug Fixes
43-
44-
- `#I528771` - Fixed an issue where the DateRangePicker in the `Malaysia` region was only returning a single value.
45-
46-
## 24.1.44 (2024-01-03)
47-
48-
### TimePicker
49-
50-
#### Bug Fixes
51-
52-
- `#I529252` - Fixed issue where changing the time in `EEE hh:mm a` format was affecting the day.
53-
54-
## 24.1.43 (2023-12-27)
55-
56-
### DateTimePicker
57-
58-
#### Bug Fixes
59-
60-
- `#I532039` - Fixed the issue where the focus was not being added when using the tab key to navigate through the dynamically enabled datetimepicker.
61-
625
## 19.3.46 (2021-10-19)
636

647
### TimePicker

components/calendars/package.json

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

+22-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,28 @@
22

33
## [Unreleased]
44

5-
## 24.2.9 (2024-03-06)
5+
## 25.1.35 (2024-03-15)
6+
7+
### Chart
8+
9+
#### Features
10+
11+
- `#I528518` - Now, it is possible to specify the dasharray for all types of striplines border, including vertical, horizontal, and segmented, in the chart.
12+
13+
### 3DCircularChart
14+
15+
The 3D Circular Chart provides a graphical representation of data in three dimensions, with each slice's size indicating its proportion relative to the entire dataset. Unlike traditional 2D charts, 3D charts add depth to visualization, providing a better understanding of data patterns.
16+
17+
18+
- **Series**: The 3D Circular Chart can plot pie and donut types.
19+
- **Data binding**: Bind the 3D Circular Chart component with an array of JSON objects or a data manager. In addition to chart series, data labels and tooltips can also be bound to the data.
20+
- **Data labels**: Annotate points with labels to improve the readability of data.
21+
- **Legends**: Provide additional information about points in a customizable and interactive legend.
22+
- **User interaction**: Add interactive features such as tooltips, rotation, tilt, data point highlight and selection.
23+
- **Print and Export**: Print a 3D Circular Chart directly from the browser and export it in JPEG and PNG formats.
24+
- **RTL**: The right-to-left mode aligns tooltips, legends, and data in the 3D Circular Chart component from right to left.
25+
26+
## 24.2.9 (2024-03-05)
627

728
### Chart
829

components/charts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-react-charts",
3-
"version": "24.2.8",
3+
"version": "20.22.1",
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",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
import * as React from 'react';
2+
import { CircularChart3D, CircularChart3DModel } from '@syncfusion/ej2-charts';
3+
import { ComponentBase, applyMixins, DefaultHtmlAttributes } from '@syncfusion/ej2-react-base';
4+
5+
6+
export interface CircularChart3DTypecast {
7+
tooltip?: any;
8+
}
9+
/**
10+
* Represents react Circular 3D chart Component
11+
* ```tsx
12+
* <CircularChart3DComponent></CircularChart3DComponent>
13+
* ```
14+
*/
15+
export class CircularChart3DComponent extends CircularChart3D {
16+
public state: Readonly<{ children?: React.ReactNode | React.ReactNode[] }>
17+
& Readonly<CircularChart3DModel | DefaultHtmlAttributes| CircularChart3DTypecast>;
18+
public setState: any;
19+
private getDefaultAttributes: Function;
20+
public initRenderCalled: boolean = false;
21+
private checkInjectedModules: boolean = true;
22+
public directivekeys: { [key: string]: Object } = {'circularChart3DSeriesCollection': 'circularChart3DSeries', 'circularChart3DSelectedDataIndexes': 'circularChart3DSelectedDataIndex'};
23+
private statelessTemplateProps: string[] = null;
24+
private templateProps: string[] = null;
25+
private immediateRender: boolean = false;
26+
public props: Readonly<{ children?: React.ReactNode | React.ReactNode[] }>
27+
& Readonly<CircularChart3DModel | DefaultHtmlAttributes| CircularChart3DTypecast>;
28+
public forceUpdate: (callBack?: () => any) => void;
29+
public context: Object;
30+
public portals: any = [];
31+
public isReactComponent: Object;
32+
public refs: {
33+
[key: string]: React.ReactInstance
34+
};
35+
constructor(props: any) {
36+
super(props);
37+
}
38+
39+
public render(): any {
40+
if (((this.element && !this.initRenderCalled) || this.refreshing) && !(this as any).isReactForeceUpdate) {
41+
super.render();
42+
this.initRenderCalled = true;
43+
} else {
44+
return React.createElement('div', this.getDefaultAttributes(),[].concat(this.props.children,this.portals));
45+
}
46+
47+
}
48+
}
49+
50+
applyMixins(CircularChart3DComponent, [ComponentBase, React.Component]);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export * from './series-directive';
2+
export * from './selecteddataindexes-directive';
3+
export * from './circularchart3d.component';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { ComplexBase } from '@syncfusion/ej2-react-base';
2+
import { IndexesModel } from '@syncfusion/ej2-charts';
3+
4+
5+
6+
export class CircularChart3DSelectedDataIndexDirective extends ComplexBase<IndexesModel & { children?: React.ReactNode }, IndexesModel> {
7+
public static moduleName: string = 'circularChart3DSelectedDataIndex';
8+
}
9+
10+
export class CircularChart3DSelectedDataIndexesDirective extends ComplexBase<{}, {}> {
11+
public static propertyName: string = 'selectedDataIndexes';
12+
public static moduleName: string = 'circularChart3DSelectedDataIndexes';
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import { ComplexBase } from '@syncfusion/ej2-react-base';
2+
import { CircularChart3DSeriesModel } from '@syncfusion/ej2-charts';
3+
4+
export interface CircularChart3DSeriesDirTypecast {
5+
dataLabel?: any;
6+
}
7+
/**
8+
* `CircularChart3DSeriesDirective` directive represent a series of the react Circular3D Chart.
9+
* It must be contained in a Pie component(`CircularChart3D`).
10+
* ```tsx
11+
* <CircularChart3DComponent>
12+
* <CircularChart3DSeriesCollectionDirective>
13+
* <CircularChart3DSeriesDirective></CircularChart3DSeriesDirective>
14+
* </CircularChart3DSeriesCollectionDirective>
15+
* </CircularChart3DComponent>
16+
* ```
17+
*/
18+
export class CircularChart3DSeriesDirective extends ComplexBase<CircularChart3DSeriesModel| CircularChart3DSeriesDirTypecast & { children?: React.ReactNode }, CircularChart3DSeriesModel| CircularChart3DSeriesDirTypecast> {
19+
public static moduleName: string = 'circularChart3DSeries';
20+
public static complexTemplate: Object = {'dataLabel.template': 'dataLabel.template'};
21+
}
22+
23+
export class CircularChart3DSeriesCollectionDirective extends ComplexBase<{}, {}> {
24+
public static propertyName: string = 'series';
25+
public static moduleName: string = 'circularChart3DSeriesCollection';
26+
}

components/charts/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ export * from './smithchart';
66
export * from './stock-chart';
77
export * from './bullet-chart';
88
export * from './chart3d';
9+
export * from './circularchart3d';
910
export { Inject } from '@syncfusion/ej2-react-base';
1011
export * from '@syncfusion/ej2-charts';

0 commit comments

Comments
 (0)