"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
const _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
const _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.treeTokens.iconFolderColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.treeTokens.arrowColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.treeTokens.arrowColorHover}: ${_sdds_serv.textSecondaryHover};
                ${_styledcomponents.treeTokens.arrowColorActive}: ${_sdds_serv.textSecondaryActive};
                ${_styledcomponents.treeTokens.color}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.treeTokens.colorSelected}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.treeTokens.itemBackgroundColorSelected}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_styledcomponents.treeTokens.itemBackgroundColorPrimary}: transparent;

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

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

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

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

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

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