@windrun-huaiin/base-ui 3.2.2 → 3.2.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/base-ui",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "Base UI components for windrun-huaiin projects",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -35,7 +35,7 @@ interface LanguagePreference {
35
35
  timestamp: number;
36
36
  }
37
37
 
38
- export default function LanguageDetector({ i18nConfig }: LanguageDetectorProps) {
38
+ export function LanguageDetector({ i18nConfig }: LanguageDetectorProps) {
39
39
  const [show, setShow] = useState(false)
40
40
  const [detectedLocale, setDetectedLocale] = useState<Locale | null>(null)
41
41
  const currentLocale = useLocale()
@@ -25,7 +25,7 @@ interface LanguageSwitcherProps {
25
25
  localeLabels: Record<string, string>;
26
26
  }
27
27
 
28
- export default function LanguageSwitcher({ locales, localeLabels }: LanguageSwitcherProps) {
28
+ export function LanguageSwitcher({ locales, localeLabels }: LanguageSwitcherProps) {
29
29
  const locale = useLocale()
30
30
  const router = useRouter()
31
31
  const pathname = usePathname()