"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.treeTokens.iconFolderColor}: ${_sdds_serv.textPrimary};
                ${_emotion.treeTokens.arrowColor}: ${_sdds_serv.textSecondary};
                ${_emotion.treeTokens.arrowColorHover}: ${_sdds_serv.textSecondaryHover};
                ${_emotion.treeTokens.arrowColorActive}: ${_sdds_serv.textSecondaryActive};
                ${_emotion.treeTokens.color}: ${_sdds_serv.textPrimary};
                ${_emotion.treeTokens.colorSelected}: ${_sdds_serv.textPrimary};
                ${_emotion.treeTokens.itemBackgroundColorSelected}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.treeTokens.itemBackgroundColorPrimary}: transparent;

                ${_emotion.treeTokens.itemBackgroundColorHover}: ${_sdds_serv.surfaceTransparentSecondaryHover};
                ${_emotion.treeTokens.itemBackgroundColorActive}: ${_sdds_serv.surfaceTransparentSecondaryActive};
                ${_emotion.treeTokens.checkboxBorderColor}: ${_sdds_serv.textSecondary};
                ${_emotion.treeTokens.checkboxBackgroundColor}: ${_sdds_serv.textAccent};
                ${_emotion.treeTokens.itemDisabledOpacity}: 0.4;
                ${_emotion.treeTokens.itemDisabledBorderColor}: ${_sdds_serv.textSecondary};
                ${_emotion.treeTokens.itemDisabledColor}: ${_sdds_serv.textSecondary};
                ${_emotion.treeTokens.itemDraggableBorderColor}: ${_sdds_serv.surfacePositive};
                ${_emotion.treeTokens.itemDraggableLineColor}: ${_sdds_serv.surfaceSolidDefault};
            `
        },
        size: {
            xl: (0, _emotion.css)`
                ${_emotion.treeTokens.itemHeight}: 4rem;
                ${_emotion.treeTokens.itemBackgroundExtraOffset}: 1.25rem;
                ${_emotion.treeTokens.itemPaddingTop}: 1.25rem;
                ${_emotion.treeTokens.itemPaddingRight}: 1.125rem;
                ${_emotion.treeTokens.itemPaddingBottom}: 1.25rem;
                ${_emotion.treeTokens.itemPaddingLeft}: 1.125rem;
                ${_emotion.treeTokens.itemPaddingTightTop}: 1rem;
                ${_emotion.treeTokens.itemPaddingTightRight}: 1.125rem;
                ${_emotion.treeTokens.itemPaddingTightBottom}: 1rem;
                ${_emotion.treeTokens.itemPaddingTightLeft}: 1.125rem;
                ${_emotion.treeTokens.itemIndent}: 2rem;
                ${_emotion.treeTokens.itemBorderRadius}: 1rem;
                ${_emotion.treeTokens.itemTop}: 0.25rem;
                ${_emotion.treeTokens.itemBottom}: 0.25rem;
                ${_emotion.treeTokens.iconFolderMargin}: 0 0.5rem 0 0;
                ${_emotion.treeTokens.switcherMargin}: 0 0.5rem 0 0;
                ${_emotion.treeTokens.switcherMarginInverted}: 0 0 0 0.5rem;
                ${_emotion.treeTokens.switcherSize}: 1.5rem;
                ${_emotion.treeTokens.checkboxMargin}: 0 0.5rem 0 0;
                ${_emotion.treeTokens.checkboxSize}: 1.5rem;
                ${_emotion.treeTokens.checkboxInnerSize}: 1.25rem;
                ${_emotion.treeTokens.checkboxBorderRadius}: 0.375rem;

                ${_emotion.treeTokens.fontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.treeTokens.fontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.treeTokens.fontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.treeTokens.fontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.treeTokens.letterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.treeTokens.lineHeight}: ${_sdds_serv.bodyL.lineHeight};
            `,
            l: (0, _emotion.css)`
                ${_emotion.treeTokens.itemHeight}: 3.5rem;
                ${_emotion.treeTokens.itemBackgroundExtraOffset}: 1rem;
                ${_emotion.treeTokens.itemPaddingTop}: 1rem;
                ${_emotion.treeTokens.itemPaddingRight}: 1rem;
                ${_emotion.treeTokens.itemPaddingBottom}: 1rem;
                ${_emotion.treeTokens.itemPaddingLeft}: 1rem;
                ${_emotion.treeTokens.itemPaddingTightTop}: 0.75rem;
                ${_emotion.treeTokens.itemPaddingTightRight}: 1rem;
                ${_emotion.treeTokens.itemPaddingTightBottom}: 0.75rem;
                ${_emotion.treeTokens.itemPaddingTightLeft}: 1rem;
                ${_emotion.treeTokens.itemIndent}: 2rem;
                ${_emotion.treeTokens.itemBorderRadius}: 0.75rem;
                ${_emotion.treeTokens.itemTop}: 0.25rem;
                ${_emotion.treeTokens.itemBottom}: 0.25rem;
                ${_emotion.treeTokens.iconFolderMargin}: 0 0.5rem 0 0;
                ${_emotion.treeTokens.switcherMargin}: 0 0.5rem 0 0;
                ${_emotion.treeTokens.switcherMarginInverted}: 0 0 0 0.5rem;
                ${_emotion.treeTokens.switcherSize}: 1.5rem;
                ${_emotion.treeTokens.checkboxMargin}: 0 0.5rem 0 0;
                ${_emotion.treeTokens.checkboxSize}: 1.5rem;
                ${_emotion.treeTokens.checkboxInnerSize}: 1.25rem;
                ${_emotion.treeTokens.checkboxBorderRadius}: 0.375rem;

                ${_emotion.treeTokens.fontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.treeTokens.fontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.treeTokens.fontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.treeTokens.fontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.treeTokens.letterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.treeTokens.lineHeight}: ${_sdds_serv.bodyL.lineHeight};
            `,
            m: (0, _emotion.css)`
                ${_emotion.treeTokens.itemHeight}: 3rem;
                ${_emotion.treeTokens.itemBackgroundExtraOffset}: 0.875rem;
                ${_emotion.treeTokens.itemPaddingTop}: 0.75rem;
                ${_emotion.treeTokens.itemPaddingRight}: 0.875rem;
                ${_emotion.treeTokens.itemPaddingBottom}: 0.75rem;
                ${_emotion.treeTokens.itemPaddingLeft}: 0.875rem;
                ${_emotion.treeTokens.itemPaddingTightTop}: 0.5rem;
                ${_emotion.treeTokens.itemPaddingTightRight}: 0.875rem;
                ${_emotion.treeTokens.itemPaddingTightBottom}: 0.5rem;
                ${_emotion.treeTokens.itemPaddingTightLeft}: 0.875rem;
                ${_emotion.treeTokens.itemIndent}: 2rem;
                ${_emotion.treeTokens.itemBorderRadius}: 0.625rem;
                ${_emotion.treeTokens.itemTop}: 0.25rem;
                ${_emotion.treeTokens.itemBottom}: 0.25rem;
                ${_emotion.treeTokens.iconFolderMargin}: 0 0.5rem 0 0;
                ${_emotion.treeTokens.switcherMargin}: 0 0.5rem 0 0;
                ${_emotion.treeTokens.switcherMarginInverted}: 0 0 0 0.5rem;
                ${_emotion.treeTokens.switcherSize}: 1.5rem;
                ${_emotion.treeTokens.checkboxMargin}: 0 0.5rem 0 0;
                ${_emotion.treeTokens.checkboxSize}: 1.5rem;
                ${_emotion.treeTokens.checkboxInnerSize}: 1.25rem;
                ${_emotion.treeTokens.checkboxBorderRadius}: 0.375rem;

                ${_emotion.treeTokens.fontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.treeTokens.fontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.treeTokens.fontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.treeTokens.fontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_emotion.treeTokens.letterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.treeTokens.lineHeight}: ${_sdds_serv.bodyM.lineHeight};
            `,
            s: (0, _emotion.css)`
                ${_emotion.treeTokens.itemHeight}: 2.5rem;
                ${_emotion.treeTokens.itemBackgroundExtraOffset}: 0.75rem;
                ${_emotion.treeTokens.itemPaddingTop}: 0.5rem;
                ${_emotion.treeTokens.itemPaddingRight}: 0.75rem;
                ${_emotion.treeTokens.itemPaddingBottom}: 0.5rem;
                ${_emotion.treeTokens.itemPaddingLeft}: 0.75rem;
                ${_emotion.treeTokens.itemPaddingTightTop}: 0.4375rem;
                ${_emotion.treeTokens.itemPaddingTightRight}: 0.5rem;
                ${_emotion.treeTokens.itemPaddingTightBottom}: 0.4375rem;
                ${_emotion.treeTokens.itemPaddingTightLeft}: 0.5rem;
                ${_emotion.treeTokens.itemIndent}: 1.875rem;
                ${_emotion.treeTokens.itemBorderRadius}: 0.5rem;
                ${_emotion.treeTokens.itemTop}: 0.25rem;
                ${_emotion.treeTokens.itemBottom}: 0.25rem;
                ${_emotion.treeTokens.iconFolderMargin}: 0 0.375rem 0 0;
                ${_emotion.treeTokens.switcherMargin}: 0 0.375rem 0 0;
                ${_emotion.treeTokens.switcherMarginInverted}: 0 0 0 0.375rem;
                ${_emotion.treeTokens.switcherSize}: 1.5rem;
                ${_emotion.treeTokens.checkboxMargin}: 0 0.25rem 0 0;
                ${_emotion.treeTokens.checkboxSize}: 1.5rem;
                ${_emotion.treeTokens.checkboxInnerSize}: 1.25rem;
                ${_emotion.treeTokens.checkboxBorderRadius}: 0.375rem;

                ${_emotion.treeTokens.fontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.treeTokens.fontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.treeTokens.fontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.treeTokens.fontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.treeTokens.letterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.treeTokens.lineHeight}: ${_sdds_serv.bodyS.lineHeight};
            `,
            xs: (0, _emotion.css)`
                ${_emotion.treeTokens.itemHeight}: 2rem;
                ${_emotion.treeTokens.itemBackgroundExtraOffset}: 0.5rem;
                ${_emotion.treeTokens.itemPaddingTop}: 0.5rem;
                ${_emotion.treeTokens.itemPaddingRight}: 0.5rem;
                ${_emotion.treeTokens.itemPaddingBottom}: 0.5rem;
                ${_emotion.treeTokens.itemPaddingLeft}: 0.5rem;
                ${_emotion.treeTokens.itemPaddingTightTop}: 0.25rem;
                ${_emotion.treeTokens.itemPaddingTightRight}: 0.5rem;
                ${_emotion.treeTokens.itemPaddingTightBottom}: 0.25rem;
                ${_emotion.treeTokens.itemPaddingTightLeft}: 0.5rem;
                ${_emotion.treeTokens.itemIndent}: 1.25rem;
                ${_emotion.treeTokens.itemBorderRadius}: 0.375rem;
                ${_emotion.treeTokens.itemTop}: 0.25rem;
                ${_emotion.treeTokens.itemBottom}: 0.25rem;
                ${_emotion.treeTokens.iconFolderMargin}: 0 0.25rem 0 0;
                ${_emotion.treeTokens.switcherMargin}: 0 0.25rem 0 0;
                ${_emotion.treeTokens.switcherMarginInverted}: 0 0 0 0.25rem;
                ${_emotion.treeTokens.switcherSize}: 1rem;
                ${_emotion.treeTokens.checkboxMargin}: 0 0.25rem 0 0;
                ${_emotion.treeTokens.checkboxSize}: 1rem;
                ${_emotion.treeTokens.checkboxInnerSize}: 0.875rem;
                ${_emotion.treeTokens.checkboxBorderRadius}: 0.25rem;

                ${_emotion.treeTokens.fontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.treeTokens.fontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.treeTokens.fontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.treeTokens.fontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.treeTokens.letterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.treeTokens.lineHeight}: ${_sdds_serv.bodyXS.lineHeight};
            `
        }
    }
};
