@sanity/language-filter 2.31.2-performance-opts.29 → 2.32.1-next.22
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectLanguageProvider.d.ts","sourceRoot":"","sources":["../../src/SelectLanguageProvider.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAA;AAMxC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,UAAU,CAAA;CACxB;AAED,QAAA,MAAM,sBAAsB,mBAAkB,KAAK,
|
|
1
|
+
{"version":3,"file":"SelectLanguageProvider.d.ts","sourceRoot":"","sources":["../../src/SelectLanguageProvider.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAA;AAMxC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,UAAU,CAAA;CACxB;AAED,QAAA,MAAM,sBAAsB,mBAAkB,KAAK,uBAuDlD,CAAA;AAED,eAAe,sBAAsB,CAAA"}
|
|
@@ -86,6 +86,9 @@ var SelectLanguageProvider = _ref => {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
if (FallbackImplementation) {
|
|
89
|
+
// This is happening only inside the mono repo because Lerna is hoisting it incorrectly.
|
|
90
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
91
|
+
// @ts-expect-error
|
|
89
92
|
return /*#__PURE__*/_react.default.createElement(FallbackImplementation, {
|
|
90
93
|
schemaType: schemaType
|
|
91
94
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/language-filter",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.32.1-next.22+aad4dcafb0",
|
|
4
4
|
"description": "A Sanity plugin that supports filtering localized fields by language",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@sanity/icons": "^1.3.4",
|
|
19
|
-
"@sanity/types": "2.
|
|
19
|
+
"@sanity/types": "2.32.1-next.22+aad4dcafb0",
|
|
20
20
|
"@sanity/ui": "^0.37.21",
|
|
21
21
|
"lodash": "^4.17.15",
|
|
22
22
|
"rxjs": "^6.5.3"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "aad4dcafb08955fe802a2ff4354d732183126056"
|
|
43
43
|
}
|
|
@@ -61,7 +61,10 @@ const SelectLanguageProvider = ({schemaType}: Props) => {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
if (FallbackImplementation) {
|
|
64
|
-
|
|
64
|
+
// This is happening only inside the mono repo because Lerna is hoisting it incorrectly.
|
|
65
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
66
|
+
// @ts-expect-error
|
|
67
|
+
return <FallbackImplementation schemaType={schemaType} />
|
|
65
68
|
}
|
|
66
69
|
|
|
67
70
|
return null
|