@impulse-ui-native/charts 2.0.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.
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # @impulse-ui-native/charts
2
+
3
+ The workspace package reserved for Impulse UI Native chart components and chart primitives.
4
+
5
+ ## Status
6
+
7
+ This package is currently under development. It declares D3 scale, shape, interpolation, array, and time utilities plus React Native Skia as its rendering peer, but it does not currently expose a public component or type from the package root.
8
+
9
+ Do not depend on `@impulse-ui-native/charts` for application code until its first public exports are added and documented here.
10
+
11
+ ## Planned scope
12
+
13
+ - Token-aware chart primitives for React Native.
14
+ - Skia-based rendering.
15
+ - D3-backed scales, shapes, interpolation, and date/time helpers.
16
+ - Typed components that compose with the rest of Impulse UI Native.
17
+
18
+ ## Native prerequisite
19
+
20
+ Future chart APIs will require `@shopify/react-native-skia` version 2 or newer. Follow Skia's platform setup instructions before using those APIs once they are available.
@@ -0,0 +1,3 @@
1
+ declare const packageName = "charts";
2
+
3
+ export { packageName };
package/dist/index.js ADDED
@@ -0,0 +1,6 @@
1
+ // src/index.ts
2
+ var packageName = "charts";
3
+ export {
4
+ packageName
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export const packageName = \"charts\";\r\n"],"mappings":";AAAO,IAAM,cAAc;","names":[]}
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@impulse-ui-native/charts",
3
+ "version": "2.0.1",
4
+ "source": "src/index.ts",
5
+ "module": "dist/index.js",
6
+ "types": "dist/index.d.mts",
7
+ "react-native": "src/index.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.mts",
11
+ "react-native": "./src/index.ts",
12
+ "import": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "README.md",
18
+ "LICENSE"
19
+ ],
20
+ "dependencies": {
21
+ "d3-array": "3.2.4",
22
+ "d3-interpolate": "3.0.1",
23
+ "d3-scale": "4.0.2",
24
+ "d3-shape": "3.2.0",
25
+ "d3-time": "3.1.0",
26
+ "d3-time-format": "4.1.0"
27
+ },
28
+ "devDependencies": {
29
+ "@shopify/react-native-skia": "2.6.6",
30
+ "@types/react": "~19.2.14",
31
+ "eslint": "^9.38.0",
32
+ "prettier": "^3.6.2",
33
+ "react": "19.2.0",
34
+ "react-native": "0.83.6",
35
+ "typescript": "~5.9.2",
36
+ "@impulse-ui-native/eslint-config": "1.0.0",
37
+ "@impulse-ui-native/prettier-config": "1.0.0",
38
+ "@impulse-ui-native/tsconfig": "1.0.0"
39
+ },
40
+ "peerDependencies": {
41
+ "@shopify/react-native-skia": ">=2",
42
+ "react": ">=18",
43
+ "react-native": ">=0.73"
44
+ },
45
+ "publishConfig": {
46
+ "access": "public"
47
+ },
48
+ "prettier": "@impulse-ui-native/prettier-config",
49
+ "scripts": {
50
+ "build": "tsup --config tsup.config.ts",
51
+ "typecheck": "tsc -p tsconfig.json --noEmit",
52
+ "lint": "pnpm exec eslint . --fix",
53
+ "format": "prettier --write \"./**/*.{ts,tsx,js,jsx,json,md}\" --ignore-path ../../.prettierignore"
54
+ }
55
+ }