@appquality/unguess-design-system 2.12.82 → 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,16 @@
|
|
|
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
|
+
|
|
1
14
|
# v2.12.82 (Wed Mar 22 2023)
|
|
2
15
|
|
|
3
16
|
#### 🐛 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) `
|
|
@@ -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;
|