@sanity/document-internationalization 4.0.0 → 4.1.0
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/README.md +0 -2
- package/dist/index.esm.js +1 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/actions/DuplicateWithTranslationsAction.tsx +0 -1
- package/src/components/DeleteTranslationDialog/index.tsx +1 -1
- package/src/hooks/useLanguageMetadata.tsx +1 -1
- package/src/plugin.tsx +1 -0
package/dist/index.js
CHANGED
|
@@ -1577,6 +1577,7 @@ const documentInternationalization = sanity.definePlugin(
|
|
|
1577
1577
|
// Translation metadata stores its references using this plugin
|
|
1578
1578
|
// It cuts down on attribute usage and gives UI conveniences to add new translations
|
|
1579
1579
|
sanityPluginInternationalizedArray.internationalizedArray({
|
|
1580
|
+
apiVersion: pluginConfig.apiVersion,
|
|
1580
1581
|
languages: supportedLanguages,
|
|
1581
1582
|
fieldTypes: [
|
|
1582
1583
|
sanity.defineField(
|