@odx/angular 12.16.0 → 12.17.0
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 +6 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @odx/angular
|
|
2
2
|
|
|
3
|
+
## 12.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 53d31be: Project minor dependencies update
|
|
8
|
+
|
|
3
9
|
## 12.16.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -419,7 +425,6 @@
|
|
|
419
425
|
### Major Changes
|
|
420
426
|
|
|
421
427
|
- c42ff73: New 'angular-chart-js' library for chart-js customization. Please note that '@odx/angular/charts-config' has been removed from the '@odx/angular' library and you should install '@odx/angular-chart-js' and change the path in the 'ChartThemeModule' import.
|
|
422
|
-
|
|
423
428
|
1. Install new package: 'npm install @odx/angular-chart-js'
|
|
424
429
|
2. Change the path if you already use 'ChartThemeModule' before: '@odx/angular/charts-config' => '@odx/angular-chart-js'.
|
|
425
430
|
|
|
@@ -530,7 +535,6 @@
|
|
|
530
535
|
### Major Changes
|
|
531
536
|
|
|
532
537
|
- a931064: Breaking changes:
|
|
533
|
-
|
|
534
538
|
- The CalendarComponent no longer uses date-fns for providing translated months and weekdays names. This is because previously, in order to configure the CalendarComponent, the developer was forced to use date-fns types, which required to have date-fns installed.
|
|
535
539
|
- Configuration options of CalendarComponent were reduced. Properties such as monthYearLabel, monthLabel, weekLabel, dayLabel, yearLabel, dayA11yLabel, monthA11yLabel, yearA11yLabel and locale are no longer available. Now instead of adjusting unreasonable number of formatting options, the developer just sets the language through LocalizationService and the native Intl.DateTimeFormat() gets the right translations in right locale and format internally. So in order to use translated version of the CalendarComponent, call localizationService.setActiveLanguage() method with valid and available language code.
|
|
536
540
|
- Simplified approach to LocalizationService. Fields availableLocales, defaultLocale and methods getActiveLocale() and setActiveLocale() are no longer available and should be substituted with availableLanguages, defaultLanguage, getActiveLanguage() and setActiveLanguage(). It's up to developer to supply either language subcode ('en'), or language with specified region ('en-US'). Both are treated as same locale with or without information about the region (which can obviously have an impact on label formatting appearance). It also goes for 'availableLanguages' configuration property, which can hold variously represented language codes, in example: ['en-US', 'en-GB', 'en', 'fr', 'de-DE']. Internally, LocalizationService also uses the Intl.Locale features.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odx/angular",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.17.0",
|
|
4
4
|
"author": "Drägerwerk AG & Co.KGaA",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -412,18 +412,18 @@
|
|
|
412
412
|
"esm": "./esm2022/components/rich-list/odx-angular-components-rich-list.mjs",
|
|
413
413
|
"default": "./fesm2022/odx-angular-components-rich-list.mjs"
|
|
414
414
|
},
|
|
415
|
-
"./components/search-bar": {
|
|
416
|
-
"types": "./components/search-bar/index.d.ts",
|
|
417
|
-
"esm2022": "./esm2022/components/search-bar/odx-angular-components-search-bar.mjs",
|
|
418
|
-
"esm": "./esm2022/components/search-bar/odx-angular-components-search-bar.mjs",
|
|
419
|
-
"default": "./fesm2022/odx-angular-components-search-bar.mjs"
|
|
420
|
-
},
|
|
421
415
|
"./components/select": {
|
|
422
416
|
"types": "./components/select/index.d.ts",
|
|
423
417
|
"esm2022": "./esm2022/components/select/odx-angular-components-select.mjs",
|
|
424
418
|
"esm": "./esm2022/components/select/odx-angular-components-select.mjs",
|
|
425
419
|
"default": "./fesm2022/odx-angular-components-select.mjs"
|
|
426
420
|
},
|
|
421
|
+
"./components/search-bar": {
|
|
422
|
+
"types": "./components/search-bar/index.d.ts",
|
|
423
|
+
"esm2022": "./esm2022/components/search-bar/odx-angular-components-search-bar.mjs",
|
|
424
|
+
"esm": "./esm2022/components/search-bar/odx-angular-components-search-bar.mjs",
|
|
425
|
+
"default": "./fesm2022/odx-angular-components-search-bar.mjs"
|
|
426
|
+
},
|
|
427
427
|
"./components/slider": {
|
|
428
428
|
"types": "./components/slider/index.d.ts",
|
|
429
429
|
"esm2022": "./esm2022/components/slider/odx-angular-components-slider.mjs",
|