@janovix/blocks 1.2.0-rc.18 → 1.2.0-rc.20

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 CHANGED
@@ -3431,21 +3431,21 @@ var defaultLabels = {
3431
3431
  };
3432
3432
  var sizeClasses = {
3433
3433
  sm: {
3434
- container: "h-7 p-0.5 gap-0.5",
3434
+ container: "h-7 p-0.5",
3435
3435
  button: "h-6 w-6",
3436
3436
  buttonMini: "h-7 w-7",
3437
3437
  icon: "h-3.5 w-3.5",
3438
3438
  iconMini: "h-3.5 w-3.5"
3439
3439
  },
3440
3440
  md: {
3441
- container: "h-8 p-1 gap-0.5",
3441
+ container: "h-8 p-1",
3442
3442
  button: "h-6 w-6",
3443
3443
  buttonMini: "h-8 w-8",
3444
3444
  icon: "h-4 w-4",
3445
3445
  iconMini: "h-4 w-4"
3446
3446
  },
3447
3447
  lg: {
3448
- container: "h-9 p-1 gap-1",
3448
+ container: "h-9 p-1",
3449
3449
  button: "h-7 w-7",
3450
3450
  buttonMini: "h-9 w-9",
3451
3451
  icon: "h-4 w-4",
@@ -3505,6 +3505,7 @@ function ThemeSwitcher({
3505
3505
  /* @__PURE__ */ jsxRuntime.jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
3506
3506
  Button,
3507
3507
  {
3508
+ "data-testid": "theme-switcher",
3508
3509
  variant: "ghost",
3509
3510
  size: "icon",
3510
3511
  className: cn(sizes.buttonMini, shapeClass, className),
@@ -3533,6 +3534,7 @@ function ThemeSwitcher({
3533
3534
  return /* @__PURE__ */ jsxRuntime.jsx(
3534
3535
  "div",
3535
3536
  {
3537
+ "data-testid": "theme-switcher",
3536
3538
  className: cn(
3537
3539
  "relative isolate flex bg-background ring-1 ring-border",
3538
3540
  sizes.container,
@@ -3584,22 +3586,22 @@ var defaultLanguages = [
3584
3586
  ];
3585
3587
  var sizeClasses2 = {
3586
3588
  sm: {
3587
- container: "h-7 p-0.5 text-xs gap-0.5",
3588
- button: "h-6 px-1.5",
3589
+ container: "h-7 p-0.5 text-xs",
3590
+ button: "h-6 px-2",
3589
3591
  buttonMini: "h-7 w-7",
3590
3592
  icon: "size-3",
3591
3593
  iconMini: "size-3.5"
3592
3594
  },
3593
3595
  md: {
3594
- container: "h-8 p-0.5 text-xs gap-0.5",
3595
- button: "h-7 px-2",
3596
+ container: "h-8 p-0.5 text-xs",
3597
+ button: "h-7 px-2.5",
3596
3598
  buttonMini: "h-8 w-8",
3597
3599
  icon: "size-3.5",
3598
3600
  iconMini: "size-4"
3599
3601
  },
3600
3602
  lg: {
3601
- container: "h-9 p-0.5 text-sm gap-1",
3602
- button: "h-8 px-2.5",
3603
+ container: "h-9 p-0.5 text-sm",
3604
+ button: "h-8 px-3",
3603
3605
  buttonMini: "h-9 w-9",
3604
3606
  icon: "size-4",
3605
3607
  iconMini: "size-4.5"
@@ -3687,7 +3689,7 @@ function LanguageSwitcher({
3687
3689
  showIcon && /* @__PURE__ */ jsxRuntime.jsx(
3688
3690
  lucideReact.Languages,
3689
3691
  {
3690
- className: cn(sizes.icon, "ml-1.5 mr-0.5 text-muted-foreground")
3692
+ className: cn(sizes.icon, "ml-1.5 mr-1.5 text-muted-foreground")
3691
3693
  }
3692
3694
  ),
3693
3695
  languages.map(({ key, label }) => {