@bigbinary/neeto-molecules 5.3.10 → 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.
- package/dist/FloatingActionMenu.js +120 -91
- package/dist/FloatingActionMenu.js.map +1 -1
- package/dist/ProductEmbed.js +20 -9
- package/dist/ProductEmbed.js.map +1 -1
- package/dist/ShareViaLink.js +4 -4
- package/dist/ShareViaLink.js.map +1 -1
- package/dist/cjs/FloatingActionMenu.js +119 -90
- package/dist/cjs/FloatingActionMenu.js.map +1 -1
- package/dist/cjs/ProductEmbed.js +19 -8
- package/dist/cjs/ProductEmbed.js.map +1 -1
- package/dist/cjs/ShareViaLink.js +4 -4
- package/dist/cjs/ShareViaLink.js.map +1 -1
- package/dist/cjs/v2/FloatingActionMenu.js +141 -77
- package/dist/cjs/v2/FloatingActionMenu.js.map +1 -1
- package/dist/cjs/v2/ProductEmbed.js +19 -8
- package/dist/cjs/v2/ProductEmbed.js.map +1 -1
- package/dist/v2/FloatingActionMenu.js +141 -77
- package/dist/v2/FloatingActionMenu.js.map +1 -1
- package/dist/v2/ProductEmbed.js +20 -9
- package/dist/v2/ProductEmbed.js.map +1 -1
- package/package.json +1 -1
- package/src/translations/en.json +3 -1
|
@@ -31,24 +31,26 @@ var axios = require('axios');
|
|
|
31
31
|
var Crown = require('@bigbinary/neeto-icons/Crown');
|
|
32
32
|
var useBreakpoints = require('@bigbinary/neeto-commons-frontend/react-utils/useBreakpoints');
|
|
33
33
|
var Book = require('@bigbinary/neeto-icons/Book');
|
|
34
|
+
var Bulb = require('@bigbinary/neeto-icons/Bulb');
|
|
34
35
|
var ChatQuestions = require('@bigbinary/neeto-icons/ChatQuestions');
|
|
35
36
|
var Community = require('@bigbinary/neeto-icons/Community');
|
|
37
|
+
var Roadmap = require('@bigbinary/neeto-icons/Roadmap');
|
|
36
38
|
var Status = require('@bigbinary/neeto-icons/Status');
|
|
37
39
|
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
38
40
|
var Right = require('@bigbinary/neeto-icons/Right');
|
|
41
|
+
var i18next = require('i18next');
|
|
42
|
+
var utils = require('@bigbinary/neeto-commons-frontend/utils');
|
|
43
|
+
var axios$1 = require('@bigbinary/neeto-commons-frontend/utils/axios');
|
|
44
|
+
var general = require('@bigbinary/neeto-commons-frontend/utils/general');
|
|
45
|
+
var Logout = require('@bigbinary/neeto-icons/Logout');
|
|
39
46
|
var CheckCircle = require('@bigbinary/neeto-icons/CheckCircle');
|
|
40
47
|
var Tag = require('@bigbinary/neetoui/Tag');
|
|
41
48
|
var _objectDestructuringEmpty = require('@babel/runtime/helpers/objectDestructuringEmpty');
|
|
42
49
|
var CloseCircle = require('@bigbinary/neeto-icons/CloseCircle');
|
|
43
50
|
var User = require('@bigbinary/neeto-icons/User');
|
|
44
|
-
var i18next = require('i18next');
|
|
45
51
|
var useLocalStorage = require('@bigbinary/neeto-commons-frontend/react-utils/useLocalStorage');
|
|
46
52
|
var Moon = require('@bigbinary/neeto-icons/Moon');
|
|
47
53
|
var Sun = require('@bigbinary/neeto-icons/Sun');
|
|
48
|
-
var utils = require('@bigbinary/neeto-commons-frontend/utils');
|
|
49
|
-
var axios$1 = require('@bigbinary/neeto-commons-frontend/utils/axios');
|
|
50
|
-
var general = require('@bigbinary/neeto-commons-frontend/utils/general');
|
|
51
|
-
var Logout = require('@bigbinary/neeto-icons/Logout');
|
|
52
54
|
var CopyToClipboardButton = require('./CopyToClipboardButton.js');
|
|
53
55
|
require('./useKeyboardShortcutsPaneState-BrgdLb9F.js');
|
|
54
56
|
require('zustand/shallow');
|
|
@@ -385,6 +387,94 @@ var MenuButton$4 = reactUtils.withT(function (_ref) {
|
|
|
385
387
|
}));
|
|
386
388
|
});
|
|
387
389
|
|
|
390
|
+
var MY_ORGANIZATION_URL = "/auth/organization/edit";
|
|
391
|
+
var DELETE_WORKSPACE_URL = "/auth/organization/delete";
|
|
392
|
+
var ENGAGE_WIDGET_TRIGGER_ID = "neetoengage-trigger";
|
|
393
|
+
var DEFAULT_MENU_LINK_PROPS = {
|
|
394
|
+
engageProps: {
|
|
395
|
+
id: ENGAGE_WIDGET_TRIGGER_ID,
|
|
396
|
+
label: i18next.t("neetoMolecules.sidebar.helpLinks.whatsNew"),
|
|
397
|
+
"data-testid": "help-link-engage-button"
|
|
398
|
+
},
|
|
399
|
+
keyboardShortcutProps: {
|
|
400
|
+
label: i18next.t("neetoMolecules.sidebar.helpLinks.keyboardShortcuts"),
|
|
401
|
+
"data-testid": "help-link-keyboard-shortcut-button"
|
|
402
|
+
}
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
// Theme switcher
|
|
406
|
+
var APP_THEME_LOCALSTORAGE_KEY = "appTheme";
|
|
407
|
+
var THEMES = {
|
|
408
|
+
LIGHT: "neeto-ui-theme--light",
|
|
409
|
+
DARK: "neeto-ui-theme--dark"
|
|
410
|
+
};
|
|
411
|
+
var NEETO_AUTH_BILLING_INFO_URL = "/neeto_sso/api/v1/subscription/billing";
|
|
412
|
+
|
|
413
|
+
var getSidebarStateLocalStorageKey = function getSidebarStateLocalStorageKey() {
|
|
414
|
+
var _globalProps$user, _globalProps$user2;
|
|
415
|
+
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);
|
|
416
|
+
return "sidebarState-".concat(user);
|
|
417
|
+
};
|
|
418
|
+
var getUserProfileInfo = function getUserProfileInfo() {
|
|
419
|
+
var _globalProps$user$fir, _globalProps$user3, _globalProps$user$las, _globalProps$user4, _globalProps$user5, _globalProps$user6, _globalProps$user7;
|
|
420
|
+
return {
|
|
421
|
+
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 : ""),
|
|
422
|
+
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",
|
|
423
|
+
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),
|
|
424
|
+
isAuthenticated: globalProps.authenticated
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
var getConsumerProfileInfo = function getConsumerProfileInfo() {
|
|
428
|
+
var _globalProps$consumer, _globalProps$consumer2, _globalProps$consumer3, _globalProps$consumer4, _globalProps$consumer5, _globalProps$consumer6, _globalProps$consumer7;
|
|
429
|
+
return {
|
|
430
|
+
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 : ""),
|
|
431
|
+
imageUrl: ((_globalProps$consumer5 = globalProps.consumer) === null || _globalProps$consumer5 === void 0 ? void 0 : _globalProps$consumer5.profileImageUrl) || "https://d2v7kzglnr2dnh.cloudfront.net/others/profile-pic.jpg",
|
|
432
|
+
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),
|
|
433
|
+
isAuthenticated: globalProps.isConsumer
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
var getDefaultBottomLinks = function getDefaultBottomLinks(isAuthenticated, isConsumer) {
|
|
437
|
+
return [isAuthenticated ? {
|
|
438
|
+
label: i18next.t("neetoMolecules.sidebar.logout"),
|
|
439
|
+
icon: Logout,
|
|
440
|
+
onClick: function onClick() {
|
|
441
|
+
axios$1.resetAuthTokens();
|
|
442
|
+
general.removeFromLocalStorage(getSidebarStateLocalStorageKey());
|
|
443
|
+
isConsumer ? window.location.href = "/consumers/logout?redirect_uri=".concat(window.location.href) : window.location.href = "/logout";
|
|
444
|
+
},
|
|
445
|
+
"data-testid": "profile-logout-button"
|
|
446
|
+
} : {
|
|
447
|
+
label: i18next.t("neetoMolecules.sidebar.login"),
|
|
448
|
+
onClick: function onClick() {
|
|
449
|
+
window.location.href = "/login";
|
|
450
|
+
},
|
|
451
|
+
"data-testid": "profile-login-button"
|
|
452
|
+
}];
|
|
453
|
+
};
|
|
454
|
+
var getProfileInfo = function getProfileInfo(profileInfoOverrides, isConsumer) {
|
|
455
|
+
return ramda.mergeDeepLeft(profileInfoOverrides, isConsumer ? getConsumerProfileInfo() : getUserProfileInfo());
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
// Theme switcher utils.
|
|
459
|
+
var setDarkTheme = function setDarkTheme() {
|
|
460
|
+
if (!document.body) return;
|
|
461
|
+
document.body.classList.remove(THEMES.LIGHT);
|
|
462
|
+
document.body.classList.add(THEMES.DARK);
|
|
463
|
+
};
|
|
464
|
+
var setLightTheme = function setLightTheme() {
|
|
465
|
+
if (!document.body) return;
|
|
466
|
+
document.body.classList.remove(THEMES.DARK);
|
|
467
|
+
document.body.classList.add(THEMES.LIGHT);
|
|
468
|
+
};
|
|
469
|
+
var setAppTheme = function setAppTheme() {
|
|
470
|
+
var isDarkTheme = utils.getFromLocalStorage(APP_THEME_LOCALSTORAGE_KEY) === THEMES.DARK;
|
|
471
|
+
isDarkTheme ? setDarkTheme() : setLightTheme();
|
|
472
|
+
};
|
|
473
|
+
var getRoadmapUrl = function getRoadmapUrl() {
|
|
474
|
+
var _globalProps;
|
|
475
|
+
return "https://roadmap.".concat(ramda.toLower(((_globalProps = globalProps) === null || _globalProps === void 0 ? void 0 : _globalProps.appName) || ""), ".com");
|
|
476
|
+
};
|
|
477
|
+
|
|
388
478
|
var Menu$4 = Dropdown$1.Menu,
|
|
389
479
|
MenuItem$8 = Dropdown$1.MenuItem;
|
|
390
480
|
var HelpMenu = function HelpMenu() {
|
|
@@ -401,6 +491,9 @@ var HelpMenu = function HelpMenu() {
|
|
|
401
491
|
position: isMobile ? "bottom" : "right",
|
|
402
492
|
trigger: "all",
|
|
403
493
|
zIndex: 99999,
|
|
494
|
+
dropdownProps: {
|
|
495
|
+
classNames: "neeto-molecules-help-menu-popup__dropdown"
|
|
496
|
+
},
|
|
404
497
|
children: /*#__PURE__*/jsxRuntime.jsxs(Menu$4, {
|
|
405
498
|
children: [/*#__PURE__*/jsxRuntime.jsx(MenuItem$8.Button, {
|
|
406
499
|
className: "neeto-molecules-menu-sublist__item-btn",
|
|
@@ -434,6 +527,26 @@ var HelpMenu = function HelpMenu() {
|
|
|
434
527
|
rel: "noreferrer",
|
|
435
528
|
target: "_blank",
|
|
436
529
|
children: t("neetoMolecules.sidebar.helpLinks.askTheCommunity")
|
|
530
|
+
}), /*#__PURE__*/jsxRuntime.jsx(MenuItem$8.Button, {
|
|
531
|
+
className: "neeto-molecules-menu-sublist__item-btn",
|
|
532
|
+
"data-testid": "help-link-request-feature-button",
|
|
533
|
+
href: "".concat(getRoadmapUrl(), "/feature-requests"),
|
|
534
|
+
prefix: /*#__PURE__*/jsxRuntime.jsx(Bulb, {
|
|
535
|
+
size: 18
|
|
536
|
+
}),
|
|
537
|
+
rel: "noreferrer",
|
|
538
|
+
target: "_blank",
|
|
539
|
+
children: t("neetoMolecules.sidebar.helpLinks.requestFeature")
|
|
540
|
+
}), /*#__PURE__*/jsxRuntime.jsx(MenuItem$8.Button, {
|
|
541
|
+
className: "neeto-molecules-menu-sublist__item-btn",
|
|
542
|
+
"data-testid": "help-link-roadmap-button",
|
|
543
|
+
href: "".concat(getRoadmapUrl(), "/product-roadmap"),
|
|
544
|
+
prefix: /*#__PURE__*/jsxRuntime.jsx(Roadmap, {
|
|
545
|
+
size: 18
|
|
546
|
+
}),
|
|
547
|
+
rel: "noreferrer",
|
|
548
|
+
target: "_blank",
|
|
549
|
+
children: t("neetoMolecules.sidebar.helpLinks.roadmap")
|
|
437
550
|
}), /*#__PURE__*/jsxRuntime.jsx(MenuItem$8.Button, {
|
|
438
551
|
className: "neeto-molecules-menu-sublist__item-btn",
|
|
439
552
|
"data-testid": "help-link-status-button",
|
|
@@ -692,29 +805,6 @@ var MenuButton$1 = function MenuButton(_ref) {
|
|
|
692
805
|
}));
|
|
693
806
|
};
|
|
694
807
|
|
|
695
|
-
var MY_ORGANIZATION_URL = "/auth/organization/edit";
|
|
696
|
-
var DELETE_WORKSPACE_URL = "/auth/organization/delete";
|
|
697
|
-
var ENGAGE_WIDGET_TRIGGER_ID = "neetoengage-trigger";
|
|
698
|
-
var DEFAULT_MENU_LINK_PROPS = {
|
|
699
|
-
engageProps: {
|
|
700
|
-
id: ENGAGE_WIDGET_TRIGGER_ID,
|
|
701
|
-
label: i18next.t("neetoMolecules.sidebar.helpLinks.whatsNew"),
|
|
702
|
-
"data-testid": "help-link-engage-button"
|
|
703
|
-
},
|
|
704
|
-
keyboardShortcutProps: {
|
|
705
|
-
label: i18next.t("neetoMolecules.sidebar.helpLinks.keyboardShortcuts"),
|
|
706
|
-
"data-testid": "help-link-keyboard-shortcut-button"
|
|
707
|
-
}
|
|
708
|
-
};
|
|
709
|
-
|
|
710
|
-
// Theme switcher
|
|
711
|
-
var APP_THEME_LOCALSTORAGE_KEY = "appTheme";
|
|
712
|
-
var THEMES = {
|
|
713
|
-
LIGHT: "neeto-ui-theme--light",
|
|
714
|
-
DARK: "neeto-ui-theme--dark"
|
|
715
|
-
};
|
|
716
|
-
var NEETO_AUTH_BILLING_INFO_URL = "/neeto_sso/api/v1/subscription/billing";
|
|
717
|
-
|
|
718
808
|
var Menu$1 = Dropdown$1.Menu,
|
|
719
809
|
MenuItem$3 = Dropdown$1.MenuItem;
|
|
720
810
|
var ProfileExpandMenu = function ProfileExpandMenu(_ref) {
|
|
@@ -765,67 +855,6 @@ var ProfileExpandMenu = function ProfileExpandMenu(_ref) {
|
|
|
765
855
|
});
|
|
766
856
|
};
|
|
767
857
|
|
|
768
|
-
var getSidebarStateLocalStorageKey = function getSidebarStateLocalStorageKey() {
|
|
769
|
-
var _globalProps$user, _globalProps$user2;
|
|
770
|
-
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);
|
|
771
|
-
return "sidebarState-".concat(user);
|
|
772
|
-
};
|
|
773
|
-
var getUserProfileInfo = function getUserProfileInfo() {
|
|
774
|
-
var _globalProps$user$fir, _globalProps$user3, _globalProps$user$las, _globalProps$user4, _globalProps$user5, _globalProps$user6, _globalProps$user7;
|
|
775
|
-
return {
|
|
776
|
-
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 : ""),
|
|
777
|
-
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",
|
|
778
|
-
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),
|
|
779
|
-
isAuthenticated: globalProps.authenticated
|
|
780
|
-
};
|
|
781
|
-
};
|
|
782
|
-
var getConsumerProfileInfo = function getConsumerProfileInfo() {
|
|
783
|
-
var _globalProps$consumer, _globalProps$consumer2, _globalProps$consumer3, _globalProps$consumer4, _globalProps$consumer5, _globalProps$consumer6, _globalProps$consumer7;
|
|
784
|
-
return {
|
|
785
|
-
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 : ""),
|
|
786
|
-
imageUrl: ((_globalProps$consumer5 = globalProps.consumer) === null || _globalProps$consumer5 === void 0 ? void 0 : _globalProps$consumer5.profileImageUrl) || "https://d2v7kzglnr2dnh.cloudfront.net/others/profile-pic.jpg",
|
|
787
|
-
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),
|
|
788
|
-
isAuthenticated: globalProps.isConsumer
|
|
789
|
-
};
|
|
790
|
-
};
|
|
791
|
-
var getDefaultBottomLinks = function getDefaultBottomLinks(isAuthenticated, isConsumer) {
|
|
792
|
-
return [isAuthenticated ? {
|
|
793
|
-
label: i18next.t("neetoMolecules.sidebar.logout"),
|
|
794
|
-
icon: Logout,
|
|
795
|
-
onClick: function onClick() {
|
|
796
|
-
axios$1.resetAuthTokens();
|
|
797
|
-
general.removeFromLocalStorage(getSidebarStateLocalStorageKey());
|
|
798
|
-
isConsumer ? window.location.href = "/consumers/logout?redirect_uri=".concat(window.location.href) : window.location.href = "/logout";
|
|
799
|
-
},
|
|
800
|
-
"data-testid": "profile-logout-button"
|
|
801
|
-
} : {
|
|
802
|
-
label: i18next.t("neetoMolecules.sidebar.login"),
|
|
803
|
-
onClick: function onClick() {
|
|
804
|
-
window.location.href = "/login";
|
|
805
|
-
},
|
|
806
|
-
"data-testid": "profile-login-button"
|
|
807
|
-
}];
|
|
808
|
-
};
|
|
809
|
-
var getProfileInfo = function getProfileInfo(profileInfoOverrides, isConsumer) {
|
|
810
|
-
return ramda.mergeDeepLeft(profileInfoOverrides, isConsumer ? getConsumerProfileInfo() : getUserProfileInfo());
|
|
811
|
-
};
|
|
812
|
-
|
|
813
|
-
// Theme switcher utils.
|
|
814
|
-
var setDarkTheme = function setDarkTheme() {
|
|
815
|
-
if (!document.body) return;
|
|
816
|
-
document.body.classList.remove(THEMES.LIGHT);
|
|
817
|
-
document.body.classList.add(THEMES.DARK);
|
|
818
|
-
};
|
|
819
|
-
var setLightTheme = function setLightTheme() {
|
|
820
|
-
if (!document.body) return;
|
|
821
|
-
document.body.classList.remove(THEMES.DARK);
|
|
822
|
-
document.body.classList.add(THEMES.LIGHT);
|
|
823
|
-
};
|
|
824
|
-
var setAppTheme = function setAppTheme() {
|
|
825
|
-
var isDarkTheme = utils.getFromLocalStorage(APP_THEME_LOCALSTORAGE_KEY) === THEMES.DARK;
|
|
826
|
-
isDarkTheme ? setDarkTheme() : setLightTheme();
|
|
827
|
-
};
|
|
828
|
-
|
|
829
858
|
var MenuItem$2 = Dropdown$1.MenuItem;
|
|
830
859
|
var ThemeSwitcher = function ThemeSwitcher() {
|
|
831
860
|
var _useTranslation = reactI18next.useTranslation(),
|
|
@@ -1189,7 +1218,7 @@ var ProfileButton = function ProfileButton(_ref) {
|
|
|
1189
1218
|
});
|
|
1190
1219
|
};
|
|
1191
1220
|
|
|
1192
|
-
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}";
|
|
1221
|
+
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}";
|
|
1193
1222
|
injectCss.n(css,{});
|
|
1194
1223
|
|
|
1195
1224
|
var _excluded = ["profileInfoOverrides", "topLinks", "bottomLinks", "showProductSwitcher", "isThemeSwitcherEnabled", "isOrganizationSwitcherEnabled", "customContent", "profilePopoverProps", "isConsumer", "enableSubscriptionUpgradeRequest"];
|