"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 config = {
    defaults: {
        view: 'clear',
        size: 'xs'
    },
    variations: {
        view: {
            clear: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.itemColor}: var(--text-secondary);
                ${_styledcomponents.segmentTokens.itemBackgroundColor}: transparent;
                ${_styledcomponents.segmentTokens.itemColorHover}: var(--text-primary-hover);
                ${_styledcomponents.segmentTokens.itemBackgroundColorHover}: transparent;
                ${_styledcomponents.segmentTokens.itemAdditionalColor}: var(--text-tertiary);
                ${_styledcomponents.segmentTokens.itemAdditionalColorHover}: var(--text-secondary);
                ${_styledcomponents.segmentTokens.itemSelectedColor}: var(--text-primary-hover);
                ${_styledcomponents.segmentTokens.itemSelectedBackgroundColor}: transparent;
                ${_styledcomponents.segmentTokens.itemSelectedColorHover}: var(--text-primary);
                ${_styledcomponents.segmentTokens.itemSelectedBackgroundColorHover}: transparent;
                ${_styledcomponents.segmentTokens.itemSelectedAdditionalColor}: var(--text-secondary);
                ${_styledcomponents.segmentTokens.itemSelectedAdditionalColorHover}: var(--text-secondary);

                ${_styledcomponents.segmentTokens.groupFilledBackgroundColor}: var(--text-accent);
            `,
            secondary: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.itemColor}: var(--text-primary);
                ${_styledcomponents.segmentTokens.itemBackgroundColor}: transparent;
                ${_styledcomponents.segmentTokens.itemColorHover}: var(--text-primary-hover);
                ${_styledcomponents.segmentTokens.itemBackgroundColorHover}: transparent;
                ${_styledcomponents.segmentTokens.itemAdditionalColor}: var(--text-secondary);
                ${_styledcomponents.segmentTokens.itemAdditionalColorHover}: var(--text-secondary);
                ${_styledcomponents.segmentTokens.itemSelectedColor}: var(--text-primary);
                ${_styledcomponents.segmentTokens.itemSelectedBackgroundColor}: var(--surface-transparent-card);
                ${_styledcomponents.segmentTokens.itemSelectedColorHover}: var(--text-primary-hover);
                ${_styledcomponents.segmentTokens.itemSelectedBackgroundColorHover}: var(--surface-transparent-card);
                ${_styledcomponents.segmentTokens.itemSelectedAdditionalColor}: var(--text-secondary);
                ${_styledcomponents.segmentTokens.itemSelectedAdditionalColorHover}: var(--text-secondary);

                ${_styledcomponents.segmentTokens.groupFilledBackgroundColor}: var(--text-accent);
            `,
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.itemColor}: var(--text-primary);
                ${_styledcomponents.segmentTokens.itemBackgroundColor}: transparent;
                ${_styledcomponents.segmentTokens.itemColorHover}: var(--text-primary-hover);
                ${_styledcomponents.segmentTokens.itemBackgroundColorHover}: transparent;
                ${_styledcomponents.segmentTokens.itemAdditionalColor}: var(--text-secondary);
                ${_styledcomponents.segmentTokens.itemAdditionalColorHover}: var(--text-secondary);
                ${_styledcomponents.segmentTokens.itemSelectedColor}: var(--inverse-text-primary);
                ${_styledcomponents.segmentTokens.itemSelectedBackgroundColor}: var(--surface-solid-default);
                ${_styledcomponents.segmentTokens.itemSelectedColorHover}: var(--inverse-text-primary-hover);
                ${_styledcomponents.segmentTokens.itemSelectedBackgroundColorHover}: var(--surface-solid-default);
                ${_styledcomponents.segmentTokens.itemSelectedAdditionalColor}: var(--inverse-text-secondary);
                ${_styledcomponents.segmentTokens.itemSelectedAdditionalColorHover}: var(--inverse-text-secondary);

                ${_styledcomponents.segmentTokens.groupFilledBackgroundColor}: var(--text-accent);
            `,
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.itemColor}: var(--text-primary);
                ${_styledcomponents.segmentTokens.itemBackgroundColor}: transparent;
                ${_styledcomponents.segmentTokens.itemColorHover}: var(--text-primary-hover);
                ${_styledcomponents.segmentTokens.itemBackgroundColorHover}: transparent;
                ${_styledcomponents.segmentTokens.itemAdditionalColor}: var(--text-secondary);
                ${_styledcomponents.segmentTokens.itemAdditionalColorHover}: var(--text-secondary);
                ${_styledcomponents.segmentTokens.itemSelectedColor}: var(--on-dark-text-primary);
                ${_styledcomponents.segmentTokens.itemSelectedBackgroundColor}: var(--surface-accent);
                ${_styledcomponents.segmentTokens.itemSelectedColorHover}: var(--on-dark-text-primary-hover);
                ${_styledcomponents.segmentTokens.itemSelectedBackgroundColorHover}: var(--surface-accent);
                ${_styledcomponents.segmentTokens.itemSelectedAdditionalColor}: var(--on-dark-text-secondary);
                ${_styledcomponents.segmentTokens.itemSelectedAdditionalColorHover}: var(--on-dark-text-secondary);

                ${_styledcomponents.segmentTokens.groupFilledBackgroundColor}: var(--text-accent);
            `
        },
        size: {
            xs: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.itemBorderRadius}: 0.5rem;
                ${_styledcomponents.segmentTokens.itemWidth}: auto;
                ${_styledcomponents.segmentTokens.itemHeight}: 2rem;
                ${_styledcomponents.segmentTokens.itemPadding}: 0.5rem 0.75rem;
                ${_styledcomponents.segmentTokens.itemPilledPadding}: 0.5rem 0.5rem;
                ${_styledcomponents.segmentTokens.itemContentPadding}: 0.0625rem 0.125rem;
                ${_styledcomponents.segmentTokens.itemIconMargin}: 0.125rem;
                ${_styledcomponents.segmentTokens.itemMarginLeft}: 0;

                ${_styledcomponents.segmentTokens.fontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_styledcomponents.segmentTokens.fontSize}: var(--plasma-typo-body-xs-font-size);
                ${_styledcomponents.segmentTokens.fontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_styledcomponents.segmentTokens.fontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
                ${_styledcomponents.segmentTokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_styledcomponents.segmentTokens.lineHeight}: var(--plasma-typo-body-xs-line-height);
            `,
            s: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.itemBorderRadius}: 0.625rem;
                ${_styledcomponents.segmentTokens.itemWidth}: auto;
                ${_styledcomponents.segmentTokens.itemHeight}: 2.5rem;
                ${_styledcomponents.segmentTokens.itemPadding}: 0.5rem 1rem;
                ${_styledcomponents.segmentTokens.itemPilledPadding}: 0.5rem 0.5rem;
                ${_styledcomponents.segmentTokens.itemContentPadding}: 0.1875rem 0.125rem;
                ${_styledcomponents.segmentTokens.itemIconMargin}: 0.125rem;
                ${_styledcomponents.segmentTokens.itemMarginLeft}: 0rem;

                ${_styledcomponents.segmentTokens.fontFamily}: var(--plasma-typo-body-s-font-family);
                ${_styledcomponents.segmentTokens.fontSize}: var(--plasma-typo-body-s-font-size);
                ${_styledcomponents.segmentTokens.fontStyle}: var(--plasma-typo-body-s-font-style);
                ${_styledcomponents.segmentTokens.fontWeight}: var(--plasma-typo-body-s-bold-font-weight);
                ${_styledcomponents.segmentTokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_styledcomponents.segmentTokens.lineHeight}: var(--plasma-typo-body-s-line-height);
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.itemBorderRadius}: 0.75rem;
                ${_styledcomponents.segmentTokens.itemWidth}: auto;
                ${_styledcomponents.segmentTokens.itemHeight}: 3rem;
                ${_styledcomponents.segmentTokens.itemPadding}: 0.75rem 1.25rem;
                ${_styledcomponents.segmentTokens.itemPilledPadding}: 0.75rem 0.75rem;
                ${_styledcomponents.segmentTokens.itemContentPadding}: 0.125rem;
                ${_styledcomponents.segmentTokens.itemIconMargin}: 0.25rem;
                ${_styledcomponents.segmentTokens.itemMarginLeft}: 0rem;

                ${_styledcomponents.segmentTokens.fontFamily}: var(--plasma-typo-body-m-font-family);
                ${_styledcomponents.segmentTokens.fontSize}: var(--plasma-typo-body-m-font-size);
                ${_styledcomponents.segmentTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
                ${_styledcomponents.segmentTokens.fontWeight}: var(--plasma-typo-body-m-bold-font-weight);
                ${_styledcomponents.segmentTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_styledcomponents.segmentTokens.lineHeight}: var(--plasma-typo-body-m-line-height);
            `,
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.itemBorderRadius}: 0.875rem;
                ${_styledcomponents.segmentTokens.itemWidth}: auto;
                ${_styledcomponents.segmentTokens.itemHeight}: 3.5rem;
                ${_styledcomponents.segmentTokens.itemPadding}: 1rem 1.5rem; /* 1.625 */
                ${_styledcomponents.segmentTokens.itemPilledPadding}: 1rem 1rem;
                ${_styledcomponents.segmentTokens.itemContentPadding}: 0.0625rem 0.125rem;
                ${_styledcomponents.segmentTokens.itemIconMargin}: 0.375rem;
                ${_styledcomponents.segmentTokens.itemMarginLeft}: 0;

                ${_styledcomponents.segmentTokens.fontFamily}: var(--plasma-typo-body-l-font-family);
                ${_styledcomponents.segmentTokens.fontSize}: var(--plasma-typo-body-l-font-size);
                ${_styledcomponents.segmentTokens.fontStyle}: var(--plasma-typo-body-l-font-style);
                ${_styledcomponents.segmentTokens.fontWeight}: var(--plasma-typo-body-l-bold-font-weight);
                ${_styledcomponents.segmentTokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_styledcomponents.segmentTokens.lineHeight}: var(--plasma-typo-body-l-line-height);
            `,
            xl: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.itemBorderRadius}: 1rem;
                ${_styledcomponents.segmentTokens.itemWidth}: auto;
                ${_styledcomponents.segmentTokens.itemHeight}: 4rem;
                ${_styledcomponents.segmentTokens.itemPadding}: 1.25rem 1.75rem;
                ${_styledcomponents.segmentTokens.itemPilledPadding}: 1.25rem;
                ${_styledcomponents.segmentTokens.itemContentPadding}: 0.0625rem 0.125rem;
                ${_styledcomponents.segmentTokens.itemIconMargin}: 0.375rem;
                ${_styledcomponents.segmentTokens.itemMarginLeft}: 0;

                ${_styledcomponents.segmentTokens.fontFamily}: var(--plasma-typo-body-l-font-family);
                ${_styledcomponents.segmentTokens.fontSize}: var(--plasma-typo-body-l-font-size);
                ${_styledcomponents.segmentTokens.fontStyle}: var(--plasma-typo-body-l-font-style);
                ${_styledcomponents.segmentTokens.fontWeight}: var(--plasma-typo-body-l-bold-font-weight);
                ${_styledcomponents.segmentTokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_styledcomponents.segmentTokens.lineHeight}: var(--plasma-typo-body-l-line-height);
            `
        },
        disabled: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.segmentTokens.disabledOpacity}: 0.4;
            `
        },
        pilled: {
            true: (0, _styledcomponents.css)`
                // NOTE: change on token when added
                ${_styledcomponents.segmentTokens.itemPilledBorderRadius}: 1000px;
            `
        }
    }
};
