@bigbinary/neeto-molecules 5.3.11 → 5.3.12

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.
@@ -10,7 +10,7 @@ import Help from '@bigbinary/neeto-icons/Help';
10
10
  import Profile from '@bigbinary/neeto-team-members-frontend/Profile';
11
11
  import Avatar from '@bigbinary/neetoui/Avatar';
12
12
  import Dropdown$1 from '@bigbinary/neetoui/Dropdown';
13
- import { isEmpty, toLower, mergeDeepLeft, not } from 'ramda';
13
+ import { isEmpty, mergeDeepLeft, toLower, not } from 'ramda';
14
14
  import KeyboardShortcuts from './KeyboardShortcuts.js';
15
15
  import SubscriptionUpgradeRequestModal from './SubscriptionUpgradeRequestModal.js';
16
16
  import Modal$1 from '@bigbinary/neetoui/Modal';
@@ -29,24 +29,26 @@ import axios from 'axios';
29
29
  import Crown from '@bigbinary/neeto-icons/Crown';
30
30
  import useBreakpoints from '@bigbinary/neeto-commons-frontend/react-utils/useBreakpoints';
31
31
  import Book from '@bigbinary/neeto-icons/Book';
32
+ import Bulb from '@bigbinary/neeto-icons/Bulb';
32
33
  import ChatQuestions from '@bigbinary/neeto-icons/ChatQuestions';
33
34
  import Community from '@bigbinary/neeto-icons/Community';
35
+ import Roadmap from '@bigbinary/neeto-icons/Roadmap';
34
36
  import Status from '@bigbinary/neeto-icons/Status';
35
37
  import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
36
38
  import Right from '@bigbinary/neeto-icons/Right';
39
+ import { t } from 'i18next';
40
+ import { getFromLocalStorage } from '@bigbinary/neeto-commons-frontend/utils';
41
+ import { resetAuthTokens } from '@bigbinary/neeto-commons-frontend/utils/axios';
42
+ import { removeFromLocalStorage } from '@bigbinary/neeto-commons-frontend/utils/general';
43
+ import Logout from '@bigbinary/neeto-icons/Logout';
37
44
  import CheckCircle from '@bigbinary/neeto-icons/CheckCircle';
38
45
  import Tag from '@bigbinary/neetoui/Tag';
39
46
  import _objectDestructuringEmpty from '@babel/runtime/helpers/objectDestructuringEmpty';
40
47
  import CloseCircle from '@bigbinary/neeto-icons/CloseCircle';
41
48
  import User from '@bigbinary/neeto-icons/User';
42
- import { t } from 'i18next';
43
49
  import useLocalStorage from '@bigbinary/neeto-commons-frontend/react-utils/useLocalStorage';
44
50
  import Moon from '@bigbinary/neeto-icons/Moon';
45
51
  import Sun from '@bigbinary/neeto-icons/Sun';
46
- import { getFromLocalStorage } from '@bigbinary/neeto-commons-frontend/utils';
47
- import { resetAuthTokens } from '@bigbinary/neeto-commons-frontend/utils/axios';
48
- import { removeFromLocalStorage } from '@bigbinary/neeto-commons-frontend/utils/general';
49
- import Logout from '@bigbinary/neeto-icons/Logout';
50
52
  import CopyToClipboardButton from './CopyToClipboardButton.js';
51
53
  import './useKeyboardShortcutsPaneState-Ckzn5mVZ.js';
52
54
  import 'zustand/shallow';
@@ -364,6 +366,94 @@ var MenuButton$4 = withT(function (_ref) {
364
366
  }));
365
367
  });
366
368
 
