UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

2 lines (1 loc) 960 B
import{styled as e,css as t}from"styled-components";import{Typography as i}from"../../typography/index.js";import{Skeleton as o}from"../../skeleton/index.js";const a=e.td.withConfig({displayName:"styled__TableCellStyled",componentId:"sc-1cwpke8-0"})(["background:",";border:1px solid ",";text-align:center;box-sizing:border-box;",""],(({theme:e})=>e.colors.base.black),(({theme:e})=>e.colors.grayScale.gray2),(({$size:e})=>{switch(e){case"sm":return t(["padding:14px 20px;"]);case"md":return t(["padding:23px;width:215px;min-width:120px;"])}})),n=e(i).attrs({variant:"body-s-medium"}).withConfig({displayName:"styled__TableCellText",componentId:"sc-1cwpke8-1"})(["display:inline-flex;align-items:center;white-space:pre-wrap;text-align:center;gap:8px;vertical-align:bottom;"]),l=e(o).attrs({width:90}).withConfig({displayName:"styled__TableCellSkeleton",componentId:"sc-1cwpke8-2"})([""]);export{l as TableCellSkeleton,a as TableCellStyled,n as TableCellText};