Skip to content

Commit 783dcac

Browse files
author
pipeline
committed
v21.1.38 is released
1 parent ab44171 commit 783dcac

File tree

90 files changed

+228
-59
lines changed

Some content is hidden

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

90 files changed

+228
-59
lines changed

components/base/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 21.1.38 (2023-04-04)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- `#I432022` - The issue with "Grid sends multiple requests if the `childGrid` has events" has been resolved.
12+
513
## 21.1.37 (2023-03-29)
614

715
### Common

components/base/src/component-base.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ export class ComponentBase<P, S> extends React.Component<P, S> {
334334
let status: boolean = true;
335335
let lenSimilarity: boolean = (oldProps.length === newProps.length);
336336
let diffArray: Changes[] = [];
337+
var templateProps = !isNullOrUndefined(this['templateProps']) ? this['templateProps'] : [];
337338
if (lenSimilarity) {
338339
for (let i = 0, len = newProps.length; i < len; i++) {
339340
let curObj: { [key: string]: Object } = {};
@@ -354,7 +355,7 @@ export class ComponentBase<P, S> extends React.Component<P, S> {
354355
if (this.getModuleName()=== 'grid' && key === 'field') {
355356
curObj[`${key}`] = newValue;
356357
}
357-
if (!oldProp.hasOwnProperty(key) || !this.compareValues(oldValue, newValue)) {
358+
if (!oldProp.hasOwnProperty(key) || !((templateProps.length > 0 && templateProps.indexOf(`${key}`) === -1 && typeof(newValue) === 'function') ? this.compareValues(oldValue.toString(), newValue.toString()) : this.compareValues(oldValue, newValue))) {
358359
if (!propName) {
359360
return { status: false };
360361
}

components/buttons/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-
## 21.1.37 (2023-03-29)
5+
## 21.1.38 (2023-04-04)
66

77
### Checkbox
88

components/calendars/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-
## 21.1.37 (2023-03-29)
5+
## 21.1.38 (2023-04-04)
66

77
### DatePicker
88

components/calendars/src/calendar/calendar.component.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export class CalendarComponent extends Calendar {
1818
public initRenderCalled: boolean = false;
1919
private checkInjectedModules: boolean = true;
2020
private statelessTemplateProps: string[] = null;
21+
private templateProps: string[] = null;
2122
private immediateRender: boolean = true;
2223
public props: Readonly<{ children?: React.ReactNode | React.ReactNode[] }>
2324
& Readonly<CalendarModel & DefaultHtmlAttributes>;

components/calendars/src/datepicker/datepicker.component.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export class DatePickerComponent extends DatePicker {
1818
public initRenderCalled: boolean = false;
1919
private checkInjectedModules: boolean = true;
2020
private statelessTemplateProps: string[] = null;
21+
private templateProps: string[] = null;
2122
private immediateRender: boolean = true;
2223
public props: Readonly<{ children?: React.ReactNode | React.ReactNode[] }>
2324
& Readonly<DatePickerModel & DefaultHtmlAttributes>;

components/calendars/src/daterangepicker/daterangepicker.component.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export class DateRangePickerComponent extends DateRangePicker {
2222
private checkInjectedModules: boolean = false;
2323
public directivekeys: { [key: string]: Object } = {'presets': 'preset'};
2424
private statelessTemplateProps: string[] = null;
25+
private templateProps: string[] = null;
2526
private immediateRender: boolean = false;
2627
public props: Readonly<{ children?: React.ReactNode | React.ReactNode[] }>
2728
& Readonly<DateRangePickerModel & DefaultHtmlAttributes| DateRangePickerTypecast>;

components/calendars/src/datetimepicker/datetimepicker.component.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export class DateTimePickerComponent extends DateTimePicker {
1818
public initRenderCalled: boolean = false;
1919
private checkInjectedModules: boolean = true;
2020
private statelessTemplateProps: string[] = null;
21+
private templateProps: string[] = null;
2122
private immediateRender: boolean = true;
2223
public props: Readonly<{ children?: React.ReactNode | React.ReactNode[] }>
2324
& Readonly<DateTimePickerModel & DefaultHtmlAttributes>;

components/calendars/src/timepicker/timepicker.component.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export class TimePickerComponent extends TimePicker {
1818
public initRenderCalled: boolean = false;
1919
private checkInjectedModules: boolean = true;
2020
private statelessTemplateProps: string[] = null;
21+
private templateProps: string[] = null;
2122
private immediateRender: boolean = true;
2223
public props: Readonly<{ children?: React.ReactNode | React.ReactNode[] }>
2324
& Readonly<TimePickerModel & DefaultHtmlAttributes>;

components/charts/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 21.1.38 (2023-04-04)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I449076` - Data labels are now displayed properly in the HiloOpenClose chart.
12+
- `#I444669` - Line width of the series is now updating properly while using useState method.
13+
- `#I444557` - Legend is now rendering properly on the top position without overlapping with axis label.
14+
515
## 21.1.35 (2023-03-23)
616

717
### Chart

0 commit comments

Comments
 (0)