@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.mjs
CHANGED
|
@@ -1584,6 +1584,7 @@ const documentInternationalization = definePlugin(
|
|
|
1584
1584
|
// Translation metadata stores its references using this plugin
|
|
1585
1585
|
// It cuts down on attribute usage and gives UI conveniences to add new translations
|
|
1586
1586
|
internationalizedArray({
|
|
1587
|
+
apiVersion: pluginConfig.apiVersion,
|
|
1587
1588
|
languages: supportedLanguages,
|
|
1588
1589
|
fieldTypes: [
|
|
1589
1590
|
defineField(
|