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

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

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

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

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

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

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

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