import styled from "@emotion/styled";
import { component, mergeConfig } from "../../../../engines";
import { cellConfig, cellTokens } from "../../../Cell";
import { applyEllipsis } from "../../../../mixins";
import { CellRight } from "../../../Cell/Cell.styles";
import { classes, tokens } from "../../File.tokens";
var mergedConfig = mergeConfig(cellConfig);
var Cell = component(mergedConfig);
export var StyledCell = /*#__PURE__*/ styled(Cell, {
    target: "ettkppy0",
    label: "StyledCell"
})("white-space:nowrap;height:var(", tokens.cellHeight, ");", cellTokens.cellWidth, ":100%;", cellTokens.cellGap, ":var(", tokens.cellGap, ");&.", classes.fileActionLeft, "{", CellRight, "{order:-1;}}");
export var FileInfoWrapper = /*#__PURE__*/ styled("div", {
    target: "ettkppy1",
    label: "FileInfoWrapper"
})("display:grid;grid-template-rows:1fr auto;gap:var(", tokens.cellTextboxGap, ");");
export var FilenameWrapper = /*#__PURE__*/ styled("div", {
    target: "ettkppy2",
    label: "FilenameWrapper"
})("display:inline-grid;align-items:center;grid-template-columns:auto 1fr;min-width:8ch;color:var(", tokens.cellTitleColor, ");font-family:var(", tokens.cellTitleFontFamily, ");font-size:var(", tokens.cellTitleFontSize, ");font-style:var(", tokens.cellTitleFontStyle, ");font-weight:var(", tokens.cellTitleFontWeight, ");letter-spacing:var(", tokens.cellTitleLetterSpacing, ");line-height:var(", tokens.cellTitleLineHeight, ");");
export var TruncatedFilenamePart = /*#__PURE__*/ styled("span", {
    target: "ettkppy3",
    label: "TruncatedFilenamePart"
})(applyEllipsis());
export var FilenameExtensionPart = /*#__PURE__*/ styled("span", {
    target: "ettkppy4",
    label: "FilenameExtensionPart"
})();
export var FileDescription = /*#__PURE__*/ styled("span", {
    target: "ettkppy5",
    label: "FileDescription"
})("color:var(", tokens.cellSubtitleColor, ");font-family:var(", tokens.cellSubtitleFontFamily, ");font-size:var(", tokens.cellSubtitleFontSize, ");font-style:var(", tokens.cellSubtitleFontStyle, ");font-weight:var(", tokens.cellSubtitleFontWeight, ");letter-spacing:var(", tokens.cellSubtitleLetterSpacing, ");line-height:var(", tokens.cellSubtitleLineHeight, ");", applyEllipsis());
