@danske/sapphire-css 31.2.1 → 31.2.2

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.
@@ -134,7 +134,7 @@
134
134
  transition: transform var(--sapphire-accordion-time-transition-arrow)
135
135
  ease-in-out;
136
136
  }
137
- .sapphire-accordion__item--open .sapphire-accordion__item-arrow {
137
+ .sapphire-accordion__item--open > :first-child .sapphire-accordion__item-arrow {
138
138
  transform: rotate(180deg);
139
139
  }
140
140
 
@@ -159,11 +159,13 @@
159
159
  padding-left: var(--sapphire-accordion-size-spacing-body-horizontal);
160
160
  }
161
161
 
162
- .sapphire-accordion__item--open .sapphire-accordion__item-content-wrapper {
162
+ .sapphire-accordion__item--open > .sapphire-accordion__item-content-wrapper {
163
163
  grid-template-rows: 1fr;
164
164
  }
165
165
 
166
- .sapphire-accordion__item--open .sapphire-accordion__item-content {
166
+ .sapphire-accordion__item--open
167
+ > .sapphire-accordion__item-content-wrapper
168
+ > .sapphire-accordion__item-content {
167
169
  padding-top: var(--sapphire-accordion-size-spacing-body-top);
168
170
  padding-bottom: var(--sapphire-accordion-size-spacing-body-bottom);
169
171
  visibility: visible;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danske/sapphire-css",
3
- "version": "31.2.1",
3
+ "version": "31.2.2",
4
4
  "description": "CSS implementation of the Sapphire Design System from Danske Bank A/S",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "sideEffects": false,
@@ -68,5 +68,5 @@
68
68
  "dependencies": {
69
69
  "@danske/sapphire-design-tokens": "^39.2.0"
70
70
  },
71
- "gitHead": "a8ebdf9b67baf003c82173820a5244a9755d7f95"
71
+ "gitHead": "e25b4232146128fc907e0602d8a9d4a6fbe5f402"
72
72
  }