"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
function _tagged_template_literal(strings, raw) {
    if (!raw) {
        raw = strings.slice(0);
    }
    return Object.freeze(Object.defineProperties(strings, {
        raw: {
            value: Object.freeze(raw)
        }
    }));
}
function _templateObject() {
    var data = _tagged_template_literal([
        "\n                ",
        ";\n\n                ",
        ";\n                ",
        ": 0.5625rem;\n                ",
        ": 0.5rem;\n                ",
        ": 0.5625rem;\n                ",
        ": 0.5rem;\n                ",
        ": 0.375rem;\n\n                ",
        ": var(--plasma-typo-body-xs-font-family);\n                ",
        ": var(--plasma-typo-body-xs-font-size);\n                ",
        ": var(--plasma-typo-body-xs-font-style);\n                ",
        ": var(--plasma-typo-body-xs-font-weight);\n                ",
        ": var(--plasma-typo-body-xs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xs-line-height);\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ";\n\n                ",
        ";\n                ",
        ": 0.6875rem;\n                ",
        ": 0.75rem;\n                ",
        ": 0.6875rem;\n                ",
        ": 0.75rem;\n                ",
        ": 0.5rem;\n\n                ",
        ": var(--plasma-typo-body-s-font-family);\n                ",
        ": var(--plasma-typo-body-s-font-size);\n                ",
        ": var(--plasma-typo-body-s-font-style);\n                ",
        ": var(--plasma-typo-body-s-font-weight);\n                ",
        ": var(--plasma-typo-body-s-letter-spacing);\n                ",
        ": var(--plasma-typo-body-s-line-height);\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ";\n\n                ",
        ";\n                ",
        ": 0.875rem;\n                ",
        ": 0.875rem;\n                ",
        ": 0.875rem;\n                ",
        ": 0.875rem;\n                ",
        ": 0.625rem;\n\n                ",
        ": var(--plasma-typo-body-m-font-family);\n                ",
        ": var(--plasma-typo-body-m-font-size);\n                ",
        ": var(--plasma-typo-body-m-font-style);\n                ",
        ": var(--plasma-typo-body-m-font-weight);\n                ",
        ": var(--plasma-typo-body-m-letter-spacing);\n                ",
        ": var(--plasma-typo-body-m-line-height);\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ";\n\n                ",
        ";\n                ",
        ": 1.0625rem;\n                ",
        ": 1rem;\n                ",
        ": 1.0625rem;\n                ",
        ": 1rem;\n                ",
        ": 0.75rem;\n\n                ",
        ": var(--plasma-typo-body-l-font-family);\n                ",
        ": var(--plasma-typo-body-l-font-size);\n                ",
        ": var(--plasma-typo-body-l-font-style);\n                ",
        ": var(--plasma-typo-body-l-font-weight);\n                ",
        ": var(--plasma-typo-body-l-letter-spacing);\n                ",
        ": var(--plasma-typo-body-l-line-height);\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.4;\n                ",
        ": var(--surface-solid-card-brightness);\n                // TODO: #1131 Вернуть токен --shadow-down-soft-s\n                ",
        ": 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n\n                ",
        ": transparent;\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": inherit;\n                ",
        ": inherit;\n                ",
        ": inherit;\n                ",
        ": inherit;\n                ",
        ": var(--text-primary);\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
var dropdownSizeCommon = "\n    ".concat(_styledcomponents.dropdownOldTokens.width, ": 100%;\n    ").concat(_styledcomponents.dropdownOldTokens.height, ": auto;\n    ").concat(_styledcomponents.dropdownOldTokens.borderRadius, ": 0.5rem;\n    ").concat(_styledcomponents.dropdownOldTokens.paddingTop, ": 0.125rem;\n    ").concat(_styledcomponents.dropdownOldTokens.paddingRight, ": 0.0625rem;\n    ").concat(_styledcomponents.dropdownOldTokens.paddingBottom, ": 0.125rem;\n    ").concat(_styledcomponents.dropdownOldTokens.paddingLeft, ": 0.125rem;\n");
var dropdownItemSizeCommon = "\n    ".concat(_styledcomponents.dropdownOldTokens.itemWidth, ": auto;\n    ").concat(_styledcomponents.dropdownOldTokens.itemHeight, ": auto;\n    ").concat(_styledcomponents.dropdownOldTokens.itemMarginTop, ": 0;\n    ").concat(_styledcomponents.dropdownOldTokens.itemMarginRight, ": 0;\n    ").concat(_styledcomponents.dropdownOldTokens.itemMarginBottom, ": 0;\n    ").concat(_styledcomponents.dropdownOldTokens.itemMarginLeft, ": 0;\n");
var config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        size: {
            xs: (0, _styledcomponents.css)(_templateObject(), dropdownSizeCommon, dropdownItemSizeCommon, _styledcomponents.dropdownOldTokens.itemPaddingTop, _styledcomponents.dropdownOldTokens.itemPaddingRight, _styledcomponents.dropdownOldTokens.itemPaddingBottom, _styledcomponents.dropdownOldTokens.itemPaddingLeft, _styledcomponents.dropdownOldTokens.itemBorderRadius, _styledcomponents.dropdownOldTokens.itemFontFamily, _styledcomponents.dropdownOldTokens.itemFontSize, _styledcomponents.dropdownOldTokens.itemFontStyle, _styledcomponents.dropdownOldTokens.itemFontWeightBold, _styledcomponents.dropdownOldTokens.itemFontLetterSpacing, _styledcomponents.dropdownOldTokens.itemFontLineHeight),
            s: (0, _styledcomponents.css)(_templateObject1(), dropdownSizeCommon, dropdownItemSizeCommon, _styledcomponents.dropdownOldTokens.itemPaddingTop, _styledcomponents.dropdownOldTokens.itemPaddingRight, _styledcomponents.dropdownOldTokens.itemPaddingBottom, _styledcomponents.dropdownOldTokens.itemPaddingLeft, _styledcomponents.dropdownOldTokens.itemBorderRadius, _styledcomponents.dropdownOldTokens.itemFontFamily, _styledcomponents.dropdownOldTokens.itemFontSize, _styledcomponents.dropdownOldTokens.itemFontStyle, _styledcomponents.dropdownOldTokens.itemFontWeightBold, _styledcomponents.dropdownOldTokens.itemFontLetterSpacing, _styledcomponents.dropdownOldTokens.itemFontLineHeight),
            m: (0, _styledcomponents.css)(_templateObject2(), dropdownSizeCommon, dropdownItemSizeCommon, _styledcomponents.dropdownOldTokens.itemPaddingTop, _styledcomponents.dropdownOldTokens.itemPaddingRight, _styledcomponents.dropdownOldTokens.itemPaddingBottom, _styledcomponents.dropdownOldTokens.itemPaddingLeft, _styledcomponents.dropdownOldTokens.itemBorderRadius, _styledcomponents.dropdownOldTokens.itemFontFamily, _styledcomponents.dropdownOldTokens.itemFontSize, _styledcomponents.dropdownOldTokens.itemFontStyle, _styledcomponents.dropdownOldTokens.itemFontWeightBold, _styledcomponents.dropdownOldTokens.itemFontLetterSpacing, _styledcomponents.dropdownOldTokens.itemFontLineHeight),
            l: (0, _styledcomponents.css)(_templateObject3(), dropdownSizeCommon, dropdownItemSizeCommon, _styledcomponents.dropdownOldTokens.itemPaddingTop, _styledcomponents.dropdownOldTokens.itemPaddingRight, _styledcomponents.dropdownOldTokens.itemPaddingBottom, _styledcomponents.dropdownOldTokens.itemPaddingLeft, _styledcomponents.dropdownOldTokens.itemBorderRadius, _styledcomponents.dropdownOldTokens.itemFontFamily, _styledcomponents.dropdownOldTokens.itemFontSize, _styledcomponents.dropdownOldTokens.itemFontStyle, _styledcomponents.dropdownOldTokens.itemFontWeightBold, _styledcomponents.dropdownOldTokens.itemFontLetterSpacing, _styledcomponents.dropdownOldTokens.itemFontLineHeight)
        },
        view: {
            default: (0, _styledcomponents.css)(_templateObject4(), _styledcomponents.dropdownOldTokens.disabledOpacity, _styledcomponents.dropdownOldTokens.background, _styledcomponents.dropdownOldTokens.boxShadow, _styledcomponents.dropdownOldTokens.itemBackground, _styledcomponents.dropdownOldTokens.itemBackgroundHover, _styledcomponents.dropdownOldTokens.itemBackgroundSelected, _styledcomponents.dropdownOldTokens.itemColorSelected, _styledcomponents.dropdownOldTokens.itemBackgroundSelectedHover, _styledcomponents.dropdownOldTokens.itemColorSelectedHover, _styledcomponents.dropdownOldTokens.itemColor)
        }
    }
};
