@odx/ui 3.5.4 → 3.5.5

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,12 @@
1
1
  # @odx/ui
2
2
 
3
+ ## 3.5.5
4
+
5
+ ### Patch Changes
6
+
7
+ - fe01672: Fix avatar image overflow
8
+ - 7327b27: Remove avatar background if avatar image is present
9
+
3
10
  ## 3.5.4
4
11
 
5
12
  ### Patch Changes
package/core-theme.css CHANGED
@@ -2227,7 +2227,7 @@ html body .odx-fs-italic {
2227
2227
  justify-content: center;
2228
2228
  font-weight: var(--odx-typography-font-weight-medium);
2229
2229
  letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
2230
- overflow-x: clip;
2230
+ overflow: clip;
2231
2231
  text-overflow: ellipsis;
2232
2232
  white-space: nowrap;
2233
2233
  background-color: var(--blue-700-10);
@@ -2321,6 +2321,9 @@ html body .odx-fs-italic {
2321
2321
  .odx-avatar--rectangle {
2322
2322
  border-radius: var(--odx-v-border-radius-controls);
2323
2323
  }
2324
+ .odx-avatar:has(img) {
2325
+ background-color: transparent;
2326
+ }
2324
2327
  .odx-avatar img {
2325
2328
  height: 100%;
2326
2329
  left: 0;
@@ -2725,7 +2728,7 @@ html body .odx-fs-italic {
2725
2728
  color: var(--odx-area-header-title-color);
2726
2729
  }
2727
2730
  .odx-area-header__subtitle {
2728
- overflow-x: clip;
2731
+ overflow: clip;
2729
2732
  text-overflow: ellipsis;
2730
2733
  white-space: nowrap;
2731
2734
  color: var(--odx-area-header-subtitle-color);
@@ -3624,7 +3627,7 @@ html body .odx-fs-italic {
3624
3627
  user-select: none;
3625
3628
  }
3626
3629
  .odx-chip__content {
3627
- overflow-x: clip;
3630
+ overflow: clip;
3628
3631
  text-overflow: ellipsis;
3629
3632
  white-space: nowrap;
3630
3633
  }
@@ -4064,7 +4067,7 @@ html body .odx-fs-italic {
4064
4067
  padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
4065
4068
  }
4066
4069
  .odx-form-field:not(.odx-form-field--horizontal) .odx-form-field-label {
4067
- overflow-x: clip;
4070
+ overflow: clip;
4068
4071
  text-overflow: ellipsis;
4069
4072
  white-space: nowrap;
4070
4073
  }
@@ -4319,7 +4322,7 @@ html body .odx-fs-italic {
4319
4322
  }
4320
4323
  }
4321
4324
  .odx-header__title {
4322
- overflow-x: clip;
4325
+ overflow: clip;
4323
4326
  text-overflow: ellipsis;
4324
4327
  white-space: nowrap;
4325
4328
  }
@@ -4832,7 +4835,7 @@ html body .odx-fs-italic {
4832
4835
  padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.125);
4833
4836
  padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.0834);
4834
4837
  padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.0834);
4835
- overflow-x: clip;
4838
+ overflow: clip;
4836
4839
  text-overflow: ellipsis;
4837
4840
  white-space: nowrap;
4838
4841
  background-color: var(--odx-input-control-background-color);
@@ -4917,7 +4920,7 @@ html body .odx-fs-italic {
4917
4920
  align-items: center;
4918
4921
  font-weight: var(--odx-typography-font-weight-medium);
4919
4922
  letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
4920
- overflow-x: clip;
4923
+ overflow: clip;
4921
4924
  text-overflow: ellipsis;
4922
4925
  white-space: nowrap;
4923
4926
  background-color: transparent;
@@ -5736,7 +5739,7 @@ html body .odx-fs-italic {
5736
5739
  pointer-events: none;
5737
5740
  }
5738
5741
  .odx-rail-navigation-item__container {
5739
- overflow-x: clip;
5742
+ overflow: clip;
5740
5743
  text-overflow: ellipsis;
5741
5744
  white-space: nowrap;
5742
5745
  transition-delay: 0ms;
@@ -5881,7 +5884,7 @@ html body .odx-fs-italic {
5881
5884
  .odx-select__placeholder, .odx-select__value {
5882
5885
  padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
5883
5886
  padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
5884
- overflow-x: clip;
5887
+ overflow: clip;
5885
5888
  text-overflow: ellipsis;
5886
5889
  white-space: nowrap;
5887
5890
  flex: 1 1 auto;
@@ -6937,7 +6940,7 @@ html body .odx-fs-italic {
6937
6940
  display: inline-flex;
6938
6941
  }
6939
6942
  .odx-wizard-step__label {
6940
- overflow-x: clip;
6943
+ overflow: clip;
6941
6944
  text-overflow: ellipsis;
6942
6945
  white-space: nowrap;
6943
6946
  outline: var(--odx-v-outline-width) solid transparent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "3.5.4",
3
+ "version": "3.5.5",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "peerDependencies": {
@@ -30,7 +30,7 @@
30
30
  }
31
31
 
32
32
  @mixin prevent-text-overflow() {
33
- overflow-x: clip;
33
+ overflow: clip;
34
34
  text-overflow: ellipsis;
35
35
  white-space: nowrap;
36
36
  }
@@ -52,6 +52,10 @@
52
52
  border-radius: var(--odx-v-border-radius-controls);
53
53
  }
54
54
 
55
+ &:has(img) {
56
+ background-color: transparent;
57
+ }
58
+
55
59
  img {
56
60
  height: 100%;
57
61
  left: 0;