@pushwoosh/kit-charts 0.3.1 → 0.4.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.
@@ -14,7 +14,7 @@ const getContext = () => {
14
14
  };
15
15
  export const DEFAULT_FONT_SIZE = FontSize.SMALL;
16
16
  export const DEFAULT_FONT_FAMILY = FontFamily.MAIN;
17
- export const DEFAULT_TITLE_FONT_SIZE = FontSize.HEADING2;
17
+ export const DEFAULT_TITLE_FONT_SIZE = FontSize.HEADING1;
18
18
  export const DEFAULT_SUBTITLE_FONT_SIZE = FontSize.SMALL;
19
19
  export const toCssFont = style => {
20
20
  const weight = style?.fontWeight ?? 'normal';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/kit-charts",
3
- "version": "0.3.1",
3
+ "version": "0.4.1",
4
4
  "description": "Small React chart library on SVG, with a Highcharts-shaped configuration model",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,26 +26,27 @@
26
26
  "directory": "dist"
27
27
  },
28
28
  "dependencies": {
29
- "@pushwoosh/kit-constants": "^2.1.1"
29
+ "@pushwoosh/kit-constants": "^3.0.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@pushwoosh/frontend-builder-engine": "^3.1.6",
32
+ "@pushwoosh/frontend-builder-engine": "^4.0.0",
33
+ "@pushwoosh/kit-typography": "^2.0.0",
33
34
  "@testing-library/dom": "^10.4.2",
34
35
  "@testing-library/jest-dom": "^6.9.1",
35
36
  "@testing-library/react": "^16.3.0",
36
37
  "@types/node": "^24.19.1",
37
- "@types/react": "^18.3.31",
38
- "@types/react-dom": "^18.3.7",
38
+ "@types/react": "^19.3.0",
39
+ "@types/react-dom": "^19.3.0",
39
40
  "jsdom": "^26.1.0",
40
- "react": "^18.3.1",
41
- "react-dom": "^18.3.1",
41
+ "react": "^19.3.0",
42
+ "react-dom": "^19.3.0",
42
43
  "styled-components": "^6.5.3",
43
44
  "typescript": "^6.0.3",
44
45
  "vitest": "^4.1.10"
45
46
  },
46
47
  "peerDependencies": {
47
- "react": "^18.0.0 || ^19.0.0",
48
- "react-dom": "^18.0.0 || ^19.0.0",
48
+ "react": "^19.0.0",
49
+ "react-dom": "^19.0.0",
49
50
  "styled-components": "^6.5.3"
50
51
  },
51
52
  "engines": {