"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',
        viewCurrentPage: 'secondary',
        size: 'xs'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.paginationTokens.buttonColor}: var(--inverse-text-primary);
                ${_emotion.paginationTokens.buttonColorHover}: var(--inverse-text-primary-hover);
                ${_emotion.paginationTokens.buttonColorActive}: var(--inverse-text-primary-active);
                ${_emotion.paginationTokens.buttonHoverColor}: var(--inverse-text-primary);
                ${_emotion.paginationTokens.buttonBackgroundColor}: var(--surface-solid-default);
                ${_emotion.paginationTokens.buttonBackgroundColorHover}: var(--surface-solid-default-hover);
                ${_emotion.paginationTokens.buttonBackgroundColorActive}: var(--surface-solid-default-active);
                ${_emotion.paginationTokens.buttonActiveColor}: var(--inverse-text-primary);
                ${_emotion.paginationTokens.buttonArrowColor}: var(--inverse-text-secondary);
                ${_emotion.paginationTokens.buttonArrowColorHover}: var(--inverse-text-secondary-hover);
                ${_emotion.paginationTokens.buttonArrowColorActive}: var(--inverse-text-secondary-hover);

                ${_emotion.paginationTokens.buttonDisabledOpacity}: 0.4;

                ${_emotion.paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.paginationTokens.inputBorderColor}:transparent;
                ${_emotion.paginationTokens.selectBackgroundColor}: color-mix(
                    in srgb,
                    var(--inverse-text-primary),
                    var(--surface-solid-default) 85%
                );

                ${_emotion.paginationTokens.paginationColor}: var(--text-primary);
                ${_emotion.paginationTokens.paginationHelperTextColor}: var(--text-secondary);
                ${_emotion.paginationTokens.buttonFocusColor}: var(--surface-accent);
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.paginationTokens.buttonColor}: var(--text-primary);
                ${_emotion.paginationTokens.buttonColorHover}: var(--text-primary-hover);
                ${_emotion.paginationTokens.buttonColorActive}: var(--text-primary-active);
                ${_emotion.paginationTokens.buttonBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.paginationTokens.buttonBackgroundColorHover}: var(--surface-transparent-secondary-hover);
                ${_emotion.paginationTokens.buttonBackgroundColorActive}: var(--surface-transparent-secondary-active);
                ${_emotion.paginationTokens.buttonHoverColor}: var(--text-primary);
                ${_emotion.paginationTokens.buttonActiveColor}: var(--text-primary);
                ${_emotion.paginationTokens.buttonArrowColor}: var(--text-secondary);
                ${_emotion.paginationTokens.buttonArrowColorHover}: var(--text-secondary-hover);
                ${_emotion.paginationTokens.buttonArrowColorActive}: var(--text-secondary-hover);

                ${_emotion.paginationTokens.buttonDisabledOpacity}: 0.4;

                ${_emotion.paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.paginationTokens.selectBackgroundColor}: var(--surface-solid-secondary);
                ${_emotion.paginationTokens.inputBorderColor}: transparent;

                ${_emotion.paginationTokens.paginationColor}: var(--text-primary);
                ${_emotion.paginationTokens.paginationHelperTextColor}: var(--text-secondary);
                ${_emotion.paginationTokens.buttonFocusColor}: var(--surface-accent);
            `,
            clear: (0, _emotion.css)`
                ${_emotion.paginationTokens.buttonColor}: var(--text-primary);
                ${_emotion.paginationTokens.buttonColorHover}: var(--text-primary-hover);
                ${_emotion.paginationTokens.buttonColorActive}: var(--text-primary-active);
                ${_emotion.paginationTokens.buttonBackgroundColor}: var(--surface-clear);
                ${_emotion.paginationTokens.buttonBackgroundColorHover}: var(--surface-clear);
                ${_emotion.paginationTokens.buttonBackgroundColorActive}: var(--surface-clear);
                ${_emotion.paginationTokens.buttonHoverColor}: var(--text-primary);
                ${_emotion.paginationTokens.buttonActiveColor}: var(--text-primary);
                ${_emotion.paginationTokens.buttonArrowColor}: var(--text-secondary);
                ${_emotion.paginationTokens.buttonArrowColorHover}: var(--text-secondary-hover);
                ${_emotion.paginationTokens.buttonArrowColorActive}: var(--text-secondary-hover);

                ${_emotion.paginationTokens.buttonDisabledOpacity}: 0.4;

                ${_emotion.paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.paginationTokens.selectBackgroundColor}: var(--surface-solid-card);
                ${_emotion.paginationTokens.inputBorderColor}: transparent;

                ${_emotion.paginationTokens.paginationColor}: var(--text-primary);
                ${_emotion.paginationTokens.paginationHelperTextColor}: var(--text-secondary);
                ${_emotion.paginationTokens.buttonFocusColor}: var(--surface-accent);
            `
        },
        viewCurrentPage: {
            default: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationCurrentButtonColor}: var(--inverse-text-primary);
                ${_emotion.paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-solid-default);
                ${_emotion.paginationTokens.paginationCurrentButtonHoverColor}: var(--inverse-text-primary);
                ${_emotion.paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(
                    in srgb,
                    var(--inverse-text-primary),
                    var(--surface-solid-default) 85%
                );
                ${_emotion.paginationTokens.paginationCurrentButtonActiveColor}: var(--inverse-text-primary);
                ${_emotion.paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(
                    in srgb,
                    var(--inverse-text-primary),
                    var(--surface-solid-default) 80%
                );
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationCurrentButtonColor}: var(--text-primary);
                ${_emotion.paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.paginationTokens.paginationCurrentButtonHoverColor}: var(--text-primary);
                ${_emotion.paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(
                    in srgb,
                    var(--inverse-text-primary),
                    var(--surface-transparent-secondary) 85%
                );
                ${_emotion.paginationTokens.paginationCurrentButtonActiveColor}: var(--text-primary);
                ${_emotion.paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(
                    in srgb,
                    var(--inverse-text-primary),
                    var(--surface-transparent-secondary) 80%
                );
            `,
            clear: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationCurrentButtonColor}: var(--text-primary);
                ${_emotion.paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-clear);
                ${_emotion.paginationTokens.paginationCurrentButtonHoverColor}: var(--text-primary);
                ${_emotion.paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(in srgb, var(--text-primary), var(--surface-clear) 95%);
                ${_emotion.paginationTokens.paginationCurrentButtonActiveColor}: var(--text-primary);
                ${_emotion.paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(in srgb, var(--text-primary), var(--surface-clear) 90%);
            `
        },
        size: {
            l: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationFontFamily}: var(--plasma-typo-body-l-font-family);
                ${_emotion.paginationTokens.paginationFontSize}: var(--plasma-typo-body-l-font-size);
                ${_emotion.paginationTokens.paginationFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_emotion.paginationTokens.paginationFontWeight}: var(--plasma-typo-body-l-bold-font-weight);
                ${_emotion.paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_emotion.paginationTokens.paginationLineHeight}: var(--plasma-typo-body-l-line-height);

                ${_emotion.paginationTokens.buttonHeight}: 3.5rem;
                ${_emotion.paginationTokens.buttonWidth}: 3rem;
                ${_emotion.paginationTokens.buttonWidthShorter}: 2.25rem;
                ${_emotion.paginationTokens.paginationInputWidth}: 4rem;
                ${_emotion.paginationTokens.buttonRadius}: 0.875rem;
                ${_emotion.paginationTokens.paginationIconSize}: 1.2rem;
                ${_emotion.paginationTokens.paginationIconDoubleSize}: 1.45rem;
                ${_emotion.paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.5rem;

                ${_emotion.paginationTokens.selectHeight}: auto;
                ${_emotion.paginationTokens.selectPaddingTop}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingRight}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingBottom}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingLeft}: 0.125rem;

                ${_emotion.paginationTokens.selectItemHeight}: 1.5rem;
                ${_emotion.paginationTokens.selectItemPadding}: 1rem 1rem 1rem 1rem;
                ${_emotion.paginationTokens.selectItemContentLeftWidth}: 1.875rem;
                ${_emotion.paginationTokens.selectItemBackground}: transparent;

                ${_emotion.paginationTokens.selectTargetArrowRight}: 1rem;
                ${_emotion.paginationTokens.selectTargetPadding}: 1.5rem 0 1.5rem;
                ${_emotion.paginationTokens.selectTargetInnerTop}: 0.5rem;
                ${_emotion.paginationTokens.selectTargetLabelInnerTop}: 0.375rem;

                ${_emotion.paginationTokens.inputBorderRadius}: 0.875rem;
                ${_emotion.paginationTokens.inputWidth}: 4rem;
                ${_emotion.paginationTokens.inputHeight}: 3.5rem;
                ${_emotion.paginationTokens.inputPadding}: 0 0.625rem;
                ${_emotion.paginationTokens.inputBorderWidth}: 0.0625rem;

                ${_emotion.paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;
            `,
            m: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationFontFamily}: var(--plasma-typo-body-m-font-family);
                ${_emotion.paginationTokens.paginationFontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.paginationTokens.paginationFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.paginationTokens.paginationFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
                ${_emotion.paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.paginationTokens.paginationLineHeight}: var(--plasma-typo-body-m-line-height);

                ${_emotion.paginationTokens.buttonHeight}: 3rem;
                ${_emotion.paginationTokens.buttonWidth}: 3rem;
                ${_emotion.paginationTokens.buttonWidthShorter}: 2rem;
                ${_emotion.paginationTokens.paginationInputWidth}: 3.5rem;
                ${_emotion.paginationTokens.buttonRadius}: 0.75rem;
                ${_emotion.paginationTokens.paginationIconSize}: 1.05rem;
                ${_emotion.paginationTokens.paginationIconDoubleSize}: 1.3rem;
                ${_emotion.paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.375rem;

                ${_emotion.paginationTokens.selectHeight}: auto;
                ${_emotion.paginationTokens.selectPaddingTop}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingRight}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingBottom}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingLeft}: 0.125rem;

                ${_emotion.paginationTokens.selectItemHeight}: 1.5rem;
                ${_emotion.paginationTokens.selectItemPadding}: 0.75rem 0.75rem 0.75rem 0.75rem;
                ${_emotion.paginationTokens.selectItemContentLeftWidth}: 1.75rem;
                ${_emotion.paginationTokens.selectItemBackground}: transparent;

                ${_emotion.paginationTokens.selectTargetArrowRight}: 0.875rem;
                ${_emotion.paginationTokens.selectTargetPadding}: 1.25rem 0 1.25rem;
                ${_emotion.paginationTokens.selectTargetInnerTop}: 0.5rem;
                ${_emotion.paginationTokens.selectTargetLabelInnerTop}: 0.375rem;

                ${_emotion.paginationTokens.inputBorderRadius}: 0.75rem;
                ${_emotion.paginationTokens.inputWidth}: 3.5rem;
                ${_emotion.paginationTokens.inputHeight}: 3rem;
                ${_emotion.paginationTokens.inputPadding}: 0 0.625rem;
                ${_emotion.paginationTokens.inputBorderWidth}: 0.0625rem;

                ${_emotion.paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;
            `,
            s: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_emotion.paginationTokens.paginationFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.paginationTokens.paginationFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.paginationTokens.paginationFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
                ${_emotion.paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.paginationTokens.paginationLineHeight}: var(--plasma-typo-body-s-line-height);

                ${_emotion.paginationTokens.buttonHeight}: 2.5rem;
                ${_emotion.paginationTokens.buttonWidth}: 2.5rem;
                ${_emotion.paginationTokens.buttonWidthShorter}: 1.75rem;
                ${_emotion.paginationTokens.paginationInputWidth}: 3rem;
                ${_emotion.paginationTokens.buttonRadius}: 0.625rem;
                ${_emotion.paginationTokens.paginationIconSize}: 0.9rem;
                ${_emotion.paginationTokens.paginationIconDoubleSize}: 1.15rem;
                ${_emotion.paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;

                ${_emotion.paginationTokens.selectHeight}: auto;
                ${_emotion.paginationTokens.selectPaddingTop}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingRight}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingBottom}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingLeft}: 0.125rem;

                ${_emotion.paginationTokens.selectItemHeight}: 1.5rem;
                ${_emotion.paginationTokens.selectItemPadding}: 0.5rem 0.75rem 0.5rem 0.75rem;
                ${_emotion.paginationTokens.selectItemContentLeftWidth}: 1.75rem;
                ${_emotion.paginationTokens.selectItemBackground}: transparent;

                ${_emotion.paginationTokens.selectTargetArrowRight}: 0.75rem;
                ${_emotion.paginationTokens.selectTargetPadding}: 1rem 0 1rem;
                ${_emotion.paginationTokens.selectTargetInnerTop}: 0.5rem;
                ${_emotion.paginationTokens.selectTargetLabelInnerTop}: 0.375rem;

                ${_emotion.paginationTokens.inputBorderRadius}: 0.625rem;
                ${_emotion.paginationTokens.inputWidth}: 3rem;
                ${_emotion.paginationTokens.inputHeight}: 2.5rem;
                ${_emotion.paginationTokens.inputPadding}: 0 0.625rem;
                ${_emotion.paginationTokens.inputBorderWidth}: 0.0625rem;

                ${_emotion.paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;
            `,
            xs: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.paginationTokens.paginationFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.paginationTokens.paginationFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.paginationTokens.paginationFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
                ${_emotion.paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.paginationTokens.paginationLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_emotion.paginationTokens.buttonHeight}: 2rem;
                ${_emotion.paginationTokens.paginationInputWidth}: 2.5rem;
                ${_emotion.paginationTokens.buttonRadius}: 0.5rem;
                ${_emotion.paginationTokens.buttonWidth}: 2rem;
                ${_emotion.paginationTokens.buttonWidthShorter}: 1.5rem;
                ${_emotion.paginationTokens.paginationIconSize}: 0.75rem;
                ${_emotion.paginationTokens.paginationIconDoubleSize}: 1rem;
                ${_emotion.paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;

                ${_emotion.paginationTokens.selectHeight}: auto;
                ${_emotion.paginationTokens.selectPaddingTop}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingRight}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingBottom}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingLeft}: 0.125rem;

                ${_emotion.paginationTokens.selectItemHeight}: 1rem;
                ${_emotion.paginationTokens.selectItemPadding}: 0.5rem 0.5rem 0.5rem 0.5rem;
                ${_emotion.paginationTokens.selectItemContentLeftWidth}: 1.25rem;
                ${_emotion.paginationTokens.selectItemBackground}: transparent;

                ${_emotion.paginationTokens.selectTargetArrowRight}: 0.5rem;
                ${_emotion.paginationTokens.selectTargetPadding}: 0.75rem 0 0.75rem;
                ${_emotion.paginationTokens.selectTargetInnerTop}: 0.5rem;
                ${_emotion.paginationTokens.selectTargetLabelInnerTop}: 0.375rem;

                ${_emotion.paginationTokens.inputBorderRadius}: 0.5rem;
                ${_emotion.paginationTokens.inputWidth}: 2.5rem;
                ${_emotion.paginationTokens.inputHeight}: 2rem;
                ${_emotion.paginationTokens.inputPadding}: 0 0.625rem;
                ${_emotion.paginationTokens.inputBorderWidth}: 0.0625rem;

                ${_emotion.paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;
            `
        },
        type: {
            compact: (0, _emotion.css)``,
            default: (0, _emotion.css)``
        }
    }
};
