sanity-plugin-asset-source-unsplash 7.0.0 → 7.0.1
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/dist/index.d.ts +13 -13
- package/dist/index.d.ts.map +1 -1
- package/package.json +14 -16
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { AssetSource, Plugin } from "sanity";
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
5
|
declare function UnsplashIcon(): React.JSX.Element;
|
|
6
6
|
/**
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
9
|
interface Asset {
|
|
10
|
-
kind:
|
|
10
|
+
kind: "url" | "base64" | "file" | "assetDocumentId";
|
|
11
11
|
value: string | File;
|
|
12
12
|
assetDocumentProps?: {
|
|
13
13
|
originalFileName?: string;
|
|
@@ -23,8 +23,8 @@ interface Asset {
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
28
|
interface AssetDocument {
|
|
29
29
|
_id: string;
|
|
30
30
|
label?: string;
|
|
@@ -39,8 +39,8 @@ interface AssetDocument {
|
|
|
39
39
|
originalFilename?: string;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
44
|
interface UnsplashPhoto {
|
|
45
45
|
id: string;
|
|
46
46
|
width: number;
|
|
@@ -66,12 +66,12 @@ interface UnsplashPhoto {
|
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
71
|
declare const unsplashAssetSource: AssetSource;
|
|
72
72
|
/**
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
75
|
declare const unsplashImageAsset: Plugin;
|
|
76
76
|
export { type Asset, type AssetDocument, UnsplashIcon, type UnsplashPhoto, unsplashAssetSource, unsplashImageAsset };
|
|
77
77
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["unsplashAssetSource: AssetSource","unsplashImageAsset: Plugin"],"sources":["../src/components/Icon.tsx","../src/types.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;AAGA;iBAAgB,YAAA,CAAA,GAAgB,KAAA,CAAM,GAAA,CAAI;;;AAA1C;UCAiB,KAAA;EAAjB,IAAiB,EAAA,KAAA,GAAA,QAEC,GAAA,MAAA,GAAA,iBAAA;EAkBlB,KAAiB,EAAA,MAAA,GAlBC,IAkBD;EAiBjB,kBAAiB,CAAA,EAAA;;IC9BjB,KAAaA,CAAAA,EAAAA,MAAAA;IAUb,KAAaC,CAAAA,EAAAA,MAAAA;;;;;;;;;;;;;UDGI,aAAA;;;;;;;;;;;;;;;;UAiBA,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;AArCjB;AAoBA;AAiBiB,cC9BJD,mBD8BI,EC9BiB,WD8BjB;;AC9BjB;AAUA;cAAaC,oBAAoB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sanity-plugin-asset-source-unsplash",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "Use images from Unsplash.com in your Sanity Studio",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"assets",
|
|
@@ -14,47 +14,45 @@
|
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/sanity-io/plugins/issues"
|
|
16
16
|
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"author": "Sanity.io <hello@sanity.io>",
|
|
17
19
|
"repository": {
|
|
18
20
|
"type": "git",
|
|
19
21
|
"url": "git+ssh://git@github.com/sanity-io/plugins.git",
|
|
20
22
|
"directory": "plugins/sanity-plugin-asset-source-unsplash"
|
|
21
23
|
},
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
24
27
|
"type": "module",
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
25
29
|
"exports": {
|
|
26
30
|
".": "./dist/index.js",
|
|
27
31
|
"./package.json": "./package.json"
|
|
28
32
|
},
|
|
29
|
-
"types": "./dist/index.d.ts",
|
|
30
|
-
"files": [
|
|
31
|
-
"dist"
|
|
32
|
-
],
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@sanity/icons": "^3.7.4",
|
|
35
35
|
"@sanity/ui": "^3.1.11",
|
|
36
|
-
"lodash-es": "^4.17.
|
|
37
|
-
"react-photo-album": "^3.
|
|
36
|
+
"lodash-es": "^4.17.22",
|
|
37
|
+
"react-photo-album": "^3.4.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@sanity/pkg-utils": "^10.2.
|
|
40
|
+
"@sanity/pkg-utils": "^10.2.5",
|
|
41
41
|
"@types/lodash-es": "^4.17.12",
|
|
42
42
|
"@types/react": "^19.2.7",
|
|
43
|
-
"@typescript/native-preview": "7.0.0-dev.20251216.1",
|
|
44
43
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
45
44
|
"babel-plugin-styled-components": "^2.1.4",
|
|
46
45
|
"eslint": "^9.39.2",
|
|
47
46
|
"react": "^19.2.3",
|
|
48
|
-
"sanity": "^5.
|
|
47
|
+
"sanity": "^5.1.0",
|
|
49
48
|
"styled-components": "^6.1.19",
|
|
50
|
-
"
|
|
51
|
-
"@repo/eslint-config": "0.0.7",
|
|
49
|
+
"@repo/eslint-config": "0.0.0",
|
|
52
50
|
"@repo/package.config": "0.0.0",
|
|
53
|
-
"@repo/tsconfig": "
|
|
51
|
+
"@repo/tsconfig": "0.0.0"
|
|
54
52
|
},
|
|
55
53
|
"peerDependencies": {
|
|
56
54
|
"react": "^19.2",
|
|
57
|
-
"sanity": "^5
|
|
55
|
+
"sanity": "^5",
|
|
58
56
|
"styled-components": "^6.1"
|
|
59
57
|
},
|
|
60
58
|
"engines": {
|