Skip to content

Commit 5ef5c5c

Browse files
author
pipeline
committed
v32.1.23 is released
1 parent 342f114 commit 5ef5c5c

File tree

156 files changed

+2598
-3067
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

+2598
-3067
lines changed

controls/barcodegenerator/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-
## 32.1.22 (2026-01-06)
5+
## 32.1.23 (2026-01-13)
66

77
### Barcode
88

controls/base/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 32.1.23 (2026-01-13)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- `#I798285` - Resolved an issue where the Time Picker control became read-only when switching the culture to Traditional Chinese.
12+
- `#I798573` - Resolved Date Parsing Error Where "01/01/0001" Was Incorrectly Normalized to "01/01/2001" in DatePicker
13+
514
## 32.1.19 (2025-12-16)
615

716
### Common

controls/base/releasenotes/README.md

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

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { IntlBase as base, setDateFormat } from './intl-base';
55
import { isUndefined, throwError, getValue, isBlazor } from '../util';
66
import { HijriParser } from '../hijri-parser';
77
import { isNullOrUndefined, extend } from '../util';
8-
const abbreviateRegexGlobal: RegExp = /\/MMMMM|MMMM|MMM|a|LLLL|LLL|EEEEE|EEEE|E|K|cccc|ccc|WW|W|G+|z+/gi;
8+
const abbreviateRegexGlobal: RegExp = /\/MMMMM|MMMM|MMM|a|B|LLLL|LLL|EEEEE|EEEE|E|K|cccc|ccc|WW|W|G+|z+/gi;
99
const standalone: string = 'stand-alone';
1010
const weekdayKey: string[] = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat'];
1111
export const basicPatterns: string[] = ['short', 'medium', 'long', 'full'];
@@ -48,6 +48,7 @@ export const datePartMatcher: { [key: string]: Object } = {
4848
's': 'second',
4949
'L': 'month',
5050
'a': 'designator',
51+
'B': 'designator',
5152
'z': 'timeZone',
5253
'Z': 'timeZone',
5354
'G': 'era',
@@ -120,6 +121,10 @@ export class DateFormat {
120121
formatOptions.designator = isBlazor() ?
121122
getValue('dayPeriods', dateObject) : getValue('dayPeriods.format.wide', dateObject);
122123
break;
124+
case 'B':
125+
formatOptions.designator = isBlazor() ?
126+
getValue('dayPeriods', dateObject) : getValue('dayPeriods.format.wide', dateObject);
127+
break;
123128
case 'G': {
124129
const eText: string = (len <= 3) ? 'eraAbbr' : (len === 4) ? 'eraNames' : 'eraNarrow';
125130
formatOptions.era = isBlazor() ? getValue('eras', dateObject) : getValue('eras.' + eText, dependable.dateObject);
@@ -218,6 +223,11 @@ export class DateFormat {
218223
ret += (<any>options).designator[`${desig}`];
219224
break;
220225
}
226+
case 'B': {
227+
const desigs: string = value.getHours() < 12 ? 'am' : 'pm';
228+
ret += (<any>options).designator[`${desigs}`];
229+
break;
230+
}
221231
case 'G': {
222232
const dec: number = value.getFullYear() < 0 ? 0 : 1;
223233
let retu: string = (<any>options).era[`${dec}`];

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,15 @@ export class DateParser {
258258
const tzone: number = options.timeZone;
259259
if (!isUndefined(y)) {
260260
const len: number = (y + '').length;
261-
if (len <= 2) {
261+
const typedYearString: string = (options as any).typedYearString || '';
262+
const isPaddedAncientYear: boolean = /^0{2,3}\d{1,2}$/.test(typedYearString);
263+
if (len <= 2 && !isPaddedAncientYear) {
262264
const century: number = Math.floor(res.getFullYear() / 100) * 100;
263265
y += century;
264266
}
267+
if (isPaddedAncientYear) {
268+
return null;
269+
}
265270
res.setFullYear(y);
266271
}
267272
for (const key of tKeys) {
@@ -339,6 +344,9 @@ export class DateParser {
339344
let matchString: string = matches[curObject.pos];
340345
if (curObject.isNumber) {
341346
(<any>retOptions)[`${prop}`] = this.internalNumberParser(matchString, num);
347+
if (prop === 'year' && !isNullOrUndefined(matchString)) {
348+
(retOptions as any).typedYearString = matchString.trim();
349+
}
342350
} else {
343351
if (prop === 'timeZone' && !isUndefined(matchString)) {
344352
const pos: number = curObject.pos;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export namespace IntlBase {
5858
const fractionRegex: RegExp = /[0-9]/g;
5959
export const defaultCurrency: string = '$';
6060
const mapper: string[] = ['infinity', 'nan', 'group', 'decimal'];
61-
const patternRegex: RegExp = /G|M|L|H|c|'| a|yy|y|EEEE|E/g;
61+
const patternRegex: RegExp = /G|M|L|H|c|'| a|B|yy|y|EEEE|E/g;
6262
const patternMatch: Object = {
6363
'G': '',
6464
'M': 'm',
@@ -67,6 +67,7 @@ export namespace IntlBase {
6767
'c': 'd',
6868
'\'': '"',
6969
' a': ' AM/PM',
70+
'B': 'AM/PM',
7071
'yy': 'yy',
7172
'y': 'yyyy',
7273
'EEEE': 'dddd',

controls/blockeditor/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-
## 32.1.22 (2026-01-06)
5+
## 32.1.23 (2026-01-13)
66

77
### Block Editor
88

controls/blockeditor/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@
1010
"typings": "index.d.ts",
1111
"dependencies": {
1212
"@syncfusion/ej2-base": "*",
13+
"@syncfusion/ej2-buttons": "*",
1314
"@syncfusion/ej2-dropdowns": "*",
15+
"@syncfusion/ej2-inputs": "*",
16+
"@syncfusion/ej2-lists": "*",
17+
"@syncfusion/ej2-navigations": "*",
18+
"@syncfusion/ej2-notifications": "*",
19+
"@syncfusion/ej2-popups": "*",
20+
"@syncfusion/ej2-splitbuttons": "*",
1421
"markdown-spellcheck": "^1.3.1"
1522
},
1623
"devDependencies": {

controls/buttons/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+
## 32.1.23 (2026-01-13)
6+
7+
### Button
8+
9+
#### Bug Fixes
10+
11+
- `#I795532` - The issue with "Button font-weight in Fluent2 not proper" has now been fixed.
12+
513
## 32.1.19 (2025-12-16)
614

715
### Chip

controls/buttons/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-buttons",
3-
"version": "32.1.19",
3+
"version": "32.1.21",
44
"description": "A package of feature-rich Essential JS 2 components such as Button, CheckBox, RadioButton and Switch.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

0 commit comments

Comments
 (0)