@ui5/webcomponents 1.2.5 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/Calendar.js +1 -1
- package/package.json +7 -7
- package/src/Calendar.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.2.6](https://github.com/SAP/ui5-webcomponents/compare/v1.2.5...v1.2.6) (2022-05-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ui5-calendar:** fix header month button text localization ([715818a](https://github.com/SAP/ui5-webcomponents/commit/715818a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [1.2.5](https://github.com/SAP/ui5-webcomponents/compare/v1.2.4...v1.2.5) (2022-05-17)
|
|
7
18
|
|
|
8
19
|
|
package/dist/Calendar.js
CHANGED
|
@@ -290,7 +290,7 @@ class Calendar extends CalendarPart {
|
|
|
290
290
|
|
|
291
291
|
const yearFormat = DateFormat.getDateInstance({ format: "y", calendarType: this.primaryCalendarType });
|
|
292
292
|
const localeData = getCachedLocaleDataInstance(getLocale());
|
|
293
|
-
this._headerMonthButtonText = localeData.
|
|
293
|
+
this._headerMonthButtonText = localeData.getMonthsStandAlone("wide", this.primaryCalendarType)[this._calendarDate.getMonth()];
|
|
294
294
|
|
|
295
295
|
if (this._currentPicker === "year") {
|
|
296
296
|
const rangeStart = new CalendarDate(this._calendarDate, this._primaryCalendarType);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.main",
|
|
5
5
|
"ui5": {
|
|
6
6
|
"webComponentsPackage": true
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"directory": "packages/main"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@ui5/webcomponents-base": "1.2.
|
|
46
|
-
"@ui5/webcomponents-icons": "1.2.
|
|
47
|
-
"@ui5/webcomponents-ie11": "1.2.
|
|
48
|
-
"@ui5/webcomponents-localization": "1.2.
|
|
49
|
-
"@ui5/webcomponents-theming": "1.2.
|
|
45
|
+
"@ui5/webcomponents-base": "1.2.6",
|
|
46
|
+
"@ui5/webcomponents-icons": "1.2.6",
|
|
47
|
+
"@ui5/webcomponents-ie11": "1.2.6",
|
|
48
|
+
"@ui5/webcomponents-localization": "1.2.6",
|
|
49
|
+
"@ui5/webcomponents-theming": "1.2.6"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@ui5/webcomponents-tools": "1.2.
|
|
52
|
+
"@ui5/webcomponents-tools": "1.2.6",
|
|
53
53
|
"chromedriver": "99.0.0"
|
|
54
54
|
}
|
|
55
55
|
}
|
package/src/Calendar.js
CHANGED
|
@@ -290,7 +290,7 @@ class Calendar extends CalendarPart {
|
|
|
290
290
|
|
|
291
291
|
const yearFormat = DateFormat.getDateInstance({ format: "y", calendarType: this.primaryCalendarType });
|
|
292
292
|
const localeData = getCachedLocaleDataInstance(getLocale());
|
|
293
|
-
this._headerMonthButtonText = localeData.
|
|
293
|
+
this._headerMonthButtonText = localeData.getMonthsStandAlone("wide", this.primaryCalendarType)[this._calendarDate.getMonth()];
|
|
294
294
|
|
|
295
295
|
if (this._currentPicker === "year") {
|
|
296
296
|
const rangeStart = new CalendarDate(this._calendarDate, this._primaryCalendarType);
|