@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.cjs
CHANGED
|
@@ -1227,6 +1227,7 @@ function LanguageSwitcher({
|
|
|
1227
1227
|
const sizes = sizeClasses2[size];
|
|
1228
1228
|
const shapeClass = shapeClasses2[shape];
|
|
1229
1229
|
const reduceMotion = framerMotion.useReducedMotion();
|
|
1230
|
+
const layoutId = `${React9.useId()}-activeLanguage`;
|
|
1230
1231
|
const defaultLabels2 = {
|
|
1231
1232
|
language: labels.language ?? "Language"
|
|
1232
1233
|
};
|
|
@@ -1302,7 +1303,7 @@ function LanguageSwitcher({
|
|
|
1302
1303
|
framerMotion.motion.div,
|
|
1303
1304
|
{
|
|
1304
1305
|
className: cn("absolute inset-0 bg-secondary", shapeClass),
|
|
1305
|
-
layoutId
|
|
1306
|
+
layoutId,
|
|
1306
1307
|
initial: { opacity: 0 },
|
|
1307
1308
|
animate: { opacity: 1 },
|
|
1308
1309
|
exit: { opacity: 0 },
|