@learningpool/ui 1.6.8 → 1.6.10
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.
|
@@ -205,6 +205,7 @@ var AppSwitcher = function (props) {
|
|
|
205
205
|
applicationId: applicationId,
|
|
206
206
|
applicationName: applications[0].applicationName,
|
|
207
207
|
shortName: applications[0].shortName,
|
|
208
|
+
customName: applications[0].customName,
|
|
208
209
|
internalName: applications[0].internalName,
|
|
209
210
|
url: '',
|
|
210
211
|
children: applications.map(function (a) {
|
|
@@ -222,6 +223,7 @@ var AppSwitcher = function (props) {
|
|
|
222
223
|
applicationId: applications[0].applicationId,
|
|
223
224
|
applicationName: applications[0].applicationName,
|
|
224
225
|
shortName: applications[0].shortName,
|
|
226
|
+
customName: applications[0].customName,
|
|
225
227
|
internalName: applications[0].internalName,
|
|
226
228
|
url: applications[0].url
|
|
227
229
|
});
|
|
@@ -266,8 +268,8 @@ var AppSwitcher = function (props) {
|
|
|
266
268
|
? (_jsxs("div", { children: [_jsxs(AppListHeader, { children: [_jsx("svg", { children: _jsx("image", { xlinkHref: "".concat(Constants.AssetsUrl, "suite/logo/latest/icon.svg"), width: "24", height: "24" }) }), messages['your-apps']] }), _jsx(MenuContent, __assign({ style: {
|
|
267
269
|
display: activeTab === 1 ? 'flex' : 'none'
|
|
268
270
|
} }, { children: applications.map(function (_a) {
|
|
269
|
-
var applicationId = _a.applicationId, applicationName = _a.applicationName, shortName = _a.shortName, internalName = _a.internalName, url = _a.url, children = _a.children;
|
|
270
|
-
return (_jsxs(AppListItem, { children: [url && (_jsx(AppSwitcherItem, { internalName: internalName, shortName: shortName, url: url, handleGoToAppClick: handleGoToAppClick })), !url && (_jsx(AppSwitcherItem, { internalName: internalName, shortName: shortName, handleGoToAppClick: handleGoToAppClick, applicationId: applicationId })), children && (_jsx(AppOrganisationCount, { children: children.length }))] }, applicationId));
|
|
271
|
+
var applicationId = _a.applicationId, applicationName = _a.applicationName, shortName = _a.shortName, customName = _a.customName, internalName = _a.internalName, url = _a.url, children = _a.children;
|
|
272
|
+
return (_jsxs(AppListItem, { children: [url && (_jsx(AppSwitcherItem, { internalName: internalName, shortName: shortName, customName: customName, url: url, handleGoToAppClick: handleGoToAppClick })), !url && (_jsx(AppSwitcherItem, { internalName: internalName, shortName: shortName, customName: customName, handleGoToAppClick: handleGoToAppClick, applicationId: applicationId })), children && (_jsx(AppOrganisationCount, { children: children.length }))] }, applicationId));
|
|
271
273
|
}) }))] }))
|
|
272
274
|
: null, activeTab === Constants.Tabs.ListOrgs
|
|
273
275
|
? (_jsxs(SearchContent, __assign({ style: {
|
package/index.d.ts
CHANGED
|
@@ -116,7 +116,9 @@ export { default as TextareaAutosize } from '@mui/material/TextareaAutosize';
|
|
|
116
116
|
export { default as ToggleButton } from '@mui/material/ToggleButton';
|
|
117
117
|
export { default as ToggleButtonGroup } from '@mui/material/ToggleButtonGroup';
|
|
118
118
|
export { default as Toolbar } from '@mui/material/Toolbar';
|
|
119
|
+
export { default as Tooltip } from '@mui/material/Tooltip';
|
|
119
120
|
export { default as Typography } from '@mui/material/Typography';
|
|
121
|
+
export * from '@mui/material/styles';
|
|
120
122
|
export * from '@mui/x-data-grid';
|
|
121
123
|
export { default as Avatar } from './components/datadisplay/Avatar/Avatar';
|
|
122
124
|
export { default as Button } from './components/atoms/Button/Button';
|
|
@@ -125,7 +127,6 @@ export { default as Checkbox } from './components/atoms/Checkbox/Checkbox';
|
|
|
125
127
|
export { default as TextField } from './components/atoms/TextField/TextField';
|
|
126
128
|
export { default as Drawer } from './components/navigation/Drawer/Drawer';
|
|
127
129
|
export { default as List } from './components/datadisplay/List/List';
|
|
128
|
-
export { default as Tooltip } from './components/datadisplay/Tooltip/Tooltip';
|
|
129
130
|
export { default as SideInSide } from './components/pages/SideInSide/SideInSide';
|
|
130
131
|
export { default as ErrorPage } from './components/pages/ErrorPage/ErrorPage';
|
|
131
132
|
export { default as Header } from './components/landmarks/Header/Header';
|
package/index.js
CHANGED
|
@@ -124,8 +124,9 @@ export { default as TextareaAutosize } from '@mui/material/TextareaAutosize';
|
|
|
124
124
|
export { default as ToggleButton } from '@mui/material/ToggleButton';
|
|
125
125
|
export { default as ToggleButtonGroup } from '@mui/material/ToggleButtonGroup';
|
|
126
126
|
export { default as Toolbar } from '@mui/material/Toolbar';
|
|
127
|
-
|
|
127
|
+
export { default as Tooltip } from '@mui/material/Tooltip';
|
|
128
128
|
export { default as Typography } from '@mui/material/Typography';
|
|
129
|
+
export * from '@mui/material/styles';
|
|
129
130
|
// Straight from @mui/x-data-grid
|
|
130
131
|
export * from '@mui/x-data-grid';
|
|
131
132
|
// Learning Pool intercepted
|
|
@@ -136,7 +137,6 @@ export { default as Checkbox } from './components/atoms/Checkbox/Checkbox';
|
|
|
136
137
|
export { default as TextField } from './components/atoms/TextField/TextField';
|
|
137
138
|
export { default as Drawer } from './components/navigation/Drawer/Drawer';
|
|
138
139
|
export { default as List } from './components/datadisplay/List/List';
|
|
139
|
-
export { default as Tooltip } from './components/datadisplay/Tooltip/Tooltip';
|
|
140
140
|
export { default as SideInSide } from './components/pages/SideInSide/SideInSide';
|
|
141
141
|
export { default as ErrorPage } from './components/pages/ErrorPage/ErrorPage';
|
|
142
142
|
// Stream Suite components
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"components",
|
|
10
10
|
"ui"
|
|
11
11
|
],
|
|
12
|
-
"version": "1.6.
|
|
12
|
+
"version": "1.6.10",
|
|
13
13
|
"private": false,
|
|
14
14
|
"main": "index.js",
|
|
15
15
|
"module": "index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@mui/icons-material": "^5.8.4",
|
|
21
21
|
"@mui/material": "^5.8.5",
|
|
22
22
|
"@mui/x-data-grid": "^5.12.3",
|
|
23
|
-
"@react-spring/web": "
|
|
23
|
+
"@react-spring/web": "9.6.1",
|
|
24
24
|
"@types/jest": "^27.4.0",
|
|
25
25
|
"@types/node": "^16.11.45",
|
|
26
26
|
"@types/react": "^17.0.48",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import MUITooltip from '@mui/material/Tooltip';
|
|
14
|
-
var Tooltip = function (props) { return (_jsx(MUITooltip, __assign({}, props))); };
|
|
15
|
-
Tooltip.muiName = 'MUITooltip';
|
|
16
|
-
export default Tooltip;
|