@janovix/blocks 1.2.0-rc.16 → 1.2.0-rc.17
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 +3 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3517,11 +3517,7 @@ function ThemeSwitcher({
|
|
|
3517
3517
|
"button",
|
|
3518
3518
|
{
|
|
3519
3519
|
"aria-label": labels[key],
|
|
3520
|
-
className: cn(
|
|
3521
|
-
"relative flex items-center justify-center",
|
|
3522
|
-
sizes.button,
|
|
3523
|
-
shapeClass
|
|
3524
|
-
),
|
|
3520
|
+
className: cn("relative", sizes.button, shapeClass),
|
|
3525
3521
|
onClick: () => handleThemeClick(key),
|
|
3526
3522
|
type: "button",
|
|
3527
3523
|
children: [
|
|
@@ -3540,7 +3536,7 @@ function ThemeSwitcher({
|
|
|
3540
3536
|
Icon,
|
|
3541
3537
|
{
|
|
3542
3538
|
className: cn(
|
|
3543
|
-
"relative z-10",
|
|
3539
|
+
"relative z-10 m-auto",
|
|
3544
3540
|
sizes.icon,
|
|
3545
3541
|
isActive ? "text-foreground" : "text-muted-foreground"
|
|
3546
3542
|
)
|
|
@@ -3595,7 +3591,7 @@ function LanguageSwitcher({
|
|
|
3595
3591
|
size = "sm",
|
|
3596
3592
|
shape = "rounded",
|
|
3597
3593
|
variant = "default",
|
|
3598
|
-
showIcon =
|
|
3594
|
+
showIcon = true,
|
|
3599
3595
|
align = "center",
|
|
3600
3596
|
side = "top"
|
|
3601
3597
|
}) {
|