UNPKG

@hitachivantara/uikit-react-core

Version:

Core React components for the NEXT Design System.

38 lines (37 loc) 834 B
import { createClasses } from "@hitachivantara/uikit-react-utils"; import { theme } from "@hitachivantara/uikit-styles"; const { staticClasses, useClasses } = createClasses("HvCheckBoxGroup", { root: { display: "inline-block", overflow: "clip", overflowClipMargin: 4, verticalAlign: "top" }, label: {}, group: { display: "flex" }, vertical: { flexDirection: "column", // Prevent the focus ring to be hidden by sibling hover background "&>*": { zIndex: 0 }, "&>*:focus-within": { zIndex: 1 } }, horizontal: { flexDirection: "row", flexWrap: "wrap", gap: theme.space.sm }, invalid: { paddingBottom: theme.space.xs, borderBottom: `1px solid ${theme.form.errorColor}` }, selectAll: {}, error: {} }); export { staticClasses, useClasses };