@bigbinary/neeto-molecules 5.5.0-beta1 → 5.5.1
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/BrowserSupport.js +116 -51
- package/dist/BrowserSupport.js.map +1 -1
- package/dist/{Columns-C20zru7a.js → Columns-CpCh1cnJ.js} +6 -4
- package/dist/Columns-CpCh1cnJ.js.map +1 -0
- package/dist/{ConfigureView-D-2SQf3j.js → ConfigureView-re6uU4Lp.js} +6 -4
- package/dist/ConfigureView-re6uU4Lp.js.map +1 -0
- package/dist/EmailForm.js +3 -1
- package/dist/EmailForm.js.map +1 -1
- package/dist/FinderModal.js +14 -1
- package/dist/FinderModal.js.map +1 -1
- package/dist/FloatingActionMenu.js +175 -55
- package/dist/FloatingActionMenu.js.map +1 -1
- package/dist/IpRestriction.js +19 -9
- package/dist/IpRestriction.js.map +1 -1
- package/dist/ProductEmbed.js +35 -23
- package/dist/ProductEmbed.js.map +1 -1
- package/dist/ShareViaLink.js +4 -4
- package/dist/ShareViaLink.js.map +1 -1
- package/dist/Sidebar.js +43 -5
- package/dist/Sidebar.js.map +1 -1
- package/dist/StickyRibbonsContainer.js +27 -18
- package/dist/StickyRibbonsContainer.js.map +1 -1
- package/dist/cjs/BrowserSupport.js +119 -51
- package/dist/cjs/BrowserSupport.js.map +1 -1
- package/dist/cjs/{Columns-rqa7goJu.js → Columns-Gcp48xQM.js} +5 -3
- package/dist/cjs/Columns-Gcp48xQM.js.map +1 -0
- package/dist/cjs/{ConfigureView-CNWEfiae.js → ConfigureView-CAdrpELW.js} +6 -4
- package/dist/cjs/ConfigureView-CAdrpELW.js.map +1 -0
- package/dist/cjs/EmailForm.js +3 -1
- package/dist/cjs/EmailForm.js.map +1 -1
- package/dist/cjs/FinderModal.js +14 -1
- package/dist/cjs/FinderModal.js.map +1 -1
- package/dist/cjs/FloatingActionMenu.js +189 -69
- package/dist/cjs/FloatingActionMenu.js.map +1 -1
- package/dist/cjs/IpRestriction.js +19 -9
- package/dist/cjs/IpRestriction.js.map +1 -1
- package/dist/cjs/ProductEmbed.js +34 -22
- 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/Sidebar.js +43 -5
- package/dist/cjs/Sidebar.js.map +1 -1
- package/dist/cjs/StickyRibbonsContainer.js +29 -20
- package/dist/cjs/StickyRibbonsContainer.js.map +1 -1
- package/dist/cjs/mail-Di35Ay-Z.js +20 -0
- package/dist/cjs/mail-Di35Ay-Z.js.map +1 -0
- package/dist/cjs/performanceDiagnostics-CS7NTxaH.js +93 -0
- package/dist/cjs/performanceDiagnostics-CS7NTxaH.js.map +1 -0
- package/dist/cjs/{phone-number-DVlbgxBG.js → phone-number-BydWe8Mf.js} +22 -3
- package/dist/cjs/phone-number-BydWe8Mf.js.map +1 -0
- package/dist/cjs/useWhatsNewChangesCount-BVkLLk7f.js +121 -0
- package/dist/cjs/useWhatsNewChangesCount-BVkLLk7f.js.map +1 -0
- package/dist/cjs/useWhatsNewChangesCount-CyOUS5U3.js +106 -0
- package/dist/cjs/useWhatsNewChangesCount-CyOUS5U3.js.map +1 -0
- package/dist/cjs/v2/BrowserSupport.js +119 -51
- package/dist/cjs/v2/BrowserSupport.js.map +1 -1
- package/dist/cjs/v2/Builder.js +17 -13
- package/dist/cjs/v2/Builder.js.map +1 -1
- package/dist/cjs/v2/CalendarView.js +2 -2
- package/dist/cjs/v2/Columns.js +1 -1
- package/dist/cjs/v2/ConfigurePageSidebar.js +1 -1
- package/dist/cjs/v2/DndTable.js +1 -0
- package/dist/cjs/v2/DndTable.js.map +1 -1
- package/dist/cjs/v2/DynamicVariables.js +17 -8
- package/dist/cjs/v2/DynamicVariables.js.map +1 -1
- package/dist/cjs/v2/EmailForm.js +97 -10
- package/dist/cjs/v2/EmailForm.js.map +1 -1
- package/dist/cjs/v2/EmailPreview.js +1 -1
- package/dist/cjs/v2/EmailPreview.js.map +1 -1
- package/dist/cjs/v2/Engagements.js +10 -7
- package/dist/cjs/v2/Engagements.js.map +1 -1
- package/dist/cjs/v2/FinderModal.js +104 -72
- package/dist/cjs/v2/FinderModal.js.map +1 -1
- package/dist/cjs/v2/FloatingActionMenu.js +267 -110
- package/dist/cjs/v2/FloatingActionMenu.js.map +1 -1
- package/dist/cjs/v2/IpRestriction.js +17 -7
- package/dist/cjs/v2/IpRestriction.js.map +1 -1
- package/dist/cjs/v2/MadeWith.js +5 -3
- package/dist/cjs/v2/MadeWith.js.map +1 -1
- package/dist/cjs/v2/MoreDropdown.js +5 -2
- package/dist/cjs/v2/MoreDropdown.js.map +1 -1
- package/dist/cjs/v2/OptionFields.js +1 -0
- package/dist/cjs/v2/OptionFields.js.map +1 -1
- package/dist/cjs/v2/PhoneNumber.js +1 -1
- package/dist/cjs/v2/ProductEmbed.js +25 -13
- package/dist/cjs/v2/ProductEmbed.js.map +1 -1
- package/dist/cjs/v2/SessionEnvironment.js +3 -16
- package/dist/cjs/v2/SessionEnvironment.js.map +1 -1
- package/dist/cjs/v2/Sidebar.js +95 -32
- package/dist/cjs/v2/Sidebar.js.map +1 -1
- package/dist/cjs/v2/StickyRibbonsContainer.js +29 -19
- package/dist/cjs/v2/StickyRibbonsContainer.js.map +1 -1
- package/dist/cjs/v2/SubHeader.js +1 -1
- package/dist/cjs/v2/Taxonomy.js +1 -1
- package/dist/mail-CkquKByM.js +18 -0
- package/dist/mail-CkquKByM.js.map +1 -0
- package/dist/performanceDiagnostics-DJcT0dfG.js +88 -0
- package/dist/performanceDiagnostics-DJcT0dfG.js.map +1 -0
- package/dist/{phone-number-ClrmOx58.js → phone-number-n0BLV3g6.js} +24 -5
- package/dist/phone-number-n0BLV3g6.js.map +1 -0
- package/dist/useWhatsNewChangesCount-C71JkNHv.js +96 -0
- package/dist/useWhatsNewChangesCount-C71JkNHv.js.map +1 -0
- package/dist/useWhatsNewChangesCount-CQxhUCpt.js +106 -0
- package/dist/useWhatsNewChangesCount-CQxhUCpt.js.map +1 -0
- package/dist/v2/BrowserSupport.js +116 -51
- package/dist/v2/BrowserSupport.js.map +1 -1
- package/dist/v2/Builder.js +17 -13
- package/dist/v2/Builder.js.map +1 -1
- package/dist/v2/CalendarView.js +2 -2
- package/dist/v2/Columns.js +1 -1
- package/dist/v2/ConfigurePageSidebar.js +1 -1
- package/dist/v2/DndTable.js +1 -0
- package/dist/v2/DndTable.js.map +1 -1
- package/dist/v2/DynamicVariables.js +18 -9
- package/dist/v2/DynamicVariables.js.map +1 -1
- package/dist/v2/EmailForm.js +100 -13
- package/dist/v2/EmailForm.js.map +1 -1
- package/dist/v2/EmailPreview.js +1 -1
- package/dist/v2/EmailPreview.js.map +1 -1
- package/dist/v2/Engagements.js +10 -7
- package/dist/v2/Engagements.js.map +1 -1
- package/dist/v2/FinderModal.js +105 -73
- package/dist/v2/FinderModal.js.map +1 -1
- package/dist/v2/FloatingActionMenu.js +238 -81
- package/dist/v2/FloatingActionMenu.js.map +1 -1
- package/dist/v2/IpRestriction.js +17 -7
- package/dist/v2/IpRestriction.js.map +1 -1
- package/dist/v2/MadeWith.js +5 -3
- package/dist/v2/MadeWith.js.map +1 -1
- package/dist/v2/MoreDropdown.js +5 -2
- package/dist/v2/MoreDropdown.js.map +1 -1
- package/dist/v2/OptionFields.js +1 -0
- package/dist/v2/OptionFields.js.map +1 -1
- package/dist/v2/PhoneNumber.js +2 -2
- package/dist/v2/ProductEmbed.js +26 -14
- package/dist/v2/ProductEmbed.js.map +1 -1
- package/dist/v2/SessionEnvironment.js +2 -15
- package/dist/v2/SessionEnvironment.js.map +1 -1
- package/dist/v2/Sidebar.js +95 -32
- package/dist/v2/Sidebar.js.map +1 -1
- package/dist/v2/StickyRibbonsContainer.js +27 -17
- package/dist/v2/StickyRibbonsContainer.js.map +1 -1
- package/dist/v2/SubHeader.js +1 -1
- package/dist/v2/Taxonomy.js +1 -1
- package/package.json +8 -8
- package/src/translations/ar.json +19 -3
- package/src/translations/bg.json +19 -3
- package/src/translations/ca.json +19 -3
- package/src/translations/cs.json +19 -3
- package/src/translations/da.json +19 -3
- package/src/translations/de.json +19 -3
- package/src/translations/en.json +18 -2
- package/src/translations/es-MX.json +19 -3
- package/src/translations/es.json +19 -3
- package/src/translations/et.json +19 -3
- package/src/translations/fi.json +19 -3
- package/src/translations/fil.json +19 -3
- package/src/translations/fr.json +19 -3
- package/src/translations/he.json +19 -3
- package/src/translations/hi.json +19 -3
- package/src/translations/hr.json +19 -3
- package/src/translations/hu.json +19 -3
- package/src/translations/id.json +19 -3
- package/src/translations/it.json +19 -3
- package/src/translations/ja.json +19 -3
- package/src/translations/ko.json +19 -3
- package/src/translations/lv.json +995 -0
- package/src/translations/nl.json +19 -3
- package/src/translations/pl.json +19 -3
- package/src/translations/pt-BR.json +19 -3
- package/src/translations/pt.json +19 -3
- package/src/translations/ro.json +19 -3
- package/src/translations/ru.json +19 -3
- package/src/translations/sk.json +19 -3
- package/src/translations/sl.json +19 -3
- package/src/translations/sv.json +19 -3
- package/src/translations/th.json +19 -3
- package/src/translations/tr.json +19 -3
- package/src/translations/uk.json +19 -3
- package/src/translations/vi.json +19 -3
- package/src/translations/zh-CN.json +19 -3
- package/src/translations/zh-TW.json +19 -3
- package/types/BrowserSupport.d.ts +128 -39
- package/types/v2/EmailForm.d.ts +1 -0
- package/types/v2/EmailFormProvider.d.ts +3 -1
- package/dist/Columns-C20zru7a.js.map +0 -1
- package/dist/ConfigureView-D-2SQf3j.js.map +0 -1
- package/dist/cjs/Columns-rqa7goJu.js.map +0 -1
- package/dist/cjs/ConfigureView-CNWEfiae.js.map +0 -1
- package/dist/cjs/phone-number-DVlbgxBG.js.map +0 -1
- package/dist/phone-number-ClrmOx58.js.map +0 -1
|
@@ -10,7 +10,8 @@ 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,
|
|
13
|
+
import { isEmpty, mergeDeepLeft, not } from 'ramda';
|
|
14
|
+
import { hideAll } from 'tippy.js';
|
|
14
15
|
import KeyboardShortcuts from './KeyboardShortcuts.js';
|
|
15
16
|
import SubscriptionUpgradeRequestModal from './SubscriptionUpgradeRequestModal.js';
|
|
16
17
|
import Modal$1 from '@bigbinary/neetoui/Modal';
|
|
@@ -27,10 +28,14 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
|
27
28
|
import { useQuery } from '@tanstack/react-query';
|
|
28
29
|
import axios from 'axios';
|
|
29
30
|
import Crown from '@bigbinary/neeto-icons/Crown';
|
|
31
|
+
import { g as getNeetoUrl, i as isPerformanceDiagnosticsEnabled, a as getProductBillingUrl, r as reportSlowness } from './performanceDiagnostics-DJcT0dfG.js';
|
|
30
32
|
import useBreakpoints from '@bigbinary/neeto-commons-frontend/react-utils/useBreakpoints';
|
|
31
33
|
import Book from '@bigbinary/neeto-icons/Book';
|
|
34
|
+
import Bulb from '@bigbinary/neeto-icons/Bulb';
|
|
32
35
|
import ChatQuestions from '@bigbinary/neeto-icons/ChatQuestions';
|
|
36
|
+
import Clock from '@bigbinary/neeto-icons/Clock';
|
|
33
37
|
import Community from '@bigbinary/neeto-icons/Community';
|
|
38
|
+
import Roadmap from '@bigbinary/neeto-icons/Roadmap';
|
|
34
39
|
import Status from '@bigbinary/neeto-icons/Status';
|
|
35
40
|
import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
36
41
|
import Right from '@bigbinary/neeto-icons/Right';
|
|
@@ -39,21 +44,25 @@ import Tag from '@bigbinary/neetoui/Tag';
|
|
|
39
44
|
import _objectDestructuringEmpty from '@babel/runtime/helpers/objectDestructuringEmpty';
|
|
40
45
|
import CloseCircle from '@bigbinary/neeto-icons/CloseCircle';
|
|
41
46
|
import User from '@bigbinary/neeto-icons/User';
|
|
42
|
-
import {
|
|
47
|
+
import { D as DELETE_WORKSPACE_URL, A as APP_THEME_LOCALSTORAGE_KEY, T as THEMES, M as MY_ORGANIZATION_URL, N as NEETO_AUTH_BILLING_INFO_URL, S as SLOWNESS_DESCRIPTION_MAX_LENGTH, u as useWhatsNewChangesCount, a as DEFAULT_MENU_LINK_PROPS } from './useWhatsNewChangesCount-C71JkNHv.js';
|
|
43
48
|
import useLocalStorage from '@bigbinary/neeto-commons-frontend/react-utils/useLocalStorage';
|
|
44
49
|
import Moon from '@bigbinary/neeto-icons/Moon';
|
|
45
50
|
import Sun from '@bigbinary/neeto-icons/Sun';
|
|
51
|
+
import { t } from 'i18next';
|
|
46
52
|
import { getFromLocalStorage } from '@bigbinary/neeto-commons-frontend/utils';
|
|
47
53
|
import { resetAuthTokens } from '@bigbinary/neeto-commons-frontend/utils/axios';
|
|
48
54
|
import { removeFromLocalStorage } from '@bigbinary/neeto-commons-frontend/utils/general';
|
|
49
55
|
import Logout from '@bigbinary/neeto-icons/Logout';
|
|
50
56
|
import CopyToClipboardButton from './CopyToClipboardButton.js';
|
|
57
|
+
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
58
|
+
import Button from '@bigbinary/neetoui/Button';
|
|
59
|
+
import Textarea from '@bigbinary/neetoui/Textarea';
|
|
60
|
+
import Toastr from '@bigbinary/neetoui/Toastr';
|
|
51
61
|
import './useKeyboardShortcutsPaneState-Ckzn5mVZ.js';
|
|
52
62
|
import 'zustand/shallow';
|
|
53
63
|
import '@bigbinary/neeto-commons-frontend/react-utils/withImmutableActions';
|
|
54
64
|
import 'zustand';
|
|
55
65
|
import '@bigbinary/neeto-icons/Close';
|
|
56
|
-
import '@bigbinary/neetoui/Button';
|
|
57
66
|
import '@bigbinary/neetoui/managers';
|
|
58
67
|
import '@bigbinary/neetoui/Kbd';
|
|
59
68
|
import 'ua-parser-js';
|
|
@@ -366,7 +375,8 @@ var MenuButton$4 = withT(function (_ref) {
|
|
|
366
375
|
|
|
367
376
|
var Menu$4 = Dropdown$1.Menu,
|
|
368
377
|
MenuItem$8 = Dropdown$1.MenuItem;
|
|
369
|
-
var HelpMenu = function HelpMenu() {
|
|
378
|
+
var HelpMenu = function HelpMenu(_ref) {
|
|
379
|
+
var onReportSlowness = _ref.onReportSlowness;
|
|
370
380
|
var _useTranslation = useTranslation(),
|
|
371
381
|
t = _useTranslation.t;
|
|
372
382
|
var _useBreakpoints = useBreakpoints(),
|
|
@@ -380,11 +390,14 @@ var HelpMenu = function HelpMenu() {
|
|
|
380
390
|
position: isMobile ? "bottom" : "right",
|
|
381
391
|
trigger: "all",
|
|
382
392
|
zIndex: 99999,
|
|
393
|
+
dropdownProps: {
|
|
394
|
+
classNames: "neeto-molecules-help-menu-popup__dropdown"
|
|
395
|
+
},
|
|
383
396
|
children: /*#__PURE__*/jsxs(Menu$4, {
|
|
384
397
|
children: [/*#__PURE__*/jsx(MenuItem$8.Button, {
|
|
385
398
|
className: "neeto-molecules-menu-sublist__item-btn",
|
|
386
399
|
"data-testid": "help-link-help-articles-button",
|
|
387
|
-
href: "
|
|
400
|
+
href: "".concat(getNeetoUrl("help"), "/"),
|
|
388
401
|
prefix: /*#__PURE__*/jsx(Book, {
|
|
389
402
|
size: 18
|
|
390
403
|
}),
|
|
@@ -413,6 +426,26 @@ var HelpMenu = function HelpMenu() {
|
|
|
413
426
|
rel: "noreferrer",
|
|
414
427
|
target: "_blank",
|
|
415
428
|
children: t("neetoMolecules.sidebar.helpLinks.askTheCommunity")
|
|
429
|
+
}), /*#__PURE__*/jsx(MenuItem$8.Button, {
|
|
430
|
+
className: "neeto-molecules-menu-sublist__item-btn",
|
|
431
|
+
"data-testid": "help-link-request-feature-button",
|
|
432
|
+
href: "".concat(getNeetoUrl("engage"), "/feature-requests"),
|
|
433
|
+
prefix: /*#__PURE__*/jsx(Bulb, {
|
|
434
|
+
size: 18
|
|
435
|
+
}),
|
|
436
|
+
rel: "noreferrer",
|
|
437
|
+
target: "_blank",
|
|
438
|
+
children: t("neetoMolecules.sidebar.helpLinks.requestFeature")
|
|
439
|
+
}), /*#__PURE__*/jsx(MenuItem$8.Button, {
|
|
440
|
+
className: "neeto-molecules-menu-sublist__item-btn",
|
|
441
|
+
"data-testid": "help-link-roadmap-button",
|
|
442
|
+
href: "".concat(getNeetoUrl("engage"), "/product-roadmap"),
|
|
443
|
+
prefix: /*#__PURE__*/jsx(Roadmap, {
|
|
444
|
+
size: 18
|
|
445
|
+
}),
|
|
446
|
+
rel: "noreferrer",
|
|
447
|
+
target: "_blank",
|
|
448
|
+
children: t("neetoMolecules.sidebar.helpLinks.roadmap")
|
|
416
449
|
}), /*#__PURE__*/jsx(MenuItem$8.Button, {
|
|
417
450
|
className: "neeto-molecules-menu-sublist__item-btn",
|
|
418
451
|
"data-testid": "help-link-status-button",
|
|
@@ -423,6 +456,14 @@ var HelpMenu = function HelpMenu() {
|
|
|
423
456
|
rel: "noreferrer",
|
|
424
457
|
target: "_blank",
|
|
425
458
|
children: t("neetoMolecules.sidebar.helpLinks.systemStatus")
|
|
459
|
+
}), isPerformanceDiagnosticsEnabled() && /*#__PURE__*/jsx(MenuItem$8.Button, {
|
|
460
|
+
className: "neeto-molecules-menu-sublist__item-btn",
|
|
461
|
+
"data-testid": "help-link-report-slowness-button",
|
|
462
|
+
prefix: /*#__PURE__*/jsx(Clock, {
|
|
463
|
+
size: 18
|
|
464
|
+
}),
|
|
465
|
+
onClick: onReportSlowness,
|
|
466
|
+
children: t("neetoMolecules.sidebar.helpLinks.reportSlowness")
|
|
426
467
|
})]
|
|
427
468
|
})
|
|
428
469
|
});
|
|
@@ -671,29 +712,6 @@ var MenuButton$1 = function MenuButton(_ref) {
|
|
|
671
712
|
}));
|
|
672
713
|
};
|
|
673
714
|
|
|
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
715
|
var Menu$1 = Dropdown$1.Menu,
|
|
698
716
|
MenuItem$3 = Dropdown$1.MenuItem;
|
|
699
717
|
var ProfileExpandMenu = function ProfileExpandMenu(_ref) {
|
|
@@ -955,25 +973,28 @@ var ProfileMenu = function ProfileMenu(_ref) {
|
|
|
955
973
|
isOrganizationSwitcherEnabled = _ref.isOrganizationSwitcherEnabled,
|
|
956
974
|
isConsumer = _ref.isConsumer,
|
|
957
975
|
enableSubscriptionUpgradeRequest = _ref.enableSubscriptionUpgradeRequest,
|
|
958
|
-
openUpgradeModal = _ref.openUpgradeModal
|
|
976
|
+
openUpgradeModal = _ref.openUpgradeModal,
|
|
977
|
+
onReportSlowness = _ref.onReportSlowness;
|
|
959
978
|
var Menu = Dropdown$1.Menu,
|
|
960
979
|
MenuItem = Dropdown$1.MenuItem,
|
|
961
980
|
Divider = Dropdown$1.Divider;
|
|
962
981
|
var isAuthenticated = profileInfo.isAuthenticated;
|
|
963
982
|
var _useTranslation = useTranslation(),
|
|
964
983
|
t = _useTranslation.t;
|
|
965
|
-
|
|
966
|
-
|
|
984
|
+
|
|
985
|
+
// A paid plan can be named more than one thing, so the badge follows the
|
|
986
|
+
// isPro flag the backend sends alongside the plan; the plan name is display
|
|
987
|
+
// text only.
|
|
988
|
+
var isPro = Boolean((_globalProps$user = globalProps.user) === null || _globalProps$user === void 0 ? void 0 : _globalProps$user.isPro);
|
|
967
989
|
var isOwner = (_globalProps$user2 = globalProps.user) === null || _globalProps$user2 === void 0 ? void 0 : _globalProps$user2.isOwner;
|
|
968
|
-
var showUpgradeModal =
|
|
990
|
+
var showUpgradeModal = !isPro && enableSubscriptionUpgradeRequest && !isOwner;
|
|
969
991
|
var getSubscriptionPlanAction = function getSubscriptionPlanAction() {
|
|
970
992
|
if (showUpgradeModal) return {
|
|
971
993
|
onClick: openUpgradeModal
|
|
972
994
|
};
|
|
973
|
-
if (
|
|
974
|
-
var _globalProps$organiza;
|
|
995
|
+
if (!isPro && isOwner && enableSubscriptionUpgradeRequest) {
|
|
975
996
|
return {
|
|
976
|
-
href:
|
|
997
|
+
href: getProductBillingUrl()
|
|
977
998
|
};
|
|
978
999
|
}
|
|
979
1000
|
return {
|
|
@@ -984,10 +1005,10 @@ var ProfileMenu = function ProfileMenu(_ref) {
|
|
|
984
1005
|
label: /*#__PURE__*/jsxs(Fragment, {
|
|
985
1006
|
children: [globalProps.appName, " ", /*#__PURE__*/jsx("span", {
|
|
986
1007
|
className: classnames("neeto-molecules-subscription-plan-badge flex items-center gap-1", {
|
|
987
|
-
"neeto-molecules-subscription-plan-badge--pro":
|
|
988
|
-
"neeto-molecules-subscription-plan-badge--free":
|
|
1008
|
+
"neeto-molecules-subscription-plan-badge--pro": isPro,
|
|
1009
|
+
"neeto-molecules-subscription-plan-badge--free": !isPro
|
|
989
1010
|
}),
|
|
990
|
-
children:
|
|
1011
|
+
children: isPro ? humanize((_globalProps$user3 = globalProps.user) === null || _globalProps$user3 === void 0 ? void 0 : _globalProps$user3.subscriptionPlan) : /*#__PURE__*/jsxs(Fragment, {
|
|
991
1012
|
children: [/*#__PURE__*/jsx(Crown, {
|
|
992
1013
|
size: 12
|
|
993
1014
|
}), t("neetoMolecules.sidebar.upgradePlan")]
|
|
@@ -1014,7 +1035,9 @@ var ProfileMenu = function ProfileMenu(_ref) {
|
|
|
1014
1035
|
links: [subscriptionPlanLink]
|
|
1015
1036
|
}), showProductSwitcher && /*#__PURE__*/jsx(ProductSwitcher, {
|
|
1016
1037
|
toggleModal: toggleModal
|
|
1017
|
-
}), /*#__PURE__*/jsx(HelpMenu, {
|
|
1038
|
+
}), /*#__PURE__*/jsx(HelpMenu, {
|
|
1039
|
+
onReportSlowness: onReportSlowness
|
|
1040
|
+
}), /*#__PURE__*/jsx(Divider, {})]
|
|
1018
1041
|
}), isAuthenticated && !isConsumer && /*#__PURE__*/jsx(ProfileExpandMenu, {
|
|
1019
1042
|
profileInfo: profileInfo
|
|
1020
1043
|
}), /*#__PURE__*/jsx(LinkSection, {
|
|
@@ -1025,6 +1048,105 @@ var ProfileMenu = function ProfileMenu(_ref) {
|
|
|
1025
1048
|
});
|
|
1026
1049
|
};
|
|
1027
1050
|
|
|
1051
|
+
function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = false, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = true, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), true), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
|
|
1052
|
+
function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, _regeneratorDefine2(e, r, n, t); }
|
|
1053
|
+
var ReportSlownessModal = function ReportSlownessModal(_ref) {
|
|
1054
|
+
var reportedAt = _ref.reportedAt,
|
|
1055
|
+
onClose = _ref.onClose;
|
|
1056
|
+
var _useTranslation = useTranslation(),
|
|
1057
|
+
t = _useTranslation.t;
|
|
1058
|
+
var _useState = useState(""),
|
|
1059
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
1060
|
+
description = _useState2[0],
|
|
1061
|
+
setDescription = _useState2[1];
|
|
1062
|
+
var _useState3 = useState(false),
|
|
1063
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
1064
|
+
isSubmitting = _useState4[0],
|
|
1065
|
+
setIsSubmitting = _useState4[1];
|
|
1066
|
+
var handleClose = function handleClose() {
|
|
1067
|
+
setDescription("");
|
|
1068
|
+
onClose();
|
|
1069
|
+
};
|
|
1070
|
+
var handleSubmit = /*#__PURE__*/function () {
|
|
1071
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
1072
|
+
var report;
|
|
1073
|
+
return _regenerator().w(function (_context) {
|
|
1074
|
+
while (1) switch (_context.n) {
|
|
1075
|
+
case 0:
|
|
1076
|
+
setIsSubmitting(true);
|
|
1077
|
+
_context.n = 1;
|
|
1078
|
+
return reportSlowness({
|
|
1079
|
+
description: description.trim(),
|
|
1080
|
+
reportedAt: reportedAt
|
|
1081
|
+
});
|
|
1082
|
+
case 1:
|
|
1083
|
+
report = _context.v;
|
|
1084
|
+
setIsSubmitting(false);
|
|
1085
|
+
if (report) {
|
|
1086
|
+
_context.n = 2;
|
|
1087
|
+
break;
|
|
1088
|
+
}
|
|
1089
|
+
Toastr.error(t("neetoMolecules.reportSlowness.error"));
|
|
1090
|
+
return _context.a(2);
|
|
1091
|
+
case 2:
|
|
1092
|
+
Toastr.success(t("neetoMolecules.reportSlowness.success"), report.replay_url ? {
|
|
1093
|
+
buttonLabel: t("neetoMolecules.reportSlowness.viewReplay"),
|
|
1094
|
+
onClick: function onClick() {
|
|
1095
|
+
return window.open(report.replay_url, "_blank", "noopener,noreferrer");
|
|
1096
|
+
}
|
|
1097
|
+
} : {});
|
|
1098
|
+
handleClose();
|
|
1099
|
+
case 3:
|
|
1100
|
+
return _context.a(2);
|
|
1101
|
+
}
|
|
1102
|
+
}, _callee);
|
|
1103
|
+
}));
|
|
1104
|
+
return function handleSubmit() {
|
|
1105
|
+
return _ref2.apply(this, arguments);
|
|
1106
|
+
};
|
|
1107
|
+
}();
|
|
1108
|
+
return /*#__PURE__*/jsxs(Modal$1, {
|
|
1109
|
+
closeOnEsc: !isSubmitting,
|
|
1110
|
+
closeOnOutsideClick: !isSubmitting,
|
|
1111
|
+
isOpen: Boolean(reportedAt),
|
|
1112
|
+
onClose: handleClose,
|
|
1113
|
+
children: [/*#__PURE__*/jsx(Modal$1.Header, {
|
|
1114
|
+
children: /*#__PURE__*/jsx(Typography, {
|
|
1115
|
+
style: "h3",
|
|
1116
|
+
weight: "semibold",
|
|
1117
|
+
children: t("neetoMolecules.reportSlowness.title")
|
|
1118
|
+
})
|
|
1119
|
+
}), /*#__PURE__*/jsx(Modal$1.Body, {
|
|
1120
|
+
children: /*#__PURE__*/jsx(Textarea, {
|
|
1121
|
+
"data-testid": "report-slowness-description-text-input",
|
|
1122
|
+
label: t("neetoMolecules.reportSlowness.descriptionLabel"),
|
|
1123
|
+
maxLength: SLOWNESS_DESCRIPTION_MAX_LENGTH,
|
|
1124
|
+
value: description,
|
|
1125
|
+
placeholder: t("neetoMolecules.reportSlowness.descriptionPlaceholder"),
|
|
1126
|
+
onChange: function onChange(e) {
|
|
1127
|
+
return setDescription(e.target.value);
|
|
1128
|
+
}
|
|
1129
|
+
})
|
|
1130
|
+
}), /*#__PURE__*/jsxs(Modal$1.Footer, {
|
|
1131
|
+
className: "flex gap-x-2",
|
|
1132
|
+
children: [/*#__PURE__*/jsx(Button, {
|
|
1133
|
+
"data-testid": "report-slowness-cancel-button",
|
|
1134
|
+
disabled: isSubmitting,
|
|
1135
|
+
label: t("neetoMolecules.reportSlowness.cancel"),
|
|
1136
|
+
style: "secondary",
|
|
1137
|
+
onClick: handleClose
|
|
1138
|
+
}), /*#__PURE__*/jsx(Button, {
|
|
1139
|
+
"data-testid": "report-slowness-submit-button",
|
|
1140
|
+
disabled: isSubmitting,
|
|
1141
|
+
label: t("neetoMolecules.reportSlowness.submit"),
|
|
1142
|
+
loading: isSubmitting,
|
|
1143
|
+
style: "primary",
|
|
1144
|
+
onClick: handleSubmit
|
|
1145
|
+
})]
|
|
1146
|
+
})]
|
|
1147
|
+
});
|
|
1148
|
+
};
|
|
1149
|
+
|
|
1028
1150
|
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1029
1151
|
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1030
1152
|
var ProfileButton = function ProfileButton(_ref) {
|
|
@@ -1053,8 +1175,9 @@ var ProfileButton = function ProfileButton(_ref) {
|
|
|
1053
1175
|
setIsBackdropVisible = _useState6[1];
|
|
1054
1176
|
var _useState7 = useState(null),
|
|
1055
1177
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
1056
|
-
|
|
1057
|
-
|
|
1178
|
+
slownessReportedAt = _useState8[0],
|
|
1179
|
+
setSlownessReportedAt = _useState8[1];
|
|
1180
|
+
var changesCount = useWhatsNewChangesCount();
|
|
1058
1181
|
var _KeyboardShortcuts$us = KeyboardShortcuts.usePaneState(),
|
|
1059
1182
|
_KeyboardShortcuts$us2 = _slicedToArray(_KeyboardShortcuts$us, 2),
|
|
1060
1183
|
setIsOpen = _KeyboardShortcuts$us2[1];
|
|
@@ -1064,18 +1187,6 @@ var ProfileButton = function ProfileButton(_ref) {
|
|
|
1064
1187
|
mode: "global"
|
|
1065
1188
|
});
|
|
1066
1189
|
var profileInfo = getProfileInfo(profileInfoOverrides, isConsumer);
|
|
1067
|
-
useEffect(function () {
|
|
1068
|
-
var Nv = {
|
|
1069
|
-
onReceiveData: function onReceiveData(data) {
|
|
1070
|
-
if (!data.unreadCount) return;
|
|
1071
|
-
setChangesCount(data.unreadCount);
|
|
1072
|
-
},
|
|
1073
|
-
onShow: function onShow() {
|
|
1074
|
-
setChangesCount(null);
|
|
1075
|
-
}
|
|
1076
|
-
};
|
|
1077
|
-
window.Nv = window.Nv ? Object.assign(window.Nv, Nv) : Nv;
|
|
1078
|
-
}, []);
|
|
1079
1190
|
var newBottomLinks = [].concat(_toConsumableArray(getDefaultBottomLinks(profileInfo.isAuthenticated, isConsumer)), _toConsumableArray(bottomLinks));
|
|
1080
1191
|
var defaultLinks = Object.keys(DEFAULT_MENU_LINK_PROPS).map(function (key) {
|
|
1081
1192
|
return _objectSpread$1(_objectSpread$1(_objectSpread$1({}, DEFAULT_MENU_LINK_PROPS[key]), key === "keyboardShortcutProps" && {
|
|
@@ -1148,12 +1259,21 @@ var ProfileButton = function ProfileButton(_ref) {
|
|
|
1148
1259
|
openUpgradeModal: function openUpgradeModal() {
|
|
1149
1260
|
return setIsUpgradeModalOpen(true);
|
|
1150
1261
|
},
|
|
1151
|
-
toggleModal: setIsModalOpen
|
|
1262
|
+
toggleModal: setIsModalOpen,
|
|
1263
|
+
onReportSlowness: function onReportSlowness() {
|
|
1264
|
+
setSlownessReportedAt(Date.now());
|
|
1265
|
+
hideAll();
|
|
1266
|
+
}
|
|
1152
1267
|
})
|
|
1153
1268
|
}), isPresent(changesCount) && /*#__PURE__*/jsx("span", {
|
|
1154
1269
|
className: "neeto-molecules-menu__notif-count",
|
|
1155
1270
|
"data-testid": "help-icon-changes-count",
|
|
1156
1271
|
children: changesCount
|
|
1272
|
+
}), /*#__PURE__*/jsx(ReportSlownessModal, {
|
|
1273
|
+
reportedAt: slownessReportedAt,
|
|
1274
|
+
onClose: function onClose() {
|
|
1275
|
+
return setSlownessReportedAt(null);
|
|
1276
|
+
}
|
|
1157
1277
|
}), /*#__PURE__*/jsx(Modal, {
|
|
1158
1278
|
isOpen: isModalOpen,
|
|
1159
1279
|
onClose: function onClose() {
|
|
@@ -1168,7 +1288,7 @@ var ProfileButton = function ProfileButton(_ref) {
|
|
|
1168
1288
|
});
|
|
1169
1289
|
};
|
|
1170
1290
|
|
|
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}";
|
|
1291
|
+
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
1292
|
n(css,{});
|
|
1173
1293
|
|
|
1174
1294
|
var _excluded = ["profileInfoOverrides", "topLinks", "bottomLinks", "showProductSwitcher", "isThemeSwitcherEnabled", "isOrganizationSwitcherEnabled", "customContent", "profilePopoverProps", "isConsumer", "enableSubscriptionUpgradeRequest"];
|