@northslopetech/altitude-ui 2.1.2 → 2.4.0
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 +0 -16
- package/dist/index.d.mts +118 -28
- package/dist/index.d.ts +118 -28
- package/dist/index.js +563 -329
- package/dist/index.mjs +564 -333
- package/dist/pdf.worker.min.mjs +28 -0
- package/package.json +6 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@northslopetech/altitude-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "React UI components for the Altitude design system",
|
|
6
6
|
"author": "Northslope",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"./tokens.css": "./dist/tokens.css",
|
|
30
30
|
"./tailwind": "./tailwind.preset.js",
|
|
31
|
+
"./pdf.worker.min.mjs": "./dist/pdf.worker.min.mjs",
|
|
31
32
|
"./*": {
|
|
32
33
|
"types": "./dist/*.d.ts",
|
|
33
34
|
"import": "./dist/*.mjs",
|
|
@@ -46,12 +47,13 @@
|
|
|
46
47
|
"@types/prop-types": "^15.7.15",
|
|
47
48
|
"@types/react": "19.1.0",
|
|
48
49
|
"@types/react-dom": "19.1.1",
|
|
50
|
+
"@types/react-pdf": "^7.0.0",
|
|
49
51
|
"eslint": "^9.31.0",
|
|
50
52
|
"tailwindcss": "^4.1.11",
|
|
51
53
|
"tsup": "^8.0.0",
|
|
52
54
|
"typescript": "5.8.2",
|
|
53
|
-
"@northslopetech/altitude-tokens": "1.0.0",
|
|
54
55
|
"@repo/eslint-config": "0.0.0",
|
|
56
|
+
"@northslopetech/altitude-tokens": "1.0.0",
|
|
55
57
|
"@repo/typescript-config": "0.0.0"
|
|
56
58
|
},
|
|
57
59
|
"dependencies": {
|
|
@@ -66,6 +68,7 @@
|
|
|
66
68
|
"class-variance-authority": "^0.7.1",
|
|
67
69
|
"clsx": "^2.1.1",
|
|
68
70
|
"prop-types": "^15.8.1",
|
|
71
|
+
"react-pdf": "^10.0.1",
|
|
69
72
|
"recharts": "^3.2.1",
|
|
70
73
|
"tailwind-merge": "^2.5.4"
|
|
71
74
|
},
|
|
@@ -75,7 +78,7 @@
|
|
|
75
78
|
},
|
|
76
79
|
"scripts": {
|
|
77
80
|
"prebuild": "cd ../altitude-tokens && npm run build",
|
|
78
|
-
"build": "tsup src/index.ts --format cjs,esm --dts --external react --external react-dom && cp ../altitude-tokens/dist/*.css dist/",
|
|
81
|
+
"build": "tsup src/index.ts --format cjs,esm --dts --external react --external react-dom && cp ../altitude-tokens/dist/*.css dist/ && cp ../../node_modules/.pnpm/pdfjs-dist@*/node_modules/pdfjs-dist/build/pdf.worker.min.mjs dist/",
|
|
79
82
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch --external react --external react-dom --external altitude-tokens",
|
|
80
83
|
"clean": "rm -rf dist",
|
|
81
84
|
"lint": "eslint . --max-warnings 0",
|