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