@truedat/dd 8.5.9 → 8.6.1

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 (2) hide show
  1. package/package.json +3 -3
  2. package/src/styles/dl.less +100 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dd",
3
- "version": "8.5.9",
3
+ "version": "8.6.1",
4
4
  "description": "Truedat Web Data Dictionary",
5
5
  "sideEffects": false,
6
6
  "module": "src/index.js",
@@ -51,7 +51,7 @@
51
51
  "@testing-library/jest-dom": "^6.6.3",
52
52
  "@testing-library/react": "^16.3.0",
53
53
  "@testing-library/user-event": "^14.6.1",
54
- "@truedat/test": "8.5.9",
54
+ "@truedat/test": "8.6.1",
55
55
  "identity-obj-proxy": "^3.0.0",
56
56
  "jest": "^29.7.0",
57
57
  "redux-saga-test-plan": "^4.0.6"
@@ -86,5 +86,5 @@
86
86
  "svg-pan-zoom": "^3.6.2",
87
87
  "swr": "^2.3.3"
88
88
  },
89
- "gitHead": "45e6137b5aa9452db78901e8b0eaa16cc7953b7c"
89
+ "gitHead": "932eb0895ec71961f52a09309b99ae017977a899"
90
90
  }
@@ -0,0 +1,100 @@
1
+ @secondaryColor: #ed5c17;
2
+ @activeStrokeColor: lighten(@secondaryColor, 20%);
3
+ @activeMetadataStrokeColor: lighten(@secondaryColor, 20%);
4
+ @inactiveMetadataStrokeColor: rgb(238, 210, 210);
5
+ @inactiveStrokeColor: #ccc;
6
+ @groupBorderColor: #888;
7
+ @groupFillColor: #ccc;
8
+ @groupFillOpacity: 0.2;
9
+ @resourceBorderColor: #333;
10
+ @resourceFillColor: #fff;
11
+ @processFillColor: #90cde7;
12
+
13
+ .dl text {
14
+ font-family: "Ubuntu Condensed", sans-serif;
15
+ font-size: 12pt;
16
+ }
17
+ .dl text.h1 {
18
+ font-weight: 600;
19
+ }
20
+ .dl svg {
21
+ stroke-width: 0;
22
+ cursor: move;
23
+ }
24
+ .dl rect {
25
+ stroke-width: 1pt;
26
+ }
27
+ .dl circle {
28
+ fill: @groupFillColor;
29
+ stroke: @activeStrokeColor;
30
+ stroke-opacity: 0.5;
31
+ stroke-width: 1pt;
32
+ }
33
+ .dl g a {
34
+ cursor: pointer;
35
+ }
36
+ .dl .group.z0 rect {
37
+ fill: transparent;
38
+ stroke-width: 0;
39
+ }
40
+ .dl .group.z1 rect {
41
+ fill: transparent;
42
+ stroke-dasharray: 4;
43
+ }
44
+ .dl .group rect {
45
+ fill: @groupFillColor;
46
+ fill-opacity: @groupFillOpacity;
47
+ stroke: @groupBorderColor;
48
+ }
49
+ .dl .group.session rect {
50
+ fill: @processFillColor;
51
+ fill-opacity: 1;
52
+ }
53
+ .dl .resource rect {
54
+ stroke: @resourceBorderColor;
55
+ fill: @resourceFillColor;
56
+ }
57
+ .dl .resource text {
58
+ font-weight: normal;
59
+ }
60
+ .dl .resource text.active {
61
+ fill: @secondaryColor;
62
+ }
63
+ .dl g.active rect {
64
+ stroke-width: 1.5px;
65
+ stroke: @activeStrokeColor;
66
+ }
67
+ .dl g.active text {
68
+ fill: @secondaryColor;
69
+ }
70
+ .dl path {
71
+ stroke-width: 1px;
72
+ }
73
+ .dl path.link {
74
+ stroke: @inactiveStrokeColor;
75
+ fill: none;
76
+ marker-end: url(#end);
77
+ }
78
+ .dl path.link.active {
79
+ stroke: @activeStrokeColor;
80
+ stroke-width: 1.5px;
81
+ marker-end: url(#end-active);
82
+ }
83
+
84
+ .dl path.link.metadata {
85
+ stroke: @secondaryColor;
86
+ stroke-width: 3px;
87
+ marker-end: url(#end-active);
88
+ }
89
+ .dl path.link.metadata:hover {
90
+ stroke: @activeMetadataStrokeColor;
91
+ stroke-width: 3px;
92
+ marker-end: url(#end-active);
93
+ cursor: pointer;
94
+ }
95
+
96
+ .dl path.link.metadata.active {
97
+ stroke: @activeMetadataStrokeColor;
98
+ stroke-width: 3px;
99
+ marker-end: url(#end-active);
100
+ }