@posiwise/core-styles 1.0.7 → 1.0.9

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.9",
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,30 +2270,32 @@ body {
2270
2270
  color: rgb(255 255 255);
2271
2271
  }
2272
2272
  }
2273
+
2274
+ > .p-accordioncontent {
2275
+ max-height: 9999px !important;
2276
+ }
2273
2277
  }
2274
2278
  }
2275
2279
 
2280
+ .p-accordioncontent {
2281
+ max-height: 0 !important;
2282
+ overflow: hidden !important;
2283
+ transition: max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
2284
+ }
2285
+
2276
2286
  .p-accordioncontent-content {
2277
2287
  background-color: rgb(255 255 255);
2278
2288
  border: 1px solid $ng-gray;
2279
2289
  color: $font-color-main;
2280
2290
  padding: 1.171em 1em;
2291
+ box-sizing: border-box;
2281
2292
  }
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;
2289
- }
2290
-
2291
2293
  }
2292
2294
 
2293
2295
  /* PrimeNG 19 Accordion - icon then label on the left, rest of space empty (match design) */
2294
2296
  .p-accordionheader {
2295
2297
  color: var(--tabs_bg) !important;
2296
- gap: 1.125rem;
2298
+ gap: 1.125rem;
2297
2299
  display: flex !important;
2298
2300
  flex-direction: row-reverse !important;
2299
2301
  align-items: center !important;