"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: 'divider',
        size: 'l'
    },
    variations: {
        view: {
            divider: (0, _emotion.css)`
                ${_emotion.tabsTokens.itemColor}: ${_sdds_serv.textSecondary};
                ${_emotion.tabsTokens.itemValueColor}: ${_sdds_serv.textTertiary};
                ${_emotion.tabsTokens.itemBackgroundColor}: transparent;
                ${_emotion.tabsTokens.itemColorHover}: ${_sdds_serv.textSecondaryHover};
                ${_emotion.tabsTokens.itemValueColorHover}: ${_sdds_serv.textSecondary};
                ${_emotion.tabsTokens.itemColorActive}: ${_sdds_serv.textSecondaryActive};
                ${_emotion.tabsTokens.itemValueColorActive}: ${_sdds_serv.textSecondary};
                ${_emotion.tabsTokens.itemBackgroundColorHover}: transparent;
                ${_emotion.tabsTokens.itemSelectedColor}: ${_sdds_serv.textPrimary};
                ${_emotion.tabsTokens.itemSelectedValueColor}: ${_sdds_serv.textSecondary};
                ${_emotion.tabsTokens.itemSelectedBackgroundColor}: transparent;
                ${_emotion.tabsTokens.itemSelectedColorHover}: ${_sdds_serv.textPrimary};
                ${_emotion.tabsTokens.itemSelectedValueColorHover}: ${_sdds_serv.textSecondary};
                ${_emotion.tabsTokens.itemSelectedBackgroundColorHover}: transparent;
                ${_emotion.tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;

                ${_emotion.tabsTokens.itemPaddingClear}: 0;
                ${_emotion.tabsTokens.itemContentPaddingClear}: 0;

                ${_emotion.tabsTokens.outlineFocusColor}: ${_sdds_serv.surfaceAccent};

                ${_emotion.tabsTokens.itemSelectedDividerWidth}: 0.125rem;
                ${_emotion.tabsTokens.itemSelectedDividerHeight}: 0.125rem;
                ${_emotion.tabsTokens.itemSelectedDividerColor}: ${_sdds_serv.textPrimary};
                ${_emotion.tabsTokens.itemSelectedDividerColorHover}: ${_sdds_serv.textPrimary};

                ${_emotion.tabsTokens.itemCursor}: pointer;
            `
        },
        size: {
            xs: (0, _emotion.css)`
                ${_emotion.tabsTokens.itemBorderRadius}: 0.375rem;
                ${_emotion.tabsTokens.itemWidth}: auto;
                ${_emotion.tabsTokens.itemHeight}: 2rem;
                ${_emotion.tabsTokens.itemPadding}: 0 0.5rem;
                ${_emotion.tabsTokens.itemPaddingPilled}: 0 0.375rem;
                ${_emotion.tabsTokens.itemPaddingOrientationVertical}: 0.5rem 0.625rem;
                ${_emotion.tabsTokens.itemMarginLeft}: 0.625rem;
                ${_emotion.tabsTokens.itemContentGap}: 0.25rem;
                ${_emotion.tabsTokens.itemContentPadding}: 0.125rem;

                ${_emotion.tabsTokens.fontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.tabsTokens.fontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.tabsTokens.fontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.tabsTokens.fontWeight}: ${_sdds_serv.bodyXSBold.fontWeight};
                ${_emotion.tabsTokens.letterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.tabsTokens.lineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.tabsTokens.actionContentMarginLeft}: 0;
            `,
            s: (0, _emotion.css)`
                ${_emotion.tabsTokens.itemBorderRadius}: 0.5rem;
                ${_emotion.tabsTokens.itemWidth}: auto;
                ${_emotion.tabsTokens.itemHeight}: 2.5rem;
                ${_emotion.tabsTokens.itemPadding}: 0 0.625rem;
                ${_emotion.tabsTokens.itemPaddingPilled}: 0 0.5rem;
                ${_emotion.tabsTokens.itemPaddingOrientationVertical}: 0.5rem 1rem;
                ${_emotion.tabsTokens.itemMarginLeft}: 0.75rem;
                ${_emotion.tabsTokens.itemContentGap}: 0.25rem;
                ${_emotion.tabsTokens.itemContentPadding}: 0.125rem;

                ${_emotion.tabsTokens.fontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.tabsTokens.fontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.tabsTokens.fontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.tabsTokens.fontWeight}: ${_sdds_serv.bodySBold.fontWeight};
                ${_emotion.tabsTokens.letterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.tabsTokens.lineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_emotion.tabsTokens.actionContentMarginLeft}: 0.25rem;
            `,
            m: (0, _emotion.css)`
                ${_emotion.tabsTokens.itemBorderRadius}: 0.625rem;
                ${_emotion.tabsTokens.itemWidth}: auto;
                ${_emotion.tabsTokens.itemHeight}: 3rem;
                ${_emotion.tabsTokens.itemPadding}: 0 0.625rem;
                ${_emotion.tabsTokens.itemPaddingPilled}: 0 0.5rem;
                ${_emotion.tabsTokens.itemPaddingOrientationVertical}: 0.75rem 1.25rem;
                ${_emotion.tabsTokens.itemMarginLeft}: 1.125rem;
                ${_emotion.tabsTokens.itemContentGap}: 0.375rem;
                ${_emotion.tabsTokens.itemContentPadding}: 0.125rem;

                ${_emotion.tabsTokens.fontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.tabsTokens.fontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.tabsTokens.fontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.tabsTokens.fontWeight}: ${_sdds_serv.bodyMBold.fontWeight};
                ${_emotion.tabsTokens.letterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.tabsTokens.lineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_emotion.tabsTokens.actionContentMarginLeft}: 0.125rem;
            `,
            l: (0, _emotion.css)`
                ${_emotion.tabsTokens.itemBorderRadius}: 0.75rem;
                ${_emotion.tabsTokens.itemWidth}: auto;
                ${_emotion.tabsTokens.itemHeight}: 3.5rem;
                ${_emotion.tabsTokens.itemPadding}: 0 0.875rem;
                ${_emotion.tabsTokens.itemPaddingPilled}: 0 0.75rem;
                ${_emotion.tabsTokens.itemPaddingOrientationVertical}: 1rem 1.5rem;
                ${_emotion.tabsTokens.itemMarginLeft}: 1.25rem;
                ${_emotion.tabsTokens.itemContentGap}: 0.5rem;
                ${_emotion.tabsTokens.itemContentPadding}: 0.125rem;

                ${_emotion.tabsTokens.fontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.tabsTokens.fontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.tabsTokens.fontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.tabsTokens.fontWeight}: ${_sdds_serv.bodyLBold.fontWeight};
                ${_emotion.tabsTokens.letterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.tabsTokens.lineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_emotion.tabsTokens.actionContentMarginLeft}: 0.125rem;
            `
        },
        disabled: {
            true: (0, _emotion.css)`
                ${_emotion.tabsTokens.disabledOpacity}: 0.4;
            `
        },
        truncate: {
            true: (0, _emotion.css)``
        }
    }
};
