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