@pioneer-code/pioneer-charts 22.2.12 → 22.2.14
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/README.md +3 -2
- package/fesm2022/pioneer-code-pioneer-charts.mjs +608 -233
- package/fesm2022/pioneer-code-pioneer-charts.mjs.map +1 -1
- package/package.json +12 -3
- package/scss/pioneer-charts.scss +12 -1
- package/themes/pioneer-charts.css +9 -0
- package/themes/pioneer-charts.min.css +1 -1
- package/types/pioneer-code-pioneer-charts.d.ts +133 -613
package/package.json
CHANGED
|
@@ -22,15 +22,24 @@
|
|
|
22
22
|
"type": "git",
|
|
23
23
|
"url": "git+https://github.com/PioneerCode/pioneer-charts.git"
|
|
24
24
|
},
|
|
25
|
-
"version": "22.2.
|
|
25
|
+
"version": "22.2.14",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@angular/common": "^22.1.0",
|
|
29
29
|
"@angular/core": "^22.1.0",
|
|
30
|
-
"
|
|
31
|
-
"@types/d3": "^7.4.3"
|
|
30
|
+
"rxjs": "^7.4.0"
|
|
32
31
|
},
|
|
33
32
|
"dependencies": {
|
|
33
|
+
"d3-array": "^3.0.0",
|
|
34
|
+
"d3-axis": "^3.0.0",
|
|
35
|
+
"d3-color": "^3.0.0",
|
|
36
|
+
"d3-format": "^3.0.0",
|
|
37
|
+
"d3-interpolate": "^3.0.0",
|
|
38
|
+
"d3-scale": "^4.0.0",
|
|
39
|
+
"d3-selection": "^3.0.0",
|
|
40
|
+
"d3-shape": "^3.0.0",
|
|
41
|
+
"d3-transition": "^3.0.0",
|
|
42
|
+
"d3-zoom": "^3.0.0",
|
|
34
43
|
"tslib": "^2.3.0"
|
|
35
44
|
},
|
|
36
45
|
"sideEffects": false,
|
package/scss/pioneer-charts.scss
CHANGED
|
@@ -27,12 +27,23 @@
|
|
|
27
27
|
|
|
28
28
|
// Each color below is `var(--pcac-*-color, <theme color>)`. A builder sets the property on a
|
|
29
29
|
// part's group only when the chart's config gives that color (`PcacAxisConfig`'s `*Color` fields,
|
|
30
|
-
// `PcacPointFanOutConfig.spokeColor` / `anchorColor`
|
|
30
|
+
// `PcacPointFanOutConfig.spokeColor` / `anchorColor`, `PcacPieDonutConfig.labelColor` /
|
|
31
|
+
// `subLabelColor`), so a chart without one looks as before. A
|
|
31
32
|
// stylesheet can set the same property on any ancestor; a config value, on the group itself, wins.
|
|
32
33
|
.pcac-grid-rule line {
|
|
33
34
|
stroke: var(--pcac-grid-color, #{imports.$gray-200});
|
|
34
35
|
}
|
|
35
36
|
|
|
37
|
+
// The donut's center text (`PcacPieDonutConfig.labelColor` / `subLabelColor`).
|
|
38
|
+
.pcac-pie-center-label {
|
|
39
|
+
fill: var(--pcac-pie-center-label-color, #{imports.$gray-800});
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.pcac-pie-center-sub-label {
|
|
44
|
+
fill: var(--pcac-pie-center-sub-label-color, #{imports.$gray-600});
|
|
45
|
+
}
|
|
46
|
+
|
|
36
47
|
.pcac-x-axis,
|
|
37
48
|
.pcac-y-axis {
|
|
38
49
|
|
|
@@ -18,6 +18,15 @@
|
|
|
18
18
|
stroke: var(--pcac-grid-color, #e9ecef);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
.pcac-pie-center-label {
|
|
22
|
+
fill: var(--pcac-pie-center-label-color, #343a40);
|
|
23
|
+
font-weight: 500;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.pcac-pie-center-sub-label {
|
|
27
|
+
fill: var(--pcac-pie-center-sub-label-color, #6c757d);
|
|
28
|
+
}
|
|
29
|
+
|
|
21
30
|
.pcac-x-axis path,
|
|
22
31
|
.pcac-x-axis line,
|
|
23
32
|
.pcac-y-axis path,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.pcac-d3-tooltip{position:absolute;pointer-events:none;display:none;z-index:1000}.pcac-d3-tooltip-default{text-align:center;font-size:14px;padding:.5rem;background-color:rgba(52,58,64,.85);color:#fff;border-radius:2px}.pcac-grid-rule line{stroke:var(--pcac-grid-color, #e9ecef)}.pcac-x-axis path,.pcac-x-axis line,.pcac-y-axis path,.pcac-y-axis line{stroke:none}.pcac-x-axis.pcac-axis-tick-marks .tick line,.pcac-y-axis.pcac-axis-tick-marks .tick line{stroke:var(--pcac-axis-tick-color, #212529)}.pcac-x-axis.pcac-axis-line .domain,.pcac-y-axis.pcac-axis-line .domain{stroke:var(--pcac-axis-line-color, #212529)}.pcac-x-axis .pcac-axis-label,.pcac-y-axis .pcac-axis-label{font-size:12px;font-weight:600;fill:var(--pcac-axis-label-color, #495057)}.pcac-x-axis .pcac-axis-sub-label,.pcac-y-axis .pcac-axis-sub-label{font-size:11px;fill:var(--pcac-axis-sub-label-color, #6c757d)}:where(.pcac-x-axis,.pcac-y-axis) :where(.tick) text{fill:var(--pcac-axis-tick-label-color, currentColor)}
|
|
1
|
+
.pcac-d3-tooltip{position:absolute;pointer-events:none;display:none;z-index:1000}.pcac-d3-tooltip-default{text-align:center;font-size:14px;padding:.5rem;background-color:rgba(52,58,64,.85);color:#fff;border-radius:2px}.pcac-grid-rule line{stroke:var(--pcac-grid-color, #e9ecef)}.pcac-pie-center-label{fill:var(--pcac-pie-center-label-color, #343a40);font-weight:500}.pcac-pie-center-sub-label{fill:var(--pcac-pie-center-sub-label-color, #6c757d)}.pcac-x-axis path,.pcac-x-axis line,.pcac-y-axis path,.pcac-y-axis line{stroke:none}.pcac-x-axis.pcac-axis-tick-marks .tick line,.pcac-y-axis.pcac-axis-tick-marks .tick line{stroke:var(--pcac-axis-tick-color, #212529)}.pcac-x-axis.pcac-axis-line .domain,.pcac-y-axis.pcac-axis-line .domain{stroke:var(--pcac-axis-line-color, #212529)}.pcac-x-axis .pcac-axis-label,.pcac-y-axis .pcac-axis-label{font-size:12px;font-weight:600;fill:var(--pcac-axis-label-color, #495057)}.pcac-x-axis .pcac-axis-sub-label,.pcac-y-axis .pcac-axis-sub-label{font-size:11px;fill:var(--pcac-axis-sub-label-color, #6c757d)}:where(.pcac-x-axis,.pcac-y-axis) :where(.tick) text{fill:var(--pcac-axis-tick-label-color, currentColor)}
|