mdt-charts 1.18.2 → 1.18.4
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/lib/config/config.d.ts +30 -3
- package/lib/engine/contentManager/contentManagerFactory.js +0 -2
- package/lib/engine/features/axis/axis.d.ts +1 -0
- package/lib/engine/features/axis/axis.js +19 -2
- package/lib/engine/features/axis/axisHelper.js +3 -1
- package/lib/engine/features/legend/legend.d.ts +2 -2
- package/lib/engine/features/legend/legendHelper.d.ts +2 -2
- package/lib/engine/features/legend/legendHelper.js +0 -3
- package/lib/engine/features/scale/scale.d.ts +4 -0
- package/lib/engine/features/scale/scale.js +4 -0
- package/lib/engine/features/title/title.d.ts +1 -1
- package/lib/engine/features/title/title.js +2 -3
- package/lib/engine/features/tolltip/tooltip.d.ts +0 -1
- package/lib/engine/features/tolltip/tooltip.js +2 -21
- package/lib/engine/features/tolltip/tooltipDomHelper.d.ts +6 -3
- package/lib/engine/features/tolltip/tooltipDomHelper.js +64 -27
- package/lib/engine/filterManager/filterEventManager.d.ts +6 -0
- package/lib/engine/filterManager/filterEventManager.js +8 -0
- package/lib/engine/polarNotation/polarManager.js +1 -1
- package/lib/engine/twoDimensionalNotation/line/line.d.ts +6 -0
- package/lib/engine/twoDimensionalNotation/line/line.js +7 -8
- package/lib/engine/twoDimensionalNotation/line/lineHelper.d.ts +4 -1
- package/lib/engine/twoDimensionalNotation/line/lineHelper.js +18 -6
- package/lib/engine/twoDimensionalNotation/twoDimensionalManager.js +11 -9
- package/lib/model/EventEmitter.d.ts +10 -0
- package/lib/model/EventEmitter.js +26 -0
- package/lib/model/dataManagerModel/dataManagerModel.d.ts +0 -1
- package/lib/model/dataManagerModel/dataManagerModel.js +0 -13
- package/lib/model/featuresModel/axisModel.d.ts +1 -0
- package/lib/model/featuresModel/axisModel.js +13 -2
- package/lib/model/featuresModel/scaleModel/scaleDomainService.d.ts +3 -2
- package/lib/model/featuresModel/scaleModel/scaleDomainService.js +16 -6
- package/lib/model/featuresModel/scaleModel/scaleModel.d.ts +1 -0
- package/lib/model/featuresModel/scaleModel/scaleModel.js +12 -0
- package/lib/model/helpers/modelHelper.d.ts +2 -2
- package/lib/model/helpers/modelHelper.js +11 -22
- package/lib/model/margin/twoDim/twoDimMarginModel.d.ts +1 -1
- package/lib/model/margin/twoDim/twoDimMarginModel.js +3 -3
- package/lib/model/model.d.ts +6 -2
- package/lib/model/modelBuilder.js +0 -13
- package/lib/model/modelInstance/configReader.d.ts +2 -0
- package/lib/model/modelInstance/configReader.js +11 -1
- package/lib/model/notations/twoDimensionalModel.js +9 -2
- package/lib/style/charts-main.css +9 -7
- package/lib/style/charts-main.less +9 -7
- package/lib/style/css-vars.css +3 -0
- package/package.json +3 -3
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import (inline) './css-vars.css';
|
|
2
|
+
|
|
1
3
|
.wrapper {
|
|
2
4
|
margin: 0 auto;
|
|
3
5
|
position: relative;
|
|
@@ -18,8 +20,8 @@
|
|
|
18
20
|
.data-label {
|
|
19
21
|
font-family: "Roboto";
|
|
20
22
|
font-style: normal;
|
|
21
|
-
font-weight:
|
|
22
|
-
font-size:
|
|
23
|
+
font-weight: 400;
|
|
24
|
+
font-size: var(--chart-base-font-size);
|
|
23
25
|
line-height: 140.62%;
|
|
24
26
|
color: #444444;
|
|
25
27
|
cursor: default;
|
|
@@ -85,9 +87,9 @@
|
|
|
85
87
|
}
|
|
86
88
|
|
|
87
89
|
.legend-label {
|
|
88
|
-
font-size:
|
|
90
|
+
font-size: var(--chart-base-font-size);
|
|
89
91
|
font-family: "Roboto", sans-serif;
|
|
90
|
-
font-weight:
|
|
92
|
+
font-weight: 400;
|
|
91
93
|
color: #444444;
|
|
92
94
|
width: calc(100% - 19px);
|
|
93
95
|
overflow: hidden;
|
|
@@ -130,7 +132,7 @@
|
|
|
130
132
|
z-index: 102;
|
|
131
133
|
max-width: 500px;
|
|
132
134
|
background: rgba(0, 0, 0, 0.82);
|
|
133
|
-
font-size:
|
|
135
|
+
font-size: var(--chart-base-font-size);
|
|
134
136
|
}
|
|
135
137
|
.mdt-charts-tooltip-arrow {
|
|
136
138
|
width: 0;
|
|
@@ -169,7 +171,7 @@
|
|
|
169
171
|
stroke-linecap: round;
|
|
170
172
|
}
|
|
171
173
|
.mdt-charts-tooltip-content .tooltip-head {
|
|
172
|
-
font-size:
|
|
174
|
+
font-size: var(--chart-base-font-size);
|
|
173
175
|
margin-bottom: 10px;
|
|
174
176
|
}
|
|
175
177
|
.mdt-charts-tooltip-content .tooltip-texts {
|
|
@@ -250,7 +252,7 @@
|
|
|
250
252
|
font-family: "Roboto", sans-serif;
|
|
251
253
|
font-style: normal;
|
|
252
254
|
font-weight: 500;
|
|
253
|
-
font-size:
|
|
255
|
+
font-size: var(--chart-base-font-size);
|
|
254
256
|
line-height: 140.62%;
|
|
255
257
|
}
|
|
256
258
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mdt-charts",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/main.js",
|
|
6
6
|
"scripts": {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"build": "npx webpack --mode production",
|
|
9
9
|
"watch": "npx webpack --mode development --watch",
|
|
10
10
|
"test": "jest",
|
|
11
|
-
"build-lib": "npm run build-ts && npm run build-style",
|
|
11
|
+
"build-lib": "shx rm -rf lib && npm run build-ts && npm run build-style",
|
|
12
12
|
"build-ts": "npx tsc -p tsconfig.production.json",
|
|
13
|
-
"build-style": "shx mkdir lib/style && shx cp src/style/charts-main.css lib/style && shx cp src/style/charts-main.less lib/style"
|
|
13
|
+
"build-style": "shx mkdir lib/style && shx cp src/style/css-vars.css lib/style && shx cp src/style/charts-main.css lib/style && shx cp src/style/charts-main.less lib/style"
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/VishulaKnow/charts",
|
|
16
16
|
"author": "",
|