"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: 'clear',
        size: 'xs'
    },
    variations: {
        view: {
            clear: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.arrowColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.segmentTokens.groupBackgroundColor}: transparent;
                ${_styledcomponents.segmentTokens.groupFilledBackgroundColor}: ${_sdds_serv.textAccent};
            `,
            filled: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.arrowColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.segmentTokens.groupBackgroundColor}: transparent;
                ${_styledcomponents.segmentTokens.groupFilledBackgroundColor}: ${_sdds_serv.textAccent};
            `
        },
        size: {
            xs: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.groupBorderRadius}: 0.625rem;
                ${_styledcomponents.segmentTokens.groupPilledBorderRadius}: 1.125rem;
                ${_styledcomponents.segmentTokens.groupWidth}: auto;
                ${_styledcomponents.segmentTokens.groupHeight}: auto;
                ${_styledcomponents.segmentTokens.groupArrowPadding}: 0.25rem 0.75rem;
                ${_styledcomponents.segmentTokens.groupVerticalArrowPadding}: 0.75rem 0;
            `,
            s: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.groupBorderRadius}: 0.75rem;
                ${_styledcomponents.segmentTokens.groupPilledBorderRadius}: 1.375rem;
                ${_styledcomponents.segmentTokens.groupWidth}: auto;
                ${_styledcomponents.segmentTokens.groupHeight}: auto;
                ${_styledcomponents.segmentTokens.groupArrowPadding}: 0.5rem 0.875rem;
                ${_styledcomponents.segmentTokens.groupVerticalArrowPadding}: 0.875rem 0;
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.groupBorderRadius}: 0.875rem;
                ${_styledcomponents.segmentTokens.groupPilledBorderRadius}: 1.625rem;
                ${_styledcomponents.segmentTokens.groupWidth}: auto;
                ${_styledcomponents.segmentTokens.groupHeight}: auto;
                ${_styledcomponents.segmentTokens.groupArrowPadding}: 0.75rem 1.25rem;
                ${_styledcomponents.segmentTokens.groupVerticalArrowPadding}: 1.25rem 0;
            `,
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.groupBorderRadius}: 1rem;
                ${_styledcomponents.segmentTokens.groupPilledBorderRadius}: 1.875rem;
                ${_styledcomponents.segmentTokens.groupWidth}: auto;
                ${_styledcomponents.segmentTokens.groupHeight}: auto;
                ${_styledcomponents.segmentTokens.groupArrowPadding}: 1rem 1.375rem;
                ${_styledcomponents.segmentTokens.groupVerticalArrowPadding}: 1.375rem 0;
            `,
            xl: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.groupBorderRadius}: 1.125rem;
                // NOTE: change on token when added
                ${_styledcomponents.segmentTokens.groupPilledBorderRadius}: 1000px;
                ${_styledcomponents.segmentTokens.groupWidth}: auto;
                ${_styledcomponents.segmentTokens.groupHeight}: auto;
                ${_styledcomponents.segmentTokens.groupArrowPadding}: 1.25rem 1.5rem;
                ${_styledcomponents.segmentTokens.groupVerticalArrowPadding}: 1.5rem 0;
            `
        },
        disabled: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.disabledOpacity}: 0.4;
            `
        },
        pilled: {
            true: (0, _styledcomponents.css)``
        },
        stretch: {
            true: (0, _styledcomponents.css)``
        },
        filledBackground: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.groupFilledBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
            `
        },
        orientation: {
            vertical: (0, _styledcomponents.css)``
        }
    }
};
