@cccsaurora/howler-ui 2.17.0-dev.554 → 2.17.0-dev.557
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/components/elements/hit/related/RelatedIcon.js +2 -2
- package/components/routes/dossiers/DossierEditor.js +1 -1
- package/components/routes/dossiers/DossierEditor.test.js +1 -1
- package/components/routes/dossiers/LeadEditor.js +1 -1
- package/components/routes/dossiers/LeadForm.js +1 -1
- package/components/routes/dossiers/PivotForm.js +1 -1
- package/components/routes/hits/search/InformationPane.js +1 -1
- package/components/routes/hits/view/HitViewer.js +1 -1
- package/package.json +1 -1
- package/plugins/clue/components/CluePivot.js +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { getIcon, Icon } from '@iconify/react';
|
|
3
3
|
import Avatar from '@mui/material/Avatar';
|
|
4
4
|
import { useAppTheme } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
5
5
|
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|
|
@@ -10,7 +10,7 @@ const RelatedIcon = ({ icon, title, href, compact = false }) => {
|
|
|
10
10
|
if (!icon) {
|
|
11
11
|
return null;
|
|
12
12
|
}
|
|
13
|
-
if (
|
|
13
|
+
if (getIcon(icon)) {
|
|
14
14
|
return _jsx(Icon, { fontSize: "1.5rem", icon: icon });
|
|
15
15
|
}
|
|
16
16
|
const app = config.configuration.ui.apps.find(a => a.name.toLowerCase() === icon?.toLowerCase());
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { iconExists } from '@iconify/react
|
|
2
|
+
import { iconExists } from '@iconify/react';
|
|
3
3
|
import { Language, Person, Save } from '@mui/icons-material';
|
|
4
4
|
import { Box, CircularProgress, Fab, Paper, Stack, Tab, Tabs, TextField, ToggleButton, ToggleButtonGroup, Tooltip, Typography, useMediaQuery } from '@mui/material';
|
|
5
5
|
import api from '@cccsaurora/howler-ui/api';
|
|
@@ -38,7 +38,7 @@ vi.mock('@monaco-editor/react', async () => {
|
|
|
38
38
|
return { ...actual, useMonaco: vi.fn() };
|
|
39
39
|
});
|
|
40
40
|
// Mock iconExists
|
|
41
|
-
vi.mock('@iconify/react
|
|
41
|
+
vi.mock('@iconify/react', () => ({
|
|
42
42
|
Icon: ({ ...args }) => _jsx("div", { ...args, children: 'iconify' }),
|
|
43
43
|
iconExists: (icon) => icon?.startsWith('material-symbols:') || icon === 'test-icon'
|
|
44
44
|
}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Icon, iconExists } from '@iconify/react
|
|
2
|
+
import { Icon, iconExists } from '@iconify/react';
|
|
3
3
|
import { useMonaco } from '@monaco-editor/react';
|
|
4
4
|
import { Delete, OpenInNew } from '@mui/icons-material';
|
|
5
5
|
import { Autocomplete, Button, IconButton, Stack, TextField, Typography, useTheme } from '@mui/material';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Icon } from '@iconify/react
|
|
2
|
+
import { Icon } from '@iconify/react';
|
|
3
3
|
import { Add } from '@mui/icons-material';
|
|
4
4
|
import { Alert, Button, Paper, Stack, Tab, Tabs } from '@mui/material';
|
|
5
5
|
import isNull from 'lodash-es/isNull';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Icon, iconExists } from '@iconify/react
|
|
2
|
+
import { Icon, iconExists } from '@iconify/react';
|
|
3
3
|
import { Add, Delete, OpenInNew, Remove } from '@mui/icons-material';
|
|
4
4
|
import { Alert, Autocomplete, Button, Divider, IconButton, Paper, Stack, Tab, Tabs, TextField, Typography, useTheme } from '@mui/material';
|
|
5
5
|
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import { Clear, Code, Comment, DataObject, History, LinkSharp, OpenInNew, QueryStats } from '@mui/icons-material';
|
|
3
3
|
import { Badge, Box, Divider, IconButton, Skeleton, Stack, Tab, Tabs, Tooltip, useTheme } from '@mui/material';
|
|
4
4
|
import TuiIconButton from '@cccsaurora/howler-ui/components/elements/addons/buttons/CustomIconButton';
|
|
5
|
-
import { Icon } from '@iconify/react
|
|
5
|
+
import { Icon } from '@iconify/react';
|
|
6
6
|
import useMatchers from '@cccsaurora/howler-ui/components/app/hooks/useMatchers';
|
|
7
7
|
import { HitContext } from '@cccsaurora/howler-ui/components/app/providers/HitProvider';
|
|
8
8
|
import { ParameterContext } from '@cccsaurora/howler-ui/components/app/providers/ParameterProvider';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Icon } from '@iconify/react
|
|
2
|
+
import { Icon } from '@iconify/react';
|
|
3
3
|
import { Code, Comment, DataObject, History, LinkSharp, QueryStats, ViewAgenda } from '@mui/icons-material';
|
|
4
4
|
import { Badge, Box, CardContent, Collapse, IconButton, Skeleton, Stack, Tab, Tabs, Tooltip, useMediaQuery, useTheme } from '@mui/material';
|
|
5
5
|
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useClueActionsSelector, useClueEnrichSelector } from '@cccsaurora/clue-ui';
|
|
3
|
-
import { Icon } from '@iconify/react
|
|
3
|
+
import { Icon } from '@iconify/react';
|
|
4
4
|
import { Settings } from '@mui/icons-material';
|
|
5
5
|
import { Divider, IconButton, Stack, Typography } from '@mui/material';
|
|
6
6
|
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|