sanity-plugin-graph-view
5.0.135.0.14
−
Removed (2 files)
+
Added (2 files)
~
Modified (4 files)
Index: package/dist/index.js
===================================================================
--- package/dist/index.js
+++ package/dist/index.js
@@ -23,9 +23,9 @@
d: "M18.022 38.676v2.813h-1.21q-4.864 0-6.525-1.447-1.64-1.445-1.64-5.762v-4.666q0-2.95-1.055-4.083-1.055-1.13-3.828-1.13h-1.19v-2.794h1.19q2.793 0 3.828-1.114 1.055-1.132 1.055-4.043V11.76q0-4.316 1.64-5.742 1.66-1.446 6.524-1.446h1.212v2.793h-1.328q-2.754 0-3.594.86-.84.86-.84 3.613v4.844q0 3.066-.898 4.453-.88 1.387-3.028 1.875 2.168.527 3.047 1.914.88 1.387.88 4.434v4.843q0 2.754.84 3.614.84.86 3.594.86h1.328zM28.04 38.676h1.368q2.735 0 3.555-.84.84-.84.84-3.633V29.36q0-3.047.88-4.434.878-1.387 3.046-1.914-2.17-.488-3.048-1.875-.88-1.387-.88-4.453V11.84q0-2.773-.84-3.613-.82-.86-3.554-.86H28.04V4.574h1.232q4.863 0 6.484 1.446 1.64 1.426 1.64 5.742v4.687q0 2.91 1.055 4.042 1.056 1.114 3.83 1.114h1.21V24.4h-1.21q-2.774 0-3.83 1.13-1.053 1.134-1.053 4.084v4.667q0 4.318-1.64 5.763-1.622 1.446-6.485 1.446h-1.23v-2.814z"
})
}), $[0] = t0) : t0 = $[0], t0;
}
-const GraphView = lazy(() => import("./GraphView.js")), contentGraphView = definePlugin((config = {}) => ({
+const GraphView = lazy(() => import("./_chunks-es/GraphView.js")), contentGraphView = definePlugin((config = {}) => ({
name: "@sanity/content-graph-view",
tools: [{
name: "graph-your-content",
title: "Graph", Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "sanity-plugin-graph-view",
- "version": "5.0.13",
+ "version": "5.0.14",
"description": "",
"homepage": "https://github.com/sanity-io/plugins/tree/main/plugins/sanity-plugin-graph-view#readme",
"bugs": {
"url": "https://github.com/sanity-io/plugins/issues"
@@ -23,26 +23,26 @@
"./package.json": "./package.json"
},
"dependencies": {
"@sanity/color": "^3.0.6",
- "@sanity/ui": "^3.3.0",
+ "@sanity/ui": "^3.3.5",
"bezier-easing": "^2.1.0",
"deep-equal": "^2.2.3",
"polished": "^4.3.1",
"react-force-graph-2d": "^1.29.1",
"uuid": "^14.0.1"
},
"devDependencies": {
"@sanity/tsconfig": "^2.2.0",
- "@sanity/tsdown-config": "^0.11.0",
+ "@sanity/tsdown-config": "^0.13.1",
"@types/deep-equal": "^1.0.4",
- "@types/node": "^24.13.2",
+ "@types/node": "^24.13.3",
"@types/react": "^19.2.17",
"babel-plugin-react-compiler": "^1.0.0",
"react": "^19.2.7",
"sanity": "^6.3.0",
"styled-components": "^6.4.3",
- "tsdown": "^0.22.3"
+ "tsdown": "^0.22.5"
},
"peerDependencies": {
"react": "^19.2",
"sanity": "^5 || ^6.0.0-0", Index: package/dist/index.d.ts.map
===================================================================
--- package/dist/index.d.ts.map
+++ package/dist/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","names":[],"sources":["../src/plugin.tsx"],"mappings":";UAMiB,eAAA;EACf,KAAK;AAAA;AAAA,cAKM,gBAAA,EAAkB,MAAM,QAAQ,eAAA"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","names":[],"sources":["../src/plugin.tsx"],"mappings":";UAMiB;EACf;;cAKW,kBAAkB,cAAc"}
\ No newline at end of file Index: package/dist/index.js.map
===================================================================
--- package/dist/index.js.map
+++ package/dist/index.js.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.js","names":["GraphViewIcon","$","_c","t0","Symbol","for","lazy","definePlugin","Plugin","route","GraphViewIcon","GraphViewConfig","query","GraphView","contentGraphView","config","name","tools","title","icon","component","options","router","create"],"sources":["../src/tool/GraphViewIcon.tsx","../src/plugin.tsx"],"sourcesContent":["/**\n * Couple of things to note:\n * - width and height is set to 1em\n * - fill is `currentColor` - this will ensure that the icon looks uniform and\n * that the hover/active state works. You can of course render anything you\n * would like here, but for plugins that are to be used in more than one\n * studio, we suggest these rules are followed\n **/\nexport function GraphViewIcon(): React.JSX.Element {\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 46.063 46.063\">\n <path\n fill=\"currentColor\"\n d=\"M18.022 38.676v2.813h-1.21q-4.864 0-6.525-1.447-1.64-1.445-1.64-5.762v-4.666q0-2.95-1.055-4.083-1.055-1.13-3.828-1.13h-1.19v-2.794h1.19q2.793 0 3.828-1.114 1.055-1.132 1.055-4.043V11.76q0-4.316 1.64-5.742 1.66-1.446 6.524-1.446h1.212v2.793h-1.328q-2.754 0-3.594.86-.84.86-.84 3.613v4.844q0 3.066-.898 4.453-.88 1.387-3.028 1.875 2.168.527 3.047 1.914.88 1.387.88 4.434v4.843q0 2.754.84 3.614.84.86 3.594.86h1.328zM28.04 38.676h1.368q2.735 0 3.555-.84.84-.84.84-3.633V29.36q0-3.047.88-4.434.878-1.387 3.046-1.914-2.17-.488-3.048-1.875-.88-1.387-.88-4.453V11.84q0-2.773-.84-3.613-.82-.86-3.554-.86H28.04V4.574h1.232q4.863 0 6.484 1.446 1.64 1.426 1.64 5.742v4.687q0 2.91 1.055 4.042 1.056 1.114 3.83 1.114h1.21V24.4h-1.21q-2.774 0-3.83 1.13-1.053 1.134-1.053 4.084v4.667q0 4.318-1.64 5.763-1.622 1.446-6.485 1.446h-1.23v-2.814z\"\n />\n </svg>\n )\n}\n","import {lazy} from 'react'\nimport {definePlugin, type Plugin} from 'sanity'\nimport {route} from 'sanity/router'\n\nimport {GraphViewIcon} from './tool/GraphViewIcon'\n\nexport interface GraphViewConfig {\n query?: string\n}\n\nconst GraphView = lazy(() => import('./tool/GraphView'))\n\nexport const contentGraphView: Plugin<void | GraphViewConfig> =\n definePlugin<void | GraphViewConfig>((config: GraphViewConfig = {}) => {\n return {\n name: '@sanity/content-graph-view',\n\n tools: [\n {\n name: 'graph-your-content',\n title: 'Graph',\n icon: GraphViewIcon,\n component: GraphView,\n options: config,\n router: route.create('/:selectedDocumentId'),\n },\n ],\n }\n })\n"],"mappings":";;;;;;;;;;;;;AAQA,SAAOA,gBAAA;CAAA,IAAAC,IAAAC,EAAA,CAAA,GAAAC;CAOG,OAPHF,EAAA,OAAAG,OAAAC,IAAA,2BAAA,KAEHF,KAAA,oBAAA,OAAA;EAAW,OAAA;EAAmC,OAAA;EAAa,QAAA;EAAc,SAAA;YACvE,oBAAA,QAAA;GACO,MAAA;GACH,GAAA;EAA2zB,CAAA;CAE3zB,CAAA,GAAAF,EAAA,KAAAE,MAAAA,KAAAF,EAAA,IALNE;AAKM;ACLV,MAAMU,YAAYP,WAAW,OAAO,iBAAmB,GAE1CQ,mBACXP,cAAsCQ,SAA0B,CAAC,OACxD;CACLC,MAAM;CAENC,OAAO,CACL;EACED,MAAM;EACNE,OAAO;EACPC,MAAMT;EACNU,WAAWP;EACXQ,SAASN;EACTO,QAAQb,MAAMc,OAAO,sBAAsB;CAC7C,CAAC;AAEL,EACD"}
\ No newline at end of file
+{"version":3,"file":"index.js","names":["GraphViewIcon","$","_c","t0","Symbol","for","lazy","definePlugin","Plugin","route","GraphViewIcon","GraphViewConfig","query","GraphView","contentGraphView","config","name","tools","title","icon","component","options","router","create"],"sources":["../src/tool/GraphViewIcon.tsx","../src/plugin.tsx"],"sourcesContent":["/**\n * Couple of things to note:\n * - width and height is set to 1em\n * - fill is `currentColor` - this will ensure that the icon looks uniform and\n * that the hover/active state works. You can of course render anything you\n * would like here, but for plugins that are to be used in more than one\n * studio, we suggest these rules are followed\n **/\nexport function GraphViewIcon(): React.JSX.Element {\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 46.063 46.063\">\n <path\n fill=\"currentColor\"\n d=\"M18.022 38.676v2.813h-1.21q-4.864 0-6.525-1.447-1.64-1.445-1.64-5.762v-4.666q0-2.95-1.055-4.083-1.055-1.13-3.828-1.13h-1.19v-2.794h1.19q2.793 0 3.828-1.114 1.055-1.132 1.055-4.043V11.76q0-4.316 1.64-5.742 1.66-1.446 6.524-1.446h1.212v2.793h-1.328q-2.754 0-3.594.86-.84.86-.84 3.613v4.844q0 3.066-.898 4.453-.88 1.387-3.028 1.875 2.168.527 3.047 1.914.88 1.387.88 4.434v4.843q0 2.754.84 3.614.84.86 3.594.86h1.328zM28.04 38.676h1.368q2.735 0 3.555-.84.84-.84.84-3.633V29.36q0-3.047.88-4.434.878-1.387 3.046-1.914-2.17-.488-3.048-1.875-.88-1.387-.88-4.453V11.84q0-2.773-.84-3.613-.82-.86-3.554-.86H28.04V4.574h1.232q4.863 0 6.484 1.446 1.64 1.426 1.64 5.742v4.687q0 2.91 1.055 4.042 1.056 1.114 3.83 1.114h1.21V24.4h-1.21q-2.774 0-3.83 1.13-1.053 1.134-1.053 4.084v4.667q0 4.318-1.64 5.763-1.622 1.446-6.485 1.446h-1.23v-2.814z\"\n />\n </svg>\n )\n}\n","import {lazy} from 'react'\nimport {definePlugin, type Plugin} from 'sanity'\nimport {route} from 'sanity/router'\n\nimport {GraphViewIcon} from './tool/GraphViewIcon'\n\nexport interface GraphViewConfig {\n query?: string\n}\n\nconst GraphView = lazy(() => import('./tool/GraphView'))\n\nexport const contentGraphView: Plugin<void | GraphViewConfig> =\n definePlugin<void | GraphViewConfig>((config: GraphViewConfig = {}) => {\n return {\n name: '@sanity/content-graph-view',\n\n tools: [\n {\n name: 'graph-your-content',\n title: 'Graph',\n icon: GraphViewIcon,\n component: GraphView,\n options: config,\n router: route.create('/:selectedDocumentId'),\n },\n ],\n }\n })\n"],"mappings":";;;;;;;;;;;;;AAQA,SAAOA,gBAAA;CAAA,IAAAC,IAAAC,EAAA,CAAA,GAAAC;CAOG,OAPHF,EAAA,OAAAG,OAAAC,IAAA,2BAAA,KAEHF,KAAA,oBAAA,OAAA;EAAW,OAAA;EAAmC,OAAA;EAAa,QAAA;EAAc,SAAA;YACvE,oBAAA,QAAA;GACO,MAAA;GACH,GAAA;EAA2zB,CAAA;CAE3zB,CAAA,GAAAF,EAAA,KAAAE,MAAAA,KAAAF,EAAA,IALNE;AAKM;ACLV,MAAMU,YAAYP,WAAW,OAAO,4BAAmB,GAE1CQ,mBACXP,cAAsCQ,SAA0B,CAAC,OACxD;CACLC,MAAM;CAENC,OAAO,CACL;EACED,MAAM;EACNE,OAAO;EACPC,MAAMT;EACNU,WAAWP;EACXQ,SAASN;EACTO,QAAQb,MAAMc,OAAO,sBAAsB;CAC7C,CAAC;AAEL,EACD"}
\ No newline at end of file