pixelplay 1.1.1 → 1.1.3

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.mjs CHANGED
@@ -853,10 +853,10 @@ var SIZE_MAP = {
853
853
  checkbox: "h-3.5 w-3.5"
854
854
  },
855
855
  lg: {
856
- outer: "gap-2 rounded-md px-3 py-1.5",
857
- text: "text-sm font-medium leading-5",
856
+ outer: "gap-2 rounded-lg px-3.5 py-1.5",
857
+ text: "text-base font-medium leading-6",
858
858
  iconWrapper: "h-5 w-5",
859
- dot: "h-2 w-2",
859
+ dot: "h-2.5 w-2.5",
860
860
  dismissSize: 14,
861
861
  checkbox: "h-4 w-4"
862
862
  }
@@ -948,7 +948,7 @@ var Card = React5.forwardRef(
948
948
  className,
949
949
  isPressable = false,
950
950
  isBlurred = false,
951
- shadow = "md",
951
+ shadow = "xs",
952
952
  radius = "lg",
953
953
  fullWidth = false,
954
954
  onClick
@@ -2085,6 +2085,7 @@ function Toggle({
2085
2085
  !isChecked && !isDisabled && "hover:bg-[var(--surface-container-high)]",
2086
2086
  "focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-[var(--primary-container)]",
2087
2087
  isDisabled ? "cursor-not-allowed" : "cursor-pointer",
2088
+ size === "sm" ? "before:content-[''] before:absolute before:-inset-[10px]" : "before:content-[''] before:absolute before:-inset-3",
2088
2089
  !label && !description && className
2089
2090
  ),
2090
2091
  children: /* @__PURE__ */ jsx16(
@@ -2260,7 +2261,10 @@ function Checkbox({
2260
2261
  onChange: handleChange,
2261
2262
  disabled: isDisabled,
2262
2263
  "aria-checked": indeterminate ? "mixed" : isChecked,
2263
- className: "peer absolute inset-0 h-full w-full cursor-pointer opacity-0 disabled:cursor-not-allowed"
2264
+ className: cn(
2265
+ "peer absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 cursor-pointer opacity-0 disabled:cursor-not-allowed",
2266
+ size === "sm" ? "min-h-10 min-w-10" : "min-h-12 min-w-12"
2267
+ )
2264
2268
  }
2265
2269
  ),
2266
2270
  /* @__PURE__ */ jsx17(