@reltio/components 1.4.2262 → 1.4.2264
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/AttributeVerificationStatus/helpers.js +4 -4
- package/BarChart/BarChart.js +3 -1
- package/BarChart/helpers.d.ts +1 -1
- package/BarChart/helpers.js +2 -2
- package/CollaborationItem/components/RepliedComment/styles.js +2 -1
- package/CollaborationItem/components/SendMessageArea/styles.js +4 -3
- package/EmptyState/EmptyState.js +1 -1
- package/EmptyState/styles.d.ts +1 -1
- package/EmptyState/styles.js +3 -0
- package/FileDropZone/FileDropZone.module.css.js +1 -1
- package/ImageActionsOverlay/styles.js +3 -2
- package/ImageAttributesLineEditor/styles.js +2 -2
- package/ReltioMap/components/EntityMarker/EntityMarker.js +8 -4
- package/ReltioMap/components/EntityMarker/EntityMarker.spec.js +10 -5
- package/ReltioMap/components/EntityMarker/icons/marker-hover.inline.svg.d.ts +1 -1
- package/ReltioMap/components/EntityMarker/icons/marker-hover.inline.svg.js +1 -1
- package/ReltioMap/components/EntityMarker/icons/marker.inline.svg.d.ts +1 -1
- package/ReltioMap/components/EntityMarker/icons/marker.inline.svg.js +1 -1
- package/ResizablePanes/styles.js +4 -3
- package/SidePanelEmptyState/styles.d.ts +1 -1
- package/SidePanelEmptyState/styles.js +2 -1
- package/TableWithBars/components/NumberCellValueRenderer/styles.js +1 -1
- package/UploadImageDialog/components/TargetBox/TargetBox.module.css.js +1 -1
- package/cjs/AttributeVerificationStatus/helpers.js +8 -8
- package/cjs/BarChart/BarChart.js +3 -1
- package/cjs/BarChart/helpers.d.ts +1 -1
- package/cjs/BarChart/helpers.js +2 -2
- package/cjs/CollaborationItem/components/RepliedComment/styles.js +2 -1
- package/cjs/CollaborationItem/components/SendMessageArea/styles.js +4 -3
- package/cjs/EmptyState/EmptyState.js +1 -1
- package/cjs/EmptyState/styles.d.ts +1 -1
- package/cjs/EmptyState/styles.js +3 -0
- package/cjs/FileDropZone/FileDropZone.module.css.js +1 -1
- package/cjs/ImageActionsOverlay/styles.js +3 -2
- package/cjs/ImageAttributesLineEditor/styles.js +2 -2
- package/cjs/ReltioMap/components/EntityMarker/EntityMarker.js +8 -4
- package/cjs/ReltioMap/components/EntityMarker/EntityMarker.spec.js +8 -3
- package/cjs/ReltioMap/components/EntityMarker/icons/marker-hover.inline.svg.d.ts +1 -1
- package/cjs/ReltioMap/components/EntityMarker/icons/marker-hover.inline.svg.js +3 -2
- package/cjs/ReltioMap/components/EntityMarker/icons/marker.inline.svg.d.ts +1 -1
- package/cjs/ReltioMap/components/EntityMarker/icons/marker.inline.svg.js +3 -2
- package/cjs/ResizablePanes/styles.js +4 -3
- package/cjs/SidePanelEmptyState/styles.d.ts +1 -1
- package/cjs/SidePanelEmptyState/styles.js +2 -1
- package/cjs/TableWithBars/components/NumberCellValueRenderer/styles.js +1 -1
- package/cjs/UploadImageDialog/components/TargetBox/TargetBox.module.css.js +1 -1
- package/cjs/constants/theme.js +6 -5
- package/cjs/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.js +4 -2
- package/cjs/features/graph/rendering/canvas/nodeArc.js +4 -2
- package/cjs/features/workflow/ChangeRequestEditor/components/EditorStatusChip/EditorStatusChip.module.css.js +1 -1
- package/cjs/features/workflow/ReviewDCRButton/ReviewDCRButton.js +2 -2
- package/cjs/icons/AttributesList.js +1 -1
- package/cjs/icons/EmptyLoading.js +1 -1
- package/cjs/icons/NoActivations.js +13 -13
- package/cjs/icons/NoData.js +2 -2
- package/cjs/icons/NoLogs.js +1 -1
- package/cjs/icons/RequestSummary.js +4 -4
- package/cjs/icons/ReviewDcr.d.ts +3 -0
- package/cjs/icons/ReviewDcr.js +22 -0
- package/cjs/icons/SelectAttributes.js +1 -1
- package/cjs/icons/SuggestedChanges.js +6 -6
- package/cjs/icons/UploadIcon.js +1 -1
- package/cjs/icons/VerificationInvalid.d.ts +3 -0
- package/cjs/icons/{VerificationOutdatedIcon.js → VerificationInvalid.js} +4 -4
- package/cjs/icons/VerificationMaybe.d.ts +3 -0
- package/cjs/icons/VerificationMaybe.js +22 -0
- package/cjs/icons/VerificationOutdated.d.ts +3 -0
- package/cjs/icons/{VerificationValidIcon.js → VerificationOutdated.js} +4 -4
- package/cjs/icons/VerificationValid.d.ts +3 -0
- package/cjs/icons/VerificationValid.js +22 -0
- package/cjs/icons/index.d.ts +12 -3
- package/cjs/icons/index.js +26 -8
- package/constants/theme.js +6 -5
- package/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.js +4 -2
- package/features/graph/rendering/canvas/nodeArc.js +4 -2
- package/features/workflow/ChangeRequestEditor/components/EditorStatusChip/EditorStatusChip.module.css.js +1 -1
- package/features/workflow/ReviewDCRButton/ReviewDCRButton.js +1 -1
- package/icons/AttributesList.js +1 -1
- package/icons/EmptyLoading.js +1 -1
- package/icons/NoActivations.js +13 -13
- package/icons/NoData.js +2 -2
- package/icons/NoLogs.js +1 -1
- package/icons/RequestSummary.js +4 -4
- package/icons/ReviewDcr.d.ts +3 -0
- package/icons/ReviewDcr.js +17 -0
- package/icons/SelectAttributes.js +1 -1
- package/icons/SuggestedChanges.js +6 -6
- package/icons/UploadIcon.js +1 -1
- package/icons/VerificationInvalid.d.ts +3 -0
- package/icons/VerificationInvalid.js +17 -0
- package/icons/VerificationMaybe.d.ts +3 -0
- package/icons/VerificationMaybe.js +17 -0
- package/icons/VerificationOutdated.d.ts +3 -0
- package/icons/VerificationOutdated.js +17 -0
- package/icons/VerificationValid.d.ts +3 -0
- package/icons/VerificationValid.js +17 -0
- package/icons/index.d.ts +12 -3
- package/icons/index.js +12 -3
- package/package.json +2 -2
- package/cjs/icons/ReviewDCR.d.ts +0 -3
- package/cjs/icons/ReviewDCR.js +0 -22
- package/cjs/icons/VerificationInvalidIcon.d.ts +0 -3
- package/cjs/icons/VerificationInvalidIcon.js +0 -22
- package/cjs/icons/VerificationMaybeIcon.d.ts +0 -3
- package/cjs/icons/VerificationMaybeIcon.js +0 -22
- package/cjs/icons/VerificationOutdatedIcon.d.ts +0 -3
- package/cjs/icons/VerificationValidIcon.d.ts +0 -3
- package/icons/ReviewDCR.d.ts +0 -3
- package/icons/ReviewDCR.js +0 -17
- package/icons/VerificationInvalidIcon.d.ts +0 -3
- package/icons/VerificationInvalidIcon.js +0 -17
- package/icons/VerificationMaybeIcon.d.ts +0 -3
- package/icons/VerificationMaybeIcon.js +0 -17
- package/icons/VerificationOutdatedIcon.d.ts +0 -3
- package/icons/VerificationOutdatedIcon.js +0 -17
- package/icons/VerificationValidIcon.d.ts +0 -3
- package/icons/VerificationValidIcon.js +0 -17
|
@@ -53,13 +53,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
53
53
|
var react_1 = __importDefault(require("react"));
|
|
54
54
|
var react_2 = require("@testing-library/react");
|
|
55
55
|
var user_event_1 = __importDefault(require("@testing-library/user-event"));
|
|
56
|
+
var styles_1 = require("@mui/material/styles");
|
|
56
57
|
var mdm_sdk_1 = require("@reltio/mdm-sdk");
|
|
58
|
+
var constants_1 = require("../../../constants");
|
|
57
59
|
var EntityMarker_1 = __importDefault(require("./EntityMarker"));
|
|
58
60
|
var EntityMarkerContext_1 = require("../../../contexts/EntityMarkerContext");
|
|
59
61
|
var marker_hover_inline_svg_1 = require("./icons/marker-hover.inline.svg");
|
|
60
62
|
var marker_inline_svg_1 = require("./icons/marker.inline.svg");
|
|
61
63
|
var MdmModuleContext_1 = require("../../../contexts/MdmModuleContext");
|
|
62
64
|
jest.mock('@reltio/mdm-sdk', function () { return (__assign(__assign({}, jest.requireActual('@reltio/mdm-sdk')), { debounce: jest.fn(function (fn, _delay) { return jest.requireActual('@reltio/mdm-sdk').debounce(fn, 0); }) })); });
|
|
65
|
+
var muiTheme = (0, styles_1.createTheme)(constants_1.theme);
|
|
63
66
|
jest.mock('@vis.gl/react-google-maps', function () {
|
|
64
67
|
// The only reason why all the mock stuff inlcuding 'requre' inside the jest.mock is that
|
|
65
68
|
// mocks with forwardRef doesn't work outside (in beforeEach/beforeAll)
|
|
@@ -78,8 +81,9 @@ jest.mock('@vis.gl/react-google-maps', function () {
|
|
|
78
81
|
AdvancedMarker.displayName = 'AdvancedMarker';
|
|
79
82
|
return __assign(__assign({}, jest.requireActual('@vis.gl/react-google-maps')), { AdvancedMarker: AdvancedMarker });
|
|
80
83
|
});
|
|
81
|
-
var
|
|
82
|
-
var
|
|
84
|
+
var markerColor = (0, styles_1.lighten)(muiTheme.palette.primary.main, 0.3);
|
|
85
|
+
var hoveredMarkerIcon = (0, mdm_sdk_1.svg2Url)((0, marker_hover_inline_svg_1.createHoveredMarker)(markerColor));
|
|
86
|
+
var markerIcon = (0, mdm_sdk_1.svg2Url)((0, marker_inline_svg_1.createMarker)(markerColor));
|
|
83
87
|
describe('EntityMarker', function () {
|
|
84
88
|
var mockMarker = {
|
|
85
89
|
id: 'someId',
|
|
@@ -95,7 +99,8 @@ describe('EntityMarker', function () {
|
|
|
95
99
|
if (contextValue === void 0) { contextValue = {}; }
|
|
96
100
|
var Providers = function (_a) {
|
|
97
101
|
var children = _a.children;
|
|
98
|
-
return (react_1.default.createElement(
|
|
102
|
+
return (react_1.default.createElement(styles_1.ThemeProvider, { theme: muiTheme },
|
|
103
|
+
react_1.default.createElement(MdmModuleContext_1.MdmModuleProvider, { values: { metadata: metadata } }, children)));
|
|
99
104
|
};
|
|
100
105
|
return (0, react_2.render)(react_1.default.createElement(EntityMarkerContext_1.EntityMarkerContext.Provider, { value: contextValue },
|
|
101
106
|
react_1.default.createElement(EntityMarker_1.default, __assign({}, props))), { wrapper: Providers });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const createHoveredMarker: (color: string) => string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
3
|
+
exports.createHoveredMarker = void 0;
|
|
4
|
+
var createHoveredMarker = function (color) { return "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"22px\" height=\"32px\" viewBox=\"0 0 22 32\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>View / Map / Marker / Large (hover)</title>\n <defs>\n <radialGradient cx=\"50%\" cy=\"50.2950175%\" fx=\"50%\" fy=\"50.2950175%\" r=\"49.7049825%\" gradientTransform=\"translate(0.500000,0.502950),scale(0.777778,1.000000),rotate(90.000000),scale(1.000000,1.293560),translate(-0.500000,-0.502950)\" id=\"radialGradient-1\">\n <stop stop-color=\"#000000\" offset=\"0%\"></stop>\n <stop stop-color=\"#000000\" stop-opacity=\"0\" offset=\"100%\"></stop>\n </radialGradient>\n <path d=\"M21,0 C21.5522847,-1.01453063e-16 22,0.44771525 22,1 L22,21 C22,21.5522847 21.5522847,22 21,22 L15.7283832,22.0012846 C15.5422129,22.2445529 15.3664776,22.4802332 15.1984183,22.7122576 C13.7560833,24.7035592 13,26.2846074 13,27.5 L13,27.5 L12.9945143,27.6492623 C12.9181651,28.6841222 12.0543618,29.5 11,29.5 C9.8954305,29.5 9,28.6045695 9,27.5 L9,27.5 L8.99485006,27.3298651 C8.91582184,26.0024976 7.93016704,24.2171459 6.23940611,22.000704 L1,22 C0.44771525,22 6.76353751e-17,21.5522847 0,21 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L21,0 Z\" id=\"path-2\"></path>\n </defs>\n <g id=\"View-/-Map-/-Marker-/-Large-(hover)\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <ellipse id=\"Oval\" fill=\"url(#radialGradient-1)\" opacity=\"0.32\" cx=\"11\" cy=\"28.5\" rx=\"6\" ry=\"4.66666667\"></ellipse>\n <mask id=\"mask-3\" fill=\"white\">\n <use xlink:href=\"#path-2\"></use>\n </mask>\n <use id=\"Path-2\" fill=\"#FFFFFF\" xlink:href=\"#path-2\"></use>\n <rect id=\"Entity-type\" fill=\"".concat(color, "\" mask=\"url(#mask-3)\" x=\"0\" y=\"0\" width=\"22\" height=\"32\"></rect>\n <path d=\"M20,2 L20,20 L14.755,20 L14.6905172,20.0815309 C14.3562717,20.5012516 14.0578656,20.8886742 13.7817711,21.2616986 L13.5786724,21.5390469 C11.92787,23.8181606 11.079024,25.6311217 11.0052669,27.2674145 L11.0052669,27.2674145 L11,27.5 L10.9968324,27.3203844 C10.9285422,25.3781621 9.75347502,23.1598866 7.22124201,20.0010865 L2,20 L2,2 L20,2 Z\" id=\"Path\" fill=\"#FFFFFF\" fill-rule=\"nonzero\" mask=\"url(#mask-3)\"></path>\n </g>\n</svg>"); };
|
|
5
|
+
exports.createHoveredMarker = createHoveredMarker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const createMarker: (color: string) => string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
3
|
+
exports.createMarker = void 0;
|
|
4
|
+
var createMarker = function (color) { return "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"22px\" height=\"32px\" viewBox=\"0 0 22 32\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>View / Map / Marker / Large</title>\n <defs>\n <radialGradient cx=\"50%\" cy=\"50.2950175%\" fx=\"50%\" fy=\"50.2950175%\" r=\"49.7049825%\" gradientTransform=\"translate(0.500000,0.502950),scale(0.777778,1.000000),rotate(90.000000),scale(1.000000,1.293560),translate(-0.500000,-0.502950)\" id=\"radialGradient-1\">\n <stop stop-color=\"#000000\" offset=\"0%\"></stop>\n <stop stop-color=\"#000000\" stop-opacity=\"0\" offset=\"100%\"></stop>\n </radialGradient>\n <path d=\"M20,1 C20.5522847,1 21,1.44771525 21,2 L21,20 C21,20.5522847 20.5522847,21 20,21 L15.2374606,21.0021908 C14.9306693,21.3935449 14.6510143,21.7632851 14.3885453,22.1256523 C12.8309725,24.2760522 12,26.0137017 12,27.5 C12,28.0522847 11.5522847,28.5 11,28.5 C10.4477153,28.5 10,28.0522847 10,27.5 C10,25.7886708 8.84033182,23.6810997 6.73798027,21.0014567 L2,21 C1.44771525,21 1,20.5522847 1,20 L1,2 C1,1.44771525 1.44771525,1 2,1 L20,1 Z\" id=\"path-2\"></path>\n </defs>\n <g id=\"View-/-Map-/-Marker-/-Large\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <ellipse id=\"Oval\" fill=\"url(#radialGradient-1)\" opacity=\"0.12\" cx=\"11\" cy=\"28.5\" rx=\"4.5\" ry=\"3.5\"></ellipse>\n <path d=\"M21,0 C21.5522847,-1.01453063e-16 22,0.44771525 22,1 L22,21 C22,21.5522847 21.5522847,22 21,22 L15.7283832,22.0012846 C15.5422129,22.2445529 15.3664776,22.4802332 15.1984183,22.7122576 C13.7560833,24.7035592 13,26.2846074 13,27.5 L13,27.5 L12.9945143,27.6492623 C12.9181651,28.6841222 12.0543618,29.5 11,29.5 C9.8954305,29.5 9,28.6045695 9,27.5 L9,27.5 L8.99485006,27.3298651 C8.91582184,26.0024976 7.93016704,24.2171459 6.23940611,22.000704 L1,22 C0.44771525,22 6.76353751e-17,21.5522847 0,21 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L21,0 Z\" id=\"Path-3\" fill=\"#FFFFFF\"></path>\n <mask id=\"mask-3\" fill=\"white\">\n <use xlink:href=\"#path-2\"></use>\n </mask>\n <use id=\"Path-2\" fill=\"#FFFFFF\" fill-rule=\"nonzero\" xlink:href=\"#path-2\"></use>\n <rect id=\"Entity-type\" fill=\"".concat(color, "\" mask=\"url(#mask-3)\" x=\"0\" y=\"0\" width=\"22\" height=\"32\"></rect>\n </g>\n</svg>"); };
|
|
5
|
+
exports.createMarker = createMarker;
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useStyles = void 0;
|
|
4
4
|
var styles_1 = require("@mui/styles");
|
|
5
|
-
|
|
5
|
+
var styles_2 = require("@mui/material/styles");
|
|
6
|
+
exports.useStyles = (0, styles_1.makeStyles)(function (theme) { return ({
|
|
6
7
|
container: {
|
|
7
8
|
position: 'relative'
|
|
8
9
|
},
|
|
@@ -34,7 +35,7 @@ exports.useStyles = (0, styles_1.makeStyles)(function () { return ({
|
|
|
34
35
|
},
|
|
35
36
|
'&:not($disabled):hover': {
|
|
36
37
|
cursor: 'ns-resize',
|
|
37
|
-
backgroundImage:
|
|
38
|
+
backgroundImage: "linear-gradient(".concat((0, styles_2.alpha)(theme.palette.primary.main, 0), ", ").concat((0, styles_2.alpha)(theme.palette.primary.main, 0.35), ", ").concat(theme.palette.primary.main, ")"),
|
|
38
39
|
backgroundSize: '100% 3px'
|
|
39
40
|
}
|
|
40
41
|
},
|
|
@@ -51,7 +52,7 @@ exports.useStyles = (0, styles_1.makeStyles)(function () { return ({
|
|
|
51
52
|
},
|
|
52
53
|
'&:not($disabled):hover': {
|
|
53
54
|
cursor: 'ew-resize',
|
|
54
|
-
backgroundImage:
|
|
55
|
+
backgroundImage: "linear-gradient(to left, ".concat((0, styles_2.alpha)(theme.palette.primary.main, 0.35), ", ").concat(theme.palette.primary.main, ", ").concat((0, styles_2.alpha)(theme.palette.primary.main, 0.35), ")"),
|
|
55
56
|
backgroundSize: '3px 100%'
|
|
56
57
|
}
|
|
57
58
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"text" | "root" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"text" | "root" | "logo" | "textBox" | "secondaryText">;
|
|
@@ -3,7 +3,7 @@ if (typeof document !== 'undefined') {
|
|
|
3
3
|
const head = document.head || document.getElementsByTagName('head')[0]
|
|
4
4
|
const style = document.createElement('style');
|
|
5
5
|
style.type = 'text/css'
|
|
6
|
-
style.innerHTML = `.TargetBox-root--T8Dyg{padding:36px 0 29px}.TargetBox-icon--qfl13{height:190px;margin-bottom:24px;pointer-events:none;width:190px}.TargetBox-title--zQaNU{color:var(--mui-palette-text-primary);font-size:20px;font-weight:500;line-height:24px;margin-bottom:8px}.TargetBox-description--Jyqo5{color:var(--mui-palette-text-secondary);font-size:14px;line-height:16px;margin-bottom:24px}`;
|
|
6
|
+
style.innerHTML = `.TargetBox-root--T8Dyg{padding:36px 0 29px}.TargetBox-icon--qfl13{color:var(--mui-palette-primary-main);height:190px;margin-bottom:24px;pointer-events:none;width:190px}.TargetBox-title--zQaNU{color:var(--mui-palette-text-primary);font-size:20px;font-weight:500;line-height:24px;margin-bottom:8px}.TargetBox-description--Jyqo5{color:var(--mui-palette-text-secondary);font-size:14px;line-height:16px;margin-bottom:24px}`;
|
|
7
7
|
head.appendChild(style);
|
|
8
8
|
}
|
|
9
9
|
module.exports = styles;
|
package/cjs/constants/theme.js
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.darkTheme = exports.theme = void 0;
|
|
4
4
|
require("@mui/styles");
|
|
5
|
+
var mainColor = '#0072CE';
|
|
5
6
|
exports.theme = {
|
|
6
7
|
palette: {
|
|
7
|
-
primary: { main:
|
|
8
|
-
secondary: { main:
|
|
8
|
+
primary: { main: mainColor, light: mainColor, dark: mainColor },
|
|
9
|
+
secondary: { main: mainColor },
|
|
9
10
|
error: { main: '#FF1744' },
|
|
10
11
|
success: { main: '#3B873E' },
|
|
11
12
|
background: {
|
|
@@ -147,8 +148,8 @@ exports.theme = {
|
|
|
147
148
|
backgroundColor: 'rgba(0,0,0,0.54)'
|
|
148
149
|
},
|
|
149
150
|
inactiveBackground: 'repeating-linear-gradient(45deg, #f5f5f5, #f5f5f5 14px, #e9e9e9 15px, #e9e9e9 16px)',
|
|
150
|
-
inactiveSelectedBackground:
|
|
151
|
-
inactiveSelectedHoverBackground:
|
|
151
|
+
inactiveSelectedBackground: "repeating-linear-gradient(45deg,\n color-mix(in srgb, ".concat(mainColor, " 10%, #f5f5f5),\n color-mix(in srgb, ").concat(mainColor, " 10%, #f5f5f5) 14px,\n color-mix(in srgb, ").concat(mainColor, " 13%, #e9e9e9) 15px,\n color-mix(in srgb, ").concat(mainColor, " 13%, #e9e9e9) 16px)"),
|
|
152
|
+
inactiveSelectedHoverBackground: "repeating-linear-gradient(45deg,\n color-mix(in srgb, ".concat(mainColor, " 10%, #f2f2f2),\n color-mix(in srgb, ").concat(mainColor, " 10%, #f2f2f2) 14px,\n color-mix(in srgb, ").concat(mainColor, " 13%, #e2e2e2) 15px,\n color-mix(in srgb, ").concat(mainColor, " 13%, #e2e2e2) 16px)"),
|
|
152
153
|
inactiveHoverBackground: 'repeating-linear-gradient(45deg, #f2f2f2, #f2f2f2 14px, #e2e2e2 15px, #e2e2e2 16px)',
|
|
153
154
|
inactive: {
|
|
154
155
|
opacity: 0.7
|
|
@@ -158,7 +159,7 @@ exports.theme = {
|
|
|
158
159
|
borderRadius: '3px',
|
|
159
160
|
backgroundColor: '#FFFFFF'
|
|
160
161
|
},
|
|
161
|
-
suggested:
|
|
162
|
+
suggested: "color-mix(in srgb, ".concat(mainColor, " 6%, #ffffff)")
|
|
162
163
|
};
|
|
163
164
|
exports.darkTheme = {
|
|
164
165
|
palette: {
|
|
@@ -14,6 +14,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
14
14
|
exports.useEdgeLabelsRenderer = exports.HOVERS_CUSTOM_EDGE_LABELS_CANVAS_NAME = exports.EDGE_DOTS_CANVAS_NAME = exports.CUSTOM_EDGE_LABELS_CANVAS_NAME = void 0;
|
|
15
15
|
var react_1 = require("react");
|
|
16
16
|
var core_1 = require("@react-sigma/core");
|
|
17
|
+
var styles_1 = require("@mui/material/styles");
|
|
17
18
|
var mdm_sdk_1 = require("@reltio/mdm-sdk");
|
|
18
19
|
var useSigmaCustomRenderers_1 = require("../../hooks/useSigmaCustomRenderers");
|
|
19
20
|
var graphDataTypes_1 = require("../../types/graphDataTypes");
|
|
@@ -25,6 +26,7 @@ exports.EDGE_DOTS_CANVAS_NAME = 'edgeDots';
|
|
|
25
26
|
exports.HOVERS_CUSTOM_EDGE_LABELS_CANVAS_NAME = 'customEdgeLabelsHovers';
|
|
26
27
|
var useEdgeLabelsRenderer = function (_a) {
|
|
27
28
|
var graph = _a.graph, onEdgeLabelClick = _a.onEdgeLabelClick;
|
|
29
|
+
var theme = (0, styles_1.useTheme)();
|
|
28
30
|
var sigma = (0, core_1.useSigma)();
|
|
29
31
|
var settings = sigma.getSettings();
|
|
30
32
|
var registerEvents = (0, core_1.useRegisterEvents)();
|
|
@@ -56,13 +58,13 @@ var useEdgeLabelsRenderer = function (_a) {
|
|
|
56
58
|
size: sigma.scaleSize(4)
|
|
57
59
|
}, __assign(__assign({}, settings), { labelSize: settings.labelSize * fontScale }), {
|
|
58
60
|
backgroundColor: "rgba(250, 250, 250, ".concat(isSelected || isHovered ? '1' : '0.9', ")"),
|
|
59
|
-
borderColor: isSelected ?
|
|
61
|
+
borderColor: isSelected ? theme.palette.primary.main : undefined
|
|
60
62
|
});
|
|
61
63
|
edgeLabelsPathsMap.current[edgeId] = path;
|
|
62
64
|
}
|
|
63
65
|
},
|
|
64
66
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
65
|
-
[sigma, hoveredEdgeLabel, shouldRenderLabels]);
|
|
67
|
+
[sigma, hoveredEdgeLabel, shouldRenderLabels, theme]);
|
|
66
68
|
var drawEdgeDot = (0, react_1.useCallback)(function (context, edgeId, sourceId, targetId) {
|
|
67
69
|
var edgeDisplayData = sigma.getEdgeDisplayData(edgeId);
|
|
68
70
|
if (shouldRenderLabels(edgeId, sourceId, targetId)) {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.drawTwoArcs = exports.drawOuterArc = exports.drawNodeArc = void 0;
|
|
4
|
+
var styles_1 = require("@mui/material/styles");
|
|
5
|
+
var constants_1 = require("../../../../constants");
|
|
4
6
|
var PADDING = 1.5;
|
|
5
7
|
var drawNodeArc = function (context, data, _a) {
|
|
6
8
|
var _b = _a === void 0 ? {} : _a, _c = _b.padding, padding = _c === void 0 ? PADDING : _c, _d = _b.color, color = _d === void 0 ? '#FFF' : _d, _e = _b.lineWidth, lineWidth = _e === void 0 ? 4 : _e;
|
|
@@ -14,11 +16,11 @@ var drawNodeArc = function (context, data, _a) {
|
|
|
14
16
|
exports.drawNodeArc = drawNodeArc;
|
|
15
17
|
var drawOuterArc = function (context, data) {
|
|
16
18
|
if (data.selected) {
|
|
17
|
-
context.shadowColor =
|
|
19
|
+
context.shadowColor = (0, styles_1.alpha)(constants_1.theme.palette.primary.main, 0.5);
|
|
18
20
|
context.shadowBlur = 10;
|
|
19
21
|
(0, exports.drawNodeArc)(context, data, {
|
|
20
22
|
lineWidth: 2,
|
|
21
|
-
color:
|
|
23
|
+
color: constants_1.theme.palette.primary.main,
|
|
22
24
|
padding: 4.5
|
|
23
25
|
});
|
|
24
26
|
context.shadowColor = 'none';
|
|
@@ -3,7 +3,7 @@ if (typeof document !== 'undefined') {
|
|
|
3
3
|
const head = document.head || document.getElementsByTagName('head')[0]
|
|
4
4
|
const style = document.createElement('style');
|
|
5
5
|
style.type = 'text/css'
|
|
6
|
-
style.innerHTML = `.EditorStatusChip-statusChip--gL4BB{color:#fff;font-size:10px;height:20px}.EditorStatusChip-updatedChip--vjpcZ{background:#2f80ed;border:1px solid
|
|
6
|
+
style.innerHTML = `.EditorStatusChip-statusChip--gL4BB{color:#fff;font-size:10px;height:20px}.EditorStatusChip-updatedChip--vjpcZ{background:#2f80ed;border:1px solid color-mix(in srgb,var(--mui-palette-primary-main) 30%,transparent)}.EditorStatusChip-rejectedChip--LuLLX{background:#eb5757;border:1px solid rgba(235,87,87,.3)}.EditorStatusChip-recentlyAddedChip--n4tHj{background:#f2994a;border:1px solid rgba(242,153,74,.3)}`;
|
|
7
7
|
head.appendChild(style);
|
|
8
8
|
}
|
|
9
9
|
module.exports = styles;
|
|
@@ -8,12 +8,12 @@ var react_1 = __importDefault(require("react"));
|
|
|
8
8
|
var classnames_1 = __importDefault(require("classnames"));
|
|
9
9
|
var Button_1 = __importDefault(require("@mui/material/Button"));
|
|
10
10
|
var ui_i18n_1 = __importDefault(require("ui-i18n"));
|
|
11
|
-
var
|
|
11
|
+
var ReviewDcr_1 = __importDefault(require("../../../icons/ReviewDcr"));
|
|
12
12
|
var ReviewDCRButton_module_css_1 = __importDefault(require("./ReviewDCRButton.module.css"));
|
|
13
13
|
var ReviewDCRButton = function (_a) {
|
|
14
14
|
var onClick = _a.onClick;
|
|
15
15
|
return (react_1.default.createElement(Button_1.default, { onClick: onClick, color: "primary", className: (0, classnames_1.default)(ReviewDCRButton_module_css_1.default.button), "data-reltio-id": "review-dcr-button" },
|
|
16
|
-
react_1.default.createElement(
|
|
16
|
+
react_1.default.createElement(ReviewDcr_1.default, { className: ReviewDCRButton_module_css_1.default.icon }),
|
|
17
17
|
ui_i18n_1.default.text('Review DCR')));
|
|
18
18
|
};
|
|
19
19
|
exports.ReviewDCRButton = ReviewDCRButton;
|
|
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
var react_1 = __importDefault(require("react"));
|
|
18
18
|
var SvgAttributesList = function (props) {
|
|
19
19
|
return (react_1.default.createElement("svg", __assign({ width: 256, height: 256, viewBox: "0 0 256 256", fill: "none", xmlns: "http://www.w3.org/2000/svg", "data-reltio-id": "SvgAttributesList" }, props),
|
|
20
|
-
react_1.default.createElement("circle", { cx: 128, cy: 128, r: 128, fill: "
|
|
20
|
+
react_1.default.createElement("circle", { cx: 128, cy: 128, r: 128, fill: "currentColor", fillOpacity: 0.1 }),
|
|
21
21
|
react_1.default.createElement("mask", { id: "AttributesList_svg__a", style: {
|
|
22
22
|
maskType: 'alpha'
|
|
23
23
|
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 256, height: 256 },
|
|
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
var react_1 = __importDefault(require("react"));
|
|
18
18
|
var SvgEmptyLoading = function (props) {
|
|
19
19
|
return (react_1.default.createElement("svg", __assign({ width: 256, height: 256, viewBox: "0 0 256 256", fill: "none", xmlns: "http://www.w3.org/2000/svg", "data-reltio-id": "SvgEmptyLoading" }, props),
|
|
20
|
-
react_1.default.createElement("circle", { cx: 128, cy: 128, r: 128, fill: "
|
|
20
|
+
react_1.default.createElement("circle", { cx: 128, cy: 128, r: 128, fill: "currentColor", fillOpacity: 0.03 }),
|
|
21
21
|
react_1.default.createElement("mask", { id: "EmptyLoading_svg__a", style: {
|
|
22
22
|
maskType: 'alpha'
|
|
23
23
|
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 256, height: 256 },
|
|
@@ -17,14 +17,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
var react_1 = __importDefault(require("react"));
|
|
18
18
|
var SvgNoActivations = function (props) {
|
|
19
19
|
return (react_1.default.createElement("svg", __assign({ width: 200, height: 200, viewBox: "0 0 200 200", fill: "none", xmlns: "http://www.w3.org/2000/svg", "data-reltio-id": "SvgNoActivations" }, props),
|
|
20
|
-
react_1.default.createElement("circle", { cx: 100, cy: 100, r: 100, fill: "
|
|
21
|
-
react_1.default.createElement("mask", { id: "
|
|
20
|
+
react_1.default.createElement("circle", { cx: 100, cy: 100, r: 100, fill: "currentColor", fillOpacity: 0.1 }),
|
|
21
|
+
react_1.default.createElement("mask", { id: "NoActivations_svg__a", style: {
|
|
22
22
|
maskType: 'luminance'
|
|
23
23
|
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 200, height: 200 },
|
|
24
24
|
react_1.default.createElement("circle", { cx: 100, cy: 100, r: 100, fill: "#fff" })),
|
|
25
|
-
react_1.default.createElement("g", { mask: "url(#
|
|
26
|
-
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M-12.5 7.031h200V200h-200V7.031z", fill: "url(#
|
|
27
|
-
react_1.default.createElement("path", { opacity: 0.05, fillRule: "evenodd", clipRule: "evenodd", d: "M146.688 44.426L192.5 90.237v116.306H72.956l-32.331-30.697V44.426h106.063z", fill: "url(#
|
|
25
|
+
react_1.default.createElement("g", { mask: "url(#NoActivations_svg__a)" },
|
|
26
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M-12.5 7.031h200V200h-200V7.031z", fill: "url(#NoActivations_svg__paint0_linear_8548_48982)" }),
|
|
27
|
+
react_1.default.createElement("path", { opacity: 0.05, fillRule: "evenodd", clipRule: "evenodd", d: "M146.688 44.426L192.5 90.237v116.306H72.956l-32.331-30.697V44.426h106.063z", fill: "url(#NoActivations_svg__paint1_linear_8548_48982)" }),
|
|
28
28
|
react_1.default.createElement("path", { opacity: 0.06, fillRule: "evenodd", clipRule: "evenodd", d: "M36.719 45.313H194.53A5.468 5.468 0 01200 50.78v122.657a5.468 5.468 0 01-5.469 5.468H36.719a5.468 5.468 0 01-5.469-5.468V50.781a5.469 5.469 0 015.469-5.468z", fill: "#000" }),
|
|
29
29
|
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M39.063 43.75h157.031A3.906 3.906 0 01200 47.656v122.656a3.907 3.907 0 01-3.906 3.907H39.063a3.907 3.907 0 01-3.907-3.907V47.656a3.906 3.906 0 013.907-3.906z", fill: "#fff" }),
|
|
30
30
|
react_1.default.createElement("path", { opacity: 0.8, fillRule: "evenodd", clipRule: "evenodd", d: "M82.325 56.746a2.344 2.344 0 012.343-2.344h32.52a2.343 2.343 0 010 4.688h-32.52a2.344 2.344 0 01-2.343-2.344z", fill: "#B6C7DB" }),
|
|
@@ -47,27 +47,27 @@ var SvgNoActivations = function (props) {
|
|
|
47
47
|
react_1.default.createElement("path", { opacity: 0.54, fillRule: "evenodd", clipRule: "evenodd", d: "M74.274 60.156l-2.762 2.762-2.762-2.762h5.524z", fill: "#000" }),
|
|
48
48
|
react_1.default.createElement("path", { opacity: 0.6, fillRule: "evenodd", clipRule: "evenodd", d: "M39.063 17.188h145.312a4.687 4.687 0 014.687 4.687v14.063a4.687 4.687 0 01-4.687 4.687H39.062a4.688 4.688 0 01-4.687-4.688V21.876a4.688 4.688 0 014.688-4.688z", fill: "#fff" }),
|
|
49
49
|
react_1.default.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M45.313 28.906A4.687 4.687 0 0150 24.22h54.688a4.688 4.688 0 010 9.375H50a4.688 4.688 0 01-4.688-4.688zM115.625 28.906a4.688 4.688 0 014.688-4.687h7.812a4.687 4.687 0 010 9.375h-7.813a4.688 4.688 0 01-4.687-4.688z", fill: "#979797" })),
|
|
50
|
-
react_1.default.createElement("g", { filter: "url(#
|
|
50
|
+
react_1.default.createElement("g", { filter: "url(#NoActivations_svg__filter0_d_8548_48982)" },
|
|
51
51
|
react_1.default.createElement("path", { d: "M130.469 168.75c21.573 0 39.062-17.489 39.062-39.062 0-21.574-17.489-39.063-39.062-39.063-21.574 0-39.063 17.489-39.063 39.063 0 21.573 17.489 39.062 39.063 39.062z", fill: "#000" })),
|
|
52
52
|
react_1.default.createElement("path", { d: "M130.469 168.75c21.573 0 39.062-17.489 39.062-39.062 0-21.574-17.489-39.063-39.062-39.063-21.574 0-39.063 17.489-39.063 39.063 0 21.573 17.489 39.062 39.063 39.062z", fill: "#93D204" }),
|
|
53
53
|
react_1.default.createElement("path", { opacity: 0.15, fillRule: "evenodd", clipRule: "evenodd", d: "M130.469 78.906c28.045 0 50.781 22.736 50.781 50.781 0 28.046-22.736 50.782-50.781 50.782-28.046 0-50.781-22.736-50.781-50.782 0-28.045 22.735-50.78 50.781-50.78zm-.391 5.469c-24.81 0-44.922 20.112-44.922 44.922s20.112 44.922 44.922 44.922S175 154.107 175 129.297s-20.112-44.922-44.922-44.922z", fill: "#A9F300" }),
|
|
54
54
|
react_1.default.createElement("path", { opacity: 0.3, fillRule: "evenodd", clipRule: "evenodd", d: "M130.469 88.281c22.868 0 41.406 18.538 41.406 41.406 0 22.869-18.538 41.407-41.406 41.407s-41.406-18.538-41.406-41.407c0-22.868 18.538-41.406 41.406-41.406zm0 4.644c-20.304 0-36.763 16.459-36.763 36.762 0 20.304 16.459 36.763 36.763 36.763 20.303 0 36.762-16.459 36.762-36.763 0-20.303-16.459-36.762-36.762-36.762z", fill: "#A9F300" }),
|
|
55
55
|
react_1.default.createElement("path", { opacity: 0.05, fillRule: "evenodd", clipRule: "evenodd", d: "M130.469 60.156c38.401 0 69.531 31.13 69.531 69.532 0 38.401-31.13 69.531-69.531 69.531-38.401 0-69.531-31.13-69.531-69.531 0-38.401 31.13-69.532 69.531-69.532zm-.391 7.813c-33.87 0-61.328 27.457-61.328 61.328 0 33.87 27.457 61.328 61.328 61.328s61.328-27.458 61.328-61.328c0-33.87-27.457-61.328-61.328-61.328z", fill: "#A9F300" }),
|
|
56
56
|
react_1.default.createElement("path", { d: "M130.469 163.281c18.553 0 33.593-15.04 33.593-33.593 0-18.554-15.04-33.594-33.593-33.594-18.554 0-33.594 15.04-33.594 33.594 0 18.553 15.04 33.593 33.594 33.593z", fill: "#A5E418" }),
|
|
57
|
-
react_1.default.createElement("path", { opacity: 0.05, d: "M182.031 146.094l-34.375-34.375-5.344 2.343-11.719-11.718-.905 22.656-13.282-13.281-7.031 10.156v23.437l36.719 36.719 35.937-35.937z", fill: "url(#
|
|
58
|
-
react_1.default.createElement("g", { filter: "url(#
|
|
57
|
+
react_1.default.createElement("path", { opacity: 0.05, d: "M182.031 146.094l-34.375-34.375-5.344 2.343-11.719-11.718-.905 22.656-13.282-13.281-7.031 10.156v23.437l36.719 36.719 35.937-35.937z", fill: "url(#NoActivations_svg__paint2_linear_8548_48982)" }),
|
|
58
|
+
react_1.default.createElement("g", { filter: "url(#NoActivations_svg__filter1_d_8548_48982)" },
|
|
59
59
|
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M130.469 102.344a3.907 3.907 0 00-3.907 3.906v17.969a3.907 3.907 0 007.813 0V106.25a3.906 3.906 0 00-3.906-3.906zm17.996 9.347a3.907 3.907 0 00-5.524 5.524 18.186 18.186 0 013.943 19.825 18.187 18.187 0 01-26.912 8.163 18.182 18.182 0 01-7.735-18.674 18.194 18.194 0 014.978-9.314 3.905 3.905 0 10-5.524-5.524 26.008 26.008 0 00-5.637 28.338 26 26 0 0024.024 16.053 25.999 25.999 0 0024.024-16.053 26.007 26.007 0 00-5.637-28.338z", fill: "#fff" })),
|
|
60
60
|
react_1.default.createElement("defs", null,
|
|
61
|
-
react_1.default.createElement("linearGradient", { id: "
|
|
61
|
+
react_1.default.createElement("linearGradient", { id: "NoActivations_svg__paint0_linear_8548_48982", x1: -12.5, y1: 7.031, x2: -12.5, y2: 200, gradientUnits: "userSpaceOnUse" },
|
|
62
62
|
react_1.default.createElement("stop", { stopColor: "#FAFAFA", stopOpacity: 0.01 }),
|
|
63
63
|
react_1.default.createElement("stop", { offset: 1, stopColor: "#F4F4F4" })),
|
|
64
|
-
react_1.default.createElement("linearGradient", { id: "
|
|
64
|
+
react_1.default.createElement("linearGradient", { id: "NoActivations_svg__paint1_linear_8548_48982", x1: 207.904, y1: 141.493, x2: 121.002, y2: 60.688, gradientUnits: "userSpaceOnUse" },
|
|
65
65
|
react_1.default.createElement("stop", { stopOpacity: 0.01 }),
|
|
66
66
|
react_1.default.createElement("stop", { offset: 1 })),
|
|
67
|
-
react_1.default.createElement("linearGradient", { id: "
|
|
67
|
+
react_1.default.createElement("linearGradient", { id: "NoActivations_svg__paint2_linear_8548_48982", x1: 123.438, y1: 112.109, x2: 172.656, y2: 161.328, gradientUnits: "userSpaceOnUse" },
|
|
68
68
|
react_1.default.createElement("stop", null),
|
|
69
69
|
react_1.default.createElement("stop", { offset: 1, stopOpacity: 0 })),
|
|
70
|
-
react_1.default.createElement("filter", { id: "
|
|
70
|
+
react_1.default.createElement("filter", { id: "NoActivations_svg__filter0_d_8548_48982", x: 88.281, y: 89.063, width: 84.375, height: 84.375, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" },
|
|
71
71
|
react_1.default.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
72
72
|
react_1.default.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
|
|
73
73
|
react_1.default.createElement("feOffset", { dy: 1.563 }),
|
|
@@ -75,7 +75,7 @@ var SvgNoActivations = function (props) {
|
|
|
75
75
|
react_1.default.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0" }),
|
|
76
76
|
react_1.default.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_8548_48982" }),
|
|
77
77
|
react_1.default.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_8548_48982", result: "shape" })),
|
|
78
|
-
react_1.default.createElement("filter", { id: "
|
|
78
|
+
react_1.default.createElement("filter", { id: "NoActivations_svg__filter1_d_8548_48982", x: 100.95, y: 100.781, width: 58.257, height: 59.988, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" },
|
|
79
79
|
react_1.default.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
80
80
|
react_1.default.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
|
|
81
81
|
react_1.default.createElement("feOffset", { dy: 1.563 }),
|
package/cjs/icons/NoData.js
CHANGED
|
@@ -26,7 +26,7 @@ var SvgNoData = function (props) {
|
|
|
26
26
|
react_1.default.createElement("stop", { stopColor: "#000", offset: "100%" })),
|
|
27
27
|
react_1.default.createElement("linearGradient", { x1: "50%", y1: "0%", x2: "50%", y2: "100%", id: "NoData_svg__e" },
|
|
28
28
|
react_1.default.createElement("stop", { stopColor: "#EEFBFF", offset: "0%" }),
|
|
29
|
-
react_1.default.createElement("stop", { stopColor: "
|
|
29
|
+
react_1.default.createElement("stop", { stopColor: "currentColor", offset: "100%" })),
|
|
30
30
|
react_1.default.createElement("filter", { x: "-7.7%", y: "-7.5%", width: "115.3%", height: "115%", filterUnits: "objectBoundingBox", id: "NoData_svg__f" },
|
|
31
31
|
react_1.default.createElement("feOffset", { dx: 0, dy: 2, in: "SourceAlpha", result: "shadowOffsetOuter1" }),
|
|
32
32
|
react_1.default.createElement("feGaussianBlur", { stdDeviation: 2, in: "shadowOffsetOuter1", result: "shadowBlurOuter1" }),
|
|
@@ -38,7 +38,7 @@ var SvgNoData = function (props) {
|
|
|
38
38
|
react_1.default.createElement("g", { stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd" },
|
|
39
39
|
react_1.default.createElement("mask", { id: "NoData_svg__c", fill: "#fff" },
|
|
40
40
|
react_1.default.createElement("use", { xlinkHref: "#NoData_svg__a" })),
|
|
41
|
-
react_1.default.createElement("use", { fillOpacity: 0.1, fill: "
|
|
41
|
+
react_1.default.createElement("use", { fillOpacity: 0.1, fill: "currentColor", xlinkHref: "#NoData_svg__a" }),
|
|
42
42
|
react_1.default.createElement("path", { fill: "url(#NoData_svg__b)", mask: "url(#NoData_svg__c)", d: "M0 9h256v247H0z" }),
|
|
43
43
|
react_1.default.createElement("g", { mask: "url(#NoData_svg__c)" },
|
|
44
44
|
react_1.default.createElement("g", { transform: "translate(29 37)" },
|
package/cjs/icons/NoLogs.js
CHANGED
|
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
var react_1 = __importDefault(require("react"));
|
|
18
18
|
var SvgNoLogs = function (props) {
|
|
19
19
|
return (react_1.default.createElement("svg", __assign({ width: 80, height: 81, viewBox: "0 0 80 81", fill: "none", xmlns: "http://www.w3.org/2000/svg", "data-reltio-id": "SvgNoLogs" }, props),
|
|
20
|
-
react_1.default.createElement("circle", { cx: 40, cy: 40.5, r: 40, fill: "
|
|
20
|
+
react_1.default.createElement("circle", { cx: 40, cy: 40.5, r: 40, fill: "currentColor", fillOpacity: 0.1 }),
|
|
21
21
|
react_1.default.createElement("mask", { id: "NoLogs_svg__a", style: {
|
|
22
22
|
maskType: 'luminance'
|
|
23
23
|
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 80, height: 81 },
|
|
@@ -16,9 +16,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
var react_1 = __importDefault(require("react"));
|
|
18
18
|
var SvgRequestSummary = function (props) {
|
|
19
|
-
return (react_1.default.createElement("svg", __assign({ width:
|
|
20
|
-
react_1.default.createElement("ellipse", { cx:
|
|
21
|
-
react_1.default.createElement("path", { opacity:
|
|
22
|
-
react_1.default.createElement("path", { opacity:
|
|
19
|
+
return (react_1.default.createElement("svg", __assign({ width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", "data-reltio-id": "SvgRequestSummary" }, props),
|
|
20
|
+
react_1.default.createElement("ellipse", { cx: 15.972, cy: 16, rx: 15.972, ry: 16, fill: "#1D4E99" }),
|
|
21
|
+
react_1.default.createElement("path", { opacity: 0.54, d: "M24.477 14.7a6.235 6.235 0 00-1.648-.744V8.43H8.503v10.986h6.356a6.392 6.392 0 00.05 1.572H6.845V6.857h17.632V14.7zM11.81 17.843h-1.657V16.28h1.657v1.563zm4.24-1.563c-.349.475-.632 1-.838 1.563h-1.754V16.28h2.591zm-4.24-1.572h-1.657v-1.572h1.657v1.572zm9.362-.992l-.065-.001a6.235 6.235 0 00-3.383.993h-4.265v-1.572h7.713v.58zm-9.362-2.151h-1.657V10h1.657v1.564zm9.362 0h-7.713V10h7.713v1.564z", fill: "#fff" }),
|
|
22
|
+
react_1.default.createElement("path", { opacity: 0.87, d: "M21.106 14.857c1.142 0 2.197.375 3.05 1.006l-.921.923a3.83 3.83 0 00-2.129-.643A3.854 3.854 0 0017.256 20a3.854 3.854 0 003.85 3.857 3.853 3.853 0 003.81-3.3l1.273-1.275a5.14 5.14 0 01-5.083 5.86A5.138 5.138 0 0115.972 20a5.139 5.139 0 015.134-5.143zm5.601 2.351l-5.445 5.455-.908-.91-1.814-1.817.907-.91 1.814 1.818 4.538-4.545.909.909z", fill: "#fff" })));
|
|
23
23
|
};
|
|
24
24
|
exports.default = SvgRequestSummary;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
var react_1 = __importDefault(require("react"));
|
|
18
|
+
var SvgReviewDcr = function (props) {
|
|
19
|
+
return (react_1.default.createElement("svg", __assign({ width: 16, height: 15, viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", "data-reltio-id": "SvgReviewDcr" }, props),
|
|
20
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.5 9h3.014a4.88 4.88 0 01.116-.75H2.5v-1.5h3.764c.173-.27.37-.52.59-.75H2.5V4.5H10v.014a4.87 4.87 0 012.25.358V1.5c0-.825-.675-1.5-1.5-1.5h-9C.925 0 .25.675.25 1.5v9.75c0 .825.675 1.5 1.5 1.5h5.104A4.865 4.865 0 015.63 10.5H2.5V9zM10 3.75H2.5v-1.5H10v1.5zm3.225 7.418l2.34 2.332-1.065 1.065-2.34-2.34a3.326 3.326 0 01-1.793.525A3.369 3.369 0 017 9.375 3.37 3.37 0 0110.375 6a3.37 3.37 0 013.375 3.375c0 .66-.195 1.268-.525 1.793zm-2.85.082a1.876 1.876 0 10-.001-3.751 1.876 1.876 0 00.001 3.751z", fill: "currentColor" })));
|
|
21
|
+
};
|
|
22
|
+
exports.default = SvgReviewDcr;
|
|
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
var react_1 = __importDefault(require("react"));
|
|
18
18
|
var SvgSelectAttributes = function (props) {
|
|
19
19
|
return (react_1.default.createElement("svg", __assign({ width: 256, height: 256, viewBox: "0 0 256 256", fill: "none", xmlns: "http://www.w3.org/2000/svg", "data-reltio-id": "SvgSelectAttributes" }, props),
|
|
20
|
-
react_1.default.createElement("circle", { cx: 128, cy: 128, r: 128, fill: "
|
|
20
|
+
react_1.default.createElement("circle", { cx: 128, cy: 128, r: 128, fill: "currentColor", fillOpacity: 0.1 }),
|
|
21
21
|
react_1.default.createElement("mask", { id: "SelectAttributes_svg__a", style: {
|
|
22
22
|
maskType: 'alpha'
|
|
23
23
|
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 256, height: 256 },
|
|
@@ -16,12 +16,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
var react_1 = __importDefault(require("react"));
|
|
18
18
|
var SvgSuggestedChanges = function (props) {
|
|
19
|
-
return (react_1.default.createElement("svg", __assign({ width:
|
|
20
|
-
react_1.default.createElement("g", { clipPath: "url(#
|
|
21
|
-
react_1.default.createElement("path", { d: "M15.972
|
|
22
|
-
react_1.default.createElement("path", { opacity:
|
|
19
|
+
return (react_1.default.createElement("svg", __assign({ width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", "data-reltio-id": "SvgSuggestedChanges" }, props),
|
|
20
|
+
react_1.default.createElement("g", { clipPath: "url(#SuggestedChanges_svg__clip0_536_106424)" },
|
|
21
|
+
react_1.default.createElement("path", { d: "M15.972 32c8.821 0 15.972-7.163 15.972-16S24.794 0 15.972 0C7.151 0 0 7.163 0 16s7.15 16 15.972 16z", fill: "#205191" }),
|
|
22
|
+
react_1.default.createElement("path", { opacity: 0.87, fillRule: "evenodd", clipRule: "evenodd", d: "M11.029 23.568c-1.05 0-1.902-.85-1.902-1.9V10.276a1.9 1.9 0 011.902-1.898h2.79a2.278 2.278 0 012.153-1.52l.185.007a2.27 2.27 0 011.968 1.512h2.79c1.05 0 1.902.852 1.902 1.9V21.67a1.9 1.9 0 01-1.901 1.898h-9.887zm10.268-1.52V9.898h-1.522v2.277H12.17V9.897h-1.522v12.154h10.649v-.003zm-3.203-5.522v1.488h-5.94v-1.488h5.94zM19.8 14.24v1.488h-7.644V14.24h7.644zm-3.827-5.863c.419 0 .761.341.761.76a.764.764 0 01-.76.721.761.761 0 01-.762-.722c0-.418.342-.759.761-.759z", fill: "#fff" })),
|
|
23
23
|
react_1.default.createElement("defs", null,
|
|
24
|
-
react_1.default.createElement("clipPath", { id: "
|
|
25
|
-
react_1.default.createElement("
|
|
24
|
+
react_1.default.createElement("clipPath", { id: "SuggestedChanges_svg__clip0_536_106424" },
|
|
25
|
+
react_1.default.createElement("path", { fill: "#fff", d: "M0 0h31.944v32H0z" })))));
|
|
26
26
|
};
|
|
27
27
|
exports.default = SvgSuggestedChanges;
|
package/cjs/icons/UploadIcon.js
CHANGED
|
@@ -34,7 +34,7 @@ var SvgUploadIcon = function (props) {
|
|
|
34
34
|
react_1.default.createElement("g", { stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd" },
|
|
35
35
|
react_1.default.createElement("mask", { id: "UploadIcon_svg__b", fill: "#fff" },
|
|
36
36
|
react_1.default.createElement("use", { xlinkHref: "#UploadIcon_svg__a" })),
|
|
37
|
-
react_1.default.createElement("use", { fillOpacity: 0.1, fill: "
|
|
37
|
+
react_1.default.createElement("use", { fillOpacity: 0.1, fill: "currentColor", xlinkHref: "#UploadIcon_svg__a" }),
|
|
38
38
|
react_1.default.createElement("g", { mask: "url(#UploadIcon_svg__b)" },
|
|
39
39
|
react_1.default.createElement("g", { strokeWidth: 1, fill: "none", transform: "translate(-1 9)" },
|
|
40
40
|
react_1.default.createElement("path", { d: "M0 107.268c0 35.579 28.703 64.409 64.173 64.409h139.021c29.578 0 53.497-24.035 53.497-53.635 0-28.356-21.935-51.562-49.705-53.515C199.577 27.705 167.2 0 128.346 0 97.425 0 70.59 17.582 57.171 43.274 25.027 46.767 0 74.117 0 107.268z", fill: "#FFF", opacity: 0.3 }),
|
|
@@ -15,8 +15,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
var react_1 = __importDefault(require("react"));
|
|
18
|
-
var
|
|
19
|
-
return (react_1.default.createElement("svg", __assign({
|
|
20
|
-
react_1.default.createElement("path", { d: "M6.
|
|
18
|
+
var SvgVerificationInvalid = function (props) {
|
|
19
|
+
return (react_1.default.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", "data-reltio-id": "SvgVerificationInvalid" }, props),
|
|
20
|
+
react_1.default.createElement("path", { d: "M6.667 0A6.66 6.66 0 000 6.667a6.66 6.66 0 006.667 6.666 6.66 6.66 0 006.666-6.666A6.66 6.66 0 006.667 0zM10 9.06l-.94.94-2.393-2.393L4.273 10l-.94-.94 2.394-2.393-2.394-2.394.94-.94 2.394 2.394L9.06 3.333l.94.94-2.393 2.394L10 9.06z", fill: "#EB5757" })));
|
|
21
21
|
};
|
|
22
|
-
exports.default =
|
|
22
|
+
exports.default = SvgVerificationInvalid;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
var react_1 = __importDefault(require("react"));
|
|
18
|
+
var SvgVerificationMaybe = function (props) {
|
|
19
|
+
return (react_1.default.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", "data-reltio-id": "SvgVerificationMaybe" }, props),
|
|
20
|
+
react_1.default.createElement("path", { d: "M6.667 0A6.67 6.67 0 000 6.667a6.67 6.67 0 006.667 6.666 6.669 6.669 0 006.666-6.666A6.67 6.67 0 006.667 0zm.666 11.333H6V10h1.333v1.333zm1.38-5.166l-.6.613c-.48.487-.78.887-.78 1.887H6v-.334c0-.733.3-1.4.78-1.886l.827-.84c.246-.24.393-.574.393-.94 0-.734-.6-1.334-1.333-1.334-.734 0-1.334.6-1.334 1.334H4a2.666 2.666 0 115.333 0c0 .586-.24 1.12-.62 1.5z", fill: "#F9A825" })));
|
|
21
|
+
};
|
|
22
|
+
exports.default = SvgVerificationMaybe;
|