@forgecharts/sdk 1.1.23 → 1.1.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgecharts/sdk",
3
- "version": "1.1.23",
3
+ "version": "1.1.27",
4
4
  "description": "ForgeCharts SDK — canvas-based charting engine, no third-party chart libraries",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,6 +23,16 @@
23
23
  "types": "./dist/internal.d.ts",
24
24
  "import": "./dist/internal.js",
25
25
  "require": "./dist/internal.js"
26
+ },
27
+ "./react": {
28
+ "types": "./dist/react/index.d.ts",
29
+ "import": "./dist/react/index.js",
30
+ "require": "./dist/react/index.js"
31
+ },
32
+ "./react/internal": {
33
+ "types": "./dist/react/internal.d.ts",
34
+ "import": "./dist/react/internal.js",
35
+ "require": "./dist/react/internal.js"
26
36
  }
27
37
  },
28
38
  "sideEffects": false,
@@ -36,12 +46,26 @@
36
46
  "clean": "rimraf dist tsconfig.tsbuildinfo"
37
47
  },
38
48
  "dependencies": {
39
- "@forgecharts/shared": "*",
40
- "@forgecharts/types": "*",
41
- "@forgecharts/utils": "*",
42
49
  "pixi.js": "^8.16.0"
43
50
  },
51
+ "peerDependencies": {
52
+ "react": ">=18.0.0",
53
+ "react-dom": ">=18.0.0"
54
+ },
55
+ "peerDependenciesMeta": {
56
+ "react": {
57
+ "optional": true
58
+ },
59
+ "react-dom": {
60
+ "optional": true
61
+ }
62
+ },
44
63
  "devDependencies": {
64
+ "@forgecharts/shared": "*",
65
+ "@forgecharts/types": "*",
66
+ "@forgecharts/utils": "*",
67
+ "@types/react": "*",
68
+ "@types/react-dom": "*",
45
69
  "rimraf": "^5.0.10",
46
70
  "tsup": "^8.2.4",
47
71
  "typescript": "*",
package/src/internal.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  * No semver stability guarantee applies to this entry point.
7
7
  *
8
8
  * Direct internal consumers:
9
- * - @forgecharts/chart-components (canvas rendering layer)
9
+ * - @forgecharts/sdk/react (canvas rendering layer)
10
10
  * - ForgeCharts platform app layer (engine-level customization)
11
11
  *
12
12
  * Exports in this file are the raw canvas engine primitives that underpin