@sanity/language-filter

5.0.145.0.15
dist/index.js
~dist/index.jsModified
+3−1
Index: package/dist/index.js
===================================================================
--- package/dist/index.js
+++ package/dist/index.js
@@ -1,4 +1,5 @@
+import "@sanity/ui/styles.css";
 import { c } from "react/compiler-runtime";
 import { createContext, useContext, useState } from "react";
 import { useObservable } from "react-rx";
 import { catchError, defer, from, of, tap } from "rxjs";
@@ -8,9 +9,10 @@
 import { CircleIcon } from "@sanity/icons/Circle";
 import { EyeClosedIcon } from "@sanity/icons/EyeClosed";
 import { EyeOpenIcon } from "@sanity/icons/EyeOpen";
 import { TranslateIcon } from "@sanity/icons/Translate";
-import { Badge, Box, Button, Card, Flex, Popover, Stack, Text, TextInput, useClickOutsideEvent } from "@sanity/ui";
+import { Badge, Box, Button, Card, Flex, Stack, Text, TextInput, useClickOutsideEvent } from "@sanity/ui";
+import { Popover } from "@sanity/ui/popover";
 const defaultFilterField = (enclosingType, field, selectedLanguageIds) => !enclosingType.name.startsWith("locale") || selectedLanguageIds.includes(field.name);
 function isLanguageFilterEnabled(schemaType, options) {
 	let schemaFilter = isDocument(schemaType) && schemaType?.options?.languageFilter, defaultEnabled = !options.documentTypes;
 	return !!(defaultEnabled && schemaFilter !== !1 || !defaultEnabled && schemaFilter || schemaType && options.documentTypes?.includes(schemaType.name));