"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 config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.treeTokens.iconFolderColor}: var(--text-primary);
                ${_styledcomponents.treeTokens.arrowColor}: var(--text-secondary);
                ${_styledcomponents.treeTokens.arrowColorHover}: var(--text-secondary-hover);
                ${_styledcomponents.treeTokens.arrowColorActive}: var(--text-secondary-active);
                ${_styledcomponents.treeTokens.color}: var(--text-primary);
                ${_styledcomponents.treeTokens.colorSelected}: var(--text-primary);
                ${_styledcomponents.treeTokens.itemBackgroundColorSelected}: var(--surface-transparent-secondary);
                ${_styledcomponents.treeTokens.itemBackgroundColorPrimary}: transparent;

                ${_styledcomponents.treeTokens.itemBackgroundColorHover}: var(--surface-transparent-secondary-hover);
                ${_styledcomponents.treeTokens.itemBackgroundColorActive}: var(--surface-transparent-secondary-active);
                ${_styledcomponents.treeTokens.checkboxBorderColor}: var(--text-secondary);
                ${_styledcomponents.treeTokens.checkboxBackgroundColor}: var(--text-accent);
                ${_styledcomponents.treeTokens.itemDisabledOpacity}: 0.4;
                ${_styledcomponents.treeTokens.itemDisabledBorderColor}: var(--text-secondary);
                ${_styledcomponents.treeTokens.itemDisabledColor}: var(--text-secondary);
                ${_styledcomponents.treeTokens.itemDraggableBorderColor}: var(--surface-positive);
                ${_styledcomponents.treeTokens.itemDraggableLineColor}: var(--surface-solid-default);
            `
        },
        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}: var(--plasma-typo-body-l-font-family);
                ${_styledcomponents.treeTokens.fontSize}: var(--plasma-typo-body-l-font-size);
                ${_styledcomponents.treeTokens.fontStyle}: var(--plasma-typo-body-l-font-style);
                ${_styledcomponents.treeTokens.fontWeight}: var(--plasma-typo-body-l-font-weight);
                ${_styledcomponents.treeTokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_styledcomponents.treeTokens.lineHeight}: var(--plasma-typo-body-l-line-height);
            `,
            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}: var(--plasma-typo-body-l-font-family);
                ${_styledcomponents.treeTokens.fontSize}: var(--plasma-typo-body-l-font-size);
                ${_styledcomponents.treeTokens.fontStyle}: var(--plasma-typo-body-l-font-style);
                ${_styledcomponents.treeTokens.fontWeight}: var(--plasma-typo-body-l-font-weight);
                ${_styledcomponents.treeTokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_styledcomponents.treeTokens.lineHeight}: var(--plasma-typo-body-l-line-height);
            `,
            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}: var(--plasma-typo-body-m-font-family);
                ${_styledcomponents.treeTokens.fontSize}: var(--plasma-typo-body-m-font-size);
                ${_styledcomponents.treeTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
                ${_styledcomponents.treeTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_styledcomponents.treeTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_styledcomponents.treeTokens.lineHeight}: var(--plasma-typo-body-m-line-height);
            `,
            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}: var(--plasma-typo-body-s-font-family);
                ${_styledcomponents.treeTokens.fontSize}: var(--plasma-typo-body-s-font-size);
                ${_styledcomponents.treeTokens.fontStyle}: var(--plasma-typo-body-s-font-style);
                ${_styledcomponents.treeTokens.fontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_styledcomponents.treeTokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_styledcomponents.treeTokens.lineHeight}: var(--plasma-typo-body-s-line-height);
            `,
            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}: var(--plasma-typo-body-xs-font-family);
                ${_styledcomponents.treeTokens.fontSize}: var(--plasma-typo-body-xs-font-size);
                ${_styledcomponents.treeTokens.fontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_styledcomponents.treeTokens.fontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_styledcomponents.treeTokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_styledcomponents.treeTokens.lineHeight}: var(--plasma-typo-body-xs-line-height);
            `
        }
    }
};
