@odx/ui 3.9.0 → 3.9.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
  # @odx/ui
2
2
 
3
+ ## 3.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - c1ecb13: css fix for list item header
8
+
3
9
  ## 3.9.0
4
10
 
5
11
  ### Minor Changes
package/core-theme.css CHANGED
@@ -5918,9 +5918,6 @@ html body .odx-fs-italic {
5918
5918
  overflow: hidden;
5919
5919
  text-align: center;
5920
5920
  }
5921
- .odx-rich-list-item-header__icon {
5922
- position: relative;
5923
- }
5924
5921
 
5925
5922
  .odx-rich-list-item {
5926
5923
  padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
@@ -5932,11 +5929,11 @@ html body .odx-fs-italic {
5932
5929
  padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
5933
5930
  padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
5934
5931
  }
5935
- .odx-rich-list-item.is-disabled .odx-rich-list-item-header__title,
5936
- .odx-rich-list-item.is-disabled .odx-rich-list-item-header .odx-avatar {
5932
+ .odx-rich-list-item.is-disabled .odx-rich-list-item-header {
5937
5933
  color: var(--odx-c-text-disabled);
5938
5934
  }
5939
5935
  .odx-rich-list-item.is-disabled .odx-rich-list-item-header .odx-avatar {
5936
+ color: var(--odx-c-text-disabled);
5940
5937
  filter: saturate(0);
5941
5938
  }
5942
5939
  .odx-rich-list-item__header {
@@ -5955,8 +5952,16 @@ html body .odx-fs-italic {
5955
5952
  .odx-rich-list-item--empty .odx-rich-list-item__expand-button {
5956
5953
  display: none;
5957
5954
  }
5955
+ .odx-rich-list-item__icon {
5956
+ transition-delay: 0ms;
5957
+ transition-duration: var(--odx-v-transition-duration);
5958
+ transition-property: transform;
5959
+ transition-timing-function: var(--odx-v-transition-easing-fn);
5960
+ position: relative;
5961
+ transform: rotate(0);
5962
+ }
5958
5963
  .odx-rich-list-item--expanded .odx-rich-list-item__icon {
5959
- transform: scaleY(-1);
5964
+ transform: rotateX(180deg);
5960
5965
  }
5961
5966
 
5962
5967
  :root {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "3.9.0",
3
+ "version": "3.9.1",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "peerDependencies": {
@@ -22,8 +22,4 @@
22
22
  overflow: hidden;
23
23
  text-align: center;
24
24
  }
25
-
26
- &__icon {
27
- position: relative;
28
- }
29
25
  }
@@ -18,13 +18,13 @@
18
18
  display: block;
19
19
 
20
20
  &.is-disabled {
21
- .odx-rich-list-item-header__title,
22
- .odx-rich-list-item-header .odx-avatar {
21
+ .odx-rich-list-item-header {
23
22
  color: var(--odx-c-text-disabled);
24
- }
25
23
 
26
- .odx-rich-list-item-header .odx-avatar {
27
- filter: saturate(0);
24
+ .odx-avatar {
25
+ color: var(--odx-c-text-disabled);
26
+ filter: saturate(0);
27
+ }
28
28
  }
29
29
  }
30
30
 
@@ -46,9 +46,14 @@
46
46
  }
47
47
  }
48
48
 
49
- &--expanded {
50
- #{$root}__icon {
51
- transform: scaleY(-1);
49
+ &__icon {
50
+ @include motion.transition(transform);
51
+
52
+ position: relative;
53
+ transform: rotate(0);
54
+
55
+ #{$root}--expanded & {
56
+ transform: rotateX(180deg);
52
57
  }
53
58
  }
54
59
  }