"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 _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.fileTokens.embedIconButtonColor}: ${_sdds_serv.textPrimary};
                ${_emotion.fileTokens.embedIconButtonColorHover}: ${_sdds_serv.textPrimaryHover};
                ${_emotion.fileTokens.embedIconButtonColorActive}: ${_sdds_serv.textPrimaryActive};
                ${_emotion.fileTokens.embedIconButtonFocusColor}: ${_sdds_serv.surfaceAccent};

                ${_emotion.fileTokens.cellTitleColor}: ${_sdds_serv.textPrimary};
                ${_emotion.fileTokens.cellSubtitleColor}: ${_sdds_serv.textSecondary};

                ${_emotion.fileTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};
                ${_emotion.fileTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_emotion.fileTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceSolidDefault};

                ${_emotion.fileTokens.progressTrackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.fileTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfaceSolidDefault};
            `,
            negative: (0, _emotion.css)`
                ${_emotion.fileTokens.embedIconButtonColor}: ${_sdds_serv.textPrimary};
                ${_emotion.fileTokens.embedIconButtonColorHover}: ${_sdds_serv.textPrimaryHover};
                ${_emotion.fileTokens.embedIconButtonColorActive}: ${_sdds_serv.textPrimaryActive};
                ${_emotion.fileTokens.embedIconButtonFocusColor}: ${_sdds_serv.surfaceAccent};

                ${_emotion.fileTokens.cellTitleColor}: ${_sdds_serv.textPrimary};
                ${_emotion.fileTokens.cellSubtitleColor}: ${_sdds_serv.textNegative};

                ${_emotion.fileTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};
                ${_emotion.fileTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_emotion.fileTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceNegative};

                ${_emotion.fileTokens.progressTrackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.fileTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfaceNegative};
            `
        },
        size: {
            l: (0, _emotion.css)`
                ${_emotion.fileTokens.embedIconButtonHeight}: 2.5rem;
                ${_emotion.fileTokens.embedIconButtonWidth}: 2.5rem;
                ${_emotion.fileTokens.embedIconButtonPadding}: 0.5rem;
                ${_emotion.fileTokens.embedIconButtonRadius}: 0.625rem;

                ${_emotion.fileTokens.cellHeight}: 2.5rem;
                ${_emotion.fileTokens.cellTextboxGap}: 0.125rem;
                ${_emotion.fileTokens.cellGap}: 0.75rem;
                ${_emotion.fileTokens.cellPaddingRightContent}: 0.75rem;

                ${_emotion.fileTokens.cellTitleFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.fileTokens.cellTitleFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.fileTokens.cellTitleFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.fileTokens.cellTitleFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.fileTokens.cellTitleLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.fileTokens.cellTitleLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_emotion.fileTokens.cellSubtitleFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.fileTokens.cellSubtitleFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.fileTokens.cellSubtitleFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.fileTokens.cellSubtitleFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.fileTokens.cellSubtitleLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.fileTokens.cellSubtitleLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.fileTokens.progressBarCircularSize}: 36;
                ${_emotion.fileTokens.progressBarCircularHeight}: 2.25rem;
                ${_emotion.fileTokens.progressBarCircularWidth}: 2.25rem;

                ${_emotion.fileTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_emotion.fileTokens.progressBarCircularStrokeSize}: 2;

                ${_emotion.fileTokens.progressTrackHeight}: 0.25rem;
                ${_emotion.fileTokens.progressTrackBorderRadius}: 0.125rem;
                ${_emotion.fileTokens.progressFilledHeight}: 0.25rem;
                ${_emotion.fileTokens.progressFilledBorderRadius}: 0.375rem;

                ${_emotion.fileTokens.progressLinearGap}: 0.5rem;

                ${_emotion.fileTokens.fileThumbSize}: 2.5rem;
                ${_emotion.fileTokens.fileThumbRadius}: 0.625rem;
            `,
            m: (0, _emotion.css)`
                ${_emotion.fileTokens.embedIconButtonHeight}: 2.5rem;
                ${_emotion.fileTokens.embedIconButtonWidth}: 2.5rem;
                ${_emotion.fileTokens.embedIconButtonPadding}: 0.5rem;
                ${_emotion.fileTokens.embedIconButtonRadius}: 0.625rem;

                ${_emotion.fileTokens.cellHeight}: 2.5rem;
                ${_emotion.fileTokens.cellTextboxGap}: 0.125rem;
                ${_emotion.fileTokens.cellGap}: 0.625rem;
                ${_emotion.fileTokens.cellPaddingRightContent}: 0.625rem;

                ${_emotion.fileTokens.cellTitleFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.fileTokens.cellTitleFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.fileTokens.cellTitleFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.fileTokens.cellTitleFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_emotion.fileTokens.cellTitleLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.fileTokens.cellTitleLineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_emotion.fileTokens.cellSubtitleFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.fileTokens.cellSubtitleFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.fileTokens.cellSubtitleFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.fileTokens.cellSubtitleFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.fileTokens.cellSubtitleLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.fileTokens.cellSubtitleLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.fileTokens.progressBarCircularSize}: 36;
                ${_emotion.fileTokens.progressBarCircularHeight}: 2.25rem;
                ${_emotion.fileTokens.progressBarCircularWidth}: 2.25rem;

                ${_emotion.fileTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_emotion.fileTokens.progressBarCircularStrokeSize}: 2;

                ${_emotion.fileTokens.progressTrackHeight}: 0.25rem;
                ${_emotion.fileTokens.progressTrackBorderRadius}: 0.125rem;
                ${_emotion.fileTokens.progressFilledHeight}: 0.25rem;
                ${_emotion.fileTokens.progressFilledBorderRadius}: 0.375rem;

                ${_emotion.fileTokens.progressLinearGap}: 0.5rem;

                ${_emotion.fileTokens.fileThumbSize}: 2.25rem;
                ${_emotion.fileTokens.fileThumbRadius}: 0.625rem;
            `,
            s: (0, _emotion.css)`
                ${_emotion.fileTokens.embedIconButtonHeight}: 2.5rem;
                ${_emotion.fileTokens.embedIconButtonWidth}: 2.5rem;
                ${_emotion.fileTokens.embedIconButtonPadding}: 0.5rem;
                ${_emotion.fileTokens.embedIconButtonRadius}: 0.625rem;

                ${_emotion.fileTokens.cellHeight}: 2.5rem;
                ${_emotion.fileTokens.cellTextboxGap}: 0.125rem;
                ${_emotion.fileTokens.cellGap}: 0.5rem;
                ${_emotion.fileTokens.cellPaddingRightContent}: 0.5rem;

                ${_emotion.fileTokens.cellTitleFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.fileTokens.cellTitleFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.fileTokens.cellTitleFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.fileTokens.cellTitleFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.fileTokens.cellTitleLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.fileTokens.cellTitleLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_emotion.fileTokens.cellSubtitleFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.fileTokens.cellSubtitleFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.fileTokens.cellSubtitleFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.fileTokens.cellSubtitleFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.fileTokens.cellSubtitleLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.fileTokens.cellSubtitleLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.fileTokens.progressBarCircularSize}: 36;
                ${_emotion.fileTokens.progressBarCircularHeight}: 2.25rem;
                ${_emotion.fileTokens.progressBarCircularWidth}: 2.25rem;

                ${_emotion.fileTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_emotion.fileTokens.progressBarCircularStrokeSize}: 2;

                ${_emotion.fileTokens.progressTrackHeight}: 0.25rem;
                ${_emotion.fileTokens.progressTrackBorderRadius}: 0.125rem;
                ${_emotion.fileTokens.progressFilledHeight}: 0.25rem;
                ${_emotion.fileTokens.progressFilledBorderRadius}: 0.375rem;

                ${_emotion.fileTokens.progressLinearGap}: 0.5rem;

                ${_emotion.fileTokens.fileThumbSize}: 2.25rem;
                ${_emotion.fileTokens.fileThumbRadius}: 0.625rem;
            `,
            xs: (0, _emotion.css)`
                ${_emotion.fileTokens.embedIconButtonHeight}: 2rem;
                ${_emotion.fileTokens.embedIconButtonWidth}: 2rem;
                ${_emotion.fileTokens.embedIconButtonPadding}: 0.5rem;
                ${_emotion.fileTokens.embedIconButtonRadius}: 0.5rem;

                ${_emotion.fileTokens.cellHeight}: 2rem;
                ${_emotion.fileTokens.cellTextboxGap}: 0.125rem;
                ${_emotion.fileTokens.cellGap}: 0.375rem;
                ${_emotion.fileTokens.cellPaddingRightContent}: 0.375rem;

                ${_emotion.fileTokens.cellTitleFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.fileTokens.cellTitleFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.fileTokens.cellTitleFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.fileTokens.cellTitleFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.fileTokens.cellTitleLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.fileTokens.cellTitleLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.fileTokens.cellSubtitleFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.fileTokens.cellSubtitleFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.fileTokens.cellSubtitleFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.fileTokens.cellSubtitleFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.fileTokens.cellSubtitleLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.fileTokens.cellSubtitleLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.fileTokens.progressBarCircularSize}: 24;
                ${_emotion.fileTokens.progressBarCircularHeight}: 1.5rem;
                ${_emotion.fileTokens.progressBarCircularWidth}: 1.5rem;

                ${_emotion.fileTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_emotion.fileTokens.progressBarCircularStrokeSize}: 2;

                ${_emotion.fileTokens.progressTrackHeight}: 0.25rem;
                ${_emotion.fileTokens.progressTrackBorderRadius}: 0.125rem;
                ${_emotion.fileTokens.progressFilledHeight}: 0.25rem;
                ${_emotion.fileTokens.progressFilledBorderRadius}: 0.375rem;

                ${_emotion.fileTokens.progressLinearGap}: 0.5rem;

                ${_emotion.fileTokens.fileThumbSize}: 1.75rem;
                ${_emotion.fileTokens.fileThumbRadius}: 0.625rem;
            `
        },
        disabled: {
            true: (0, _emotion.css)`
                ${_emotion.fileTokens.fileDisabledOpacity}: 0.4;
            `
        }
    }
};
