@odx/ui 4.6.5 → 4.7.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,17 @@
1
1
  # @odx/ui
2
2
 
3
+ ## 4.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - ca03318: Style fix for nested Accordion items
8
+
9
+ ## 4.7.0
10
+
11
+ ### Minor Changes
12
+
13
+ - f28cb4c: Arrea header can now contain a back button
14
+
3
15
  ## 4.6.5
4
16
 
5
17
  ### Patch Changes
package/core-theme.css CHANGED
@@ -2275,10 +2275,13 @@ html body .odx-fs-italic {
2275
2275
  background-color: var(--blue-700-5);
2276
2276
  }
2277
2277
  }
2278
- .odx-accordion-item--expanded .odx-accordion-item__panel {
2278
+ .odx-accordion-item--expanded > .odx-accordion-item__panel {
2279
2279
  font-weight: var(--odx-typography-font-weight-medium);
2280
2280
  letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
2281
2281
  }
2282
+ .odx-accordion-item--expanded > .odx-accordion-item__panel .odx-accordion-item__icon {
2283
+ transform: rotateX(180deg);
2284
+ }
2282
2285
  .odx-accordion-item__icon {
2283
2286
  transition-delay: 0ms;
2284
2287
  transition-duration: var(--odx-v-transition-duration);
@@ -2286,9 +2289,6 @@ html body .odx-fs-italic {
2286
2289
  transition-timing-function: var(--odx-v-transition-easing-fn);
2287
2290
  transform: rotate(0deg);
2288
2291
  }
2289
- .odx-accordion-item--expanded .odx-accordion-item__icon {
2290
- transform: rotateX(180deg);
2291
- }
2292
2292
  .odx-accordion-item__slot {
2293
2293
  padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
2294
2294
  padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
@@ -2793,7 +2793,8 @@ html body .odx-fs-italic {
2793
2793
  white-space: nowrap;
2794
2794
  color: var(--odx-area-header-subtitle-color);
2795
2795
  }
2796
- .odx-area-header .odx-avatar, .odx-area-header__content {
2796
+ .odx-area-header .odx-avatar,
2797
+ .odx-area-header [odxNavigationBack], .odx-area-header__content {
2797
2798
  align-self: center;
2798
2799
  }
2799
2800
  .odx-area-header__content {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "4.6.5",
3
+ "version": "4.7.1",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "peerDependencies": {
@@ -28,8 +28,12 @@
28
28
  background-color: var(--blue-700-5);
29
29
  }
30
30
 
31
- #{$root}--expanded & {
31
+ #{$root}--expanded > & {
32
32
  @include typography.font-weight(medium);
33
+
34
+ #{$root}__icon {
35
+ transform: rotateX(180deg);
36
+ }
33
37
  }
34
38
  }
35
39
 
@@ -37,10 +41,6 @@
37
41
  @include motion.transition(transform);
38
42
 
39
43
  transform: rotate(0deg);
40
-
41
- #{$root}--expanded & {
42
- transform: rotateX(180deg);
43
- }
44
44
  }
45
45
 
46
46
  &__slot {
@@ -67,6 +67,7 @@
67
67
  }
68
68
 
69
69
  .odx-avatar,
70
+ [odxNavigationBack],
70
71
  &__content {
71
72
  align-self: center;
72
73
  }