Skip to content

Commit 543d88e

Browse files
author
pipeline
committed
v24.2.8 is released
1 parent 75a5291 commit 543d88e

File tree

166 files changed

+3566
-1154
lines changed

Some content is hidden

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

166 files changed

+3566
-1154
lines changed

controls/barcodegenerator/CHANGELOG.md

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

33
## [Unreleased]
44

5-
## 24.2.7 (2024-02-20)
5+
## 24.2.8 (2024-02-27)
66

77
### Barcode
88

controls/base/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-base",
3-
"version": "24.2.5",
3+
"version": "24.2.7",
44
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/base/releasenotes/README.md

+183
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
# Release Notes Guidelines
2+
3+
This section contains guidelines on naming files, sections and other document elements.
4+
5+
> **If there is no changes in product, you don't need to mention that in Release Notes.**
6+
7+
## Encoding Format
8+
9+
All Release Notes files should be saved in **Encoding in UTF-8 (Without BOM)** format. You can use Notepad++ to verify the encoding.
10+
11+
![Encoding.png](https://bitbucket.org/repo/j57Gz9/images/2199960455-Encoding.png)
12+
13+
## Release Notes Folder Hierarchy
14+
15+
* Platform [Folder]
16+
* ----ReleaseNotes [Folder]
17+
* --------v13.3.x.x [Folder]
18+
* ------------Control1.md
19+
* ------------Control2.md
20+
* ------------Control3.md
21+
* --------v13.4.x.x [Folder]
22+
* ------------Control1.md
23+
* ------------Control2.md
24+
* ------------Control3.md
25+
26+
### How to write Release Notes?
27+
28+
* Each release markdown files should reside under corresponding version folder in their platform.
29+
* Each product release notes should be created in separate file name.
30+
* File name should be same as the product name.
31+
32+
> **NOTE**: Please do not add any Front Matter information in Release Notes files.
33+
34+
## Markdown File Structure
35+
36+
Each markdown file should have following items.
37+
38+
* Control Name
39+
* Features
40+
* Bug fixes
41+
* Braking Changes
42+
* Known Issues
43+
44+
> Do not add any front matter(triple dashed line) in this markdown.
45+
46+
### Control Name
47+
48+
Control Name should be with prefix `##`. This will be rendered as `H2` in html file.
49+
50+
#### Syntax
51+
52+
```
53+
## <Control-Name>
54+
```
55+
56+
#### Example
57+
58+
```
59+
## ejAccrodion
60+
```
61+
62+
### Features
63+
64+
* Each features should be written in unordered list.
65+
* Feature header should have id in the following format `<control-name>-features`. All characters in **id should be written in lower case.**
66+
67+
#### Syntax
68+
69+
```
70+
### Features
71+
{:#<control-name>-features}
72+
73+
* \#1 - Feature Info
74+
* \#2 - Feature Info
75+
* \#3 - Feature Info
76+
```
77+
78+
#### Example
79+
80+
```
81+
### Features
82+
{:#ejaccordion-features}
83+
84+
* \#140303 - Accordion provides option to add new items dynamically by using the `addItem` method
85+
* \#140303 - Accordion provides option to add new items dynamically by using the `addItem` method
86+
* \#140303, \#140304 - Accordion provides option to add new items dynamically by using the `addItem` method
87+
```
88+
89+
> **NOTE:**
90+
> * In markdown `#` used to represent headers.
91+
> * By default it will be converted as HTML headers.
92+
> * To display the `#` in html, please use escape sequences [See above example].
93+
94+
### Bug Fixes
95+
96+
* Each bug fix should be written in unordered list.
97+
* Bug fixes header should have id in the following format `<control-name>-bug-fixes`. All characters in **id should be written in lower case.**
98+
99+
#### Syntax
100+
101+
```
102+
### Bug fixes
103+
{:#<control-name-in-lower-case>-bug-fixes}
104+
105+
* \#1 - Bug Fix
106+
* \#2 - Bug Fix
107+
* \#3 - Bug Fix
108+
```
109+
110+
#### Example
111+
112+
```
113+
### Bug Fixes
114+
{:#ejaccordion-bug-fixes}
115+
116+
* \#140303 - Accordion provides option to add new items dynamically by using the `addItem` method
117+
* \#140303 - Accordion provides option to add new items dynamically by using the `addItem` method
118+
* \#140303, \#140304 - Accordion provides option to add new items dynamically by using the `addItem` method
119+
```
120+
121+
> **NOTE:**
122+
> * In markdown `#` used to represent headers.
123+
> * By default it will be converted as HTML headers.
124+
> * To display the `#` in html, please use escape sequences [See above example].
125+
126+
### Breaking Changes
127+
128+
* Each breaking changes should be written in unordered list.
129+
* Breaking changes header should have id in the following format `<control-name>-breaking-changes`. All characters in **id should be written in lower case.**
130+
131+
```
132+
### Breaking Changes
133+
{:#<control-name>-breaking-changes}
134+
135+
* * Breaking Change 1
136+
* * Breaking Change 2
137+
* * Breaking Change 3
138+
```
139+
140+
#### Example
141+
142+
```
143+
### Breaking Changes
144+
{:#ejaccordion-breaking-changes}
145+
146+
* Now, Circular series end angle will not be adjusted based on the start angle, so the output will be like semi-circle instead of full circle. In order to render the complete circular series with customized start angle, you have to add the start angle value to end angle property now. This break will occur only if you have specified startAngle already
147+
```
148+
149+
> **NOTE:**
150+
> * In markdown `#` used to represent headers.
151+
> * By default it will be converted as HTML headers.
152+
> * To display the `#` in html, please use escape sequences [See above example].
153+
154+
## Incidents and Forums in Release notes
155+
156+
We can represent the Incident ID with I and F for forums in release notes MD files
157+
158+
#### Example
159+
160+
161+
```
162+
## ChromelessWindow
163+
164+
### Bug Fixes
165+
{:#chromelesswindow-bug-fixes}
166+
167+
* \#I336220 - When using `ShowDialog` on a `RibbonWindow`, a `NullReferenceException` will no longer occur.
168+
* \#F166385 - The gap between the bottom of the window and the `TaskBar` is now properly maintained.
169+
170+
```
171+
172+
This is published in the page : https://help.syncfusion.com/wpf/release-notes/v19.3.0.43?type=all#chromelesswindow
173+
174+
175+
## Commit
176+
177+
Same workflow for User Guide applicable to this repository. All the changes needs to be committed in `development` branch.
178+
179+
## Preview Changes
180+
181+
All the changes will be included with User Guide automation and published in Staging Documentation machine.
182+
183+
<http://115.249.201.211:9090>

controls/buttons/CHANGELOG.md

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

33
## [Unreleased]
44

5-
## 24.2.7 (2024-02-20)
5+
## 24.2.8 (2024-02-27)
66

77
### Button
88

controls/calendars/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
## [Unreleased]
44

5+
## 24.2.8 (2024-02-27)
6+
7+
### DateRangePicker
8+
9+
#### Bug Fixes
10+
11+
- `#I554330` - Fixed an issue where the selected value was not being updated when invalid text was entered into the input field.
12+
13+
- `#I553168` - Fixed an issue where setting presets with a specific time would initially work, but changing the preset would reset the time.
14+
515
## 24.2.5 (2024-02-13)
616

717
### DatePicker

controls/calendars/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@syncfusion/ej2-popups": "*"
1616
},
1717
"devDependencies": {
18+
"@syncfusion/ej2-staging": "^1.0.1",
1819
"@types/chai": "^3.4.28",
1920
"@types/es6-promise": "0.0.28",
2021
"@types/jasmine": "2.8.9",

controls/calendars/src/daterangepicker/daterangepicker.ts

+8-12
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ export class DateRangePicker extends CalendarBase {
256256
protected touchRangeModule: Touch;
257257
protected touchRangeStart: boolean;
258258
protected iconRangeRight: string;
259-
private isKeyPressed: boolean = false;
260259

261260
/**
262261
* Gets or sets the start and end date of the Calendar.
@@ -1061,7 +1060,6 @@ export class DateRangePicker extends CalendarBase {
10611060
EventHandler.add(this.inputElement, 'focus', this.inputFocusHandler, this);
10621061
EventHandler.add(this.inputElement, 'blur', this.inputBlurHandler, this);
10631062
EventHandler.add(this.inputElement, 'change', this.inputChangeHandler, this);
1064-
EventHandler.add(this.inputElement, 'keyup', this.keyupHandler, this);
10651063
if (this.showClearButton && this.inputWrapper.clearButton) {
10661064
EventHandler.add(this.inputWrapper.clearButton, 'mousedown', this.resetHandler, this);
10671065
}
@@ -1089,7 +1087,6 @@ export class DateRangePicker extends CalendarBase {
10891087
EventHandler.remove(this.inputElement, 'blur', this.inputBlurHandler);
10901088
EventHandler.remove(this.inputElement, 'focus', this.inputFocusHandler);
10911089
EventHandler.remove(this.inputElement, 'change', this.inputChangeHandler);
1092-
EventHandler.remove(this.inputElement, 'keyup', this.keyupHandler);
10931090
if (this.showClearButton && this.inputWrapper.clearButton) {
10941091
EventHandler.remove(this.inputWrapper.clearButton, 'mousedown touchstart', this.resetHandler);
10951092
}
@@ -1347,8 +1344,8 @@ export class DateRangePicker extends CalendarBase {
13471344
const startDate: Date = this.presetsItem[i as number].start as Date;
13481345
const endDate: Date = this.presetsItem[i as number].end as Date;
13491346
if (this.startValue && this.endValue) {
1350-
if ((+new Date(startDate.setHours(0, 0, 0, 0)) === +new Date(this.startValue.setHours(0, 0, 0, 0))) &&
1351-
(+new Date(endDate.setHours(0, 0, 0, 0)) === +new Date(this.endValue.setHours(0, 0, 0, 0)))) {
1347+
if(startDate.getDate() == this.startValue.getDate() && startDate.getMonth() == this.startValue.getMonth() && startDate.getFullYear() == this.startValue.getFullYear()
1348+
&& endDate.getDate() == this.endValue.getDate() && endDate.getMonth() == this.endValue.getMonth() && endDate.getFullYear() == this.endValue.getFullYear()) {
13521349
this.activeIndex = i;
13531350
this.isCustomRange = false;
13541351
}
@@ -3247,9 +3244,6 @@ export class DateRangePicker extends CalendarBase {
32473244
this.startButton.element.classList.add(ACTIVE);
32483245
}
32493246
}
3250-
private keyupHandler(e: KeyboardEventArgs): void {
3251-
this.isKeyPressed = (this.inputElement.value !== this.previousEleValue) ? true : false;
3252-
}
32533247
private applyFunction(eve?: MouseEvent | KeyboardEventArgs): void {
32543248
let isValueChanged: boolean = false;
32553249
if (eve.type !== 'touchstart') {
@@ -3272,13 +3266,15 @@ export class DateRangePicker extends CalendarBase {
32723266
eve.preventDefault();
32733267
}
32743268
if (!isNullOrUndefined(this.startValue) && !isNullOrUndefined(this.endValue)) {
3269+
if (!(this.previousStartValue && this.previousEndValue && this.startValue.getDate() == this.previousStartValue.getDate() && this.startValue.getMonth() == this.previousStartValue.getMonth() &&
3270+
this.startValue.getFullYear() == this.previousStartValue.getFullYear()
3271+
&& this.endValue.getDate() == this.previousEndValue.getDate() && this.endValue.getMonth() == this.previousEndValue.getMonth()
3272+
&& this.endValue.getFullYear() == this.previousEndValue.getFullYear())) {
3273+
Input.setValue(this.rangeArgs(eve).text, this.inputElement, this.floatLabelType, this.showClearButton);
3274+
}
32753275
this.previousStartValue = new Date(+this.startValue);
32763276
this.previousEndValue = new Date(+this.endValue);
32773277
this.previousEleValue = this.inputElement.value;
3278-
if(!this.isKeyPressed){
3279-
Input.setValue(this.rangeArgs(eve).text, this.inputElement, this.floatLabelType, this.showClearButton);
3280-
}
3281-
this.isKeyPressed = false;
32823278
if (+this.initStartDate !== +this.startValue || +this.initEndDate !== +this.endValue) {
32833279
isValueChanged = true;
32843280
}

controls/calendars/src/maskbase/masked-date-time.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ export class MaskedDateTime {
382382
{
383383
let year: number = (this.isYearPart && (newDateValue.getFullYear().toString().length < 4
384384
&& !this.isShortYear) ? newDateValue.getFullYear() * 10 : 0) + parseInt(newVal[start - 1], 10);
385+
let yearValue: number = (this.dateformat.match(/y/g) || []).length;
385386
this.isShortYear = false;
386387
this.isYearZero = (newVal[start - 1] === '0' );
387388
if (isNaN(year)) {
@@ -394,7 +395,7 @@ export class MaskedDateTime {
394395
this.isYearPart = false;
395396
} else {
396397
newDateValue.setFullYear(year);
397-
if (year.toString().length === 4)
398+
if (year.toString().length === yearValue)
398399
{
399400
this.isNavigate = true;
400401
}
@@ -578,9 +579,6 @@ export class MaskedDateTime {
578579
case 'yy':
579580
result = proxy.isYearPart ? proxy.roundOff(proxy.maskDateValue.getFullYear() % 100, 2) : proxy.defaultConstant['year'].toString();
580581
result = proxy.zeroCheck(proxy.isYearZero , proxy.isYearPart , result );
581-
if (proxy.isYearPart) {
582-
proxy.isNavigate = proxy.isShortYear = (proxy.maskDateValue.getFullYear() % 100).toString().length === 2;
583-
}
584582
break;
585583
case 'y':
586584
case 'yyyy':

controls/charts/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
## [Unreleased]
44

5+
## 24.2.8 (2024-02-27)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#T553171` - Now the center label is aligned properly when increasing the font size.
12+
- `#I548552` - The y-axis now dynamically changes based on the current visible points when zooming.
13+
514
## 24.2.7 (2024-02-20)
615

716
### Chart

controls/charts/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-charts",
3-
"version": "24.2.5",
3+
"version": "24.2.7",
44
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",
@@ -14,6 +14,7 @@
1414
"@syncfusion/ej2-svg-base": "*"
1515
},
1616
"devDependencies": {
17+
"@syncfusion/ej2-staging": "^1.0.1",
1718
"@types/chai": "^3.4.28",
1819
"@types/es6-promise": "0.0.28",
1920
"@types/jasmine": "2.8.9",

0 commit comments

Comments
 (0)