@bigbinary/neeto-molecules 1.0.33 → 1.0.34
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/Schedule.cjs.js +2 -3
- package/dist/Schedule.cjs.js.map +1 -1
- package/dist/Schedule.js +2 -3
- package/dist/Schedule.js.map +1 -1
- package/dist/Sidebar.cjs.js +14 -14
- package/dist/Sidebar.cjs.js.map +1 -1
- package/dist/Sidebar.js +15 -15
- package/dist/Sidebar.js.map +1 -1
- package/package.json +1 -1
- package/src/translations/en.json +4 -4
- package/types/Sidebar.d.ts +2 -4
package/dist/Sidebar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useRef, useCallback, useEffect, Children, isValidElement, cloneElement, forwardRef, useState } from 'react';
|
|
2
2
|
import { toLower, mergeDeepLeft, not } from 'ramda';
|
|
3
3
|
import { Link, useLocation, NavLink } from 'react-router-dom';
|
|
4
|
-
import { NeetoIcon, Close, Search, AppSwitcher as AppSwitcher$1,
|
|
4
|
+
import { NeetoIcon, Close, Search, AppSwitcher as AppSwitcher$1, ChatEmpty, Book, Gift, Keyboard, User, Settings, LeftArrow, Help } from '@bigbinary/neeto-icons';
|
|
5
5
|
import { Typography, Button, Input, Tooltip, Avatar } from '@bigbinary/neetoui';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
7
|
import { capitalize, noop as noop$1, truncate, _findBy } from '@bigbinary/neeto-commons-frontend/pure';
|
|
@@ -31770,21 +31770,8 @@ var MY_PROFILE_URL = "/auth/profile/edit";
|
|
|
31770
31770
|
var MY_ORGANIZATION_URL = "/auth/organization/edit";
|
|
31771
31771
|
var CHANGELOG_WIDGET_TRIGGER_ID = "neetochangelog-trigger";
|
|
31772
31772
|
var DEFAULT_HELP_LINK_PROPS = {
|
|
31773
|
-
documentationProps: {
|
|
31774
|
-
label: t$1("neetoMolecules.sidebar.helpLinks.documentation"),
|
|
31775
|
-
icon: Book,
|
|
31776
|
-
"data-cy": "help-link-documentation-button",
|
|
31777
|
-
onClick: function onClick() {
|
|
31778
|
-
return window.open("https://help.".concat(toLower(globalProps.appName), ".com/"), "_blank");
|
|
31779
|
-
}
|
|
31780
|
-
},
|
|
31781
|
-
keyboardShortcutProps: {
|
|
31782
|
-
label: t$1("neetoMolecules.sidebar.helpLinks.keyboardShortcuts"),
|
|
31783
|
-
icon: Keyboard,
|
|
31784
|
-
"data-cy": "help-link-keyboard-shortcut-button"
|
|
31785
|
-
},
|
|
31786
31773
|
liveChatProps: {
|
|
31787
|
-
label: t$1("neetoMolecules.sidebar.helpLinks.
|
|
31774
|
+
label: t$1("neetoMolecules.sidebar.helpLinks.liveChat"),
|
|
31788
31775
|
icon: ChatEmpty,
|
|
31789
31776
|
"data-cy": "help-link-live-chat-button",
|
|
31790
31777
|
onClick: function onClick() {
|
|
@@ -31793,11 +31780,24 @@ var DEFAULT_HELP_LINK_PROPS = {
|
|
|
31793
31780
|
(_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 ? void 0 : (_window$NeetoChat2$co = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2$co === void 0 ? void 0 : _window$NeetoChat2$co.openWidget();
|
|
31794
31781
|
}
|
|
31795
31782
|
},
|
|
31783
|
+
helpCenterProps: {
|
|
31784
|
+
label: t$1("neetoMolecules.sidebar.helpLinks.helpCenter"),
|
|
31785
|
+
icon: Book,
|
|
31786
|
+
"data-cy": "help-link-help-center-button",
|
|
31787
|
+
onClick: function onClick() {
|
|
31788
|
+
return window.open("https://help.".concat(toLower(globalProps.appName), ".com/"), "_blank");
|
|
31789
|
+
}
|
|
31790
|
+
},
|
|
31796
31791
|
changelogProps: {
|
|
31797
31792
|
id: CHANGELOG_WIDGET_TRIGGER_ID,
|
|
31798
31793
|
label: t$1("neetoMolecules.sidebar.helpLinks.whatsNew"),
|
|
31799
31794
|
icon: Gift,
|
|
31800
31795
|
"data-cy": "help-link-changelog-button"
|
|
31796
|
+
},
|
|
31797
|
+
keyboardShortcutProps: {
|
|
31798
|
+
label: t$1("neetoMolecules.sidebar.helpLinks.keyboardShortcuts"),
|
|
31799
|
+
icon: Keyboard,
|
|
31800
|
+
"data-cy": "help-link-keyboard-shortcut-button"
|
|
31801
31801
|
}
|
|
31802
31802
|
};
|
|
31803
31803
|
|