@sanity/document-internationalization 1.0.1 → 1.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/document-internationalization",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Provides document level translations for Sanity Studio",
5
5
  "keywords": [
6
6
  "sanity",
@@ -62,10 +62,11 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@cprecioso/country-flag-emoji": "^1.0.0",
65
- "@sanity/color": "^2.1.11",
66
- "@sanity/icons": "^1.3.0",
65
+ "@sanity/color": "^2.1.20",
66
+ "@sanity/icons": "^2.0.0",
67
67
  "@sanity/incompatible-plugin": "^1.0.4",
68
68
  "@sanity/uuid": "^3.0.1",
69
+ "@sanity/ui": "^1.0.0",
69
70
  "html-react-parser": "^1.4.12",
70
71
  "just-omit": "^2.0.1",
71
72
  "just-safe-get": "^4.0.1",
@@ -81,7 +82,6 @@
81
82
  "@sanity/pkg-utils": "^1.17.2",
82
83
  "@sanity/plugin-kit": "^2.1.5",
83
84
  "@sanity/semantic-release-preset": "^2.0.2",
84
- "@sanity/ui": "1.0.0-beta.32",
85
85
  "@types/lodash": "^4.14.179",
86
86
  "@types/react": "^18",
87
87
  "@types/react-router": "^5.1.11",
@@ -110,19 +110,18 @@
110
110
  "react-router-dom": "^5.1.0",
111
111
  "rimraf": "^3.0.2",
112
112
  "rxjs": "^6.6.0",
113
- "sanity": "3.0.0-rc.2",
113
+ "sanity": "^3.0.0",
114
114
  "styled-components": "^5.3.1",
115
115
  "typescript": "^4.8.4"
116
116
  },
117
117
  "peerDependencies": {
118
- "@sanity/ui": "1.0.0-beta.32",
119
118
  "lodash": "^4.0.0",
120
119
  "react": "^18",
121
120
  "react-dom": "^18",
122
121
  "react-router": "^5.0.0",
123
122
  "react-router-dom": "^5.0.0",
124
123
  "rxjs": "^6.0.0",
125
- "sanity": "dev-preview || 3.0.0-rc.2",
124
+ "sanity": "^3.0.0",
126
125
  "styled-components": "^5.0.0"
127
126
  },
128
127
  "engines": {
@@ -100,7 +100,7 @@ export function createDeleteAction(pluginConfig: Ti18nConfig): DocumentActionCom
100
100
  DISABLED_REASON_TITLE[deleteOp.disabled as keyof typeof DISABLED_REASON_TITLE]) ||
101
101
  '',
102
102
  label: isDeleting ? UiMessages.deleteAll.deleting : UiMessages.deleteAll.buttonTitle,
103
- modal: isConfirmDialogOpen && {
103
+ dialog: isConfirmDialogOpen && {
104
104
  type: 'dialog',
105
105
  onClose: onComplete,
106
106
  content: (