369
+ var MY_ORGANIZATION_URL = "/auth/organization/edit";
370
+ var DELETE_WORKSPACE_URL = "/auth/organization/delete";
371
+ var ENGAGE_WIDGET_TRIGGER_ID = "neetoengage-trigger";
372
+ var DEFAULT_MENU_LINK_PROPS = {
373
+ engageProps: {
374
+ id: ENGAGE_WIDGET_TRIGGER_ID,
375
+ label: t("neetoMolecules.sidebar.helpLinks.whatsNew"),
376
+ "data-testid": "help-link-engage-button"
377
+ },
378
+ keyboardShortcutProps: {
379
+ label: t("neetoMolecules.sidebar.helpLinks.keyboardShortcuts"),
380
+ "data-testid": "help-link-keyboard-shortcut-button"
381
+ }
382
+ };
383
+
384
+ // Theme switcher
385
+ var APP_THEME_LOCALSTORAGE_KEY = "appTheme";
386
+ var THEMES = {
387
+ LIGHT: "neeto-ui-theme--light",
388
+ DARK: "neeto-ui-theme--dark"
389
+ };
390
+ var NEETO_AUTH_BILLING_INFO_URL = "/neeto_sso/api/v1/subscription/billing";
391
+
392
+ var getSidebarStateLocalStorageKey = function getSidebarStateLocalStorageKey() {
393
+ var _globalProps$user, _globalProps$user2;
394
+ var user = ((_globalProps$user = globalProps.user) === null || _globalProps$user === void 0 ? void 0 : _globalProps$user.email) || ((_globalProps$user2 = globalProps.user) === null || _globalProps$user2 === void 0 ? void 0 : _globalProps$user2.phoneNumber);
395
+ return "sidebarState-".concat(user);
396
+ };
397
+ var getUserProfileInfo = function getUserProfileInfo() {
398
+ var _globalProps$user$fir, _globalProps$user3, _globalProps$user$las, _globalProps$user4, _globalProps$user5, _globalProps$user6, _globalProps$user7;
399
+ return {
400
+ name: "".concat((_globalProps$user$fir = (_globalProps$user3 = globalProps.user) === null || _globalProps$user3 === void 0 ? void 0 : _globalProps$user3.firstName) !== null && _globalProps$user$fir !== void 0 ? _globalProps$user$fir : "", " ").concat((_globalProps$user$las = (_globalProps$user4 = globalProps.user) === null || _globalProps$user4 === void 0 ? void 0 : _globalProps$user4.lastName) !== null && _globalProps$user$las !== void 0 ? _globalProps$user$las : ""),
401
+ imageUrl: globalProps.authenticated ? (_globalProps$user5 = globalProps.user) === null || _globalProps$user5 === void 0 ? void 0 : _globalProps$user5.profileImageUrl : "https://d2v7kzglnr2dnh.cloudfront.net/others/profile-pic.jpg",
402
+ email: ((_globalProps$user6 = globalProps.user) === null || _globalProps$user6 === void 0 ? void 0 : _globalProps$user6.email) || ((_globalProps$user7 = globalProps.user) === null || _globalProps$user7 === void 0 ? void 0 : _globalProps$user7.phoneNumber),
403
+ isAuthenticated: globalProps.authenticated
404
+ };
405
+ };
406
+ var getConsumerProfileInfo = function getConsumerProfileInfo() {
407
+ var _globalProps$consumer, _globalProps$consumer2, _globalProps$consumer3, _globalProps$consumer4, _globalProps$consumer5, _globalProps$consumer6, _globalProps$consumer7;
408
+ return {
409
+ name: "".concat((_globalProps$consumer = (_globalProps$consumer2 = globalProps.consumer) === null || _globalProps$consumer2 === void 0 ? void 0 : _globalProps$consumer2.firstName) !== null && _globalProps$consumer !== void 0 ? _globalProps$consumer : "", " ").concat((_globalProps$consumer3 = (_globalProps$consumer4 = globalProps.consumer) === null || _globalProps$consumer4 === void 0 ? void 0 : _globalProps$consumer4.lastName) !== null && _globalProps$consumer3 !== void 0 ? _globalProps$consumer3 : ""),
410
+ imageUrl: ((_globalProps$consumer5 = globalProps.consumer) === null || _globalProps$consumer5 === void 0 ? void 0 : _globalProps$consumer5.profileImageUrl) || "https://d2v7kzglnr2dnh.cloudfront.net/others/profile-pic.jpg",
411
+ email: ((_globalProps$consumer6 = globalProps.consumer) === null || _globalProps$consumer6 === void 0 ? void 0 : _globalProps$consumer6.email) || ((_globalProps$consumer7 = globalProps.consumer) === null || _globalProps$consumer7 === void 0 ? void 0 : _globalProps$consumer7.phoneNumber),
412
+ isAuthenticated: globalProps.isConsumer
413
+ };
414
+ };
415
+ var getDefaultBottomLinks = function getDefaultBottomLinks(isAuthenticated, isConsumer) {
416
+ return [isAuthenticated ? {
417
+ label: t("neetoMolecules.sidebar.logout"),
418
+ icon: Logout,
419
+ onClick: function onClick() {
420
+ resetAuthTokens();
421
+ removeFromLocalStorage(getSidebarStateLocalStorageKey());
422
+ isConsumer ? window.location.href = "/consumers/logout?redirect_uri=".concat(window.location.href) : window.location.href = "/logout";
423
+ },
424
+ "data-testid": "profile-logout-button"
425
+ } : {
426
+ label: t("neetoMolecules.sidebar.login"),
427
+ onClick: function onClick() {
428
+ window.location.href = "/login";
429
+ },
430
+ "data-testid": "profile-login-button"
431
+ }];
432
+ };
433
+ var getProfileInfo = function getProfileInfo(profileInfoOverrides, isConsumer) {
434
+ return mergeDeepLeft(profileInfoOverrides, isConsumer ? getConsumerProfileInfo() : getUserProfileInfo());
435
+ };
436
+
437
+ // Theme switcher utils.
438
+ var setDarkTheme = function setDarkTheme() {
439
+ if (!document.body) return;
440
+ document.body.classList.remove(THEMES.LIGHT);
441
+ document.body.classList.add(THEMES.DARK);
442
+ };
443
+ var setLightTheme = function setLightTheme() {
444
+ if (!document.body) return;
445
+ document.body.classList.remove(THEMES.DARK);
446
+ document.body.classList.add(THEMES.LIGHT);
447
+ };
448
+ var setAppTheme = function setAppTheme() {
449
+ var isDarkTheme = getFromLocalStorage(APP_THEME_LOCALSTORAGE_KEY) === THEMES.DARK;
450
+ isDarkTheme ? setDarkTheme() : setLightTheme();
451
+ };
452
+ var getRoadmapUrl = function getRoadmapUrl() {
453
+ var _globalProps;
454
+ return "https://roadmap.".concat(toLower(((_globalProps = globalProps) === null || _globalProps === void 0 ? void 0 : _globalProps.appName) || ""), ".com");
455
+ };
456
+
367
457
  var Menu$4 = Dropdown$1.Menu,
