import { VStack, HStack, SpanBox } from '../../elements/LayoutPrimitives'
import { StyledText } from '../../elements/StyledText'
import { removeHTMLTags } from '../ArticleSubtitle'
import { theme } from '../../tokens/stitches.config'
import { LabelChip } from '../../elements/LabelChip'
import type { LinkedItemCardProps } from './CardTypes'
import { ProgressBarVertical } from '../../elements/ProgressBarVertical'
//Styles
const ellipsisText = {
overflow: 'hidden',
display: '-webkit-box',
WebkitLineClamp: 1,
WebkitBoxOrient: 'vertical',
pl: '10px',
margin: 'auto 0',
}
export function LibraryGridCard(props: LinkedItemCardProps): JSX.Element {
return (
{/* */}
{props.item.labels?.map(({ name, color }, index) => (
))}
{/* */}
{props.item.description}
{props.item.author && (
{removeHTMLTags(props.item.author)}
)}
)
}
type CardTitleProps = {
title: string
}
function CardTitle(props: CardTitleProps): JSX.Element {
return (
{props.title}
)
}