"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
const _emotion = require("@salutejs/plasma-new-hope/emotion");
const config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.tableTokens.borderColor}: #ddd;
            `,
            clear: (0, _emotion.css)`
                ${_emotion.tableTokens.borderColor}: transparent;
            `
        },
        size: {
            l: (0, _emotion.css)`
                ${_emotion.tableTokens.fontFamily}: var(--plasma-typo-body-l-font-family);
                ${_emotion.tableTokens.fontSize}: var(--plasma-typo-body-l-font-size);
                ${_emotion.tableTokens.fontStyle}: var(--plasma-typo-body-l-font-style);
                ${_emotion.tableTokens.fontWeight}: var(--plasma-typo-body-l-font-weight);
                ${_emotion.tableTokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_emotion.tableTokens.lineHeight}: var(--plasma-typo-body-l-line-height);

                ${_emotion.tableTokens.headerRowHeight}: 3.125rem;
                ${_emotion.tableTokens.rowHeight}: 3.125rem;
                ${_emotion.tableTokens.cellPadding}: 0.375rem 1rem;
                ${_emotion.tableTokens.checkboxCellPadding}: 0.375rem 1rem;
                ${_emotion.tableTokens.checkboxTriggerBorderWidth}: 0.125rem;
                ${_emotion.tableTokens.checkboxTriggerBorderCheckedColor}: transparent;
                ${_emotion.tableTokens.checkboxTriggerSize}: 1.25rem;
                ${_emotion.tableTokens.checkboxTriggerBorderRadius}: 0.375rem;
                ${_emotion.tableTokens.checkboxTriggerBorderColor}: var(--text-secondary);
                ${_emotion.tableTokens.checkboxFillColor}: var(--text-accent);
                ${_emotion.tableTokens.checkboxTriggerIconColor}: var(--on-dark-text-primary);

                ${_emotion.tableTokens.editableCellIconGap}: 0.5rem;
                ${_emotion.tableTokens.editableCellIconButtonWidth}: 3rem;
                ${_emotion.tableTokens.editableCellIconButtonHeight}: 100%;
                ${_emotion.tableTokens.editableCellPadding}: 0.25rem;
                ${_emotion.tableTokens.editableCellInputBorderRadius}: 0.875rem;
                ${_emotion.tableTokens.editableCellInputPadding}: 0 0.75rem;

                ${_emotion.tableTokens.editableCellInputBackground}: var(--surface-transparent-tertiary);

                ${_emotion.tableTokens.filterCheckboxPadding}: 0.75rem 0;
                ${_emotion.tableTokens.filterDividerMargin}: 0.375rem 0.75rem;

                ${_emotion.tableTokens.buttonHeight}: 2.5rem;
                ${_emotion.tableTokens.buttonFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_emotion.tableTokens.buttonFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.tableTokens.buttonFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.tableTokens.buttonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
                ${_emotion.tableTokens.buttonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.tableTokens.buttonLineHeight}: var(--plasma-typo-body-s-line-height);

                ${_emotion.tableTokens.selectPadding}: 0.125rem;
                ${_emotion.tableTokens.selectBorderRadius}: 0.875rem;
                ${_emotion.tableTokens.selectItemHeight}: 1.5rem;
                ${_emotion.tableTokens.selectItemPadding}: 0.75rem 0.75rem 0.75rem 0.875rem;
                ${_emotion.tableTokens.selectItemBorderRadius}: 0.75rem;
                ${_emotion.tableTokens.selectItemIconMargin}: 0 0.375rem 0 0;
                ${_emotion.tableTokens.selectItemIconSize}: 1.5rem;
                ${_emotion.tableTokens.selectCellPadding}: 0;
                ${_emotion.tableTokens.selectCellTitleFontFamily}: var(--plasma-typo-body-m-font-family);
                ${_emotion.tableTokens.selectCellTitleFontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.tableTokens.selectCellTitleFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.tableTokens.selectCellTitleFontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_emotion.tableTokens.selectCellTitleLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.tableTokens.selectCellTitleLineHeight}: var(--plasma-typo-body-m-line-height);
                ${_emotion.tableTokens.selectCheckboxTriggerSize}: 1.25rem;
                ${_emotion.tableTokens.selectCheckboxTriggerBorderRadius}: 0.375rem;
                ${_emotion.tableTokens.selectCheckboxTriggerBorderWidth}: 0.125rem;
                ${_emotion.tableTokens.selectCheckboxTriggerBorderCheckedColor}: transparent;
                ${_emotion.tableTokens.selectControlPanelPadding}: 0.5rem 0.875rem;
                ${_emotion.tableTokens.selectControlPanelGap}: 0.5rem;

                ${_emotion.tableTokens.linkButtonFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_emotion.tableTokens.linkButtonFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.tableTokens.linkButtonFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.tableTokens.linkButtonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
                ${_emotion.tableTokens.linkButtonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.tableTokens.linkButtonLineHeight}: var(--plasma-typo-body-s-line-height);
            `,
            m: (0, _emotion.css)`
                ${_emotion.tableTokens.fontFamily}: var(--plasma-typo-body-m-font-family);
                ${_emotion.tableTokens.fontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.tableTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.tableTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_emotion.tableTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.tableTokens.lineHeight}: var(--plasma-typo-body-m-line-height);

                ${_emotion.tableTokens.headerRowHeight}: 2.75rem;
                ${_emotion.tableTokens.rowHeight}: 2.75rem;
                ${_emotion.tableTokens.cellPadding}: 0.25rem 0.875rem;
                ${_emotion.tableTokens.checkboxCellPadding}: 0.25rem 0.75rem;
                ${_emotion.tableTokens.checkboxTriggerBorderWidth}: 0.125rem;
                ${_emotion.tableTokens.checkboxTriggerBorderCheckedColor}: transparent;
                ${_emotion.tableTokens.checkboxTriggerSize}: 1.25rem;
                ${_emotion.tableTokens.checkboxTriggerBorderRadius}: 0.375rem;
                ${_emotion.tableTokens.checkboxTriggerBorderColor}: var(--text-secondary);
                ${_emotion.tableTokens.checkboxFillColor}: var(--text-accent);
                ${_emotion.tableTokens.checkboxTriggerIconColor}: var(--on-dark-text-primary);

                ${_emotion.tableTokens.editableCellIconGap}: 0.375rem;
                ${_emotion.tableTokens.editableCellIconButtonWidth}: 2.5rem;
                ${_emotion.tableTokens.editableCellIconButtonHeight}: 100%;
                ${_emotion.tableTokens.editableCellPadding}: 0.25rem;
                ${_emotion.tableTokens.editableCellInputBorderRadius}: 0.625rem;
                ${_emotion.tableTokens.editableCellInputPadding}: 0 0.625rem;

                ${_emotion.tableTokens.editableCellInputBackground}: var(--surface-transparent-tertiary);

                ${_emotion.tableTokens.filterCheckboxPadding}: 0.5rem 0;
                ${_emotion.tableTokens.filterDividerMargin}: 0.375rem 0.75rem;

                ${_emotion.tableTokens.buttonHeight}: 2rem;
                ${_emotion.tableTokens.buttonFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.tableTokens.buttonFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.tableTokens.buttonFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.tableTokens.buttonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
                ${_emotion.tableTokens.buttonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.tableTokens.buttonLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_emotion.tableTokens.selectPadding}: 0.125rem;
                ${_emotion.tableTokens.selectBorderRadius}: 0.75rem;
                ${_emotion.tableTokens.selectItemHeight}: 1.5rem;
                ${_emotion.tableTokens.selectItemPadding}: 0.5rem 0.75rem 0.5rem 0.625rem;
                ${_emotion.tableTokens.selectItemBorderRadius}: 0.625rem;
                ${_emotion.tableTokens.selectItemIconMargin}: 0 0.375rem 0 0;
                ${_emotion.tableTokens.selectItemIconSize}: 1.5rem;
                ${_emotion.tableTokens.selectCellPadding}: 0;
                ${_emotion.tableTokens.selectCellTitleFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_emotion.tableTokens.selectCellTitleFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.tableTokens.selectCellTitleFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.tableTokens.selectCellTitleFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_emotion.tableTokens.selectCellTitleLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.tableTokens.selectCellTitleLineHeight}: var(--plasma-typo-body-s-line-height);
                ${_emotion.tableTokens.selectCheckboxTriggerSize}: 1.25rem;
                ${_emotion.tableTokens.selectCheckboxTriggerBorderRadius}: 0.375rem;
                ${_emotion.tableTokens.selectCheckboxTriggerBorderWidth}: 0.125rem;
                ${_emotion.tableTokens.selectCheckboxTriggerBorderCheckedColor}: transparent;
                ${_emotion.tableTokens.selectControlPanelPadding}: 0.25rem 0.75rem;
                ${_emotion.tableTokens.selectControlPanelGap}: 0.625rem;

                ${_emotion.tableTokens.linkButtonFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.tableTokens.linkButtonFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.tableTokens.linkButtonFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.tableTokens.linkButtonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
                ${_emotion.tableTokens.linkButtonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.tableTokens.linkButtonLineHeight}: var(--plasma-typo-body-xs-line-height);
            `,
            s: (0, _emotion.css)`
                ${_emotion.tableTokens.fontFamily}: var(--plasma-typo-body-s-font-family);
                ${_emotion.tableTokens.fontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.tableTokens.fontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.tableTokens.fontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_emotion.tableTokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.tableTokens.lineHeight}: var(--plasma-typo-body-s-line-height);

                ${_emotion.tableTokens.headerRowHeight}: 2.125rem;
                ${_emotion.tableTokens.rowHeight}: 2.125rem;
                ${_emotion.tableTokens.cellPadding}: 0.125rem 0.5rem;
                ${_emotion.tableTokens.checkboxCellPadding}: 0.125rem 0.625rem;
                ${_emotion.tableTokens.checkboxTriggerBorderWidth}: 0.125rem;
                ${_emotion.tableTokens.checkboxTriggerBorderCheckedColor}: transparent;
                ${_emotion.tableTokens.checkboxTriggerSize}: 0.875rem;
                ${_emotion.tableTokens.checkboxTriggerBorderRadius}: 0.25rem;
                ${_emotion.tableTokens.checkboxTriggerBorderColor}: var(--text-secondary);
                ${_emotion.tableTokens.checkboxFillColor}: var(--text-accent);
                ${_emotion.tableTokens.checkboxTriggerIconColor}: var(--on-dark-text-primary);

                ${_emotion.tableTokens.editableCellIconGap}: 0.25rem;
                ${_emotion.tableTokens.editableCellIconButtonWidth}: 2rem;
                ${_emotion.tableTokens.editableCellIconButtonHeight}: 100%;
                ${_emotion.tableTokens.editableCellPadding}: 0.125rem;
                ${_emotion.tableTokens.editableCellInputBorderRadius}: 0.5rem;
                ${_emotion.tableTokens.editableCellInputPadding}: 0 0.375rem;

                ${_emotion.tableTokens.editableCellInputBackground}: var(--surface-transparent-tertiary);

                ${_emotion.tableTokens.filterCheckboxPadding}: 0.5rem 0;
                ${_emotion.tableTokens.filterDividerMargin}: 0.25rem 0.5rem;

                ${_emotion.tableTokens.buttonHeight}: 1.5rem;
                ${_emotion.tableTokens.buttonFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.tableTokens.buttonFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.tableTokens.buttonFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.tableTokens.buttonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
                ${_emotion.tableTokens.buttonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.tableTokens.buttonLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_emotion.tableTokens.selectPadding}: 0.125rem;
                ${_emotion.tableTokens.selectBorderRadius}: 0.625rem;
                ${_emotion.tableTokens.selectItemHeight}: 1rem;
                ${_emotion.tableTokens.selectItemPadding}: 0.5rem 0.5rem 0.5rem 0.375rem;
                ${_emotion.tableTokens.selectItemBorderRadius}: 0.5rem;
                ${_emotion.tableTokens.selectItemIconMargin}: 0 0.25rem 0 0;
                ${_emotion.tableTokens.selectItemIconSize}: 1rem;
                ${_emotion.tableTokens.selectCellPadding}: 0;
                ${_emotion.tableTokens.selectCellTitleFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.tableTokens.selectCellTitleFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.tableTokens.selectCellTitleFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.tableTokens.selectCellTitleFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_emotion.tableTokens.selectCellTitleLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.tableTokens.selectCellTitleLineHeight}: var(--plasma-typo-body-xs-line-height);
                ${_emotion.tableTokens.selectCheckboxTriggerSize}: 0.875rem;
                ${_emotion.tableTokens.selectCheckboxTriggerBorderRadius}: 0.25rem;
                ${_emotion.tableTokens.selectCheckboxTriggerBorderWidth}: 0.125rem;
                ${_emotion.tableTokens.selectCheckboxTriggerBorderCheckedColor}: transparent;
                ${_emotion.tableTokens.selectControlPanelPadding}: 0.25rem 0.5rem;
                ${_emotion.tableTokens.selectControlPanelGap}: 0.25rem;

                ${_emotion.tableTokens.linkButtonFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.tableTokens.linkButtonFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.tableTokens.linkButtonFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.tableTokens.linkButtonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
                ${_emotion.tableTokens.linkButtonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.tableTokens.linkButtonLineHeight}: var(--plasma-typo-body-xs-line-height);
            `
        }
    }
};
