@bigbinary/neeto-molecules 3.7.32 → 3.7.33

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 @@ var Button = require('@bigbinary/neetoui/Button');
10
10
  var ramda = require('ramda');
11
11
  var reactI18next = require('react-i18next');
12
12
  var reactRouterDom = require('react-router-dom');
13
- var Chevron = require('./Chevron-DpYyQWkK.js');
13
+ var Chevron = require('./Chevron-D9ITVEQr.js');
14
14
  var useFetchNeetoApps = require('@bigbinary/neeto-commons-frontend/react-utils/useFetchNeetoApps');
15
15
  var Neeto = require('@bigbinary/neeto-icons/typeface-logos/Neeto');
16
16
  var AppIcons = require('@bigbinary/neeto-icons/typeface-logos');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-molecules",
3
- "version": "3.7.32",
3
+ "version": "3.7.33",
4
4
  "description": "A package of reusable molecular components for neeto products.",
5
5
  "repository": "git@github.com:bigbinary/neeto-molecules.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",
@@ -181,13 +181,13 @@
181
181
  "values": {
182
182
  "embedCode": {
183
183
  "description": {
184
- "changelog": "NeetoChangelog to keep customers informed about the new features",
184
+ "engage": "NeetoEngage to keep customers informed about the new features",
185
185
  "chat": "NeetoChat to provide live chat support",
186
186
  "replay": "neetoReplay to capture user sessions"
187
187
  },
188
188
  "mainText": "<p>Hi,</p> <p>We are going to use {{val, list}}.</p>",
189
189
  "supportText": "<p>If you need help then send an email to <mail>{{helpEmail}}</mail>.</p>",
190
- "changelogHelp": "<p>For help installing NeetoChangelog, please refer to <a>{{helpLink}}</a>.</p>",
190
+ "engageHelp": "<p>For help installing NeetoEngage, please refer to <a>{{helpLink}}</a>.</p>",
191
191
  "chatHelp": "<p>For help installing NeetoChat, please refer to <a>{{helpLink}}</a>.</p>",
192
192
  "replayHelp": "<p>For help installing NeetoReplay, please refer to <a>{{helpLink}}</a>.</p>"
193
193
  },
@@ -13,7 +13,7 @@ interface ProfileInfo {
13
13
  interface HelpLinks {
14
14
  liveChatProps?: LinkType;
15
15
  helpCenterProps?: LinkType;
16
- changelogProps?: ChangeLogPropsType;
16
+ engageProps?: EngagePropsType;
17
17
  keyboardShortcutProps?: LinkType;
18
18
  }
19
19
  type FloatingActionMenuProps = {
@@ -32,9 +32,9 @@ type FloatingActionMenuProps = {
32
32
  *
33
33
  * notifications, profile, app navigation links, what's new, product switcher and
34
34
  *
35
- * help center from anywhere in the app. The Product switcher UI & Changelog
35
+ * help center from anywhere in the app. The Product switcher UI & Engage display
36
36
  *
37
- * display UI are all implemented internally in this component.
37
+ * UI are all implemented internally in this component.
38
38
  *
39
39
  * ![Screenshot](https://github.com/bigbinary/neeto-molecules/assets/12969853/07e3bcd1-ee9a-44cd-9230-017251627815|height=200|width=300)
40
40
  *
@@ -33,7 +33,7 @@ type EmbedCode = React.FC<{
33
33
  const NeetoWidget: {
34
34
  EmbedCode: EmbedCode;
35
35
  WIDGET_TYPES: {
36
- changelog: "changelog";
36
+ engage: "engage";
37
37
  chat: "chat";
38
38
  replay: "replay";
39
39
  };
@@ -1,222 +0,0 @@
1
- import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
- import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
- import classnames from 'classnames';
4
- import { hyphenize } from '@bigbinary/neeto-commons-frontend/utils/general';
5
- import Left from '@bigbinary/neeto-icons/Left';
6
- import Typography from '@bigbinary/neetoui/Typography';
7
- import { curry, is, includes, __, all, equals, omit } from 'ramda';
8
- import { createElement, Fragment } from 'react';
9
- import { isNotEmpty, isPresent, hyphenate } from '@bigbinary/neeto-cist';
10
- import { Segments } from '@bigbinary/neeto-filters-frontend';
11
- import { useNavigationCheckpoints } from '@bigbinary/neeto-commons-frontend/react-utils/useRegisterNavigationCheckpoint';
12
- import { NavLink } from 'react-router-dom';
13
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
14
- import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
15
- import { n } from './inject-css-DmrvuTKK.js';
16
-
17
- var _excluded$1 = ["checkpointKey", "to", "children"];
18
- function ownKeys$2(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; }
19
- function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
20
- var CheckPointNavLinks = function CheckPointNavLinks(_ref) {
21
- var checkpointKey = _ref.checkpointKey,
22
- to = _ref.to,
23
- children = _ref.children,
24
- others = _objectWithoutProperties(_ref, _excluded$1);
25
- var _useNavigationCheckpo = useNavigationCheckpoints(checkpointKey),
26
- checkpoint = _useNavigationCheckpo[checkpointKey];
27
- return /*#__PURE__*/createElement(NavLink, _objectSpread$2(_objectSpread$2({
28
- to: checkpoint || to
29
- }, others), {}, {
30
- key: to
31
- }), children);
32
- };
33
-
34
- var SUB_LINK_TYPES = {
35
- SYSTEM_VIEW: "system_view",
36
- SEGMENTS: "segments"
37
- };
38
- var SELECTED_NAV_LINK_ROUTE_STORAGE_KEY = "selectedNavLinkRoute";
39
-
40
- var isSubRouteActive = function isSubRouteActive(subRoute, location) {
41
- var currentBrowserUrl = new URL(location.pathname + location.search + location.hash, window.location.origin);
42
- var targetUrl = new URL(subRoute, window.location.origin);
43
- var targetSearchParams = targetUrl.searchParams;
44
- var targetSearchKeys = Array.from(targetSearchParams.keys());
45
- return all(function (key) {
46
- return currentBrowserUrl.searchParams.get(key) === targetSearchParams.get(key);
47
- }, targetSearchKeys) && equals(currentBrowserUrl.pathname, targetUrl.pathname);
48
- };
49
- var getSidebarStateLocalStorageKey = function getSidebarStateLocalStorageKey() {
50
- var _globalProps$user, _globalProps$user2;
51
- 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);
52
- return "sidebarState-".concat(user);
53
- };
54
- var filterByPermissions = curry(function (_ref) {
55
- var permissions = _ref.permissions;
56
- if (permissions && isNotEmpty(permissions)) {
57
- return is(Array, permissions) ? permissions.some(includes(__, globalProps.permissions)) : globalProps.permissions.includes(permissions);
58
- }
59
- return true;
60
- });
61
- var findCurrentConfigureNavLink = function findCurrentConfigureNavLink(_ref2) {
62
- var navLinks = _ref2.navLinks,
63
- location = _ref2.location;
64
- return navLinks.find(function (link) {
65
- var _link$to;
66
- var _ref3 = ((_link$to = link.to) === null || _link$to === void 0 ? void 0 : _link$to.split("?")) || [],
67
- _ref4 = _slicedToArray(_ref3, 1),
68
- linkPathname = _ref4[0];
69
- return isPresent(link.isConfigureNavLink) && link.isConfigureNavLink && location.pathname.startsWith(linkPathname);
70
- });
71
- };
72
-
73
- var SubLink = function SubLink(_ref) {
74
- var to = _ref.to,
75
- label = _ref.label,
76
- _ref$type = _ref.type,
77
- type = _ref$type === void 0 ? SUB_LINK_TYPES.SYSTEM_VIEW : _ref$type,
78
- count = _ref.count,
79
- isSectionHeader = _ref.isSectionHeader,
80
- isCountsLoading = _ref.isCountsLoading,
81
- dataCy = _ref["data-cy"],
82
- _ref$entity = _ref.entity,
83
- entity = _ref$entity === void 0 ? "" : _ref$entity,
84
- _ref$columns = _ref.columns,
85
- columns = _ref$columns === void 0 ? [] : _ref$columns,
86
- baseUrl = _ref.baseUrl,
87
- isActive = _ref.isActive;
88
- if (type === SUB_LINK_TYPES.SEGMENTS) {
89
- return /*#__PURE__*/jsx(Segments, {
90
- baseUrl: baseUrl,
91
- columns: columns,
92
- entity: entity,
93
- isIndependent: false
94
- });
95
- }
96
- var dataCyPrefix = dataCy || hyphenate(label);
97
- var renderCount = function renderCount(count) {
98
- return count > 999 ? "999+" : count;
99
- };
100
- var isSubLinkActive = function isSubLinkActive() {
101
- return !isSectionHeader && (is(Function, isActive) ? isActive() : isSubRouteActive(to, location));
102
- };
103
- return /*#__PURE__*/jsxs(CheckPointNavLinks, {
104
- to: to,
105
- activeClassName: "active",
106
- className: "neeto-molecules-sidebar__sublink neeto-ui-flex neeto-ui-items-center neeto-ui-select-none",
107
- "data-cy": "".concat(dataCyPrefix, "-sub-link"),
108
- isActive: isSubLinkActive,
109
- children: [/*#__PURE__*/jsx(Typography, {
110
- className: "neeto-molecules-sidebar__link-sub-label neeto-ui-flex-grow",
111
- component: "span",
112
- "data-cy": "".concat(dataCyPrefix, "-sub-link-label"),
113
- style: "body2",
114
- children: label
115
- }), /*#__PURE__*/jsx(Typography, {
116
- className: "neeto-molecules-sidebar__link-sub-count neeto-ui-flex-shrink-0",
117
- component: "span",
118
- "data-cy": "".concat(dataCyPrefix, "-sub-link-count"),
119
- style: "body2",
120
- children: isCountsLoading ? /*#__PURE__*/jsx("div", {
121
- className: "neeto-ui-rounded neeto-ui-bg-gray-200 h-4 w-4 animate-pulse"
122
- }) : renderCount(count)
123
- })]
124
- });
125
- };
126
-
127
- 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; }
128
- 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), !0).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; }
129
- var _Items = function Items(_ref) {
130
- var items = _ref.items,
131
- _ref$isSettingsItems = _ref.isSettingsItems,
132
- isSettingsItems = _ref$isSettingsItems === void 0 ? false : _ref$isSettingsItems,
133
- isCountsLoading = _ref.isCountsLoading;
134
- return /*#__PURE__*/jsx("div", {
135
- className: "neeto-molecules-sidebar__sublink-wrapper",
136
- "data-cy": "sidebar-sub-link-wrapper",
137
- children: items.filter(filterByPermissions).map(function (subItem, subIndex) {
138
- var _subItem$to;
139
- return /*#__PURE__*/jsxs(Fragment, {
140
- children: [/*#__PURE__*/jsx(SubLink, _objectSpread$1(_objectSpread$1({}, _objectSpread$1(_objectSpread$1({}, subItem), {}, {
141
- isCountsLoading: isCountsLoading
142
- })), {}, {
143
- isActive: subItem.isActive,
144
- isSectionHeader: isPresent(subItem.item),
145
- to: (_subItem$to = subItem.to) !== null && _subItem$to !== void 0 ? _subItem$to : subItem.path
146
- })), isSettingsItems && isPresent(subItem.items) && /*#__PURE__*/jsxs(Fragment$1, {
147
- children: [/*#__PURE__*/jsx(_Items, {
148
- isSettingsItems: isSettingsItems,
149
- items: subItem.items
150
- }), items.length - 1 !== subIndex && /*#__PURE__*/jsx("hr", {
151
- className: "neeto-molecules-sidebar__separator neeto-ui-border-gray-200"
152
- })]
153
- })]
154
- }, subIndex);
155
- })
156
- });
157
- };
158
-
159
- var _excluded = ["label", "items", "isConfigureNavLink"];
160
- function ownKeys(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; }
161
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
162
- var SelectedLink = function SelectedLink(_ref) {
163
- var _ref$navLink = _ref.navLink,
164
- navLink = _ref$navLink === void 0 ? {
165
- label: "",
166
- items: [],
167
- isConfigureNavLink: false
168
- } : _ref$navLink,
169
- handleGoBack = _ref.handleGoBack,
170
- isConfigureSidebar = _ref.isConfigureSidebar;
171
- var label = navLink.label,
172
- items = navLink.items,
173
- isConfigureNavLink = navLink.isConfigureNavLink,
174
- otherProps = _objectWithoutProperties(navLink, _excluded);
175
- return /*#__PURE__*/jsxs("div", {
176
- className: "neeto-molecules-sidebar__links neeto-molecules-sidebar__links--focus-mode neeto-molecules-sidebar__no-shrinkable",
177
- "data-cy": "configure-nav-container",
178
- children: [/*#__PURE__*/jsxs("div", _objectSpread(_objectSpread({
179
- className: "neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-molecules-sidebar__link neeto-ui-border-b neeto-ui-border-gray-200",
180
- onClick: handleGoBack
181
- }, _objectSpread({}, omit(["icon"], otherProps))), {}, {
182
- children: [isConfigureNavLink && /*#__PURE__*/jsx("span", {
183
- className: "neeto-molecules-sidebar__link-icon",
184
- "data-cy": "".concat(hyphenize(label), "-go-back-button"),
185
- "data-testid": "".concat(label, "-go-back-button"),
186
- children: /*#__PURE__*/jsx(Left, {
187
- size: 16
188
- })
189
- }), /*#__PURE__*/jsx(Typography, {
190
- component: "span",
191
- style: "body1",
192
- className: classnames("neeto-molecules-sidebar__link-label", _defineProperty({
193
- "neeto-molecules-sidebar__configure-page-header": isConfigureNavLink
194
- }, "pl-4", isConfigureSidebar)),
195
- children: label
196
- })]
197
- })), items && /*#__PURE__*/jsx(_Items, {
198
- items: items,
199
- isSettingsItems: true
200
- })]
201
- });
202
- };
203
-
204
- var css = ":root{--neeto-molecules-sidebar-width:240px;--neeto-molecules-sidebar-wrapper-z-index:99997;--neeto-molecules-sidebar-z-index:99998;--neeto-chat-primary:136,134,255;--neeto-wireframe-primary:106,103,232;--neeto-site-primary:129,118,255;--neeto-desk-primary:253,148,55;--neeto-planner-primary:82,169,198;--neeto-replay-primary:32,199,189;--neeto-course-primary:140,214,114;--neeto-ci-primary:255,133,184;--neeto-invoice-primary:70,160,211;--neeto-quiz-primary:254,99,99;--neeto-runner-primary:75,71,255;--neeto-form-primary:254,128,114;--neeto-crm-primary:96,154,240;--neeto-changelog-primary:255,135,135;--neeto-deploy-primary:20,209,164;--neeto-kb-primary:101,205,161;--neeto-cal-primary:238,77,95;--neeto-invisible-primary:121,157,250;--neeto-testify-primary:255,158,69;--neeto-monitor-primary:70,181,197;--neeto-git-primary:255,78,110}@media screen and (min-width:1024px){:root{--neeto-molecules-sidebar-width:240px}}.neeto-molecules-sidebar__wrapper{display:flex;max-width:240px;max-width:var(--neeto-molecules-sidebar-width);position:relative;transition:all .15s;width:240px;width:var(--neeto-molecules-sidebar-width)}@media screen and (max-width:768px){.neeto-molecules-sidebar__wrapper{height:100%;left:0;max-width:100%;position:fixed;top:0;transition:none;width:100%;z-index:99997;z-index:var(--neeto-molecules-sidebar-wrapper-z-index)}.neeto-molecules-sidebar__wrapper .neeto-molecules-sidebar{left:0;max-width:240px;max-width:var(--neeto-molecules-sidebar-width);position:fixed;top:0;transition:none;width:240px;width:var(--neeto-molecules-sidebar-width)}}.neeto-molecules-sidebar__wrapper__configure-page .neeto-molecules-sidebar__toggler{right:20px}@media screen and (max-width:768px){.neeto-molecules-sidebar__wrapper__configure-page .neeto-molecules-sidebar__toggler{right:auto}}.neeto-molecules-sidebar__wrapper--collapsed{max-width:0;width:0}.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar__toggler{right:-36px;transform:scale(-1)}@media screen and (max-width:768px){.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar__toggler{left:8px;right:auto}.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar{left:-240px;left:calc(var(--neeto-molecules-sidebar-width)*-1)}.neeto-molecules-sidebar__wrapper__configure-page.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar__toggler{top:109px}}.neeto-molecules-sidebar{background-color:rgb(var(--neeto-ui-white));border-right:1px solid rgb(var(--neeto-ui-gray-200));height:100vh;padding:24px 0;width:100%;z-index:99998;z-index:var(--neeto-molecules-sidebar-z-index)}.neeto-molecules-sidebar__no-shrinkable{max-width:240px;max-width:var(--neeto-molecules-sidebar-width);width:240px;width:var(--neeto-molecules-sidebar-width)}.neeto-molecules-sidebar__separator{margin:6px auto;width:100%}.neeto-molecules-sidebar::-webkit-scrollbar{height:0;width:0}.neeto-molecules-sidebar::-webkit-scrollbar-thumb{background:rgb(var(--neeto-ui-gray-300));border-radius:50px}.neeto-molecules-sidebar::-webkit-scrollbar-track{background:\"transparent\"}.neeto-molecules-sidebar__toggler{color:rgb(var(--neeto-ui-primary-500))!important;position:absolute;right:8px;top:8px;z-index:99998;z-index:var(--neeto-molecules-sidebar-z-index)}@media screen and (max-width:768px){.neeto-molecules-sidebar__toggler{left:202px;left:calc(var(--neeto-molecules-sidebar-width) - 38px);right:auto;transition:none}}.neeto-molecules-sidebar__configure-page{border-right:1px solid rgb(var(--neeto-ui-gray-200));height:auto}@media screen and (max-width:768px){.neeto-molecules-sidebar__configure-page{height:100%}}.neeto-molecules-sidebar__configure-page .neeto-molecules-sidebar__links{height:calc(100vh - 136px)!important}@media screen and (max-width:768px){.neeto-molecules-sidebar__configure-page .neeto-molecules-sidebar__links{height:calc(100vh - 80px)!important}}.neeto-molecules-sidebar__configure-page .neeto-molecules-sidebar__toggler{display:none}.neeto-molecules-sidebar__header{margin:14px 0 28px;padding:0 24px}.neeto-molecules-sidebar__logo svg{height:36px;max-width:100%;width:auto}.neeto-molecules-sidebar__links{margin-bottom:40px}.neeto-molecules-sidebar__link{color:rgb(var(--neeto-ui-black));gap:10px;line-height:1.2;padding:12px 24px;position:relative;text-decoration:none!important;transition:color .3s,background-color .3s;width:100%}.neeto-molecules-sidebar__link-icon{flex-shrink:0}.neeto-molecules-sidebar__link-icon svg path{vector-effect:non-scaling-stroke}.neeto-molecules-sidebar__link-icon--rotate{transform:scale(-1)}.neeto-molecules-sidebar__link-icon--caret{opacity:0;transition:opacity .3s ease-in-out}.neeto-molecules-sidebar__link-label,.neeto-molecules-sidebar__link-sub-label{--neeto-ui-text-body2:15px;flex-grow:1;text-align:left}@media screen and (min-width:1536px){.neeto-molecules-sidebar__link-label,.neeto-molecules-sidebar__link-sub-label{--neeto-ui-text-body2:16px}}.neeto-molecules-sidebar__link:hover{background-color:rgb(var(--neeto-ui-gray-100));color:rgb(var(--neeto-ui-black))}.neeto-molecules-sidebar__link:focus,.neeto-molecules-sidebar__link:focus-visible,.neeto-molecules-sidebar__link[aria-expanded=true]{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-black));outline:none}.neeto-molecules-sidebar__link.active{background-color:rgb(var(--neeto-ui-accent-100));color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-semibold)}.neeto-molecules-sidebar__link.active .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link:focus .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link:focus-visible .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link:hover .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link[aria-expanded=true] .neeto-molecules-sidebar__link-icon--caret{opacity:1}.neeto-molecules-sidebar__link--button:focus{background-color:transparent}.neeto-molecules-sidebar__link--button:focus-visible{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-black))}.neeto-molecules-sidebar__link--change-log{outline:none!important}.neeto-molecules-sidebar__sublink-wrapper{padding:4px 0}.neeto-molecules-sidebar__sublink{color:rgb(var(--neeto-ui-gray-700));cursor:pointer;gap:8px;margin-bottom:0;padding:8px 24px 8px 58px;text-decoration:none;transition:color .3s,background-color .3s}.neeto-molecules-sidebar__sublink .neeto-molecules-sidebar__link-sub-count{--neeto-ui-text-body2:15px;opacity:.75}@media screen and (min-width:1536px){.neeto-molecules-sidebar__sublink .neeto-molecules-sidebar__link-sub-count{--neeto-ui-text-body2:16px}}.neeto-molecules-sidebar__sublink:hover{color:rgb(var(--neeto-ui-black));text-decoration:none}.neeto-molecules-sidebar__sublink:hover .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__sublink:focus,.neeto-molecules-sidebar__sublink:focus-visible{color:rgb(var(--neeto-ui-black));outline:none;text-decoration:none}.neeto-molecules-sidebar__sublink:focus .neeto-molecules-sidebar__link-sub-count,.neeto-molecules-sidebar__sublink:focus-visible .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__sublink.active,.neeto-molecules-sidebar__sublink:active{color:rgb(var(--neeto-ui-accent-800));font-weight:500;text-decoration:none}.neeto-molecules-sidebar__sublink.active .neeto-molecules-sidebar__link-sub-count,.neeto-molecules-sidebar__sublink:active .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__footer{margin-top:auto}.sidebar-featured-tooltip__content{border-radius:8px!important;box-shadow:var(--neeto-ui-shadow-sm)!important}.sidebar-featured-tooltip__content .tippy-content{padding:0}.sidebar-featured-tooltip{padding:12px;width:150px}.sidebar-featured-tooltip__icon-wrap{background-color:rgb(var(--neeto-ui-gray-100));border-radius:8px;height:40px;margin-bottom:8px;margin-left:auto;margin-right:auto;width:40px}.sidebar-featured-tooltip__title{margin-bottom:4px}.neeto-molecules-help-popup-wrapper,.neeto-molecules-product-switcher-popup-wrapper,.neeto-molecules-profile-popup-wrapper{border:1px solid rgb(var(--neeto-ui-gray-400));border-radius:var(--neeto-ui-rounded)!important;min-width:240px}.neeto-molecules-help-popup-wrapper .tippy-content,.neeto-molecules-product-switcher-popup-wrapper .tippy-content,.neeto-molecules-profile-popup-wrapper .tippy-content{padding:0}.neeto-molecules-help-popup-wrapper .tippy-svg-arrow,.neeto-molecules-product-switcher-popup-wrapper .tippy-svg-arrow,.neeto-molecules-profile-popup-wrapper .tippy-svg-arrow{display:none!important}.neeto-molecules-profile-popup__top-section{border-top-left-radius:var(--neeto-ui-rounded);border-top-right-radius:var(--neeto-ui-rounded)}.neeto-molecules-profile-sublist{border-top:1px solid rgb(var(--neeto-ui-gray-400))}.neeto-molecules-help-sublist,.neeto-molecules-profile-sublist{list-style:none;margin:0;padding:4px 0}.neeto-molecules-help-sublist__item,.neeto-molecules-profile-sublist__item{width:100%}.neeto-molecules-help-sublist__item-btn,.neeto-molecules-profile-sublist__item-btn{border-radius:0;justify-content:flex-end!important;min-height:40px;text-align:left}.neeto-molecules-help-sublist__item-btn.active,.neeto-molecules-profile-sublist__item-btn.active{background-color:rgb(var(--neeto-ui-gray-800));color:rgb(var(--neeto-ui-white))}.neeto-molecules-help-sublist__item-btn-icon svg path,.neeto-molecules-profile-sublist__item-btn-icon svg path{vector-effect:non-scaling-stroke}.neeto-molecules-help-sublist__item-btn span,.neeto-molecules-profile-sublist__item-btn span{align-items:center;display:flex;gap:8px}.neeto-molecules-sidebar__link-icon{position:relative}.neeto-molecules-sidebar__notif-count{position:absolute;right:-6px;top:-6px;z-index:1}.neeto-molecules-help-sublist__item-btn-count,.neeto-molecules-sidebar__notif-count{align-items:center;background-color:rgb(var(--neeto-ui-primary-500));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-white));display:inline-flex;flex-shrink:0;font-size:var(--neeto-ui-text-xxs);height:15px;justify-content:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:15px}.neeto-molecules-product-switcher-popup-wrapper{height:calc(100vh - 16px);margin-bottom:8px;min-width:calc(100vw - 176px);overflow-y:auto}@media screen and (max-width:768px){.neeto-molecules-product-switcher-popup-wrapper{width:calc(100vw - 185px)!important}}.neeto-molecules-sidebar__backdrop{background-color:rgba(var(--neeto-ui-black),.4);height:100%;left:0;position:absolute;top:0;width:100%}@media screen and (min-width:769px){.neeto-molecules-sidebar__backdrop{display:none;visibility:hidden}}.neeto-molecules-sidebar-segments-header{padding-left:58px}.neeto-molecules-sidebar-segment{margin-bottom:0!important;padding:4px 24px 4px 58px}.neeto-molecules-sidebar.neeto-molecules-sidebar--focus-mode{padding-top:0}.neeto-molecules-sidebar.neeto-molecules-sidebar--focus-mode .neeto-molecules-sidebar__header{padding-top:24px}.neeto-molecules-sidebar.neeto-molecules-sidebar--focus-mode .neeto-molecules-sidebar__links{display:flex;flex-direction:column;height:calc(100vh - 160px);margin-bottom:0}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper{flex-grow:1;margin:0 0 10px!important;min-height:0;overflow-y:auto;padding:0 0 10px!important}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper .neeto-molecules-sidebar__sublink-wrapper{padding:0!important}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper .neeto-molecules-sidebar__sublink-wrapper .neeto-molecules-sidebar__sublink{border-radius:0}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__link{--neeto-ui-text-body1:18px;background-color:rgb(var(--neeto-ui-gray-100));color:rgb(var(--neeto-ui-black));cursor:pointer;font-weight:var(--neeto-ui-font-semibold);gap:4px;padding:12px 4px;position:sticky;top:0;z-index:1}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__link-label,.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__link-sub-label{--neeto-ui-text-body2:15px}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper>.neeto-molecules-sidebar__sublink{color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-medium);margin-bottom:0;padding-bottom:10px;padding-top:10px}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper>.neeto-molecules-sidebar__sublink.active{font-weight:var(--neeto-ui-font-semibold)}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper>.neeto-molecules-sidebar__sublink-wrapper .neeto-molecules-sidebar__sublink{border-radius:0;padding-left:32px}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__sublink{cursor:pointer;line-height:1.2;padding:8px 12px 8px 24px;position:relative}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__sublink:hover{background-color:rgb(var(--neeto-ui-gray-100))}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__sublink.active{background-color:rgb(var(--neeto-ui-accent-100))!important;color:rgb(var(--neeto-ui-black))!important;font-weight:var(--neeto-ui-font-medium)}.neeto-molecules-sidebar__link-unread-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);height:16px;justify-content:center;min-width:16px;padding-left:4px;padding-right:4px;position:absolute;right:-4px;top:-4px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-ui-theme--dark .neeto-molecules-sidebar__logo>path{fill:rgb(var(--neeto-ui-black))}";
205
- n(css,{});
206
-
207
- var Chevron = function Chevron(_ref) {
208
- var style = _ref.style;
209
- return /*#__PURE__*/jsx("svg", {
210
- style: style,
211
- height: "16",
212
- viewBox: "0 0 16 16",
213
- width: "16",
214
- children: /*#__PURE__*/jsx("path", {
215
- d: "M7.07031 13.8887C7.2207 14.0391 7.40527 14.1211 7.62402 14.1211C8.06836 14.1211 8.41699 13.7725 8.41699 13.3281C8.41699 13.1094 8.32812 12.9043 8.17773 12.7539L3.37207 8.05762L8.17773 3.375C8.32812 3.21777 8.41699 3.0127 8.41699 2.80078C8.41699 2.35645 8.06836 2.00781 7.62402 2.00781C7.40527 2.00781 7.2207 2.08984 7.07031 2.24023L1.73828 7.44922C1.56055 7.62012 1.46484 7.8252 1.46484 8.06445C1.46484 8.29688 1.55371 8.49512 1.73828 8.67969L7.07031 13.8887ZM13.1748 13.8887C13.3252 14.0391 13.5098 14.1211 13.7354 14.1211C14.1797 14.1211 14.5283 13.7725 14.5283 13.3281C14.5283 13.1094 14.4395 12.9043 14.2891 12.7539L9.4834 8.05762L14.2891 3.375C14.4395 3.21777 14.5283 3.0127 14.5283 2.80078C14.5283 2.35645 14.1797 2.00781 13.7354 2.00781C13.5098 2.00781 13.3252 2.08984 13.1748 2.24023L7.84961 7.44922C7.66504 7.62012 7.57617 7.8252 7.56934 8.06445C7.56934 8.29688 7.66504 8.49512 7.84961 8.67969L13.1748 13.8887Z",
216
- fill: "currentColor"
217
- })
218
- });
219
- };
220
-
221
- export { Chevron as C, SelectedLink as S, _Items as _, CheckPointNavLinks as a, SELECTED_NAV_LINK_ROUTE_STORAGE_KEY as b, findCurrentConfigureNavLink as c, filterByPermissions as f, getSidebarStateLocalStorageKey as g };
222
- //# sourceMappingURL=Chevron-DWt0ncDv.js.map