Skip to content

Commit 43ecd1e

Browse files
author
pipeline
committed
v23.1.41 is released
1 parent b91915e commit 43ecd1e

File tree

2,928 files changed

+457186
-1097
lines changed

Some content is hidden

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

2,928 files changed

+457186
-1097
lines changed

controls/base/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 23.1.41 (2023-10-17)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- The issue with the "Tooltip component displays empty string when setting content as '${}'" has been resolved.
12+
- `#I495294` - The issue with content sanitization in the tooltip component has been resolved
13+
- `#I504425` - Issue with date parser designator conversion has been fixed.
14+
- `#I503487` - The issue with the "action failure event argument is not displayed with full error details" has been resolved.
15+
516
## 23.1.38 (2023-09-26)
617

718
### Common

controls/base/releasenotes/README.md

Lines changed: 0 additions & 183 deletions
This file was deleted.

controls/base/spec/intl/date-parser.spec.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,30 @@ describe('DateParser', () => {
701701
);
702702
expect(ret.timeZone).toBe(-330)
703703
});
704+
it('The "PM" designator is converted to "pm" for en-GB to match parse option', () => {
705+
let ret: any = (DateParser as any).internalDateParse(
706+
'27/05/2017 11:00 PM',
707+
{
708+
culture:"en-GB",
709+
designator: { am: 'am', pm: 'pm'},
710+
evalposition: {
711+
day: { isNumber: true, pos: 1 },
712+
designator: { pos: 11 },
713+
hour: { isNumber: true, pos: 7 },
714+
minute: { isNumber: true, pos: 9 },
715+
month: { isNumber: true, pos: 3 },
716+
year: { isNumber: true, pos: 5 },
717+
},
718+
hour12: true,
719+
isIslamic: false,
720+
pattern: "dd/MM/y hh:mm a",
721+
// tslint:disable-next-line:max-line-length
722+
parserRegex: /^([0-9][0-9])([\D])([0-9][0-9])([\D])([0-9]{1,})([\D])([0-9][0-9])([\D])([0-9][0-9])([\D])(am|pm)$/i,
723+
},
724+
{ "numericPair": { "0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8, "9": 9 }, "numberParseRegex": /0|1|2|3|4|5|6|7|8|9/g, "numericRegex": "[0-9]" }
725+
);
726+
expect(ret.designator).toBe('pm');
727+
});
704728
it('internalDateParser timzone processing hour only', () => {
705729
let ret: any = (DateParser as any).internalDateParse(
706730
"November 4, 2016 at 2:30:22 PM GMT+5",

controls/base/src/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export class Fetch {
135135
return this.fetchResponse.then((response: Response) => {
136136
this.triggerEvent(this['onLoad'], response);
137137
if (!response.ok) {
138-
throw new Error(response.statusText);
138+
throw response;
139139
}
140140
let responseType: string = 'text';
141141
for (const key of Object.keys(contentTypes)) {

controls/base/src/intl/date-parser.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ export class DateParser {
369369
// eslint-disable-next-line
370370
matchString = ((prop === 'month') && (!(<any>parseOptions).isIslamic) && ((<any>parseOptions).culture === 'en' || (<any>parseOptions).culture === 'en-GB' || (<any>parseOptions).culture === 'en-US'))
371371
? matchString[0].toUpperCase() + matchString.substring(1).toLowerCase() : matchString;
372+
matchString = ((prop !== 'month') && (prop === 'designator') && (<any>parseOptions).culture === 'en-GB') ? matchString.toLowerCase() : matchString;
372373
// eslint-disable-next-line
373374
(<any>retOptions)[prop] = (<any>parseOptions)[prop][matchString];
374375
}

controls/base/src/template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ function evalExp(str: string, nameSpace: string, helper?: Object, ignorePrefix?:
223223
// evaluate normal expression
224224
cnt = cnt !== '' ? '"+' + addNameSpace(
225225
cnt.replace(/,/gi, '+' + nameSpace + '.'),
226-
(localKeys.indexOf(cnt) === -1), nameSpace, localKeys, ignorePrefix) + '+"' : ' ';
226+
(localKeys.indexOf(cnt) === -1), nameSpace, localKeys, ignorePrefix) + '+"' : '${}';
227227
}
228228
}
229229
return cnt;

controls/base/themestudio/styles/pivotview/pivotview/_theme.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@
9292
@if($skin-name == 'bootstrap5') {
9393
border-bottom-color: $border-light;
9494
}
95+
96+
table th[rowspan = '1'] {
97+
padding-bottom: 0;
98+
padding-top: 0;
99+
vertical-align: middle;
100+
}
95101
}
96102

97103
.e-gtot {
@@ -337,11 +343,6 @@
337343
@if($skin-name == 'tailwind') or ($skin-name == 'tailwind-dark') {
338344
text-transform: none;
339345
}
340-
341-
@if($skin-name == 'bootstrap5') or ($skin-name == 'FluentUI') or ($skin-name == 'tailwind') or ($skin-name == 'Material3') {
342-
padding-top: 0px !important;
343-
padding-bottom: 0px !important;
344-
}
345346
}
346347

347348
.sf-grid .e-spinner-pane {

controls/calendars/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 23.1.41 (2023-10-17)
6+
7+
### DateRangePicker
8+
9+
#### Bug Fixes
10+
11+
- `#I506617` - Fixed issue where the previous and next icons were displaying incorrectly in the Fluent Theme.
12+
13+
### DateTimePicker
14+
15+
#### Bug Fixes
16+
17+
- `#I504425` - Fixed an issue where typing "pm" and then focusing out would convert the "pm" extension to "am". This issue has been resolved.
18+
519
## 19.3.46 (2021-10-19)
620

721
### TimePicker

controls/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-calendars",
3-
"version": "23.1.38",
3+
"version": "23.1.40",
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.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/calendars/styles/daterangepicker/_fluent-definition.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,3 +303,20 @@ $modal-range-header-text-color: $content-bg-color !default;
303303
$modal-range-tablet-font-size: 18px !default;
304304

305305
$range-header-font-size: 16px !default;
306+
307+
.e-daterangepicker.e-popup .e-calendar .e-header .e-title {
308+
width: 65%;
309+
}
310+
311+
.e-daterangepicker.e-popup.e-small .e-calendar .e-header .e-title {
312+
width: 61%;
313+
}
314+
315+
.e-daterangepicker.e-popup.e-bigger .e-calendar .e-header .e-title,
316+
.e-daterangepicker.e-popup.e-device .e-calendar .e-header .e-title {
317+
width: 72%;
318+
}
319+
320+
.e-daterangepicker.e-popup.e-bigger.e-small .e-calendar .e-header .e-title {
321+
width: 70%;
322+
}

controls/calendars/styles/daterangepicker/_layout.scss

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@
111111
#{if(&, '&', '*')} .e-title {
112112
cursor: $range-cursor-pointer-style;
113113
line-height: $range-normal-nav-icon-height;
114-
width: $range-control-header-width;
115114
@if ($skin-name != 'FluentUI') {
115+
width: $range-control-header-width;
116116
float: $range-float-none;
117117
font-weight: $range-font-weight-normal;
118118
margin-left: $range-value-zero;
@@ -126,12 +126,13 @@
126126
}
127127
}
128128
#{if(&, '&', '*')} .e-next {
129-
float: $range-float-right;
129+
@if ($skin-name != 'FluentUI') {
130+
float: $range-float-right;
131+
}
130132
}
131133
#{if(&, '&', '*')} .e-prev {
132-
float: $range-float-left;
133-
@if ($skin-name == 'FluentUI') {
134-
float: $range-float-right;
134+
@if ($skin-name != 'FluentUI') {
135+
float: $range-float-left;
135136
}
136137
}
137138
#{if(&, '&', '*')} .e-next,
@@ -275,7 +276,9 @@
275276
float: $range-float-left;
276277
}
277278
#{if(&, '&', '*')} .e-prev {
278-
float: $range-float-right;
279+
@if ($skin-name != 'FluentUI') {
280+
float: $range-float-right;
281+
}
279282
}
280283
#{if(&, '&', '*')} .e-start-date.e-selected.e-range-hover {
281284
border-radius: $range-hover-end-radius;

controls/calendars/themestudio/styles/calendars/daterangepicker/_fluent-definition.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,3 +303,20 @@ $modal-range-header-text-color: $content-bg-color !default;
303303
$modal-range-tablet-font-size: 18px !default;
304304

305305
$range-header-font-size: 16px !default;
306+
307+
.e-daterangepicker.e-popup .e-calendar .e-header .e-title {
308+
width: 65%;
309+
}
310+
311+
.e-daterangepicker.e-popup.e-small .e-calendar .e-header .e-title {
312+
width: 61%;
313+
}
314+
315+
.e-daterangepicker.e-popup.e-bigger .e-calendar .e-header .e-title,
316+
.e-daterangepicker.e-popup.e-device .e-calendar .e-header .e-title {
317+
width: 72%;
318+
}
319+
320+
.e-daterangepicker.e-popup.e-bigger.e-small .e-calendar .e-header .e-title {
321+
width: 70%;
322+
}

0 commit comments

Comments
 (0)