"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "Td", {
    enumerable: true,
    get: function() {
        return Td;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _Tabletokens = require("../../Table.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const Td = (0, /*#__PURE__*/ _styled.default)("td", {
    target: "e1ahlot00",
    label: "Td"
})("position:relative;padding:", ({ selectionCell })=>selectionCell ? `var(${_Tabletokens.tableTokens.checkboxCellPadding})` : `var(${_Tabletokens.tableTokens.cellPadding})`, ";height:var(", _Tabletokens.tableTokens.rowHeight, ");border-width:0.0625rem;border-top-width:0;border-style:solid;border-color:", ({ selected, borderVariant, view })=>// eslint-disable-next-line no-nested-ternary
    borderVariant === 'all' && view !== 'clear' ? `var(${_Tabletokens.tableTokens.borderColor})` : selected ? 'var(--surface-transparent-accent)' : 'transparent', ";border-bottom-color:", ({ borderVariant })=>borderVariant === 'all' || borderVariant === 'rows' ? `var(${_Tabletokens.tableTokens.borderColor})` : 'transparent', ";box-sizing:border-box;");
