@odx/ui 3.5.4 → 3.5.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @odx/ui
2
2
 
3
+ ## 3.5.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 9507e82: Fixed hover effect for disabled state in switch component
8
+
9
+ ## 3.5.5
10
+
11
+ ### Patch Changes
12
+
13
+ - fe01672: Fix avatar image overflow
14
+ - 7327b27: Remove avatar background if avatar image is present
15
+
3
16
  ## 3.5.4
4
17
 
5
18
  ### 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;
@@ -6257,7 +6260,7 @@ html body .odx-fs-italic {
6257
6260
  }
6258
6261
  }
6259
6262
  @media (hover: hover){
6260
- .odx-switch.is-active:hover .odx-switch__indicator::before {
6263
+ .odx-switch.is-active:not(.is-disabled):hover .odx-switch__indicator::before {
6261
6264
  background-color: var(--odx-c-highlight-hover);
6262
6265
  border-color: var(--odx-c-highlight-hover);
6263
6266
  }
@@ -6569,8 +6572,6 @@ html body .odx-fs-italic {
6569
6572
  -webkit-appearance: textfield;
6570
6573
  -moz-appearance: textfield;
6571
6574
  appearance: textfield;
6572
- font-weight: var(--odx-typography-font-weight-normal);
6573
- letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
6574
6575
  width: 100%;
6575
6576
  }
6576
6577
  .odx-timepicker input[odxTimepickerControl]::-moz-placeholder {
@@ -6937,7 +6938,7 @@ html body .odx-fs-italic {
6937
6938
  display: inline-flex;
6938
6939
  }
6939
6940
  .odx-wizard-step__label {
6940
- overflow-x: clip;
6941
+ overflow: clip;
6941
6942
  text-overflow: ellipsis;
6942
6943
  white-space: nowrap;
6943
6944
  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.6",
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;
@@ -103,7 +103,7 @@
103
103
  background-color: var(--odx-control-background-color-hover);
104
104
  }
105
105
 
106
- #{$root}.is-active:hover &::before {
106
+ #{$root}.is-active:not(.is-disabled):hover &::before {
107
107
  @include indicator-color(var(--odx-c-highlight-hover));
108
108
  }
109
109
 
@@ -20,8 +20,6 @@
20
20
 
21
21
  input[odxTimepickerControl] {
22
22
  appearance: textfield;
23
- font-weight: var(--odx-typography-font-weight-normal);
24
- letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
25
23
  width: 100%;
26
24
 
27
25
  &::placeholder {