frst-components 0.32.8 → 0.33.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.
package/dist/index.js
CHANGED
|
@@ -6795,7 +6795,7 @@ const ModalContainer$1 = styled__default["default"].div `
|
|
|
6795
6795
|
border-radius: 16px;
|
|
6796
6796
|
padding: 52px;
|
|
6797
6797
|
max-width: 90vw;
|
|
6798
|
-
width:
|
|
6798
|
+
width: 720px;
|
|
6799
6799
|
max-height: 90vh;
|
|
6800
6800
|
height: 363px;
|
|
6801
6801
|
position: relative;
|
|
@@ -6843,7 +6843,7 @@ const ModalContent$1 = styled__default["default"].div `
|
|
|
6843
6843
|
const WomanIllustration = styled__default["default"].div `
|
|
6844
6844
|
position: absolute;
|
|
6845
6845
|
width: 140px;
|
|
6846
|
-
right:
|
|
6846
|
+
right: 699px;
|
|
6847
6847
|
top: 24px;
|
|
6848
6848
|
svg {
|
|
6849
6849
|
width: 100%;
|
|
@@ -6858,7 +6858,7 @@ const TextSection = styled__default["default"].div `
|
|
|
6858
6858
|
`;
|
|
6859
6859
|
const MainText = styled__default["default"].p `
|
|
6860
6860
|
color: #444;
|
|
6861
|
-
font-family: "
|
|
6861
|
+
font-family: "Poppins";
|
|
6862
6862
|
font-size: 17px;
|
|
6863
6863
|
font-weight: 400;
|
|
6864
6864
|
line-height: normal;
|
|
@@ -6869,7 +6869,7 @@ const SolutionsContainer = styled__default["default"].div `
|
|
|
6869
6869
|
`;
|
|
6870
6870
|
const SolutionItem = styled__default["default"].span `
|
|
6871
6871
|
color: #444;
|
|
6872
|
-
font-family: "
|
|
6872
|
+
font-family: "Poppins";
|
|
6873
6873
|
font-size: 17px;
|
|
6874
6874
|
font-style: normal;
|
|
6875
6875
|
font-weight: 400;
|
|
@@ -13963,6 +13963,66 @@ const TextNotification = styled__default["default"].p `
|
|
|
13963
13963
|
:active {
|
|
13964
13964
|
font-weight: bold;
|
|
13965
13965
|
}
|
|
13966
|
+
`;
|
|
13967
|
+
const TolltipTopbar = styled__default["default"].div `
|
|
13968
|
+
background: #fff;
|
|
13969
|
+
border-radius: 4px;
|
|
13970
|
+
border: 1px solid #bdbdbd;
|
|
13971
|
+
font-family: 'PT Sans';
|
|
13972
|
+
font-style: normal;
|
|
13973
|
+
font-weight: 400;
|
|
13974
|
+
font-size: 14px;
|
|
13975
|
+
line-height: 18px;
|
|
13976
|
+
color: #757575;
|
|
13977
|
+
box-shadow: 0px 25px 18px -20px rgba(34, 34, 34, 0.2);
|
|
13978
|
+
padding: 6px;
|
|
13979
|
+
position: absolute;
|
|
13980
|
+
width: 205px;
|
|
13981
|
+
height: 54px;
|
|
13982
|
+
right: 145px;
|
|
13983
|
+
text-align: center;
|
|
13984
|
+
top: 24px;
|
|
13985
|
+
|
|
13986
|
+
|
|
13987
|
+
&::before {
|
|
13988
|
+
content: '';
|
|
13989
|
+
position: absolute;
|
|
13990
|
+
top: -15px;
|
|
13991
|
+
right: 10px; /* Ajuste conforme necessário */
|
|
13992
|
+
border-width: 8px;
|
|
13993
|
+
border-style: solid;
|
|
13994
|
+
border-color: transparent transparent #fff transparent;
|
|
13995
|
+
}
|
|
13996
|
+
|
|
13997
|
+
|
|
13998
|
+
@media screen and (max-width: 1199px) {
|
|
13999
|
+
width: 205px;
|
|
14000
|
+
right: 28px;;
|
|
14001
|
+
font-size: 14px;
|
|
14002
|
+
|
|
14003
|
+
&::before {
|
|
14004
|
+
right: 15px;
|
|
14005
|
+
}
|
|
14006
|
+
}
|
|
14007
|
+
|
|
14008
|
+
@media screen and (min-width: 1200px) and (max-width: 1320px) {
|
|
14009
|
+
width: 205px;
|
|
14010
|
+
right: 28px;
|
|
14011
|
+
font-size: 14px;
|
|
14012
|
+
|
|
14013
|
+
&::before {
|
|
14014
|
+
right: 15px;
|
|
14015
|
+
}
|
|
14016
|
+
}
|
|
14017
|
+
@media screen and (min-width: 1321px) {
|
|
14018
|
+
width: 205px;
|
|
14019
|
+
right: 28px;
|
|
14020
|
+
font-size: 14px;
|
|
14021
|
+
|
|
14022
|
+
&::before {
|
|
14023
|
+
right: 15px;
|
|
14024
|
+
}
|
|
14025
|
+
}
|
|
13966
14026
|
`;
|
|
13967
14027
|
|
|
13968
14028
|
const Container$c = styled__default["default"].div `
|
|
@@ -14789,6 +14849,7 @@ function GlobalMenu({ variant, menu, customMenu, user, search, notification, lan
|
|
|
14789
14849
|
const [SelectedItem, setSelectedItem] = React.useState();
|
|
14790
14850
|
const [isTabletVersion, setIsTabletVersion] = React.useState(false);
|
|
14791
14851
|
const [HideHambMenu, setHideHambMenu] = React.useState(false);
|
|
14852
|
+
const [showTooltipHelp, setShowTooltipHelp] = React.useState(false);
|
|
14792
14853
|
const [hasNewNotification, setHasNewNotification] = React.useState(false);
|
|
14793
14854
|
const [updatedNotificationList, setUpdatedNotificationList] = React.useState([]);
|
|
14794
14855
|
React.useEffect(() => {
|
|
@@ -15005,7 +15066,7 @@ function GlobalMenu({ variant, menu, customMenu, user, search, notification, lan
|
|
|
15005
15066
|
}, children: [jsxRuntime.jsx(IconNotification, { fill: FRSTTheme['colors'].shadeWhite }), ' ', hasNewNotification ? (jsxRuntime.jsxs("div", { style: { marginLeft: '-12px' }, children: [' ', jsxRuntime.jsx(HasNotificationIcon, {}), ' '] })) : null] }), windowSize[0] > 700 ? (jsxRuntime.jsx(NotificationPopOver, { handleClickMarkRead: notification.handleClickMarkRead, isOpen: openNotificationMobile, anchor: anchorNotification, textEmptyState: notification.textEmptyState, notificationList: updatedNotificationList, textMarkAllAsRead: notification.textMarkAllAsRead, textNotification: notification.textNotification, isMobile: false, setOnAreaPopOver: (e) => setOnAreaPopOver(e), textBack: notification.textBack, handleClickBack: () => handleCloseNotification(), textDeleteAll: notification.textDeleteAll, handleClickDeleteAll: notification.handleClickDeleteAll, isLoading: notification?.isLoading })) : null] })), jsxRuntime.jsx(DropdownProfileMenu, { variant: "LXP", user: user, profileMenuText: profileMenuText, handleProfileMenuClick: onClickProfileMenuText, menuItems: user && user.menuItems, isMobileVersion: isMobileVersion, hiddenProfileMenu: hiddenProfileMenu, showProfile: showProfile, style: {
|
|
15006
15067
|
marginLeft: isMobileVersion ? '0px' : '5px',
|
|
15007
15068
|
marginRight: isMobileVersion ? '0px' : '5px'
|
|
15008
|
-
} }), showNavigation && (jsxRuntime.jsxs(Navigation, { onClick: onClickNavigation, children: [jsxRuntime.jsx(HandWave, {}), jsxRuntime.jsx(TextNotification, { children: "Ajuda" })] })), showHelp && (jsxRuntime.jsxs(Help, { onClick: onClickHelp, children: [jsxRuntime.jsx(HelpIcon, {}), jsxRuntime.jsx(TextNotification, { children: "Suporte" })] }))] })] }) }), openNotificationMobile && windowSize[0] <= 700 ? (jsxRuntime.jsx(NotificationPopOver, { handleClickMarkRead: notification.handleClickMarkRead, isOpen: openNotificationMobile, anchor: anchorNotification, textEmptyState: notification.textEmptyState, notificationList: updatedNotificationList, textMarkAllAsRead: notification.textMarkAllAsRead, textNotification: notification.textNotification, isMobile: true, setOnAreaPopOver: (e) => setOnAreaPopOver(e), textBack: notification.textBack, handleClickBack: () => handleCloseNotification(), textDeleteAll: notification.textDeleteAll, handleClickDeleteAll: notification.handleClickDeleteAll, isLoading: notification?.isLoading })) : null] })) : (jsxRuntime.jsx("div", { style: { width: '100%', display: 'flex', flexDirection: 'column', ...style }, children: jsxRuntime.jsxs(MenuContainer, { variant: variant, style: { ...style, display: 'none' }, children: [jsxRuntime.jsx(WrapperLogo, { onClick: () => onClickLogo(), children: jsxRuntime.jsx(FRSTLogo, { height: "28" }) }), jsxRuntime.jsx(WrapperMenu, { children: menu &&
|
|
15069
|
+
} }), showNavigation && (jsxRuntime.jsxs(Navigation, { onClick: onClickNavigation, children: [jsxRuntime.jsx(HandWave, {}), jsxRuntime.jsx(TextNotification, { children: "Ajuda" })] })), showHelp && (jsxRuntime.jsxs(Help, { onClick: onClickHelp, onMouseEnter: () => setShowTooltipHelp(true), onMouseLeave: () => setShowTooltipHelp(false), children: [jsxRuntime.jsx(HelpIcon, {}), jsxRuntime.jsx(TextNotification, { children: "Suporte" })] })), showTooltipHelp && (jsxRuntime.jsx("div", { id: "cardAjuda", style: { position: 'relative' }, children: jsxRuntime.jsx(TolltipTopbar, { children: "Clique aqui para tirar suas d\u00FAvidas com o nosso suporte." }) }))] })] }) }), openNotificationMobile && windowSize[0] <= 700 ? (jsxRuntime.jsx(NotificationPopOver, { handleClickMarkRead: notification.handleClickMarkRead, isOpen: openNotificationMobile, anchor: anchorNotification, textEmptyState: notification.textEmptyState, notificationList: updatedNotificationList, textMarkAllAsRead: notification.textMarkAllAsRead, textNotification: notification.textNotification, isMobile: true, setOnAreaPopOver: (e) => setOnAreaPopOver(e), textBack: notification.textBack, handleClickBack: () => handleCloseNotification(), textDeleteAll: notification.textDeleteAll, handleClickDeleteAll: notification.handleClickDeleteAll, isLoading: notification?.isLoading })) : null] })) : (jsxRuntime.jsx("div", { style: { width: '100%', display: 'flex', flexDirection: 'column', ...style }, children: jsxRuntime.jsxs(MenuContainer, { variant: variant, style: { ...style, display: 'none' }, children: [jsxRuntime.jsx(WrapperLogo, { onClick: () => onClickLogo(), children: jsxRuntime.jsx(FRSTLogo, { height: "28" }) }), jsxRuntime.jsx(WrapperMenu, { children: menu &&
|
|
15009
15070
|
menu.length > 0 &&
|
|
15010
15071
|
menu.map((item, index) => {
|
|
15011
15072
|
return (jsxRuntime.jsx(ItemGlobalMenu, { label: item.label, variant: "default", type: "menu", handleOnClick: () => item.onClick('tes'), style: { paddingRight: '10px', paddingLeft: '10px' } }, item.id ? item.id : index));
|
|
@@ -27,5 +27,6 @@ export declare const itemFrstSocials: import("styled-components").StyledComponen
|
|
|
27
27
|
export declare const Help: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
28
28
|
export declare const Navigation: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
29
29
|
export declare const TextNotification: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
30
|
+
export declare const TolltipTopbar: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
30
31
|
export {};
|
|
31
32
|
//# sourceMappingURL=globalMenuStyles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globalMenuStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/global-menu/globalMenuStyles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,UAAU,cAAc;IACpB,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,aAAa,gFAYzB,CAAA;AAED,eAAO,MAAM,WAAW,oEAKvB,CAAA;AACD,eAAO,MAAM,eAAe,oEAO3B,CAAA;AACD,eAAO,MAAM,WAAW,oEAOvB,CAAA;AACD,eAAO,MAAM,WAAW,oEAKvB,CAAA;AAED,eAAO,MAAM,gBAAgB,oEAO5B,CAAA;AAED,eAAO,MAAM,uBAAuB,oEAkBnC,CAAA;AACD,eAAO,MAAM,2BAA2B,kEASvC,CAAA;AAED,eAAO,MAAM,6BAA6B,oEAWzC,CAAA;AAED,eAAO,MAAM,gBAAgB,gFAgB5B,CAAA;AAED,eAAO,MAAM,UAAU;;SAWtB,CAAA;AAED,eAAO,MAAM,QAAQ;;SAWpB,CAAA;AAED,eAAO,MAAM,YAAY,oEAqBxB,CAAA;AAED,eAAO,MAAM,cAAc,oEAqB1B,CAAA;AAED,eAAO,MAAM,gBAAgB,oEAU5B,CAAA;AAED,eAAO,MAAM,WAAW,oEAOvB,CAAA;AAED,eAAO,MAAM,eAAe,uEAI3B,CAAA;AAED,eAAO,MAAM,IAAI,oEAchB,CAAA;AAED,eAAO,MAAM,UAAU,oEActB,CAAA;AAED,eAAO,MAAM,gBAAgB,kEAY5B,CAAA"}
|
|
1
|
+
{"version":3,"file":"globalMenuStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/global-menu/globalMenuStyles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,UAAU,cAAc;IACpB,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,aAAa,gFAYzB,CAAA;AAED,eAAO,MAAM,WAAW,oEAKvB,CAAA;AACD,eAAO,MAAM,eAAe,oEAO3B,CAAA;AACD,eAAO,MAAM,WAAW,oEAOvB,CAAA;AACD,eAAO,MAAM,WAAW,oEAKvB,CAAA;AAED,eAAO,MAAM,gBAAgB,oEAO5B,CAAA;AAED,eAAO,MAAM,uBAAuB,oEAkBnC,CAAA;AACD,eAAO,MAAM,2BAA2B,kEASvC,CAAA;AAED,eAAO,MAAM,6BAA6B,oEAWzC,CAAA;AAED,eAAO,MAAM,gBAAgB,gFAgB5B,CAAA;AAED,eAAO,MAAM,UAAU;;SAWtB,CAAA;AAED,eAAO,MAAM,QAAQ;;SAWpB,CAAA;AAED,eAAO,MAAM,YAAY,oEAqBxB,CAAA;AAED,eAAO,MAAM,cAAc,oEAqB1B,CAAA;AAED,eAAO,MAAM,gBAAgB,oEAU5B,CAAA;AAED,eAAO,MAAM,WAAW,oEAOvB,CAAA;AAED,eAAO,MAAM,eAAe,uEAI3B,CAAA;AAED,eAAO,MAAM,IAAI,oEAchB,CAAA;AAED,eAAO,MAAM,UAAU,oEActB,CAAA;AAED,eAAO,MAAM,gBAAgB,kEAY5B,CAAA;AAGD,eAAO,MAAM,aAAa,oEA2DzB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/global-menu/index.tsx"],"names":[],"mappings":"AACA,OAAO,yBAAyB,CAAA;AAIhC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AA2B1C,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAC/B,OAAO,EACP,IAAI,EACJ,UAAU,EACV,IAAI,EACJ,MAAM,EACN,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,cAAc,EACd,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,WAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,cAAc,EACjB,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/global-menu/index.tsx"],"names":[],"mappings":"AACA,OAAO,yBAAyB,CAAA;AAIhC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AA2B1C,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAC/B,OAAO,EACP,IAAI,EACJ,UAAU,EACV,IAAI,EACJ,MAAM,EACN,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,cAAc,EACd,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,WAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,cAAc,EACjB,EAAE,WAAW,2CAi5Bb;AAED,wBAAgB,UAAU,CAAC,EACvB,KAAK,EACL,SAAS,EACT,UAAU,EACV,OAAO,EACP,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,cAAc,EACd,UAAU,EACb;;;;;;;;;;;;;;CAAA,2CA0LA;AAED,wBAAgB,aAAa,CAAC,EAC1B,KAAK,EACL,SAAS,EACT,UAAU,EACV,OAAO,EACP,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,cAAc,EACd,UAAU,EACb;;;;;;;;;;;;;;CAAA,2CA4GA;AAED,wBAAgB,QAAQ,CAAC,EACrB,KAAK,EACL,SAAS,EACT,UAAU,EACV,OAAO,EACP,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,cAAc,EACd,UAAU,EACb;;;;;;;;;;;;;;CAAA,2CA2KA"}
|