@hitachivantara/uikit-react-core
Version:
UI Kit Core React components.
39 lines (38 loc) • 896 B
JavaScript
import { theme } from "@hitachivantara/uikit-styles";
import { createClasses } from "@hitachivantara/uikit-react-utils";
//#region src/SelectionList/SelectionList.styles.tsx
var { staticClasses, useClasses } = createClasses("HvSelectionList", {
root: {
display: "inline-block",
padding: 0,
margin: 0
},
error: {
width: "100%",
float: "left",
clear: "both"
},
listbox: {
display: "flex",
float: "left",
clear: "both",
width: "100%",
paddingBottom: theme.space.xs
},
label: {},
description: { float: "left" },
horizontal: {
flexDirection: "row",
flexWrap: "wrap",
marginLeft: -theme.space.sm,
"&>*": { marginLeft: theme.space.sm }
},
vertical: {
flexDirection: "column",
"&>*": { zIndex: 0 },
"&>*:focus-within": { zIndex: 1 }
},
invalid: { borderBottom: `1px solid ${theme.form.errorColor}` }
});
//#endregion
export { staticClasses, useClasses };