@reltio/components 1.4.2189 → 1.4.2191

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.
Files changed (133) hide show
  1. package/ProfileBand/ProfileBand.d.ts +5 -4
  2. package/ProfileBand/ProfileBand.js +4 -5
  3. package/ProfileBand/ProfileBand.module.css.js +9 -0
  4. package/cjs/ProfileBand/ProfileBand.d.ts +5 -4
  5. package/cjs/ProfileBand/ProfileBand.js +14 -15
  6. package/cjs/ProfileBand/ProfileBand.module.css.js +9 -0
  7. package/cjs/contexts/MdmModuleContext/context.d.ts +2 -0
  8. package/cjs/contexts/MdmModuleContext/hooks.d.ts +1 -0
  9. package/cjs/contexts/MdmModuleContext/hooks.js +3 -1
  10. package/cjs/contexts/MdmModuleContext/index.d.ts +1 -1
  11. package/cjs/contexts/MdmModuleContext/index.js +2 -1
  12. package/cjs/features/history/HistoryRow/styles.d.ts +1 -1
  13. package/cjs/features/workflow/AddWorkflowDialog/AddWorkflowDialog.spec.js +67 -0
  14. package/cjs/features/workflow/ChangeRequestEditor/ChangeRequestEditor.d.ts +8 -0
  15. package/cjs/features/workflow/ChangeRequestEditor/ChangeRequestEditor.js +18 -0
  16. package/cjs/features/workflow/ChangeRequestEditor/ChangeRequestEditor.module.css.js +9 -0
  17. package/cjs/features/workflow/ChangeRequestEditor/index.d.ts +1 -0
  18. package/cjs/features/workflow/ChangeRequestEditor/index.js +5 -0
  19. package/cjs/features/workflow/ReviewDCRButton/ReviewDCRButton.d.ts +6 -0
  20. package/cjs/features/workflow/ReviewDCRButton/ReviewDCRButton.js +19 -0
  21. package/cjs/features/workflow/ReviewDCRButton/ReviewDCRButton.module.css.js +9 -0
  22. package/cjs/features/workflow/ReviewDCRButton/index.d.ts +1 -0
  23. package/cjs/features/workflow/ReviewDCRButton/index.js +5 -0
  24. package/cjs/features/workflow/ReviewDCRDialog/ReviewDCRDialog.d.ts +11 -0
  25. package/cjs/features/workflow/ReviewDCRDialog/ReviewDCRDialog.js +63 -0
  26. package/cjs/features/workflow/ReviewDCRDialog/ReviewDCRDialog.module.css.js +9 -0
  27. package/cjs/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/DCRChangesSummary.d.ts +8 -0
  28. package/cjs/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/DCRChangesSummary.js +73 -0
  29. package/cjs/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/DCRChangesSummary.module.css.js +9 -0
  30. package/cjs/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/index.d.ts +1 -0
  31. package/cjs/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/index.js +5 -0
  32. package/cjs/features/workflow/ReviewDCRDialog/components/DCRSummaryInfo/DCRSummaryInfo.d.ts +9 -0
  33. package/cjs/features/workflow/ReviewDCRDialog/components/DCRSummaryInfo/DCRSummaryInfo.js +40 -0
  34. package/cjs/features/workflow/ReviewDCRDialog/components/DCRSummaryInfo/DCRSummaryInfo.module.css.js +9 -0
  35. package/cjs/features/workflow/ReviewDCRDialog/helpers/calculateDCRChanges.d.ts +3 -0
  36. package/cjs/features/workflow/ReviewDCRDialog/helpers/calculateDCRChanges.js +19 -0
  37. package/cjs/features/workflow/ReviewDCRDialog/helpers/calculateDCRChanges.test.d.ts +1 -0
  38. package/cjs/features/workflow/ReviewDCRDialog/helpers/calculateDCRChanges.test.js +124 -0
  39. package/cjs/features/workflow/ReviewDCRDialog/helpers/index.d.ts +1 -0
  40. package/cjs/features/workflow/ReviewDCRDialog/helpers/index.js +5 -0
  41. package/cjs/features/workflow/ReviewDCRDialog/index.d.ts +1 -0
  42. package/cjs/features/workflow/ReviewDCRDialog/index.js +5 -0
  43. package/cjs/features/workflow/TaskActionButtons/TaskActionButtons.spec.js +1 -1
  44. package/cjs/features/workflow/WorkflowActionButtons/WorkflowActionButtons.d.ts +12 -0
  45. package/cjs/features/workflow/WorkflowActionButtons/WorkflowActionButtons.js +57 -0
  46. package/cjs/features/workflow/WorkflowActionButtons/index.d.ts +1 -0
  47. package/cjs/features/workflow/WorkflowActionButtons/index.js +5 -0
  48. package/cjs/features/workflow/WorkflowComments/WorkflowComments.d.ts +7 -1
  49. package/cjs/features/workflow/WorkflowComments/WorkflowComments.js +15 -31
  50. package/cjs/features/workflow/WorkflowComments/WorkflowComments.module.css.js +9 -0
  51. package/cjs/features/workflow/WorkflowTaskCard/components/DataChangeRequestTaskCard/DataChangeRequestTaskCard.js +46 -6
  52. package/cjs/features/workflow/WorkflowTaskCard/components/DataChangeRequestTaskCard/DataChangeRequestTaskCard.spec.js +80 -5
  53. package/cjs/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/GenericWorkflowTaskCard.d.ts +2 -1
  54. package/cjs/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/GenericWorkflowTaskCard.js +30 -29
  55. package/cjs/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/GenericWorkflowTaskCard.module.css.js +9 -0
  56. package/cjs/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/GenericWorkflowTaskCard.spec.js +124 -2
  57. package/cjs/features/workflow/WorkflowTaskCard/components/PotentialMatchTaskCard/PotentialMatchTaskCard.spec.js +69 -3
  58. package/cjs/features/workflow/index.d.ts +2 -0
  59. package/cjs/features/workflow/index.js +5 -1
  60. package/cjs/icons/RequestSummary.d.ts +3 -0
  61. package/cjs/icons/RequestSummary.js +24 -0
  62. package/cjs/icons/ReviewDCR.d.ts +3 -0
  63. package/cjs/icons/ReviewDCR.js +22 -0
  64. package/contexts/MdmModuleContext/context.d.ts +2 -0
  65. package/contexts/MdmModuleContext/hooks.d.ts +1 -0
  66. package/contexts/MdmModuleContext/hooks.js +1 -0
  67. package/contexts/MdmModuleContext/index.d.ts +1 -1
  68. package/contexts/MdmModuleContext/index.js +1 -1
  69. package/features/history/HistoryRow/styles.d.ts +1 -1
  70. package/features/workflow/AddWorkflowDialog/AddWorkflowDialog.spec.js +67 -0
  71. package/features/workflow/ChangeRequestEditor/ChangeRequestEditor.d.ts +8 -0
  72. package/features/workflow/ChangeRequestEditor/ChangeRequestEditor.js +11 -0
  73. package/features/workflow/ChangeRequestEditor/ChangeRequestEditor.module.css.js +9 -0
  74. package/features/workflow/ChangeRequestEditor/index.d.ts +1 -0
  75. package/features/workflow/ChangeRequestEditor/index.js +1 -0
  76. package/features/workflow/ReviewDCRButton/ReviewDCRButton.d.ts +6 -0
  77. package/features/workflow/ReviewDCRButton/ReviewDCRButton.js +12 -0
  78. package/features/workflow/ReviewDCRButton/ReviewDCRButton.module.css.js +9 -0
  79. package/features/workflow/ReviewDCRButton/index.d.ts +1 -0
  80. package/features/workflow/ReviewDCRButton/index.js +1 -0
  81. package/features/workflow/ReviewDCRDialog/ReviewDCRDialog.d.ts +11 -0
  82. package/features/workflow/ReviewDCRDialog/ReviewDCRDialog.js +56 -0
  83. package/features/workflow/ReviewDCRDialog/ReviewDCRDialog.module.css.js +9 -0
  84. package/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/DCRChangesSummary.d.ts +8 -0
  85. package/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/DCRChangesSummary.js +43 -0
  86. package/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/DCRChangesSummary.module.css.js +9 -0
  87. package/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/index.d.ts +1 -0
  88. package/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/index.js +1 -0
  89. package/features/workflow/ReviewDCRDialog/components/DCRSummaryInfo/DCRSummaryInfo.d.ts +9 -0
  90. package/features/workflow/ReviewDCRDialog/components/DCRSummaryInfo/DCRSummaryInfo.js +33 -0
  91. package/features/workflow/ReviewDCRDialog/components/DCRSummaryInfo/DCRSummaryInfo.module.css.js +9 -0
  92. package/features/workflow/ReviewDCRDialog/helpers/calculateDCRChanges.d.ts +3 -0
  93. package/features/workflow/ReviewDCRDialog/helpers/calculateDCRChanges.js +15 -0
  94. package/features/workflow/ReviewDCRDialog/helpers/calculateDCRChanges.test.d.ts +1 -0
  95. package/features/workflow/ReviewDCRDialog/helpers/calculateDCRChanges.test.js +122 -0
  96. package/features/workflow/ReviewDCRDialog/helpers/index.d.ts +1 -0
  97. package/features/workflow/ReviewDCRDialog/helpers/index.js +1 -0
  98. package/features/workflow/ReviewDCRDialog/index.d.ts +1 -0
  99. package/features/workflow/ReviewDCRDialog/index.js +1 -0
  100. package/features/workflow/TaskActionButtons/TaskActionButtons.spec.js +1 -1
  101. package/features/workflow/WorkflowActionButtons/WorkflowActionButtons.d.ts +12 -0
  102. package/features/workflow/WorkflowActionButtons/WorkflowActionButtons.js +27 -0
  103. package/features/workflow/WorkflowActionButtons/index.d.ts +1 -0
  104. package/features/workflow/WorkflowActionButtons/index.js +1 -0
  105. package/features/workflow/WorkflowComments/WorkflowComments.d.ts +7 -1
  106. package/features/workflow/WorkflowComments/WorkflowComments.js +13 -29
  107. package/features/workflow/WorkflowComments/WorkflowComments.module.css.js +9 -0
  108. package/features/workflow/WorkflowTaskCard/components/DataChangeRequestTaskCard/DataChangeRequestTaskCard.js +23 -6
  109. package/features/workflow/WorkflowTaskCard/components/DataChangeRequestTaskCard/DataChangeRequestTaskCard.spec.js +82 -7
  110. package/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/GenericWorkflowTaskCard.d.ts +2 -1
  111. package/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/GenericWorkflowTaskCard.js +8 -7
  112. package/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/GenericWorkflowTaskCard.module.css.js +9 -0
  113. package/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/GenericWorkflowTaskCard.spec.js +125 -3
  114. package/features/workflow/WorkflowTaskCard/components/PotentialMatchTaskCard/PotentialMatchTaskCard.spec.js +71 -5
  115. package/features/workflow/index.d.ts +2 -0
  116. package/features/workflow/index.js +2 -0
  117. package/icons/RequestSummary.d.ts +3 -0
  118. package/icons/RequestSummary.js +19 -0
  119. package/icons/ReviewDCR.d.ts +3 -0
  120. package/icons/ReviewDCR.js +17 -0
  121. package/package.json +2 -2
  122. package/ProfileBand/styles.d.ts +0 -1
  123. package/ProfileBand/styles.js +0 -87
  124. package/cjs/ProfileBand/styles.d.ts +0 -1
  125. package/cjs/ProfileBand/styles.js +0 -90
  126. package/cjs/features/workflow/WorkflowComments/styles.d.ts +0 -1
  127. package/cjs/features/workflow/WorkflowComments/styles.js +0 -42
  128. package/cjs/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/styles.d.ts +0 -3
  129. package/cjs/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/styles.js +0 -113
  130. package/features/workflow/WorkflowComments/styles.d.ts +0 -1
  131. package/features/workflow/WorkflowComments/styles.js +0 -39
  132. package/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/styles.d.ts +0 -3
  133. package/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/styles.js +0 -110
