@appquality/unguess-design-system 3.1.107 → 3.1.108

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,3 +1,17 @@
1
+ # v3.1.108 (Wed Oct 02 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Fix sidebar scrollable panel [#414](https://github.com/AppQuality/unguess-design-system/pull/414) ([@d-beezee](https://github.com/d-beezee) [@cannarocks](https://github.com/cannarocks))
6
+ - fix: Restore scrollable panel with new version [#413](https://github.com/AppQuality/unguess-design-system/pull/413) ([@d-beezee](https://github.com/d-beezee))
7
+
8
+ #### Authors: 2
9
+
10
+ - [@d-beezee](https://github.com/d-beezee)
11
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
12
+
13
+ ---
14
+
1
15
  # v3.1.106 (Tue Sep 24 2024)
2
16
 
3
17
  #### 🐛 Bug Fix
package/build/index.js CHANGED
@@ -6373,7 +6373,7 @@ NavItemProject.SubTitle = UgProjectSubtitle;
6373
6373
 
6374
6374
  const NavAccordionItem = styled__default["default"](Accordion) `
6375
6375
  ${sidebarNavItemExpanded}
6376
- ${props => !props.isExpanded && sidebarNavItemHidden}
6376
+ ${(props) => !props.isExpanded && sidebarNavItemHidden}
6377
6377
  order: 1;
6378
6378
  margin: ${({ theme }) => theme.space.xs} 0;
6379
6379
  padding-left: 8.5px;
@@ -6381,18 +6381,24 @@ const NavAccordionItem = styled__default["default"](Accordion) `
6381
6381
  const AccordionItemHeader = styled__default["default"](Accordion.Header) `
6382
6382
  > svg {
6383
6383
  flex-shrink: 0;
6384
-
6384
+
6385
6385
  &:first-of-type {
6386
6386
  margin: 0 8.5px;
6387
6387
  }
6388
6388
  }
6389
6389
  `;
6390
- const AccordionItemPanel = styled__default["default"](Accordion.Panel) `
6391
- max-height: 180px;
6392
- overflow-y: auto;
6390
+ const CustomPanel = (_a) => {
6391
+ var { children } = _a, props = __rest(_a, ["children"]);
6392
+ return (jsxRuntime.jsx(Accordion.Panel, Object.assign({}, props, { children: jsxRuntime.jsx("div", Object.assign({ className: "panelContainer" }, { children: children })) })));
6393
+ };
6394
+ const AccordionItemPanel = styled__default["default"](CustomPanel) `
6395
+ .panelContainer {
6396
+ height: 100%;
6397
+ overflow-y: auto;
6398
+ }
6393
6399
  `;
6394
6400
  const AccordionItemLabel = styled__default["default"](Accordion.Label) `
6395
- ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
6401
+ ${(props) => reactTheming.retrieveComponentStyles("text.primary", props)}
6396
6402
  font-weight: ${({ theme }) => theme.fontWeights.regular};
6397
6403
  padding: 0;
6398
6404
  margin: 0 8.5px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "3.1.107",
3
+ "version": "3.1.108",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",