@gamecp/ui 0.1.42 → 0.1.43

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
@@ -2277,39 +2277,39 @@ function Switch({
2277
2277
  const labelId = label ? `${switchId}-label` : void 0;
2278
2278
  const descriptionId = description ? `${switchId}-description` : void 0;
2279
2279
  const sizes = {
2280
- sm: { track: "w-8 h-4", thumb: "w-3 h-3", translate: "translate-x-4" },
2281
- md: { track: "w-11 h-6", thumb: "w-5 h-5", translate: "translate-x-5" },
2282
- lg: { track: "w-14 h-8", thumb: "w-7 h-7", translate: "translate-x-6" }
2280
+ sm: { track: "w-8 h-[18px]", thumb: "w-3.5 h-3.5", translate: "translate-x-[14px]" },
2281
+ md: { track: "w-[44px] h-[24px]", thumb: "w-5 h-5", translate: "translate-x-5" },
2282
+ lg: { track: "w-[56px] h-[32px]", thumb: "w-7 h-7", translate: "translate-x-[24px]" }
2283
2283
  };
2284
2284
  const variants = {
2285
2285
  default: {
2286
- checked: "bg-primary/90",
2287
- unchecked: "bg-muted-foreground/40",
2286
+ checked: "bg-primary/60",
2287
+ unchecked: "bg-muted-foreground/20",
2288
2288
  ring: "focus:ring-primary"
2289
2289
  },
2290
2290
  success: {
2291
- checked: "bg-success",
2292
- unchecked: "bg-muted-foreground/40",
2291
+ checked: "bg-success/60",
2292
+ unchecked: "bg-muted-foreground/20",
2293
2293
  ring: "focus:ring-success"
2294
2294
  },
2295
2295
  danger: {
2296
- checked: "bg-destructive",
2297
- unchecked: "bg-muted-foreground/40",
2296
+ checked: "bg-destructive/60",
2297
+ unchecked: "bg-muted-foreground/20",
2298
2298
  ring: "focus:ring-destructive"
2299
2299
  },
2300
2300
  warning: {
2301
- checked: "bg-warning",
2302
- unchecked: "bg-muted-foreground/40",
2301
+ checked: "bg-warning/60",
2302
+ unchecked: "bg-muted-foreground/20",
2303
2303
  ring: "focus:ring-warning"
2304
2304
  },
2305
2305
  info: {
2306
- checked: "bg-info",
2307
- unchecked: "bg-muted-foreground/40",
2306
+ checked: "bg-info/60",
2307
+ unchecked: "bg-muted-foreground/20",
2308
2308
  ring: "focus:ring-info"
2309
2309
  },
2310
2310
  embedded: {
2311
- checked: "bg-success",
2312
- unchecked: "bg-muted-foreground/40",
2311
+ checked: "bg-success/60",
2312
+ unchecked: "bg-muted-foreground/20",
2313
2313
  ring: "focus:ring-success"
2314
2314
  }
2315
2315
  };