pge-front-common 4.0.9 → 5.0.0

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.
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import "./styles.css";
3
3
  import { IFuncoesMenuHorizontal } from "../DropDown";
4
4
  export interface HeaderProps {
5
- isLogoRhDigital: boolean;
5
+ isRHDigital: boolean;
6
6
  options: IFuncoesMenuHorizontal[];
7
7
  optionSelection: (name: string, id: number) => void;
8
8
  name: string;
package/lib/index.d.ts CHANGED
@@ -85,7 +85,7 @@ interface IFuncoesMenuHorizontal {
85
85
  }
86
86
 
87
87
  interface HeaderProps {
88
- isLogoRhDigital: boolean;
88
+ isRHDigital: boolean;
89
89
  options: IFuncoesMenuHorizontal[];
90
90
  optionSelection: (name: string, id: number) => void;
91
91
  name: string;
package/lib/index.esm.js CHANGED
@@ -3527,13 +3527,15 @@ function UserButton(_a) {
3527
3527
  }
3528
3528
 
3529
3529
  var Header = function (_a) {
3530
- var _b = _a.isLogoRhDigital, isLogoRhDigital = _b === void 0 ? true : _b, optionSelection = _a.optionSelection, options = _a.options, name = _a.name, userName = _a.userName, handleLogout = _a.handleLogout;
3531
- return (React__default.createElement("div", { className: "container-header-index" },
3532
- React__default.createElement("div", { className: "container" },
3533
- React__default.createElement("div", { className: "wrapper-menu" },
3534
- React__default.createElement(Menu, { options: options, optionSelection: optionSelection }),
3535
- isLogoRhDigital ? React__default.createElement(LogoRhDigital, null) : React__default.createElement(LogoPGERG, null)),
3536
- React__default.createElement(UserButton, { name: name, userName: userName, handleLogout: handleLogout }))));
3530
+ var _b = _a.isRHDigital, isRHDigital = _b === void 0 ? true : _b, optionSelection = _a.optionSelection, options = _a.options, name = _a.name, userName = _a.userName, handleLogout = _a.handleLogout;
3531
+ return (React__default.createElement(React__default.Fragment, null,
3532
+ React__default.createElement("div", { className: "separator_background" }),
3533
+ React__default.createElement("header", { className: "container-header-index ".concat(isRHDigital ? "" : "set_shadow") },
3534
+ React__default.createElement("div", { className: "container" },
3535
+ React__default.createElement("div", { className: "wrapper-menu" },
3536
+ React__default.createElement(Menu, { options: options, optionSelection: optionSelection }),
3537
+ isRHDigital ? React__default.createElement(LogoRhDigital, null) : React__default.createElement(LogoPGERG, null)),
3538
+ React__default.createElement(UserButton, { name: name, userName: userName, handleLogout: handleLogout })))));
3537
3539
  };
3538
3540
 
3539
3541
  var LogoFooterLight = function (props) { return (React__default.createElement("svg", __assign({ width: "165", height: "64", viewBox: "0 0 165 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink" }, props),