@pushwoosh/kit-charts 0.0.19 → 0.0.21
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/core/Chart/Chart.styles.js +2 -2
- package/package.json +25 -20
|
@@ -54,7 +54,7 @@ export const Canvas = styled.svg.withConfig({
|
|
|
54
54
|
export const SeriesLayer = styled.g.withConfig({
|
|
55
55
|
displayName: "SeriesLayer",
|
|
56
56
|
componentId: "sc-1pit1b9-4"
|
|
57
|
-
})(["opacity:", ";pointer-events:", ";cursor:", ";transition:opacity ", "ms ", ";", " @media (prefers-reduced-motion:reduce){transition:none;path,rect,circle,text{transition:none;}}"], ({
|
|
57
|
+
})(["opacity:", ";pointer-events:", ";cursor:", ";transition:opacity ", "ms ", ";", " @media (prefers-reduced-motion:reduce){transition:none;path,rect,circle,line,text{transition:none;}}"], ({
|
|
58
58
|
$hidden,
|
|
59
59
|
$inactive,
|
|
60
60
|
$opacity
|
|
@@ -72,7 +72,7 @@ export const SeriesLayer = styled.g.withConfig({
|
|
|
72
72
|
}) => $motionMs, MOTION_EASING, ({
|
|
73
73
|
$selfAnimated,
|
|
74
74
|
$motionMs
|
|
75
|
-
}) => $selfAnimated ? '' : css(["path,rect,circle,text{transition:d ", "ms ", ",x ", "ms ", ",y ", "ms ", ",width ", "ms ", ",height ", "ms ", ",cx ", "ms ", ",cy ", "ms ", ",opacity ", "ms ", ";}"], $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING));
|
|
75
|
+
}) => $selfAnimated ? '' : css(["path,rect,circle,line,text{transition:d ", "ms ", ",x ", "ms ", ",y ", "ms ", ",width ", "ms ", ",height ", "ms ", ",cx ", "ms ", ",cy ", "ms ", ",x1 ", "ms ", ",x2 ", "ms ", ",y1 ", "ms ", ",y2 ", "ms ", ",opacity ", "ms ", ";}"], $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING, $motionMs, MOTION_EASING));
|
|
76
76
|
export const LegendItemBox = styled.g.withConfig({
|
|
77
77
|
displayName: "LegendItemBox",
|
|
78
78
|
componentId: "sc-1pit1b9-5"
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pushwoosh/kit-charts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"description": "Small React chart library on SVG, with a Highcharts-shaped configuration model",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://gitlab.corp.pushwoosh.com/frontend/
|
|
8
|
+
"url": "git+https://gitlab.corp.pushwoosh.com/frontend/frontend-monorepo.git",
|
|
9
|
+
"directory": "packages/charts"
|
|
9
10
|
},
|
|
10
11
|
"keywords": [
|
|
11
12
|
"chart",
|
|
@@ -21,38 +22,32 @@
|
|
|
21
22
|
"types": "index.d.ts",
|
|
22
23
|
"sideEffects": false,
|
|
23
24
|
"publishConfig": {
|
|
24
|
-
"access": "public"
|
|
25
|
+
"access": "public",
|
|
26
|
+
"directory": "dist"
|
|
25
27
|
},
|
|
26
|
-
"scripts": {
|
|
27
|
-
"start": "npm run playground",
|
|
28
|
-
"build": "pushwoosh-engine lib:build && cp ai-documentation.md LICENSE dist/",
|
|
29
|
-
"playground": "webpack serve --config ./node_modules/@pushwoosh/frontend-builder-engine/lib/webpack.playground.config.js --stats-error-details",
|
|
30
|
-
"check": "npm run check:lint && npm run check:types",
|
|
31
|
-
"check:lint": "echo \"Run check:lint\" && NODE_ENV=production eslint ./src ./playground ./tests",
|
|
32
|
-
"check:lint-fix": "echo \"Run check:lint\" && NODE_ENV=production eslint ./src ./playground ./tests --fix",
|
|
33
|
-
"check:types": "echo \"Run check:types\" && pushwoosh-engine lib:check-types && tsc --noEmit -p tsconfig.json",
|
|
34
|
-
"test": "jest"
|
|
35
|
-
},
|
|
36
|
-
"pre-commit": "check",
|
|
37
28
|
"dependencies": {
|
|
38
29
|
"@pushwoosh/kit-constants": "^2.0.0"
|
|
39
30
|
},
|
|
40
31
|
"devDependencies": {
|
|
41
32
|
"@pushwoosh/frontend-builder-engine": "^3.1.0",
|
|
33
|
+
"@testing-library/dom": "^10.4.2",
|
|
42
34
|
"@testing-library/jest-dom": "^6.9.1",
|
|
43
35
|
"@testing-library/react": "^16.3.0",
|
|
44
36
|
"@types/jest": "^30.0.0",
|
|
45
|
-
"@types/
|
|
46
|
-
"@types/react
|
|
37
|
+
"@types/node": "^26.1.1",
|
|
38
|
+
"@types/react": "^18.3.31",
|
|
39
|
+
"@types/react-dom": "^18.3.7",
|
|
47
40
|
"@types/styled-components": "^5.1.34",
|
|
48
|
-
"cross-env": "^7.0.3",
|
|
49
41
|
"jest": "^30.2.0",
|
|
50
42
|
"jest-environment-jsdom": "^30.2.0",
|
|
51
|
-
"pre-commit": "^1.2.2",
|
|
52
43
|
"react": "^18.3.1",
|
|
53
44
|
"react-dom": "^18.3.1",
|
|
54
45
|
"styled-components": "^5.3.11",
|
|
55
|
-
"ts-jest": "^29.4.6"
|
|
46
|
+
"ts-jest": "^29.4.6",
|
|
47
|
+
"typescript": "^6.0.3",
|
|
48
|
+
"webpack": "^5.94.0",
|
|
49
|
+
"webpack-cli": "^6.0.1",
|
|
50
|
+
"webpack-dev-server": "^5.0.4"
|
|
56
51
|
},
|
|
57
52
|
"peerDependencies": {
|
|
58
53
|
"react": ">=18.0.0",
|
|
@@ -60,5 +55,15 @@
|
|
|
60
55
|
},
|
|
61
56
|
"engines": {
|
|
62
57
|
"node": ">= 24"
|
|
58
|
+
},
|
|
59
|
+
"scripts": {
|
|
60
|
+
"start": "pnpm run playground",
|
|
61
|
+
"build": "pushwoosh-engine lib:build && cp ai-documentation.md LICENSE dist/",
|
|
62
|
+
"playground": "webpack serve --config ./node_modules/@pushwoosh/frontend-builder-engine/lib/webpack.playground.config.js --stats-error-details",
|
|
63
|
+
"check": "pnpm run check:lint && pnpm run check:types",
|
|
64
|
+
"check:lint": "echo \"Run check:lint\" && NODE_ENV=production eslint ./src ./playground ./tests",
|
|
65
|
+
"check:lint-fix": "echo \"Run check:lint\" && NODE_ENV=production eslint ./src ./playground ./tests --fix",
|
|
66
|
+
"check:types": "echo \"Run check:types\" && pushwoosh-engine lib:check-types && tsc --noEmit -p tsconfig.json",
|
|
67
|
+
"test": "jest"
|
|
63
68
|
}
|
|
64
|
-
}
|
|
69
|
+
}
|