@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.js CHANGED
@@ -3403,21 +3403,21 @@ var defaultLabels = {
3403
3403
  };
3404
3404
  var sizeClasses = {
3405
3405
  sm: {
3406
- container: "h-7 p-0.5 gap-0.5",
3406
+ container: "h-7 p-0.5",
3407
3407
  button: "h-6 w-6",
3408
3408
  buttonMini: "h-7 w-7",
3409
3409
  icon: "h-3.5 w-3.5",
3410
3410
  iconMini: "h-3.5 w-3.5"
3411
3411
  },
3412
3412
  md: {
3413
- container: "h-8 p-1 gap-0.5",
3413
+ container: "h-8 p-1",
3414
3414
  button: "h-6 w-6",
3415
3415
  buttonMini: "h-8 w-8",
3416
3416
  icon: "h-4 w-4",
3417
3417
  iconMini: "h-4 w-4"
3418
3418
  },
3419
3419
  lg: {
3420
- container: "h-9 p-1 gap-1",
3420
+ container: "h-9 p-1",
3421
3421
  button: "h-7 w-7",
3422
3422
  buttonMini: "h-9 w-9",
3423
3423
  icon: "h-4 w-4",
@@ -3477,6 +3477,7 @@ function ThemeSwitcher({
3477
3477
  /* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
3478
3478
  Button,
3479
3479
  {
3480
+ "data-testid": "theme-switcher",
3480
3481
  variant: "ghost",
3481
3482
  size: "icon",
3482
3483
  className: cn(sizes.buttonMini, shapeClass, className),
@@ -3505,6 +3506,7 @@ function ThemeSwitcher({
3505
3506
  return /* @__PURE__ */ jsx(
3506
3507
  "div",
3507
3508
  {
3509
+ "data-testid": "theme-switcher",
3508
3510
  className: cn(
3509
3511
  "relative isolate flex bg-background ring-1 ring-border",
3510
3512
  sizes.container,
@@ -3556,22 +3558,22 @@ var defaultLanguages = [
3556
3558
  ];
3557
3559
  var sizeClasses2 = {
3558
3560
  sm: {
3559
- container: "h-7 p-0.5 text-xs gap-0.5",
3560
- button: "h-6 px-1.5",
3561
+ container: "h-7 p-0.5 text-xs",
3562
+ button: "h-6 px-2",
3561
3563
  buttonMini: "h-7 w-7",
3562
3564
  icon: "size-3",
3563
3565
  iconMini: "size-3.5"
3564
3566
  },
3565
3567
  md: {
3566
- container: "h-8 p-0.5 text-xs gap-0.5",
3567
- button: "h-7 px-2",
3568
+ container: "h-8 p-0.5 text-xs",
3569
+ button: "h-7 px-2.5",
3568
3570
  buttonMini: "h-8 w-8",
3569
3571
  icon: "size-3.5",
3570
3572
  iconMini: "size-4"
3571
3573
  },
3572
3574
  lg: {
3573
- container: "h-9 p-0.5 text-sm gap-1",
3574
- button: "h-8 px-2.5",
3575
+ container: "h-9 p-0.5 text-sm",
3576
+ button: "h-8 px-3",
3575
3577
  buttonMini: "h-9 w-9",
3576
3578
  icon: "size-4",
3577
3579
  iconMini: "size-4.5"
@@ -3659,7 +3661,7 @@ function LanguageSwitcher({
3659
3661
  showIcon && /* @__PURE__ */ jsx(
3660
3662
  Languages,
3661
3663
  {
3662
- className: cn(sizes.icon, "ml-1.5 mr-0.5 text-muted-foreground")
3664
+ className: cn(sizes.icon, "ml-1.5 mr-1.5 text-muted-foreground")
3663
3665
  }
3664
3666
  ),
3665
3667
  languages.map(({ key, label }) => {