UNPKG

geoiq-frontend-ui-kit

Version:

This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.

31 lines (30 loc) 997 B
import * as e from "react"; import * as a from "@radix-ui/react-radio-group"; import { cn as d } from "./index.es79.js"; import { RadioGroupVariants as i } from "./index.es70.js"; const m = e.forwardRef(({ className: r, ...t }, o) => /* @__PURE__ */ e.createElement( a.Root, { className: d("grid gap-2", r), ...t, ref: o } )); m.displayName = a.Root.displayName; const c = e.forwardRef(({ className: r, ...t }, o) => /* @__PURE__ */ e.createElement( a.Item, { ref: o, className: d(i({ className: r })), ...t }, t.children, /* @__PURE__ */ e.createElement(a.Indicator, { className: "flex data=[state=unchecked]:hover:bg-primary-1 data-[state=checked]:bg-rest-p1 data-[state=checked]:hover:bg-hover-p1 h-2.5 w-2.5 rounded-full t-7 l-y disabled:opacity-50 items-center justify-center border-none" }) )); c.displayName = a.Item.displayName; export { m as RadioGroup, c as RadioGroupItem, i as RadioGroupVariants }; //# sourceMappingURL=index.es11.js.map