@odx/ui 2.10.0 → 2.10.1

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,11 @@
1
1
  ## 2.9.9
2
2
 
3
+ ## 2.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - a7e1493f: box-shadow color was updated for dark and light theme
8
+
3
9
  ## 2.10.0
4
10
 
5
11
  ### Minor Changes
@@ -8,6 +14,10 @@
8
14
 
9
15
  ### Patch Changes
10
16
 
17
+ - 0ded821a: border radius for toasts
18
+
19
+ ### Patch Changes
20
+
11
21
  - 469224e8: Update library dependencies
12
22
 
13
23
  ### Bug Fixes
package/core-theme.css CHANGED
@@ -5,6 +5,7 @@
5
5
  body {
6
6
  --white: #ffffff;
7
7
  --black: #00060f;
8
+ --black-20: rgba(0, 0, 0, 0.2);
8
9
  --white-5: rgba(255, 255, 255, 0.05);
9
10
  --white-60: rgba(255, 255, 255, 0.6);
10
11
  --gray-50: #f5f7fa;
@@ -91,6 +92,7 @@ body[odxTheme=dark], body.odx-theme-dark {
91
92
  --white: #293642;
92
93
  --white-dark: #060a12;
93
94
  --black: #ffffff;
95
+ --black-20: rgba(0, 0, 0, 0.6);
94
96
  --focus-bg: #284e68;
95
97
  --white-60: rgba(var(--white), 0.6);
96
98
  --gray-50: #2e3d49;
@@ -156,7 +158,7 @@ body {
156
158
  --odx-c-selection: var(--cyan-300);
157
159
  --odx-c-backdrop: var(--white-60);
158
160
  --odx-c-backdrop-dark: var(--blue-800-30);
159
- --odx-c-box-shadow: var(--blue-800-30);
161
+ --odx-c-box-shadow: var(--black-20);
160
162
  --odx-c-separator: var(--gray-200);
161
163
  --odx-c-background: var(--gray-50);
162
164
  --odx-c-background-content: var(--white);
@@ -2315,7 +2317,7 @@ html body .odx-fs-italic {
2315
2317
  .odx-dropdown {
2316
2318
  background-color: var(--odx-c-background-content);
2317
2319
  border-radius: var(--odx-v-border-radius);
2318
- box-shadow: var(--odx-v-box-shadow-layer-2);
2320
+ box-shadow: var(--odx-v-box-shadow-layer-1);
2319
2321
  display: block;
2320
2322
  min-height: inherit;
2321
2323
  }
@@ -2810,7 +2812,7 @@ body[odxTheme=dark], body.odx-theme-dark {
2810
2812
  align-items: center;
2811
2813
  background-color: var(--odx-bar-background-color);
2812
2814
  border-radius: calc(var(--odx-vertical-rythm-base-size) * 0.25);
2813
- box-shadow: 0 2px 6px rgba(0, 25, 66, 0.5);
2815
+ box-shadow: var(--odx-v-box-shadow-layer-1);
2814
2816
  color: var(--odx-bar-text-color);
2815
2817
  display: inline-flex;
2816
2818
  gap: calc(var(--odx-vertical-rythm-base-size) * 0.5);
@@ -5964,6 +5966,7 @@ body {
5964
5966
 
5965
5967
  .odx-toast-container {
5966
5968
  --odx-toast-outer-offset: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
5969
+ --odx-toast-border-radius: calc(var(--odx-vertical-rythm-base-size) * 0.25);
5967
5970
  display: flex;
5968
5971
  flex-direction: column;
5969
5972
  margin-top: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
@@ -5993,6 +5996,7 @@ body {
5993
5996
  --odx-c-warning: var(--yellow-50);
5994
5997
  --odx-c-danger: var(--red-00);
5995
5998
  --odx-c-success: var(--green-00);
5999
+ border-radius: var(--odx-toast-border-radius);
5996
6000
  box-shadow: var(--odx-v-box-shadow-layer-1);
5997
6001
  display: block;
5998
6002
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "2.10.0",
3
+ "version": "2.10.1",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "peerDependencies": {
@@ -27,7 +27,7 @@ body {
27
27
  align-items: center;
28
28
  background-color: var(--odx-bar-background-color);
29
29
  border-radius: dimensions.get-size(math.div(6, 24));
30
- box-shadow: 0 2px 6px rgb(0 25 66 / 50%);
30
+ box-shadow: var(--odx-v-box-shadow-layer-1);
31
31
  color: var(--odx-bar-text-color);
32
32
  display: inline-flex;
33
33
  gap: dimensions.get-size(math.div(12, 24));
@@ -6,7 +6,7 @@ $dropdown-open-selector: '.odx-dropdown-host[aria-expanded="true"]';
6
6
  .odx-dropdown {
7
7
  background-color: var(--odx-c-background-content);
8
8
  border-radius: var(--odx-v-border-radius);
9
- box-shadow: var(--odx-v-box-shadow-layer-2);
9
+ box-shadow: var(--odx-v-box-shadow-layer-1);
10
10
  display: block;
11
11
  min-height: inherit;
12
12
 
@@ -13,6 +13,7 @@
13
13
  $variants: default, warning, danger, success;
14
14
  $gap: dimensions.get-size(math.div(12, 24));
15
15
 
16
+ border-radius: var(--odx-toast-border-radius);
16
17
  box-shadow: var(--odx-v-box-shadow-layer-1);
17
18
  display: block;
18
19
 
@@ -5,6 +5,7 @@
5
5
 
6
6
  .odx-toast-container {
7
7
  --odx-toast-outer-offset: #{dimensions.get-size(math.div(8, 24))};
8
+ --odx-toast-border-radius: #{dimensions.get-size(math.div(6, 24))};
8
9
 
9
10
  display: flex;
10
11
  flex-direction: column;
@@ -5,6 +5,7 @@ body {
5
5
  --white: #293642;
6
6
  --white-dark: #060a12;
7
7
  --black: #ffffff;
8
+ --black-20: #{rgba(#000000, 60%)};
8
9
 
9
10
  --focus-bg: #284e68;
10
11
 
@@ -1,6 +1,7 @@
1
1
  body {
2
2
  --white: #ffffff;
3
3
  --black: #00060f;
4
+ --black-20: #{rgba(#000000, 20%)};
4
5
 
5
6
  --white-5: #{rgba(#ffffff, 5%)};
6
7
  --white-60: #{rgba(#ffffff, 60%)};
@@ -33,7 +33,7 @@ body {
33
33
  --odx-c-backdrop: var(--white-60);
34
34
  --odx-c-backdrop-dark: var(--blue-800-30);
35
35
 
36
- --odx-c-box-shadow: var(--blue-800-30);
36
+ --odx-c-box-shadow: var(--black-20);
37
37
 
38
38
  --odx-c-separator: var(--gray-200);
39
39