sanity-plugin-dashboard-widget-document-list 3.0.4 → 3.0.6
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.js +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { DashboardWidgetContainer } from "@sanity/dashboard";
|
|
|
4
4
|
import { Card, Flex, Spinner, Stack } from "@sanity/ui";
|
|
5
5
|
import intersection from "lodash-es/intersection.js";
|
|
6
6
|
import { useState, useEffect } from "react";
|
|
7
|
-
import { useClient, useSchema,
|
|
7
|
+
import { useClient, useSchema, IntentButton, getPublishedId, Preview } from "sanity";
|
|
8
8
|
import uniqBy from "lodash-es/uniqBy.js";
|
|
9
9
|
import { of } from "rxjs";
|
|
10
10
|
import { switchMap, tap, delay, mergeMap } from "rxjs/operators";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sanity-plugin-dashboard-widget-document-list",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.6",
|
|
4
4
|
"description": "Dashboard widget for the Sanity Content Studio which displays a list of documents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dashboard",
|
|
@@ -31,28 +31,28 @@
|
|
|
31
31
|
"./package.json": "./package.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@sanity/ui": "^3.
|
|
34
|
+
"@sanity/ui": "^3.3.0",
|
|
35
35
|
"lodash-es": "^4.18.1",
|
|
36
36
|
"rxjs": "^7.8.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@sanity/pkg-utils": "^10.
|
|
39
|
+
"@sanity/pkg-utils": "^10.8.2",
|
|
40
40
|
"@types/lodash-es": "^4.17.12",
|
|
41
41
|
"@types/react": "^19.2.17",
|
|
42
42
|
"@types/react-dom": "^19.2.3",
|
|
43
43
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
44
44
|
"react": "^19.2.7",
|
|
45
45
|
"react-dom": "^19.2.7",
|
|
46
|
-
"sanity": "^6.
|
|
46
|
+
"sanity": "^6.3.0",
|
|
47
47
|
"@repo/package.config": "0.0.0",
|
|
48
48
|
"@repo/tsconfig": "0.0.0",
|
|
49
|
-
"@sanity/dashboard": "6.0.
|
|
49
|
+
"@sanity/dashboard": "6.0.5"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": "^19.2",
|
|
53
53
|
"react-dom": "^19.2",
|
|
54
54
|
"sanity": "^5 || ^6.0.0-0",
|
|
55
|
-
"@sanity/dashboard": "^6.0.
|
|
55
|
+
"@sanity/dashboard": "^6.0.5"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
|
58
58
|
"node": ">=20.19 <22 || >=22.12"
|