sanity-plugin-iframe-pane

5.0.385.0.39
~

Modified (4 files)

Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
 {
   "name": "sanity-plugin-iframe-pane",
-  "version": "5.0.38",
+  "version": "5.0.39",
   "description": "Display any URL in a View Pane, along with helpful buttons to Copy the URL or open in a new tab",
   "keywords": [
     "sanity",
     "sanity-plugin"
@@ -29,25 +29,25 @@
   "dependencies": {
     "@sanity/client": "^8.9.0",
     "@sanity/icons": "^5.2.3",
     "@sanity/preview-url-secret": "^4.1.5",
-    "@sanity/ui": "^4.4.0",
+    "@sanity/ui": "^4.4.4",
     "dequal": "^2.0.3",
-    "motion": "^14.0.0",
+    "motion": "^14.1.0",
     "suspend-react": "^0.1.3"
   },
   "devDependencies": {
     "@sanity/tsconfig": "^2.2.1",
-    "@sanity/tsdown-config": "^0.27.1",
+    "@sanity/tsdown-config": "^0.28.8",
     "@types/node": "^24.13.3",
     "@types/react": "^19.3.0",
     "@types/react-dom": "^19.3.0",
     "oxc-transform-react": "^0.153.0",
     "react": "^19.3.0",
     "react-dom": "^19.3.0",
-    "sanity": "^6.16.0",
+    "sanity": "^6.18.0",
     "styled-components": "^6.5.3",
-    "tsdown": "^0.22.14"
+    "tsdown": "^0.23.1"
   },
   "peerDependencies": {
     "react": "^19.2",
     "react-dom": "^19.2",
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/types.ts","../src/Iframe.tsx"],"mappings":";;;KAAY,sBAAsB;KAEtB;KAEA,eACT,OAAO;EACN;EACA;;KCsBQ,eACV,UAAU,uBACV,aAAa,KACX,kBAAkB,8EAGR,oBAAoB,iBAAiB;UAIlC;;;;EAIf;EACA,cAEI;;;;;IAME;;;;;;;IAOA,kBAAkB;;;;;IAKlB;;EAEN,cAAc;EACd;EACA;IACE;;EAEF,aAAa;IACX;IACA,gBAAgB;IAChB;IACA;;;UAMa;EACf;IACE,WAAW;IACX,OAAO;IACP,WAAW;;EAEb,SAAS;;iBAOK,OAAO,OAAO,cAAc,MAAM,IAAI"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/Iframe.tsx"],"mappings":";;;KAAY,sBAAsB;KAEtB;KAEA,eACT,OAAO;EACN;EACA;;KCsBQ,eACV,UAAU,uBACV,aAAa,KACX,kBAAkB,8EAGR,oBAAoB,iBAAiB;UAIlC;;;;EAIf;EACA,cAEI;;;;;IAME;;;;;;;IAOA,kBAAkB;;;;;IAKlB;;EAEN,cAAc;EACd;EACA;IACE;;EAEF,aAAa;IACX;IACA,gBAAgB;IAChB;IACA;;;UAMa;EACf;IACE,WAAW;IACX,OAAO;IACP,WAAW;;EAEb,SAAS;;wBAOK,OAAO,OAAO,cAAc,MAAM,IAAI"}
\ No newline at end of file
Index: package/README.md
===================================================================
--- package/README.md
+++ package/README.md
@@ -43,12 +43,12 @@
 
 ```ts
 // ./src/defaultDocumentNode.ts
 
-import {type DefaultDocumentNodeResolver} from 'sanity/structure'
 import {urlSearchParamPreviewPerspective} from '@sanity/preview-url-secret/constants'
-import {Iframe, UrlResolver} from 'sanity-plugin-iframe-pane'
 import {type SanityDocument} from 'sanity'
+import {Iframe, UrlResolver} from 'sanity-plugin-iframe-pane'
+import {type DefaultDocumentNodeResolver} from 'sanity/structure'
 
 // Customise this function to show the correct URL based on the current document and the current studio perspective
 const getPreviewUrl: UrlResolver = (doc, perspective) => {
   return doc?.slug?.current
Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -51,7 +51,7 @@
     published: SanityDocument | null;
   };
   options: IframeOptions;
 }
-declare function Iframe(props: IframeProps): React.JSX.Element;
-export { Iframe, type IframeOptions, type IframeProps, type IframeSizeKey, type Size, type SizeProps, type UrlResolver };
+export declare function Iframe(props: IframeProps): React.JSX.Element;
+export type { IframeOptions, IframeProps, IframeSizeKey, Size, SizeProps, UrlResolver };
 //# sourceMappingURL=index.d.ts.map
\ No newline at end of file