"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: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonColor}: var(--inverse-text-primary);
                ${_emotion.buttonGroupTokens.buttonTextColor}: var(--inverse-text-primary);
                ${_emotion.buttonGroupTokens.buttonIconColor}: var(--inverse-text-primary);
                ${_emotion.buttonGroupTokens.buttonValueColor}: var(--inverse-text-secondary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColor}: var(--surface-solid-default);
                ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
                ${_emotion.buttonGroupTokens.buttonColorHover}: var(--inverse-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: var(--surface-solid-default-hover);
                ${_emotion.buttonGroupTokens.buttonColorActive}: var(--inverse-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: var(--surface-solid-default-active);
            `,
            accent: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonTextColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonIconColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonValueColor}: var(--on-dark-text-secondary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColor}: var(--surface-accent);
                ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
                ${_emotion.buttonGroupTokens.buttonColorHover}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: var(--surface-accent-hover);
                ${_emotion.buttonGroupTokens.buttonColorActive}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: var(--surface-accent-active);
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonColor}: var(--text-primary);
                ${_emotion.buttonGroupTokens.buttonTextColor}: var(--text-primary);
                ${_emotion.buttonGroupTokens.buttonIconColor}: var(--text-primary);
                ${_emotion.buttonGroupTokens.buttonValueColor}: var(--text-secondary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
                ${_emotion.buttonGroupTokens.buttonColorHover}: var(--text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: var(--surface-transparent-secondary-hover);
                ${_emotion.buttonGroupTokens.buttonColorActive}: var(--text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: var(--surface-transparent-secondary-active);
            `,
            clear: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonColor}: var(--text-primary);
                ${_emotion.buttonGroupTokens.buttonTextColor}: var(--text-primary);
                ${_emotion.buttonGroupTokens.buttonIconColor}: var(--text-primary);
                ${_emotion.buttonGroupTokens.buttonValueColor}: var(--text-secondary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColor}: var(--surface-clear);
                ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
                ${_emotion.buttonGroupTokens.buttonColorHover}: var(--text-primary-hover);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: var(--surface-clear);
                ${_emotion.buttonGroupTokens.buttonColorActive}: var(--text-primary-active);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: var(--surface-clear);
            `,
            success: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonTextColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonIconColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonValueColor}: var(--on-dark-text-secondary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColor}: var(--surface-positive);
                ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
                ${_emotion.buttonGroupTokens.buttonColorHover}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: var(--surface-positive-hover);
                ${_emotion.buttonGroupTokens.buttonColorActive}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: var(--surface-positive-active);
            `,
            warning: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonTextColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonIconColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonValueColor}: var(--on-dark-text-secondary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColor}: var(--surface-warning);
                ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
                ${_emotion.buttonGroupTokens.buttonColorHover}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: var(--surface-warning-hover);
                ${_emotion.buttonGroupTokens.buttonColorActive}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: var(--surface-warning-active);
            `,
            critical: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonTextColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonIconColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonValueColor}: var(--on-dark-text-secondary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColor}: var(--surface-negative);
                ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
                ${_emotion.buttonGroupTokens.buttonColorHover}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: var(--surface-negative-hover);
                ${_emotion.buttonGroupTokens.buttonColorActive}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: var(--surface-negative-active);
            `,
            dark: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonTextColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonIconColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonValueColor}: var(--on-dark-text-secondary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColor}: var(--on-light-surface-transparent-deep);
                ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
                ${_emotion.buttonGroupTokens.buttonColorHover}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: var(--on-light-surface-transparent-deep-hover);
                ${_emotion.buttonGroupTokens.buttonColorActive}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: var(--on-light-surface-transparent-deep-active);
            `,
            black: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonTextColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonIconColor}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonValueColor}: var(--on-dark-text-secondary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColor}: var(--on-light-surface-solid-default);
                ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
                ${_emotion.buttonGroupTokens.buttonColorHover}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: var(--on-light-surface-solid-default-hover);
                ${_emotion.buttonGroupTokens.buttonColorActive}: var(--on-dark-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: var(--on-light-surface-solid-default-active);
            `,
            white: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonColor}: var(--on-light-text-primary);
                ${_emotion.buttonGroupTokens.buttonTextColor}: var(--on-light-text-primary);
                ${_emotion.buttonGroupTokens.buttonIconColor}: var(--on-light-text-primary);
                ${_emotion.buttonGroupTokens.buttonValueColor}: var(--on-light-text-secondary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColor}: var(--on-dark-surface-solid-default);
                ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
                ${_emotion.buttonGroupTokens.buttonColorHover}: var(--on-light-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: var(--on-dark-surface-solid-default-hover);
                ${_emotion.buttonGroupTokens.buttonColorActive}: var(--on-light-text-primary);
                ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: var(--on-dark-surface-solid-default-active);
            `
        },
        size: {
            xl: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonDefaultRadius}: 1rem;
                ${_emotion.buttonGroupTokens.buttonSegmentedRadius}: 0.5rem;
                ${_emotion.buttonGroupTokens.buttonSideRadius}: 1rem;

                ${_emotion.buttonGroupTokens.buttonHeight}: 4rem;
                ${_emotion.buttonGroupTokens.buttonPadding}: 1.75rem;
                ${_emotion.buttonGroupTokens.buttonFontFamily}: var(--plasma-typo-body-l-font-family);
                ${_emotion.buttonGroupTokens.buttonFontSize}: var(--plasma-typo-body-l-font-size);
                ${_emotion.buttonGroupTokens.buttonFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_emotion.buttonGroupTokens.buttonFontWeight}: var(--plasma-typo-body-l-bold-font-weight);
                ${_emotion.buttonGroupTokens.buttonLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_emotion.buttonGroupTokens.buttonLineHeight}: var(--plasma-typo-body-l-line-height);
            `,
            l: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonDefaultRadius}: 0.875rem;
                ${_emotion.buttonGroupTokens.buttonSegmentedRadius}: 0.375rem;
                ${_emotion.buttonGroupTokens.buttonSideRadius}: 0.875rem;

                ${_emotion.buttonGroupTokens.buttonHeight}: 3.5rem;
                ${_emotion.buttonGroupTokens.buttonPadding}: 1.5rem;
                ${_emotion.buttonGroupTokens.buttonFontFamily}: var(--plasma-typo-body-l-font-family);
                ${_emotion.buttonGroupTokens.buttonFontSize}: var(--plasma-typo-body-l-font-size);
                ${_emotion.buttonGroupTokens.buttonFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_emotion.buttonGroupTokens.buttonFontWeight}: var(--plasma-typo-body-l-bold-font-weight);
                ${_emotion.buttonGroupTokens.buttonLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_emotion.buttonGroupTokens.buttonLineHeight}: var(--plasma-typo-body-l-line-height);
            `,
            m: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonSegmentedRadius}: 0.25rem;
                ${_emotion.buttonGroupTokens.buttonDefaultRadius}: 0.75rem;
                ${_emotion.buttonGroupTokens.buttonSideRadius}: 0.75rem;

                ${_emotion.buttonGroupTokens.buttonHeight}: 3rem;
                ${_emotion.buttonGroupTokens.buttonPadding}: 1.25rem;

                ${_emotion.buttonGroupTokens.buttonFontFamily}: var(--plasma-typo-body-m-font-family);
                ${_emotion.buttonGroupTokens.buttonFontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.buttonGroupTokens.buttonFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.buttonGroupTokens.buttonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
                ${_emotion.buttonGroupTokens.buttonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.buttonGroupTokens.buttonLineHeight}: var(--plasma-typo-body-m-line-height);
            `,
            s: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonSegmentedRadius}: 0.25rem;
                ${_emotion.buttonGroupTokens.buttonSideRadius}: 0.625rem;
                ${_emotion.buttonGroupTokens.buttonDefaultRadius}: 0.625rem;

                ${_emotion.buttonGroupTokens.buttonHeight}: 2.5rem;
                ${_emotion.buttonGroupTokens.buttonPadding}: 1rem;
                ${_emotion.buttonGroupTokens.buttonFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_emotion.buttonGroupTokens.buttonFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.buttonGroupTokens.buttonFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.buttonGroupTokens.buttonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
                ${_emotion.buttonGroupTokens.buttonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.buttonGroupTokens.buttonLineHeight}: var(--plasma-typo-body-s-line-height);
            `,
            xs: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonSegmentedRadius}: 0.125rem;
                ${_emotion.buttonGroupTokens.buttonDefaultRadius}: 0.5rem;
                ${_emotion.buttonGroupTokens.buttonSideRadius}: 0.5rem;

                ${_emotion.buttonGroupTokens.buttonHeight}: 2rem;
                ${_emotion.buttonGroupTokens.buttonPadding}: 0.75rem;
                ${_emotion.buttonGroupTokens.buttonFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.buttonGroupTokens.buttonFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.buttonGroupTokens.buttonFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.buttonGroupTokens.buttonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
                ${_emotion.buttonGroupTokens.buttonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.buttonGroupTokens.buttonLineHeight}: var(--plasma-typo-body-xs-line-height);
            `,
            xxs: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonSegmentedRadius}: 0.125rem;
                ${_emotion.buttonGroupTokens.buttonDefaultRadius}: 0.375rem;
                ${_emotion.buttonGroupTokens.buttonSideRadius}: 0.375rem;

                ${_emotion.buttonGroupTokens.buttonHeight}: 1.5rem;
                ${_emotion.buttonGroupTokens.buttonPadding}: 0.625rem;
                ${_emotion.buttonGroupTokens.buttonFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.buttonGroupTokens.buttonFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.buttonGroupTokens.buttonFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.buttonGroupTokens.buttonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
                ${_emotion.buttonGroupTokens.buttonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.buttonGroupTokens.buttonLineHeight}: var(--plasma-typo-body-xs-line-height);
            `
        },
        orientation: {
            horizontal: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonGroupOrientation}: row;
            `,
            vertical: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonGroupOrientation}: column;
            `
        },
        gap: {
            none: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonGroupItemsGap}: 0;
            `,
            dense: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonGroupItemsGap}: 0.125rem;
            `,
            wide: (0, _emotion.css)`
                ${_emotion.buttonGroupTokens.buttonGroupItemsGap}: 0.5rem;
            `
        },
        shape: {
            segmented: (0, _emotion.css)``,
            default: (0, _emotion.css)``
        },
        stretching: {
            auto: (0, _emotion.css)``,
            filled: (0, _emotion.css)``
        }
    }
};