@@ -6,6 +6,8 @@ export { AssigneeSelector } from './AssigneeSelector';
6
6
  export { ReassignButton } from './ReassignButton';
7
7
  export { WorkflowComments } from './WorkflowComments';
8
8
  export { TaskActionButtons } from './TaskActionButtons';
9
+ export { ReviewDCRButton } from './ReviewDCRButton';
10
+ export { ReviewDCRDialog } from './ReviewDCRDialog';
9
11
  // hooks
10
12
  export { useWorkflowAssignee } from './hooks/useWorkflowAssignee';
11
13
  export { useWorkflowComments } from './hooks/useWorkflowComments';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const SvgRequestSummary: React.FC<React.SVGProps<SVGSVGElement>>;
3
+ export default SvgRequestSummary;
@@ -0,0 +1,19 @@
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 React from 'react';
13
+ var SvgRequestSummary = function (props) {
14
+ return (React.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),
15
+ React.createElement("ellipse", { cx: "15.972", cy: "16", rx: "15.972", ry: "16", fill: "#1D4E99" }),
16
+ React.createElement("path", { opacity: "0.54", d: "M24.4771 14.7002C23.972 14.3772 23.4183 14.1244 22.8286 13.9561V8.42871H8.50342V19.415H14.8589C14.8411 19.6077 14.8316 19.8027 14.8315 20C14.8315 20.3358 14.8581 20.6657 14.9087 20.9873H6.84521V6.85742H24.4771V14.7002ZM11.8091 17.8428H10.1519V16.2803H11.8091V17.8428ZM16.0483 16.2803C15.7 16.7547 15.4168 17.2799 15.2114 17.8428H13.4575V16.2803H16.0483ZM11.8091 14.708H10.1519V13.1357H11.8091V14.708ZM21.1714 13.7158C21.1496 13.7156 21.1278 13.7148 21.106 13.7148C19.8597 13.7148 18.6995 14.0804 17.7231 14.708H13.4575V13.1357H21.1714V13.7158ZM11.8091 11.5645H10.1519V10.001H11.8091V11.5645ZM21.1714 11.5645H13.4575V10.001H21.1714V11.5645Z", fill: "white" }),
17
+ React.createElement("path", { opacity: "0.87", d: "M21.106 14.8574C22.2479 14.8575 23.3031 15.2315 24.1558 15.8633L23.2349 16.7861C22.6252 16.3801 21.8929 16.1426 21.106 16.1426C18.9797 16.1428 17.2565 17.87 17.2563 20C17.2563 22.1301 18.9796 23.8572 21.106 23.8574C23.0435 23.8572 24.6461 22.4229 24.9155 20.5566L26.189 19.2822C26.2217 19.5168 26.2407 19.7564 26.2407 20C26.2407 22.8402 23.9412 25.1424 21.106 25.1426C18.2708 25.1423 15.9722 22.8402 15.9722 20C15.9723 17.16 18.2709 14.8577 21.106 14.8574ZM26.7075 17.208L21.2622 22.6631L20.354 21.7539V21.7529L18.5396 19.9355L19.4468 19.0264L21.2612 20.8438L25.7993 16.2988L26.7075 17.208Z", fill: "white" })));
18
+ };
19
+ export default SvgRequestSummary;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const SvgReviewDCR: React.FC<React.SVGProps<SVGSVGElement>>;
3
+ export default SvgReviewDCR;
@@ -0,0 +1,17 @@
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 React from 'react';
13
+ var SvgReviewDCR = function (props) {
14
+ return (React.createElement("svg", __assign({ width: "16", height: "15", viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
15
+ React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.5 9H5.51415C5.53356 8.74392 5.57268 8.49341 5.63 8.25H2.5V6.75H6.26449C6.43659 6.48075 6.63444 6.2296 6.85458 6H2.5V4.5H10V4.51415C10.1238 4.50477 10.2488 4.5 10.375 4.5C11.0397 4.5 11.673 4.63248 12.25 4.87252V1.5C12.25 0.675 11.575 0 10.75 0H1.75C0.925 0 0.25 0.675 0.25 1.5V11.25C0.25 12.075 0.925 12.75 1.75 12.75H6.85373C6.26293 12.1331 5.8327 11.3608 5.63001 10.5H2.5V9ZM10 3.75H2.5V2.25H10V3.75ZM13.225 11.1675L15.565 13.5L14.5 14.565L12.16 12.225C11.6425 12.555 11.0275 12.75 10.3675 12.75C8.5075 12.75 7 11.2425 7 9.375C7 7.5075 8.5075 6 10.375 6C12.2425 6 13.75 7.5075 13.75 9.375C13.75 10.035 13.555 10.6425 13.225 11.1675ZM10.375 11.25C11.41 11.25 12.25 10.41 12.25 9.375C12.25 8.34 11.41 7.5 10.375 7.5C9.34 7.5 8.5 8.34 8.5 9.375C8.5 10.41 9.34 11.25 10.375 11.25Z", fill: "#0072CE" })));
16
+ };
17
+ export default SvgReviewDCR;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reltio/components",
3
- "version": "1.4.2189",
3
+ "version": "1.4.2191",
4
4
  "license": "SEE LICENSE IN LICENSE FILE",
5
5
  "main": "./cjs/index.js",
6
6
  "module": "./index.js",
@@ -11,7 +11,7 @@
11
11
  "@fluentui/react-context-selector": "^9.1.26",
12
12
  "@googlemaps/markerclusterer": "^2.5.3",
13
13
  "@react-sigma/core": "3.4.0",
14
- "@reltio/mdm-sdk": "^1.4.1995",
14
+ "@reltio/mdm-sdk": "^1.4.1996",
15
15
  "@vis.gl/react-google-maps": "^1.3.0",
16
16
  "d3-cloud": "^1.2.5",
17
17
  "d3-geo": "^2.0.1",
@@ -1 +0,0 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"inactive" | "label" | "secondaryLabel" | "profileBand" | "entityType" | "entityId" | "profileIcon" | "profileBandWrapper" | "imageProfileIcon" | "profileInfo" | "badge" | "businessCard" | "specialInfo">;
@@ -1,87 +0,0 @@
1
- import { makeStyles } from '@mui/styles';
2
- export var useStyles = makeStyles(function (theme) { return ({
3
- profileBandWrapper: {
4
- // especially for IE (overflow fix)
5
- flexShrink: 0
6
- },
7
- profileBand: {
8
- display: 'flex',
9
- padding: '16px 12px 16px 16px',
10
- alignItems: 'flex-start',
11
- backgroundColor: '#fff',
12
- boxShadow: '0px 1px 0px rgba(0, 0, 0, 0.12)',
13
- marginBottom: '1px',
14
- '&:after': {
15
- // IE workaround for minHeight and centering items
16
- content: '""',
17
- minHeight: 'inherit',
18
- fontSize: 0
19
- }
20
- },
21
- inactive: {
22
- background: theme.inactiveBackground
23
- },
24
- profileIcon: {
25
- marginRight: '12px'
26
- },
27
- imageProfileIcon: {
28
- width: '48px',
29
- height: '48px'
30
- },
31
- profileInfo: {
32
- display: 'flex',
33
- flexDirection: 'column',
34
- flex: '1 1 50%'
35
- },
36
- badge: {},
37
- label: {
38
- lineHeight: '1.2',
39
- letterSpacing: '0.25px',
40
- color: theme.palette.text.primary,
41
- wordBreak: 'break-word',
42
- whiteSpace: 'break-spaces',
43
- '&+ $specialInfo': {
44
- marginTop: '4px'
45
- }
46
- },
47
- secondaryLabel: {
48
- display: 'inline-flex',
49
- color: theme.palette.text.primary,
50
- marginTop: '2px',
51
- lineHeight: '16px',
52
- fontSize: '14px',
53
- fontWeight: 400,
54
- whiteSpace: 'break-spaces',
55
- '&+ $businessCard': {
56
- marginLeft: '12px'
57
- }
58
- },
59
- businessCard: {
60
- color: theme.palette.text.secondary,
61
- display: 'inline-flex',
62
- fontSize: '14px',
63
- marginTop: '4px',
64
- lineHeight: '1.2',
65
- whiteSpace: 'break-spaces'
66
- },
67
- specialInfo: {
68
- display: 'flex',
69
- justifyContent: 'space-between',
70
- flexWrap: 'wrap',
71
- width: '100%',
72
- marginTop: '8px'
73
- },
74
- entityType: {
75
- display: 'flex',
76
- flexWrap: 'wrap'
77
- },
78
- entityId: {
79
- fontSize: '13px',
80
- color: theme.palette.text.secondary,
81
- whiteSpace: 'nowrap',
82
- cursor: 'pointer',
83
- '&:hover': {
84
- textDecoration: 'underline'
85
- }
86
- }
87
- }); });
@@ -1 +0,0 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"inactive" | "label" | "secondaryLabel" | "profileBand" | "entityType" | "entityId" | "profileIcon" | "profileBandWrapper" | "imageProfileIcon" | "profileInfo" | "badge" | "businessCard" | "specialInfo">;
@@ -1,90 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useStyles = void 0;
4
- var styles_1 = require("@mui/styles");
5
- exports.useStyles = (0, styles_1.makeStyles)(function (theme) { return ({
6
- profileBandWrapper: {
7
- // especially for IE (overflow fix)
8
- flexShrink: 0
9
- },
10
- profileBand: {
11
- display: 'flex',
12
- padding: '16px 12px 16px 16px',
13
- alignItems: 'flex-start',
14
- backgroundColor: '#fff',
15
- boxShadow: '0px 1px 0px rgba(0, 0, 0, 0.12)',
16
- marginBottom: '1px',
17
- '&:after': {
18
- // IE workaround for minHeight and centering items
19
- content: '""',
20
- minHeight: 'inherit',
21
- fontSize: 0
22
- }
23
- },
24
- inactive: {
25
- background: theme.inactiveBackground
26
- },
27
- profileIcon: {
28
- marginRight: '12px'
29
- },
30
- imageProfileIcon: {
31
- width: '48px',
32
- height: '48px'
33
- },
34
- profileInfo: {
35
- display: 'flex',
36
- flexDirection: 'column',
37
- flex: '1 1 50%'
38
- },
39
- badge: {},
40
- label: {
41
- lineHeight: '1.2',
42
- letterSpacing: '0.25px',
43
- color: theme.palette.text.primary,
44
- wordBreak: 'break-word',
45
- whiteSpace: 'break-spaces',
46
- '&+ $specialInfo': {
47
- marginTop: '4px'
48
- }
49
- },
50
- secondaryLabel: {
51
- display: 'inline-flex',
52
- color: theme.palette.text.primary,
53
- marginTop: '2px',
54
- lineHeight: '16px',
55
- fontSize: '14px',
56
- fontWeight: 400,
57
- whiteSpace: 'break-spaces',
58
- '&+ $businessCard': {
59
- marginLeft: '12px'
60
- }
61
- },
62
- businessCard: {
63
- color: theme.palette.text.secondary,
64
- display: 'inline-flex',
65
- fontSize: '14px',
66
- marginTop: '4px',
67
- lineHeight: '1.2',
68
- whiteSpace: 'break-spaces'
69
- },
70
- specialInfo: {
71
- display: 'flex',
72
- justifyContent: 'space-between',
73
- flexWrap: 'wrap',
74
- width: '100%',
75
- marginTop: '8px'
76
- },
77
- entityType: {
78
- display: 'flex',
79
- flexWrap: 'wrap'
80
- },
81
- entityId: {
82
- fontSize: '13px',
83
- color: theme.palette.text.secondary,
84
- whiteSpace: 'nowrap',
85
- cursor: 'pointer',
86
- '&:hover': {
87
- textDecoration: 'underline'
88
- }
89
- }
90
- }); });
@@ -1 +0,0 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"container" | "title" | "filledInputRoot" | "commentsContainer" | "modeSwitcherWrapper" | "sendButton">;
@@ -1,42 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useStyles = void 0;
4
- var styles_1 = require("@mui/styles");
5
- exports.useStyles = (0, styles_1.makeStyles)(function (_theme) { return ({
6
- container: {
7
- padding: '5px 0',
8
- display: 'flex',
9
- flexDirection: 'column'
10
- },
11
- commentsContainer: {
12
- maxHeight: '300px',
13
- overflowY: 'auto'
14
- },
15
- title: {
16
- margin: '0 0 8px 5px',
17
- fontSize: '14px',
18
- color: 'rgba(0, 0, 0, 0.87)'
19
- },
20
- filledInputRoot: {
21
- backgroundColor: 'rgba(0, 0, 0, 0.03)',
22
- padding: '10px 6px',
23
- minHeight: '40px',
24
- margin: '10px 17px 0 6px',
25
- fontSize: '14px',
26
- '&:hover': {
27
- backgroundColor: 'rgba(0, 0, 0, 0.03)'
28
- },
29
- '&.focused': {
30
- backgroundColor: 'rgba(0, 0, 0, 0.03)'
31
- }
32
- },
33
- modeSwitcherWrapper: {
34
- marginLeft: 'auto',
35
- marginRight: '16px',
36
- marginTop: '8px'
37
- },
38
- sendButton: {
39
- alignSelf: 'end',
40
- marginBottom: '10px'
41
- }
42
- }); });
@@ -1,3 +0,0 @@
1
- export declare const useStyles: (props: {
2
- color: string;
3
- }) => import("@mui/styles").ClassNameMap<"flex" | "caption" | "icon" | "title" | "header" | "line" | "date" | "info" | "priority" | "comments" | "infoBlock" | "flag" | "mainInfo" | "card" | "withBackground" | "lineWrapper" | "commentsInfo" | "commentsIcon" | "infoValue" | "controlsBox" | "controlsInRow">;
@@ -1,113 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useStyles = void 0;
4
- var styles_1 = require("@mui/styles");
5
- exports.useStyles = (0, styles_1.makeStyles)(function (theme) { return ({
6
- card: {
7
- borderBottom: '1px solid rgba(0,0,0,0.06)'
8
- },
9
- withBackground: {
10
- backgroundColor: 'rgba(0, 0, 0, 0.03)'
11
- },
12
- lineWrapper: {
13
- position: 'relative'
14
- },
15
- icon: {
16
- position: 'absolute',
17
- top: '8px',
18
- left: '16px',
19
- width: '32px',
20
- height: '32px',
21
- zIndex: 1
22
- },
23
- line: function (_a) {
24
- var color = _a.color;
25
- return ({
26
- borderLeft: "3px solid ".concat(color),
27
- position: 'absolute',
28
- left: 0,
29
- top: 0,
30
- bottom: 0
31
- });
32
- },
33
- info: {
34
- fontSize: '13px',
35
- color: theme.palette.text.secondary,
36
- wordWrap: 'break-word',
37
- lineHeight: '15px'
38
- },
39
- commentsInfo: {
40
- display: 'flex',
41
- alignItems: 'center',
42
- marginBottom: '-4px',
43
- marginTop: '7px'
44
- },
45
- commentsIcon: {
46
- width: '11px',
47
- height: '11px',
48
- marginLeft: '2px',
49
- marginRight: '6px',
50
- marginTop: '-2px'
51
- },
52
- infoValue: {
53
- color: theme.palette.text.primary
54
- },
55
- infoBlock: {
56
- display: 'flex',
57
- flexDirection: 'row',
58
- marginBottom: '5px'
59
- },
60
- header: {
61
- display: 'flex',
62
- flexDirection: 'row',
63
- paddingBottom: '12px'
64
- },
65
- flex: {
66
- flex: 1
67
- },
68
- caption: {
69
- fontSize: '16px',
70
- color: theme.palette.text.primary
71
- },
72
- title: {
73
- display: 'flex',
74
- flexDirection: 'row',
75
- alignItems: 'center',
76
- marginBottom: '-4px'
77
- },
78
- flag: {
79
- height: '13px',
80
- width: '13px',
81
- marginTop: '-2px',
82
- stroke: '#000000',
83
- fill: 'none',
84
- margin: '2px 5px 0 5px'
85
- },
86
- date: {
87
- fontSize: '13px',
88
- color: theme.palette.text.primary
89
- },
90
- mainInfo: {
91
- display: 'flex',
92
- flexDirection: 'column',
93
- flex: 1
94
- },
95
- controlsBox: {
96
- marginRight: '16px',
97
- marginBottom: '12px',
98
- marginTop: '13px'
99
- },
100
- controlsInRow: {
101
- display: 'flex',
102
- flexDirection: 'row',
103
- alignItems: 'center',
104
- justifyContent: 'space-between',
105
- marginBottom: '20px'
106
- },
107
- priority: {
108
- width: '162px'
109
- },
110
- comments: {
111
- marginLeft: '11px'
112
- }
113
- }); });
@@ -1 +0,0 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"container" | "title" | "filledInputRoot" | "commentsContainer" | "modeSwitcherWrapper" | "sendButton">;
@@ -1,39 +0,0 @@
1
- import { makeStyles } from '@mui/styles';
2
- export var useStyles = makeStyles(function (_theme) { return ({
3
- container: {
4
- padding: '5px 0',
5
- display: 'flex',
6
- flexDirection: 'column'
7
- },
8
- commentsContainer: {
9
- maxHeight: '300px',
10
- overflowY: 'auto'
11
- },
12
- title: {
13
- margin: '0 0 8px 5px',
14
- fontSize: '14px',
15
- color: 'rgba(0, 0, 0, 0.87)'
16
- },
17
- filledInputRoot: {
18
- backgroundColor: 'rgba(0, 0, 0, 0.03)',
19
- padding: '10px 6px',
20
- minHeight: '40px',
21
- margin: '10px 17px 0 6px',
22
- fontSize: '14px',
23
- '&:hover': {
24
- backgroundColor: 'rgba(0, 0, 0, 0.03)'
25
- },
26
- '&.focused': {
27
- backgroundColor: 'rgba(0, 0, 0, 0.03)'
28
- }
29
- },
30
- modeSwitcherWrapper: {
31
- marginLeft: 'auto',
32
- marginRight: '16px',
33
- marginTop: '8px'
34
- },
35
- sendButton: {
36
- alignSelf: 'end',
37
- marginBottom: '10px'
38
- }
39
- }); });
@@ -1,3 +0,0 @@
1
- export declare const useStyles: (props: {
2
- color: string;
3
- }) => import("@mui/styles").ClassNameMap<"flex" | "caption" | "icon" | "title" | "header" | "line" | "date" | "info" | "priority" | "comments" | "infoBlock" | "flag" | "mainInfo" | "card" | "withBackground" | "lineWrapper" | "commentsInfo" | "commentsIcon" | "infoValue" | "controlsBox" | "controlsInRow">;
@@ -1,110 +0,0 @@
1
- import { makeStyles } from '@mui/styles';
2
- export var useStyles = makeStyles(function (theme) { return ({
3
- card: {
4
- borderBottom: '1px solid rgba(0,0,0,0.06)'
5
- },
6
- withBackground: {
7
- backgroundColor: 'rgba(0, 0, 0, 0.03)'
8
- },
9
- lineWrapper: {
10
- position: 'relative'
11
- },
12
- icon: {
13
- position: 'absolute',
14
- top: '8px',
15
- left: '16px',
16
- width: '32px',
17
- height: '32px',
18
- zIndex: 1
19
- },
20
- line: function (_a) {
21
- var color = _a.color;
22
- return ({
23
- borderLeft: "3px solid ".concat(color),
24
- position: 'absolute',
25
- left: 0,
26
- top: 0,
27
- bottom: 0
28
- });
29
- },
30
- info: {
31
- fontSize: '13px',
32
- color: theme.palette.text.secondary,
33
- wordWrap: 'break-word',
34
- lineHeight: '15px'
35
- },
36
- commentsInfo: {
37
- display: 'flex',
38
- alignItems: 'center',
39
- marginBottom: '-4px',
40
- marginTop: '7px'
41
- },
42
- commentsIcon: {
43
- width: '11px',
44
- height: '11px',
45
- marginLeft: '2px',
46
- marginRight: '6px',
47
- marginTop: '-2px'
48
- },
49
- infoValue: {
50
- color: theme.palette.text.primary
51
- },
52
- infoBlock: {
53
- display: 'flex',
54
- flexDirection: 'row',
55
- marginBottom: '5px'
56
- },
57
- header: {
58
- display: 'flex',
59
- flexDirection: 'row',
60
- paddingBottom: '12px'
61
- },
62
- flex: {
63
- flex: 1
64
- },
65
- caption: {
66
- fontSize: '16px',
67
- color: theme.palette.text.primary
68
- },
69
- title: {
70
- display: 'flex',
71
- flexDirection: 'row',
72
- alignItems: 'center',
73
- marginBottom: '-4px'
74
- },
75
- flag: {
76
- height: '13px',
77
- width: '13px',
78
- marginTop: '-2px',
79
- stroke: '#000000',
80
- fill: 'none',
81
- margin: '2px 5px 0 5px'
82
- },
83
- date: {
84
- fontSize: '13px',
85
- color: theme.palette.text.primary
86
- },
87
- mainInfo: {
88
- display: 'flex',
89
- flexDirection: 'column',
90
- flex: 1
91
- },
92
- controlsBox: {
93
- marginRight: '16px',
94
- marginBottom: '12px',
95
- marginTop: '13px'
96
- },
97
- controlsInRow: {
98
- display: 'flex',
99
- flexDirection: 'row',
100
- alignItems: 'center',
101
- justifyContent: 'space-between',
102
- marginBottom: '20px'
103
- },
104
- priority: {
105
- width: '162px'
106
- },
107
- comments: {
108
- marginLeft: '11px'
109
- }
110
- }); });