@sanity/document-internationalization 0.0.1-beta.7 → 0.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/CHANGELOG.md +15 -1
- package/config.dist.json +2 -1
- package/lib/actions/index.js +264 -17457
- package/lib/actions/index.js.map +1 -1
- package/lib/badges/index.js +1 -17206
- package/lib/badges/index.js.map +1 -1
- package/lib/constants/SupportedEmojiFlagCodes.d.ts +1 -0
- package/lib/constants/UiMessages.d.ts +11 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/index.js +19 -1
- package/lib/constants/index.js.map +1 -1
- package/lib/language-select/components/LanguageSelect/LanguageSelect.d.ts +9 -0
- package/lib/language-select/components/LanguageSelect/LanguageSelectContext.d.ts +10 -0
- package/lib/language-select/components/LanguageSelect/LanguageSelectLabel.d.ts +2 -0
- package/lib/language-select/components/LanguageSelect/LanguageSelectList.d.ts +9 -0
- package/lib/language-select/components/LanguageSelect/LanguageSelectListItem.d.ts +8 -0
- package/lib/language-select/components/LanguageSelect/index.d.ts +1 -0
- package/lib/{structure/components/LangCultureFlagsBlock → language-select/components/SingleFlag}/SingleFlag.d.ts +1 -1
- package/lib/{structure/components/LangCultureFlagsBlock → language-select/components/SingleFlag}/allEmojiFlagCodes.d.ts +0 -0
- package/lib/language-select/components/SingleFlag/index.d.ts +1 -0
- package/lib/language-select/components/SplitPaneIcon/SplitPaneIcon.d.ts +2 -0
- package/lib/language-select/components/SplitPaneIcon/index.d.ts +1 -0
- package/lib/language-select/components/index.d.ts +2 -0
- package/lib/language-select/hooks/index.d.ts +2 -0
- package/lib/language-select/hooks/useLanguages.d.ts +3 -0
- package/lib/language-select/hooks/useManyEditStates.d.ts +1 -0
- package/lib/language-select/hooks/useManyObservables.d.ts +2 -0
- package/lib/language-select/index.d.ts +7 -0
- package/lib/language-select/index.js +1938 -0
- package/lib/language-select/index.js.map +1 -0
- package/lib/structure/index.d.ts +1 -3
- package/lib/structure/index.js +194 -17951
- package/lib/structure/index.js.map +1 -1
- package/lib/types/IExtendedLanguageObject.d.ts +5 -0
- package/lib/types/ILanguageObject.d.ts +0 -2
- package/lib/types/index.d.ts +1 -0
- package/lib/utils/baseToTop.d.ts +2 -1
- package/lib/utils/getTranslationsForId.d.ts +2 -2
- package/lib/utils/index.js +9 -17212
- package/lib/utils/index.js.map +1 -1
- package/lib/validators/index.js +11 -17211
- package/lib/validators/index.js.map +1 -1
- package/package.json +20 -27
- package/sanity.json +4 -0
- package/lib/structure/components/LangCultureFlagsBlock/LangCultureFlagsBlock.d.ts +0 -8
- package/lib/structure/components/LangCultureFlagsBlock/index.d.ts +0 -1
- package/lib/structure/components/TranslationLink/TranslationLink.d.ts +0 -12
- package/lib/structure/components/TranslationLink/index.d.ts +0 -1
- package/lib/structure/components/TranslationsComponentFactory/TranslationsComponentFactory.d.ts +0 -5
- package/lib/structure/components/TranslationsComponentFactory/index.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## v0.0.1-beta.12
|
|
4
|
+
**BREAKING**
|
|
5
|
+
**The `getDocumentNodeViewsForSchemaType` function has been removed as it is not required anymore**
|
|
6
|
+
* The language selector has been updated to better align with the official language-filter plugin for field level translations. This does mean it is not required to implement `getDefaultDocumentNode` any more as the new UI does not require a custom desk structure but rather integrates with the studio natively.
|
|
7
|
+
|
|
8
|
+
## v0.0.1-beta.11
|
|
9
|
+
* [#124](https://github.com/LiamMartens/sanity-plugin-intl-input/issues/124) Updates an internal import to support the minor bump from `@sanity/desk-tool@2.28.0`
|
|
10
|
+
|
|
11
|
+
## v0.0.1-beta.10
|
|
12
|
+
* Fixed [#27](https://github.com/sanity-io/document-internationalization/issues/27)
|
|
13
|
+
|
|
14
|
+
## v0.0.1-beta.9
|
|
15
|
+
* Fixed a bug with the `fixBaseLanguageMismatch` method as it was not considering the field name configuration
|
|
16
|
+
|
|
17
|
+
## v0.0.1-beta.8
|
|
4
18
|
* Migrated original plugin code
|
|
5
19
|
* Removed object level translations
|
|
6
20
|
* Added additional GROQ examples
|
package/config.dist.json
CHANGED