next-data-kit 8.2.0 → 8.2.1

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.
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import * as SwitchPrimitive from "@radix-ui/react-switch";
4
- import { cn } from "@/client/utils";
4
+ import { cn } from "../../utils";
5
5
  function Switch({ className, ...props }) {
6
6
  return (_jsx(SwitchPrimitive.Root, { "data-slot": "switch", className: cn("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className), ...props, children: _jsx(SwitchPrimitive.Thumb, { "data-slot": "switch-thumb", className: cn("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0") }) }));
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"switch.js","sourceRoot":"","sources":["../../../../src/client/components/ui/switch.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAGZ,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AACzD,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AAEnC,SAAS,MAAM,CAAC,EACZ,SAAS,EACT,GAAG,KAAK,EACwC;IAChD,OAAO,CACH,KAAC,eAAe,CAAC,IAAI,iBACP,QAAQ,EAClB,SAAS,EAAE,EAAE,CACT,2WAA2W,EAC3W,SAAS,CACZ,KACG,KAAK,YAET,KAAC,eAAe,CAAC,KAAK,iBACR,cAAc,EACxB,SAAS,EAAE,EAAE,CACT,0QAA0Q,CAC7Q,GACH,GACiB,CAC1B,CAAA;AACL,CAAC;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"switch.js","sourceRoot":"","sources":["../../../../src/client/components/ui/switch.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAGZ,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AACzD,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA;AAEhC,SAAS,MAAM,CAAC,EACZ,SAAS,EACT,GAAG,KAAK,EACwC;IAChD,OAAO,CACH,KAAC,eAAe,CAAC,IAAI,iBACP,QAAQ,EAClB,SAAS,EAAE,EAAE,CACT,2WAA2W,EAC3W,SAAS,CACZ,KACG,KAAK,YAET,KAAC,eAAe,CAAC,KAAK,iBACR,cAAc,EACxB,SAAS,EAAE,EAAE,CACT,0QAA0Q,CAC7Q,GACH,GACiB,CAC1B,CAAA;AACL,CAAC;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}