@livo-tv/blocks 1.23.0 → 1.24.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/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1201,6 +1201,7 @@ function LanguageSwitcher({
|
|
|
1201
1201
|
const sizes = sizeClasses2[size];
|
|
1202
1202
|
const shapeClass = shapeClasses2[shape];
|
|
1203
1203
|
const reduceMotion = useReducedMotion();
|
|
1204
|
+
const layoutId = `${useId()}-activeLanguage`;
|
|
1204
1205
|
const defaultLabels2 = {
|
|
1205
1206
|
language: labels.language ?? "Language"
|
|
1206
1207
|
};
|
|
@@ -1276,7 +1277,7 @@ function LanguageSwitcher({
|
|
|
1276
1277
|
motion.div,
|
|
1277
1278
|
{
|
|
1278
1279
|
className: cn("absolute inset-0 bg-secondary", shapeClass),
|
|
1279
|
-
layoutId
|
|
1280
|
+
layoutId,
|
|
1280
1281
|
initial: { opacity: 0 },
|
|
1281
1282
|
animate: { opacity: 1 },
|
|
1282
1283
|
exit: { opacity: 0 },
|