@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
49 lines (48 loc) • 1.39 kB
TypeScript
import { IconScale, IconWeight } from '../Icon/Icon.types';
import { PresenceType } from './Avatar.types';
declare const CLASS_PREFIX = "md-avatar";
declare const MAX_INITIALS_SPACE = 1;
declare const MAX_INITIALS_PERSON = 2;
declare const SIZES: readonly [24, 32, 48, 64, 72, 88, 124];
declare const AVATAR_PRESENCE_ICON_SIZE_MAPPING: Record<number, IconScale>;
declare const AVATAR_ICON_SIZE_MAPPING: Record<number, {
scale: IconScale;
weight: IconWeight;
}>;
declare const AVATAR_COLORS: {
yellow: string;
default: "default";
gold: "gold";
orange: "orange";
lime: "lime";
mint: "mint";
cyan: "cyan";
cobalt: "cobalt";
slate: "slate";
violet: "violet";
purple: "purple";
pink: "pink";
};
declare const TYPES: {
person: string;
space: string;
};
declare const STYLE: {
wrapper: string;
outerWrapper: string;
wrapperChildren: string;
iconWrapper: string;
iconOnHoverWrapper: string;
imageHidden: string;
presenceIconWrapper: string;
buttonWrapper: string;
animationWrapper: string;
};
declare const DEFAULTS: {
PRESENCE: PresenceType;
SIZE: 24;
COLOR: "default";
TYPE: string;
LABEL: "";
};
export { DEFAULTS, SIZES, STYLE, CLASS_PREFIX, TYPES, MAX_INITIALS_SPACE, MAX_INITIALS_PERSON, AVATAR_PRESENCE_ICON_SIZE_MAPPING, AVATAR_ICON_SIZE_MAPPING, AVATAR_COLORS, };