@sanity/themer
0.8.10.9.0
package.json~
package.jsonModified+11−3
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@sanity/themer",
- "version": "0.8.1",
+ "version": "0.9.0",
"description": "Generate Sanity Studio themes, and preview them with a Studio tool.",
"keywords": [
"sanity",
"studio",
@@ -28,8 +28,14 @@
"./dist/tool.js",
"*.css"
],
"types": "./dist/index.d.ts",
+ "imports": {
+ "#constants": "./src/tool/constants.ts",
+ "#context": "./src/tool/context.ts",
+ "#reducer": "./src/tool/reducer.ts",
+ "#types": "./src/tool/types.ts"
+ },
"exports": {
".": "./dist/index.js",
"./legacy": "./dist/legacy.js",
"./tool": "./dist/tool.js",
@@ -45,15 +51,17 @@
"dependencies": {
"@sanity/color": "^3.0.8",
"@sanity/icons": "^5.2.2",
"@sanity/themer-legacy": "^0.2.1",
- "@sanity/ui": "^4.2.7",
+ "@sanity/ui": "^4.3.0",
"@vanilla-extract/dynamic": "^2.1.5",
"@xstate/react": "^6.1.0",
+ "dequal": "^2.0.3",
"motion": "^13.4.4",
"react-refractor": "^4.0.0",
"refractor": "^5.0.0",
"scroll-into-view-if-needed": "^3.1.0",
+ "valibot": "^1.5.0",
"xstate": "^5.33.2"
},
"devDependencies": {
"@sanity/tsconfig": "^2.2.1",
@@ -62,9 +70,8 @@
"@types/node": "^24.13.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vanilla-extract/css": "^1.21.2",
- "jsdom": "^29.1.1",
"lightningcss": "^1.33.0",
"oxc-transform-react": "^0.147.0",
"react": "^19.3.0",
"react-dom": "^19.3.0",
@@ -73,8 +80,9 @@
"tsdown": "^0.22.14"
},
"peerDependencies": {
"react": "^19.3.0",
+ "react-dom": "^19.3.0",
"sanity": "^3 || ^4 || ^5 || ^6"
},
"peerDependenciesMeta": {
"sanity": {