@janovix/blocks 1.2.0-rc.15 → 1.2.0-rc.16

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