@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.cjs
CHANGED
|
@@ -3545,11 +3545,7 @@ function ThemeSwitcher({
|
|
|
3545
3545
|
"button",
|
|
3546
3546
|
{
|
|
3547
3547
|
"aria-label": labels[key],
|
|
3548
|
-
className: cn(
|
|
3549
|
-
"relative flex items-center justify-center",
|
|
3550
|
-
sizes.button,
|
|
3551
|
-
shapeClass
|
|
3552
|
-
),
|
|
3548
|
+
className: cn("relative", sizes.button, shapeClass),
|
|
3553
3549
|
onClick: () => handleThemeClick(key),
|
|
3554
3550
|
type: "button",
|
|
3555
3551
|
children: [
|
|
@@ -3568,7 +3564,7 @@ function ThemeSwitcher({
|
|
|
3568
3564
|
Icon,
|
|
3569
3565
|
{
|
|
3570
3566
|
className: cn(
|
|
3571
|
-
"relative z-10",
|
|
3567
|
+
"relative z-10 m-auto",
|
|
3572
3568
|
sizes.icon,
|
|
3573
3569
|
isActive ? "text-foreground" : "text-muted-foreground"
|
|
3574
3570
|
)
|
|
@@ -3623,7 +3619,7 @@ function LanguageSwitcher({
|
|
|
3623
3619
|
size = "sm",
|
|
3624
3620
|
shape = "rounded",
|
|
3625
3621
|
variant = "default",
|
|
3626
|
-
showIcon =
|
|
3622
|
+
showIcon = true,
|
|
3627
3623
|
align = "center",
|
|
3628
3624
|
side = "top"
|
|
3629
3625
|
}) {
|