@posiwise/core-styles 1.0.7 → 1.0.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/core-styles",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -2243,7 +2243,7 @@ body {
2243
2243
 
2244
2244
  &:not(.p-accordionpanel-active):not(.p-disabled) {
2245
2245
  > .p-accordionheader:hover {
2246
- border: 1px solid $tabView;
2246
+ border: 1px solid $ng-gray;
2247
2247
  color: $font-color-main;
2248
2248
 
2249
2249
  .p-accordionheader-toggle-icon {
@@ -2270,22 +2270,26 @@ body {
2270
2270
  color: rgb(255 255 255);
2271
2271
  }
2272
2272
  }
2273
+
2274
+ > .p-accordioncontent {
2275
+ max-height: 9999px !important;
2276
+ overflow: visible !important;
2277
+ }
2273
2278
  }
2274
2279
  }
2275
2280
 
2281
+ .p-accordioncontent {
2282
+ max-height: 0 !important;
2283
+ overflow: hidden !important;
2284
+ transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
2285
+ }
2286
+
2276
2287
  .p-accordioncontent-content {
2277
2288
  background-color: rgb(255 255 255);
2278
2289
  border: 1px solid $ng-gray;
2279
2290
  color: $font-color-main;
2280
2291
  padding: 1.171em 1em;
2281
- }
2282
- /* Collapsed: hide content completely so no space */
2283
- .p-accordionpanel:not(.p-accordionpanel-active) .p-accordion-content,
2284
- .p-accordionpanel:not(.p-accordionpanel-active) .p-accordioncontent,
2285
- .p-accordionpanel:not(.p-accordionpanel-active) p-accordion-content,
2286
- .p-accordionpanel:not(.p-accordionpanel-active) [data-pc-name='accordioncontent'] {
2287
- overflow: hidden;
2288
- height: 0;
2292
+ box-sizing: border-box;
2289
2293
  }
2290
2294
 
2291
2295
  }