368
458
  MenuItem$8 = Dropdown$1.MenuItem;
369
459
  var HelpMenu = function HelpMenu() {
@@ -380,6 +470,9 @@ var HelpMenu = function HelpMenu() {
380
470
  position: isMobile ? "bottom" : "right",
381
471
  trigger: "all",
382
472
  zIndex: 99999,
473
+ dropdownProps: {
474
+ classNames: "neeto-molecules-help-menu-popup__dropdown"
475
+ },
383
476
  children: /*#__PURE__*/jsxs(Menu$4, {
384
477
  children: [/*#__PURE__*/jsx(MenuItem$8.Button, {
385
478
  className: "neeto-molecules-menu-sublist__item-btn",
@@ -413,6 +506,26 @@ var HelpMenu = function HelpMenu() {
413
506
  rel: "noreferrer",
414
507
  target: "_blank",
415
508
  children: t("neetoMolecules.sidebar.helpLinks.askTheCommunity")
509
+ }), /*#__PURE__*/jsx(MenuItem$8.Button, {
510
+ className: "neeto-molecules-menu-sublist__item-btn",
511
+ "data-testid": "help-link-request-feature-button",
512
+ href: "".concat(getRoadmapUrl(), "/feature-requests"),
513
+ prefix: /*#__PURE__*/jsx(Bulb, {
514
+ size: 18
515
+ }),
516
+ rel: "noreferrer",
517
+ target: "_blank",
518
+ children: t("neetoMolecules.sidebar.helpLinks.requestFeature")
519
+ }), /*#__PURE__*/jsx(MenuItem$8.Button, {
520
+ className: "neeto-molecules-menu-sublist__item-btn",
521
+ "data-testid": "help-link-roadmap-button",
522
+ href: "".concat(getRoadmapUrl(), "/product-roadmap"),
523
+ prefix: /*#__PURE__*/jsx(Roadmap, {
524
+ size: 18
525
+ }),
526
+ rel: "noreferrer",
527
+ target: "_blank",
528
+ children: t("neetoMolecules.sidebar.helpLinks.roadmap")
416
529
  }), /*#__PURE__*/jsx(MenuItem$8.Button, {
417
530
  className: "neeto-molecules-menu-sublist__item-btn",
418
531
  "data-testid": "help-link-status-button",
@@ -671,29 +784,6 @@ var MenuButton$1 = function MenuButton(_ref) {
671
784
  }));
672
785
  };
673
786
 
674
- var MY_ORGANIZATION_URL = "/auth/organization/edit";
675
- var DELETE_WORKSPACE_URL = "/auth/organization/delete";
676
- var ENGAGE_WIDGET_TRIGGER_ID = "neetoengage-trigger";
677
- var DEFAULT_MENU_LINK_PROPS = {
678
- engageProps: {
679
- id: ENGAGE_WIDGET_TRIGGER_ID,
680
- label: t("neetoMolecules.sidebar.helpLinks.whatsNew"),
681
- "data-testid": "help-link-engage-button"
682
- },
683
- keyboardShortcutProps: {
684
- label: t("neetoMolecules.sidebar.helpLinks.keyboardShortcuts"),
685
- "data-testid": "help-link-keyboard-shortcut-button"
686
- }
687
- };
688
-
689
- // Theme switcher
690
- var APP_THEME_LOCALSTORAGE_KEY = "appTheme";
691
- var THEMES = {
692
- LIGHT: "neeto-ui-theme--light",
693
- DARK: "neeto-ui-theme--dark"
694
- };
695
- var NEETO_AUTH_BILLING_INFO_URL = "/neeto_sso/api/v1/subscription/billing";
696
-
697
787
  var Menu$1 = Dropdown$1.Menu,
698
788
  MenuItem$3 = Dropdown$1.MenuItem;
699
789
  var ProfileExpandMenu = function ProfileExpandMenu(_ref) {
@@ -744,67 +834,6 @@ var ProfileExpandMenu = function ProfileExpandMenu(_ref) {
744
834
  });
745
835
  };
746
836
 
747
- var getSidebarStateLocalStorageKey = function getSidebarStateLocalStorageKey() {
748
- var _globalProps$user, _globalProps$user2;
749
- var user = ((_globalProps$user = globalProps.user) === null || _globalProps$user === void 0 ? void 0 : _globalProps$user.email) || ((_globalProps$user2 = globalProps.user) === null || _globalProps$user2 === void 0 ? void 0 : _globalProps$user2.phoneNumber);
750
- return "sidebarState-".concat(user);
751
- };
752
- var getUserProfileInfo = function getUserProfileInfo() {
753
- var _globalProps$user$fir, _globalProps$user3, _globalProps$user$las, _globalProps$user4, _globalProps$user5, _globalProps$user6, _globalProps$user7;
754
- return {
755
- name: "".concat((_globalProps$user$fir = (_globalProps$user3 = globalProps.user) === null || _globalProps$user3 === void 0 ? void 0 : _globalProps$user3.firstName) !== null && _globalProps$user$fir !== void 0 ? _globalProps$user$fir : "", " ").concat((_globalProps$user$las = (_globalProps$user4 = globalProps.user) === null || _globalProps$user4 === void 0 ? void 0 : _globalProps$user4.lastName) !== null && _globalProps$user$las !== void 0 ? _globalProps$user$las : ""),
756
- imageUrl: globalProps.authenticated ? (_globalProps$user5 = globalProps.user) === null || _globalProps$user5 === void 0 ? void 0 : _globalProps$user5.profileImageUrl : "https://d2v7kzglnr2dnh.cloudfront.net/others/profile-pic.jpg",
757
- email: ((_globalProps$user6 = globalProps.user) === null || _globalProps$user6 === void 0 ? void 0 : _globalProps$user6.email) || ((_globalProps$user7 = globalProps.user) === null || _globalProps$user7 === void 0 ? void 0 : _globalProps$user7.phoneNumber),
758
- isAuthenticated: globalProps.authenticated
759
- };
760
- };
761
- var getConsumerProfileInfo = function getConsumerProfileInfo() {
762
- var _globalProps$consumer, _globalProps$consumer2, _globalProps$consumer3, _globalProps$consumer4, _globalProps$consumer5, _globalProps$consumer6, _globalProps$consumer7;
763
- return {
764
- name: "".concat((_globalProps$consumer = (_globalProps$consumer2 = globalProps.consumer) === null || _globalProps$consumer2 === void 0 ? void 0 : _globalProps$consumer2.firstName) !== null && _globalProps$consumer !== void 0 ? _globalProps$consumer : "", " ").concat((_globalProps$consumer3 = (_globalProps$consumer4 = globalProps.consumer) === null || _globalProps$consumer4 === void 0 ? void 0 : _globalProps$consumer4.lastName) !== null && _globalProps$consumer3 !== void 0 ? _globalProps$consumer3 : ""),
765
- imageUrl: ((_globalProps$consumer5 = globalProps.consumer) === null || _globalProps$consumer5 === void 0 ? void 0 : _globalProps$consumer5.profileImageUrl) || "https://d2v7kzglnr2dnh.cloudfront.net/others/profile-pic.jpg",
766
- email: ((_globalProps$consumer6 = globalProps.consumer) === null || _globalProps$consumer6 === void 0 ? void 0 : _globalProps$consumer6.email) || ((_globalProps$consumer7 = globalProps.consumer) === null || _globalProps$consumer7 === void 0 ? void 0 : _globalProps$consumer7.phoneNumber),
767
- isAuthenticated: globalProps.isConsumer
768
- };
769
- };
770
- var getDefaultBottomLinks = function getDefaultBottomLinks(isAuthenticated, isConsumer) {
771
- return [isAuthenticated ? {
772
- label: t("neetoMolecules.sidebar.logout"),
773
- icon: Logout,
774
- onClick: function onClick() {
775
- resetAuthTokens();
776
- removeFromLocalStorage(getSidebarStateLocalStorageKey());
777
- isConsumer ? window.location.href = "/consumers/logout?redirect_uri=".concat(window.location.href) : window.location.href = "/logout";
778
- },
779
- "data-testid": "profile-logout-button"
780
- } : {
781
- label: t("neetoMolecules.sidebar.login"),
782
- onClick: function onClick() {
783
- window.location.href = "/login";
784
- },
785
- "data-testid": "profile-login-button"
786
- }];
787
- };
788
- var getProfileInfo = function getProfileInfo(profileInfoOverrides, isConsumer) {
789
- return mergeDeepLeft(profileInfoOverrides, isConsumer ? getConsumerProfileInfo() : getUserProfileInfo());
790
- };
791
-
792
- // Theme switcher utils.
793
- var setDarkTheme = function setDarkTheme() {
794
- if (!document.body) return;
795
- document.body.classList.remove(THEMES.LIGHT);
796
- document.body.classList.add(THEMES.DARK);
797
- };
798
- var setLightTheme = function setLightTheme() {
799
- if (!document.body) return;
800
- document.body.classList.remove(THEMES.DARK);
801
- document.body.classList.add(THEMES.LIGHT);
802
- };
803
- var setAppTheme = function setAppTheme() {
804
- var isDarkTheme = getFromLocalStorage(APP_THEME_LOCALSTORAGE_KEY) === THEMES.DARK;
805
- isDarkTheme ? setDarkTheme() : setLightTheme();
806
- };
807
-
808
837
  var MenuItem$2 = Dropdown$1.MenuItem;
809
838
  var ThemeSwitcher = function ThemeSwitcher() {
810
839
  var _useTranslation = useTranslation(),
@@ -1168,7 +1197,7 @@ var ProfileButton = function ProfileButton(_ref) {
1168
1197
  });
1169
1198
  };
1170
1199
 
1171
- var css = ":root{--neeto-molecules-floating-menu-z-index:99999}.neeto-molecules-floating-action-menu__container{background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-white));border-end-end-radius:1.0625rem;border-inline-start:none;border-start-end-radius:1.0625rem;bottom:16px;inset-inline-start:0;position:fixed;z-index:99999;z-index:var(--neeto-molecules-floating-menu-z-index)}.neeto-molecules-floating-action-button{align-items:center;background-color:rgb(var(--neeto-ui-primary-500));border-color:rgb(var(--neeto-ui-primary-500));border-end-end-radius:1rem;border-start-end-radius:1rem;display:flex;flex-direction:column;gap:.375rem;justify-content:center;padding:.25rem}.neeto-molecules-floating-action-button__help-icon{align-items:center;background-color:#fff;border-radius:6.25rem;display:flex;height:1.625rem;justify-content:center;width:1.625rem}.neeto-molecules-floating-action-button__profile-avatar{--neeto-ui-avatar-container-width:1.625rem;--neeto-ui-avatar-container-height:1.625rem;border:2px solid #fff;border-radius:6.25rem}.neeto-molecules-floating-action-button__profile-avatar>div{height:100%;width:100%}.neeto-molecules-floating-action-button__profile-avatar .neeto-ui-avatar{height:100%!important;width:100%!important}.neeto-molecules-floating-action-button__dropdown{--neeto-ui-dropdown-divider-margin:0.5rem;--neeto-ui-dropdown-item-border-radius:0.25rem;flex-shrink:0;max-height:95vh!important;max-width:none;width:16rem;z-index:99999;z-index:var(--neeto-molecules-floating-menu-z-index)}.neeto-molecules-floating-action-button__dropdown .neeto-ui-dropdown__popup-menu{padding-bottom:.75rem!important;padding-top:.75rem!important}.neeto-molecules-floating-action-button__dropdown.neeto-ui-dropdown__popup .neeto-ui-dropdown__popup-menu-item{background-color:transparent!important;padding-left:.75rem;padding-right:.75rem}.neeto-molecules-floating-action-button__backdrop{background-color:rgba(var(--neeto-ui-black),.27);height:100%;left:0;pointer-events:none;position:fixed;top:0;width:100%;z-index:99998;z-index:calc(var(--neeto-molecules-floating-menu-z-index) - 1)}.neeto-molecules-product-switcher-menu-popup__dropdown{max-height:none!important;max-width:none}.neeto-molecules-menu__notif-count{border:1px solid #fff;height:.9375rem;inset-inline-end:0;min-width:.9375rem;pointer-events:none;position:absolute;top:0;z-index:3}.neeto-molecules-menu-list__item-btn-count,.neeto-molecules-menu__notif-count{align-items:center;background-color:rgb(var(--neeto-ui-accent-500));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-white));display:flex;flex-shrink:0;font-size:var(--neeto-ui-text-xxs);justify-content:center;padding-inline-end:.25rem;padding-inline-start:.25rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-molecules-menu-list__item-btn-count{height:1.125rem;min-width:1.125rem}.neeto-ui-dropdown__popup .neeto-molecules-product-switcher-menu-popup-wrapper{border:1px solid rgb(var(--neeto-ui-gray-400));border-radius:.75rem!important;min-width:15rem}.neeto-ui-dropdown__popup .neeto-molecules-product-switcher-menu-popup-wrapper .tippy-content{padding:0}.neeto-ui-dropdown__popup .neeto-molecules-product-switcher-menu-popup-wrapper .tippy-svg-arrow{display:none!important}.neeto-molecules-profile-popup__top-section{border-radius:.25rem;transition:var(--neeto-ui-transition)}@media (prefers-reduced-motion:reduce){.neeto-molecules-profile-popup__top-section{transition:none}}.neeto-molecules-profile-popup__top-section:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-molecules-menu-sublist__item-btn{font-weight:500!important;height:2.5rem}.neeto-molecules-menu-sublist__item-btn[data-btn-weight=bold]{font-weight:700!important}.neeto-molecules-menu-sublist__item-btn.active{background-color:rgb(var(--neeto-ui-gray-800));color:rgb(var(--neeto-ui-white))}.neeto-molecules-menu-sublist__item-btn-icon svg path{vector-effect:non-scaling-stroke}.neeto-molecules-menu-sublist__item-btn span{align-items:center;display:flex;gap:.5rem}.neeto-molecules-product-switcher-menu-popup-wrapper{height:95vh;overflow-y:auto;width:calc(100vw - 25rem)}.neeto-molecules-floating-action-button__profile-wrapper-custom-content:hover{background-color:rgb(var(--neeto-ui-white))!important}.neeto-molecules-organization-switcher-active-button,.neeto-molecules-theme-switcher-active-button{color:rgb(var(--neeto-ui-success-600))!important}.tippy-box[data-theme~=neeto-molecules-floating-action-outer-dropdown-wrapper]{--neeto-ui-dropdown-box-shadow:0 0 0 0;--neeto-ui-dropdown-border-radius:0.75rem;--neeto-ui-dropdown-popup-border-radius:0.75rem;--neeto-ui-dropdown-margin-y:0;--neeto-ui-dropdown-margin-x:0;transition:var(--neeto-ui-transition)}@media (prefers-reduced-motion:reduce){.tippy-box[data-theme~=neeto-molecules-floating-action-outer-dropdown-wrapper]{transition:none}}.tippy-box[data-theme~=neeto-molecules-floating-action-outer-dropdown-wrapper] .neeto-ui-dropdown__popup{--neeto-ui-dropdown-border-radius:0.75rem;transition:var(--neeto-ui-transition)}@media (prefers-reduced-motion:reduce){.tippy-box[data-theme~=neeto-molecules-floating-action-outer-dropdown-wrapper] .neeto-ui-dropdown__popup{transition:none}}.tippy-box[data-theme~=neeto-molecules-floating-action-outer-dropdown-wrapper] .neeto-ui-dropdown__popup .neeto-ui-dropdown__popup-divider{transition:var(--neeto-ui-transition)}@media (prefers-reduced-motion:reduce){.tippy-box[data-theme~=neeto-molecules-floating-action-outer-dropdown-wrapper] .neeto-ui-dropdown__popup .neeto-ui-dropdown__popup-divider{transition:none}}.neeto-molecules-subscription-plan-badge{border-radius:9999px;display:inline-block;font-size:.625rem;font-weight:600;line-height:1.1;padding:.25rem .625rem}.neeto-molecules-subscription-plan-badge--pro{background-color:#ffe44a;color:#000}.neeto-molecules-subscription-plan-badge--free{background-color:rgb(var(--neeto-ui-primary-500));color:rgb(var(--neeto-ui-white))}.neeto-molecules-theme-switcher{border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem}.neeto-molecules-theme-switcher__label{color:rgb(var(--neeto-ui-gray-800));font-size:.875rem;font-weight:500}.neeto-molecules-theme-switcher__segmented-control{background-color:rgb(var(--neeto-ui-gray-200));border-radius:9999px;display:flex;gap:.25rem;padding:.0625rem}.neeto-molecules-theme-switcher__option{align-items:center;background-color:transparent;border:1px solid transparent;border-radius:9999px;color:rgb(var(--neeto-ui-gray-700));cursor:pointer;display:flex;flex:1;font-size:.75rem;font-weight:500;gap:.125rem;padding:.25rem .375rem;transition:all .2s ease;white-space:nowrap}@media (prefers-reduced-motion:reduce){.neeto-molecules-theme-switcher__option{transition:none}}.neeto-molecules-theme-switcher__option:hover{background-color:rgb(var(--neeto-ui-gray-100))}.neeto-molecules-theme-switcher__option--active{background-color:rgb(var(--neeto-ui-white));border-color:rgb(var(--neeto-ui-gray-300));box-shadow:0 1px 2px rgba(0,0,0,.05);color:rgb(var(--neeto-ui-gray-800))}.neeto-molecules-theme-switcher__option svg{flex-shrink:0}";
1200
+ var css = ":root{--neeto-molecules-floating-menu-z-index:99999}.neeto-molecules-floating-action-menu__container{background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-white));border-end-end-radius:1.0625rem;border-inline-start:none;border-start-end-radius:1.0625rem;bottom:16px;inset-inline-start:0;position:fixed;z-index:99999;z-index:var(--neeto-molecules-floating-menu-z-index)}.neeto-molecules-floating-action-button{align-items:center;background-color:rgb(var(--neeto-ui-primary-500));border-color:rgb(var(--neeto-ui-primary-500));border-end-end-radius:1rem;border-start-end-radius:1rem;display:flex;flex-direction:column;gap:.375rem;justify-content:center;padding:.25rem}.neeto-molecules-floating-action-button__help-icon{align-items:center;background-color:#fff;border-radius:6.25rem;display:flex;height:1.625rem;justify-content:center;width:1.625rem}.neeto-molecules-floating-action-button__profile-avatar{--neeto-ui-avatar-container-width:1.625rem;--neeto-ui-avatar-container-height:1.625rem;border:2px solid #fff;border-radius:6.25rem}.neeto-molecules-floating-action-button__profile-avatar>div{height:100%;width:100%}.neeto-molecules-floating-action-button__profile-avatar .neeto-ui-avatar{height:100%!important;width:100%!important}.neeto-molecules-floating-action-button__dropdown{--neeto-ui-dropdown-divider-margin:0.5rem;--neeto-ui-dropdown-item-border-radius:0.25rem;flex-shrink:0;max-height:95vh!important;max-width:none;width:16rem;z-index:99999;z-index:var(--neeto-molecules-floating-menu-z-index)}.neeto-molecules-floating-action-button__dropdown .neeto-ui-dropdown__popup-menu{padding-bottom:.75rem!important;padding-top:.75rem!important}.neeto-molecules-floating-action-button__dropdown.neeto-ui-dropdown__popup .neeto-ui-dropdown__popup-menu-item{background-color:transparent!important;padding-left:.75rem;padding-right:.75rem}.neeto-molecules-floating-action-button__backdrop{background-color:rgba(var(--neeto-ui-black),.27);height:100%;left:0;pointer-events:none;position:fixed;top:0;width:100%;z-index:99998;z-index:calc(var(--neeto-molecules-floating-menu-z-index) - 1)}.neeto-molecules-product-switcher-menu-popup__dropdown{max-height:none!important;max-width:none}.neeto-ui-dropdown__popup.neeto-molecules-help-menu-popup__dropdown{max-height:95vh}.neeto-molecules-menu__notif-count{border:1px solid #fff;height:.9375rem;inset-inline-end:0;min-width:.9375rem;pointer-events:none;position:absolute;top:0;z-index:3}.neeto-molecules-menu-list__item-btn-count,.neeto-molecules-menu__notif-count{align-items:center;background-color:rgb(var(--neeto-ui-accent-500));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-white));display:flex;flex-shrink:0;font-size:var(--neeto-ui-text-xxs);justify-content:center;padding-inline-end:.25rem;padding-inline-start:.25rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-molecules-menu-list__item-btn-count{height:1.125rem;min-width:1.125rem}.neeto-ui-dropdown__popup .neeto-molecules-product-switcher-menu-popup-wrapper{border:1px solid rgb(var(--neeto-ui-gray-400));border-radius:.75rem!important;min-width:15rem}.neeto-ui-dropdown__popup .neeto-molecules-product-switcher-menu-popup-wrapper .tippy-content{padding:0}.neeto-ui-dropdown__popup .neeto-molecules-product-switcher-menu-popup-wrapper .tippy-svg-arrow{display:none!important}.neeto-molecules-profile-popup__top-section{border-radius:.25rem;transition:var(--neeto-ui-transition)}@media (prefers-reduced-motion:reduce){.neeto-molecules-profile-popup__top-section{transition:none}}.neeto-molecules-profile-popup__top-section:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-molecules-menu-sublist__item-btn{font-weight:500!important;height:2.5rem}.neeto-molecules-menu-sublist__item-btn[data-btn-weight=bold]{font-weight:700!important}.neeto-molecules-menu-sublist__item-btn.active{background-color:rgb(var(--neeto-ui-gray-800));color:rgb(var(--neeto-ui-white))}.neeto-molecules-menu-sublist__item-btn-icon svg path{vector-effect:non-scaling-stroke}.neeto-molecules-menu-sublist__item-btn span{align-items:center;display:flex;gap:.5rem}.neeto-molecules-product-switcher-menu-popup-wrapper{height:95vh;overflow-y:auto;width:calc(100vw - 25rem)}.neeto-molecules-floating-action-button__profile-wrapper-custom-content:hover{background-color:rgb(var(--neeto-ui-white))!important}.neeto-molecules-organization-switcher-active-button,.neeto-molecules-theme-switcher-active-button{color:rgb(var(--neeto-ui-success-600))!important}.tippy-box[data-theme~=neeto-molecules-floating-action-outer-dropdown-wrapper]{--neeto-ui-dropdown-box-shadow:0 0 0 0;--neeto-ui-dropdown-border-radius:0.75rem;--neeto-ui-dropdown-popup-border-radius:0.75rem;--neeto-ui-dropdown-margin-y:0;--neeto-ui-dropdown-margin-x:0;transition:var(--neeto-ui-transition)}@media (prefers-reduced-motion:reduce){.tippy-box[data-theme~=neeto-molecules-floating-action-outer-dropdown-wrapper]{transition:none}}.tippy-box[data-theme~=neeto-molecules-floating-action-outer-dropdown-wrapper] .neeto-ui-dropdown__popup{--neeto-ui-dropdown-border-radius:0.75rem;transition:var(--neeto-ui-transition)}@media (prefers-reduced-motion:reduce){.tippy-box[data-theme~=neeto-molecules-floating-action-outer-dropdown-wrapper] .neeto-ui-dropdown__popup{transition:none}}.tippy-box[data-theme~=neeto-molecules-floating-action-outer-dropdown-wrapper] .neeto-ui-dropdown__popup .neeto-ui-dropdown__popup-divider{transition:var(--neeto-ui-transition)}@media (prefers-reduced-motion:reduce){.tippy-box[data-theme~=neeto-molecules-floating-action-outer-dropdown-wrapper] .neeto-ui-dropdown__popup .neeto-ui-dropdown__popup-divider{transition:none}}.neeto-molecules-subscription-plan-badge{border-radius:9999px;display:inline-block;font-size:.625rem;font-weight:600;line-height:1.1;padding:.25rem .625rem}.neeto-molecules-subscription-plan-badge--pro{background-color:#ffe44a;color:#000}.neeto-molecules-subscription-plan-badge--free{background-color:rgb(var(--neeto-ui-primary-500));color:rgb(var(--neeto-ui-white))}.neeto-molecules-theme-switcher{border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem}.neeto-molecules-theme-switcher__label{color:rgb(var(--neeto-ui-gray-800));font-size:.875rem;font-weight:500}.neeto-molecules-theme-switcher__segmented-control{background-color:rgb(var(--neeto-ui-gray-200));border-radius:9999px;display:flex;gap:.25rem;padding:.0625rem}.neeto-molecules-theme-switcher__option{align-items:center;background-color:transparent;border:1px solid transparent;border-radius:9999px;color:rgb(var(--neeto-ui-gray-700));cursor:pointer;display:flex;flex:1;font-size:.75rem;font-weight:500;gap:.125rem;padding:.25rem .375rem;transition:all .2s ease;white-space:nowrap}@media (prefers-reduced-motion:reduce){.neeto-molecules-theme-switcher__option{transition:none}}.neeto-molecules-theme-switcher__option:hover{background-color:rgb(var(--neeto-ui-gray-100))}.neeto-molecules-theme-switcher__option--active{background-color:rgb(var(--neeto-ui-white));border-color:rgb(var(--neeto-ui-gray-300));box-shadow:0 1px 2px rgba(0,0,0,.05);color:rgb(var(--neeto-ui-gray-800))}.neeto-molecules-theme-switcher__option svg{flex-shrink:0}";
1172
1201
  n(css,{});
1173
1202
 
1174
1203
  var _excluded = ["profileInfoOverrides", "topLinks", "bottomLinks", "showProductSwitcher", "isThemeSwitcherEnabled", "isOrganizationSwitcherEnabled", "customContent", "profilePopoverProps", "isConsumer", "enableSubscriptionUpgradeRequest"];