@appquality/unguess-design-system 2.12.81 → 2.12.83

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,30 @@
1
+ # v2.12.83 (Tue Mar 28 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Develop [#229](https://github.com/AppQuality/unguess-design-system/pull/229) ([@marcbon](https://github.com/marcbon))
6
+ - fix(app-header): add zIndex front to prevent issues [#228](https://github.com/AppQuality/unguess-design-system/pull/228) ([@marcbon](https://github.com/marcbon))
7
+
8
+ #### Authors: 1
9
+
10
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
11
+
12
+ ---
13
+
14
+ # v2.12.82 (Wed Mar 22 2023)
15
+
16
+ #### 🐛 Bug Fix
17
+
18
+ - z-index fix [#227](https://github.com/AppQuality/unguess-design-system/pull/227) ([@iacopolea](https://github.com/iacopolea) [@marcbon](https://github.com/marcbon))
19
+ - feat(nav): higher z-index to nav toggle [#226](https://github.com/AppQuality/unguess-design-system/pull/226) ([@iacopolea](https://github.com/iacopolea))
20
+
21
+ #### Authors: 2
22
+
23
+ - Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
24
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
25
+
26
+ ---
27
+
1
28
  # v2.12.81 (Thu Mar 09 2023)
2
29
 
3
30
  #### 🐛 Bug Fix
package/build/index.js CHANGED
@@ -3114,8 +3114,8 @@ const ChevronButton = styled__default["default"](IconButton) `
3114
3114
  * This can include navList Items, modal, profile settings.
3115
3115
  */
3116
3116
  const AppHeader = (_a) => {
3117
- var { brand, avatar, isLoading } = _a, args = __rest(_a, ["brand", "avatar", "isLoading"]);
3118
- return isLoading ? jsxRuntime.jsx(HeaderSkeleton, {}) : (jsxRuntime.jsxs(Header, Object.assign({}, args, { children: [jsxRuntime.jsx(BrandItem, Object.assign({}, brand, { toggleMenu: args.onSidebarMenuToggle })), args.hasChangelog && args.changelogItem && (jsxRuntime.jsx(HeaderItem, Object.assign({ style: { marginRight: "-" + theme.space.xs } }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: args.changelogItem }) }))), jsxRuntime.jsx(HeaderItem, Object.assign({ isRound: true, onClick: args.onProfileModalToggle }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Avatar, Object.assign({}, avatar)), jsxRuntime.jsx(ChevronButton, Object.assign({ size: "small", isRotated: args.isProfileModalOpen }, { children: jsxRuntime.jsx(SvgChevronDownStroke, {}) }))] }) }) }))] })));
3117
+ var { brand, avatar, isLoading, style } = _a, args = __rest(_a, ["brand", "avatar", "isLoading", "style"]);
3118
+ return isLoading ? (jsxRuntime.jsx(HeaderSkeleton, {})) : (jsxRuntime.jsxs(Header, Object.assign({}, args, { style: Object.assign(Object.assign({}, style), { zIndex: (style === null || style === void 0 ? void 0 : style.zIndex) || theme.levels.front }) }, { children: [jsxRuntime.jsx(BrandItem, Object.assign({}, brand, { toggleMenu: args.onSidebarMenuToggle })), args.hasChangelog && args.changelogItem && (jsxRuntime.jsx(HeaderItem, Object.assign({ style: { marginRight: "-" + theme.space.xs } }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: args.changelogItem }) }))), jsxRuntime.jsx(HeaderItem, Object.assign({ isRound: true, onClick: args.onProfileModalToggle }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Avatar, Object.assign({}, avatar)), jsxRuntime.jsx(ChevronButton, Object.assign({ size: "small", isRotated: args.isProfileModalOpen }, { children: jsxRuntime.jsx(SvgChevronDownStroke, {}) }))] }) }) }))] })));
3119
3119
  };
3120
3120
 
3121
3121
  const UgNav = styled__default["default"](reactChrome.Nav) `
@@ -3215,7 +3215,7 @@ const StyledToggle = styled__default["default"](IconButton) `
3215
3215
  top: ${({ theme }) => theme.space.base * 3}px;
3216
3216
  right: -${({ theme }) => theme.space.base * 3}px;
3217
3217
  background: ${({ theme }) => theme.gradients.dark}};
3218
- z-index: 1;
3218
+ z-index: 3;
3219
3219
  @media (min-width: ${({ theme }) => theme.breakpoints.md}) {
3220
3220
  display: block;
3221
3221
  }
@@ -3,5 +3,5 @@ import { AppHeaderArgs } from "./_types";
3
3
  * An Header is a visual way to display general information.
4
4
  * This can include navList Items, modal, profile settings.
5
5
  */
6
- declare const AppHeader: ({ brand, avatar, isLoading, ...args }: AppHeaderArgs) => JSX.Element;
6
+ declare const AppHeader: ({ brand, avatar, isLoading, style, ...args }: AppHeaderArgs) => JSX.Element;
7
7
  export { AppHeader };
@@ -2,5 +2,5 @@ import { ComponentMeta, Story } from "@storybook/react";
2
2
  import { AppHeaderArgs } from "./_types";
3
3
  export declare const Default: Story<AppHeaderArgs>;
4
4
  export declare const MultipleWorkspaces: Story<AppHeaderArgs>;
5
- declare const _default: ComponentMeta<({ brand, avatar, isLoading, ...args }: AppHeaderArgs) => JSX.Element>;
5
+ declare const _default: ComponentMeta<({ brand, avatar, isLoading, style, ...args }: AppHeaderArgs) => JSX.Element>;
6
6
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "2.12.81",
3
+ "version": "2.12.83",
4
4
  "dependencies": {
5
5
  "@nivo/bar": "^0.80.0",
6
6
  "@nivo/bullet": "^0.80.0",