@popmelt.com/core 0.14.2 → 0.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popmelt.com/core",
3
- "version": "0.14.2",
3
+ "version": "0.16.0",
4
4
  "description": "A tiny, powerful design layer for humans and AI",
5
5
  "license": "PolyForm-Shield-1.0.0",
6
6
  "author": "Popmelt <reb@popmelt.com> (https://popmelt.com)",
@@ -80,6 +80,14 @@
80
80
  "types": "./dist/plugin-astro.d.mts",
81
81
  "import": "./dist/plugin-astro.mjs",
82
82
  "default": "./dist/plugin-astro.mjs"
83
+ },
84
+ "./media": {
85
+ "types": "./dist/media.d.mts",
86
+ "import": "./dist/media.mjs"
87
+ },
88
+ "./three": {
89
+ "types": "./dist/adapter-three.d.mts",
90
+ "import": "./dist/adapter-three.mjs"
83
91
  }
84
92
  },
85
93
  "files": [
@@ -97,11 +105,15 @@
97
105
  "lucide-react": ">=1.23.0",
98
106
  "next": ">=14.0.0",
99
107
  "react": ">=18.0.0",
100
- "react-dom": ">=18.0.0"
108
+ "react-dom": ">=18.0.0",
109
+ "three": ">=0.150.0"
101
110
  },
102
111
  "peerDependenciesMeta": {
103
112
  "next": {
104
113
  "optional": true
114
+ },
115
+ "three": {
116
+ "optional": true
105
117
  }
106
118
  },
107
119
  "devDependencies": {
@@ -109,6 +121,7 @@
109
121
  "@tanstack/react-router": "1.120.5",
110
122
  "@types/react": "19.1.0",
111
123
  "@types/react-dom": "19.1.2",
124
+ "@types/three": "^0.185.4",
112
125
  "@types/ws": "8.18.1",
113
126
  "@vitejs/plugin-react": "^5.1.1",
114
127
  "@vitest/coverage-v8": "3.2.4",
@@ -120,6 +133,7 @@
120
133
  "prettier": "^3.5.3",
121
134
  "react": "19.1.0",
122
135
  "react-dom": "19.1.0",
136
+ "three": "^0.185.1",
123
137
  "tsup": "^8.5.1",
124
138
  "typescript": "^5.8.3",
125
139
  "vite": "7.3.6",