@hestia-earth/ui-components-charts 0.43.23 → 0.43.24
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/dist/hierarchy-chart.css +45 -0
- package/dist/index.d.mts +666 -65
- package/dist/index.d.ts +666 -65
- package/dist/index.js +1509 -60
- package/dist/index.mjs +1460 -62
- package/package.json +12 -3
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What the driver chart needs to behave: only its nodes take the pointer, and the group buttons show.
|
|
3
|
+
* Import it once, globally: the nodes are drawn by d3, outside any component's own styles.
|
|
4
|
+
* The Angular component carries the same rules in its stylesheet, under ::ng-deep.
|
|
5
|
+
*/
|
|
6
|
+
.hestia-hierarchy-chart svg,
|
|
7
|
+
svg.hestia-hierarchy-chart {
|
|
8
|
+
pointer-events: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.hestia-hierarchy-chart .node-box {
|
|
12
|
+
fill-opacity: 0.3;
|
|
13
|
+
stroke-opacity: 0.3;
|
|
14
|
+
pointer-events: auto;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.hestia-hierarchy-chart .node-openable:not(.mask-openable) {
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
stroke-opacity: 1;
|
|
20
|
+
fill-opacity: 1;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.hestia-hierarchy-chart .group-button,
|
|
24
|
+
.hestia-hierarchy-chart .group-button-text {
|
|
25
|
+
display: inline !important;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.hestia-hierarchy-chart .node-label tspan {
|
|
30
|
+
alignment-baseline: inherit;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.hestia-hierarchy-chart .sibling-mask {
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.hestia-hierarchy-chart .mask-openable {
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
pointer-events: all;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.hestia-hierarchy-chart .mask-openable:hover {
|
|
43
|
+
fill: none;
|
|
44
|
+
stroke: none;
|
|
45
|
+
}
|