@odx/ui 4.0.2 → 4.2.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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @odx/ui
2
2
 
3
+ ## 4.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 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.
8
+
9
+ 1. Install new package: 'npm install @odx/angular-chart-js'
10
+ 2. Change the path if you already use 'ChartThemeModule' before: '@odx/angular/charts-config' => '@odx/angular-chart-js'.
11
+
12
+ ## 4.1.0
13
+
14
+ ### Minor Changes
15
+
16
+ - 14ccf72: Fix: Restored scrollable modals
17
+
3
18
  ## 4.0.2
4
19
 
5
20
  ### Patch Changes
package/core-theme.css CHANGED
@@ -5309,7 +5309,7 @@ html body .odx-fs-italic {
5309
5309
  border-radius: var(--odx-v-border-radius);
5310
5310
  display: flex;
5311
5311
  flex-direction: column;
5312
- height: 100%;
5312
+ max-height: calc(100dvh - var(--odx-modal-margin-y) - var(--odx-modal-margin-bottom));
5313
5313
  }
5314
5314
  .odx-modal--with-component .odx-modal__container > * {
5315
5315
  display: contents;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "4.0.2",
3
+ "version": "4.2.0",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "peerDependencies": {
@@ -30,7 +30,7 @@ $breakpoints: (
30
30
  $keys: get-breakpoint-names();
31
31
  $index: list.index($keys, $breakpoint);
32
32
 
33
- @return if($index < length($keys), list.nth($keys, $index + 1), null);
33
+ @return if($index < list.length($keys), list.nth($keys, $index + 1), null);
34
34
  }
35
35
 
36
36
  @function _get-min-value($breakpoint) {
@@ -91,7 +91,7 @@ $modal-padding: math.div(12, 24);
91
91
  border-radius: var(--odx-v-border-radius);
92
92
  display: flex;
93
93
  flex-direction: column;
94
- height: 100%;
94
+ max-height: calc(100dvh - var(--odx-modal-margin-y) - var(--odx-modal-margin-bottom));
95
95
 
96
96
  #{$root}--with-component & > * {
97
97
  display: contents;