"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.treeTokens.iconFolderColor}: var(--text-primary);
                ${_emotion.treeTokens.arrowColor}: var(--text-secondary);
                ${_emotion.treeTokens.arrowColorHover}: var(--text-secondary-hover);
                ${_emotion.treeTokens.arrowColorActive}: var(--text-secondary-active);
                ${_emotion.treeTokens.color}: var(--text-primary);
                ${_emotion.treeTokens.colorSelected}: var(--text-primary);
                ${_emotion.treeTokens.itemBackgroundColorSelected}: var(--surface-transparent-secondary);
                ${_emotion.treeTokens.itemBackgroundColorPrimary}: transparent;

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