UNPKG

@hitachivantara/uikit-react-core

Version:

Core React components for the NEXT Design System.

50 lines (49 loc) 1.35 kB
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const uikitReactUtils = require("@hitachivantara/uikit-react-utils"); const uikitStyles = require("@hitachivantara/uikit-styles"); const { staticClasses, useClasses } = uikitReactUtils.createClasses( "HvAppSwitcher-Action", { root: { width: "100%", maxWidth: 280, minHeight: 52 }, icon: { display: "flex", minWidth: 40, justifyContent: "center" }, iconUrl: { width: 32 }, iconInfo: { minWidth: 32 }, disabled: {}, selected: {}, typography: { display: "flex", justifyContent: "flex-start", alignItems: "center", width: "100%", minHeight: 52, padding: `6px ${uikitStyles.theme.space.xs}`, border: "none", borderLeft: `2px solid currentcolor`, cursor: "pointer", textDecoration: "inherit", backgroundColor: "inherit", "$disabled &": { cursor: "not-allowed" } }, title: { flexGrow: 1, whiteSpace: "normal", textAlign: "left", margin: `0 ${uikitStyles.theme.space.xs}`, textWrap: "balance", ...uikitStyles.theme.typography.label, color: "inherit" }, titleAnchor: { WebkitLineClamp: 2 } } ); exports.staticClasses = staticClasses; exports.useClasses = useClasses;