"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 _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'default',
        size: 'l',
        orientation: 'vertical'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.noteTokens.background}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.noteTokens.color}: ${_sdds_serv.textPrimary};
                ${_emotion.noteTokens.contentBeforeColor}: ${_sdds_serv.textPrimary};
            `,
            positive: (0, _emotion.css)`
                ${_emotion.noteTokens.background}: ${_sdds_serv.surfaceTransparentPositive};
                ${_emotion.noteTokens.color}: ${_sdds_serv.textPrimary};
                ${_emotion.noteTokens.contentBeforeColor}: ${_sdds_serv.textPositive};
            `,
            warning: (0, _emotion.css)`
                ${_emotion.noteTokens.background}: ${_sdds_serv.surfaceTransparentWarning};
                ${_emotion.noteTokens.color}: ${_sdds_serv.textPrimary};
                ${_emotion.noteTokens.contentBeforeColor}: ${_sdds_serv.textWarning};
            `,
            negative: (0, _emotion.css)`
                ${_emotion.noteTokens.background}: ${_sdds_serv.surfaceTransparentNegative};
                ${_emotion.noteTokens.color}: ${_sdds_serv.textPrimary};
                ${_emotion.noteTokens.contentBeforeColor}: ${_sdds_serv.textNegative};
            `,
            info: (0, _emotion.css)`
                ${_emotion.noteTokens.background}: ${_sdds_serv.surfaceTransparentInfo};
                ${_emotion.noteTokens.color}: ${_sdds_serv.textPrimary};
                ${_emotion.noteTokens.contentBeforeColor}: ${_sdds_serv.textInfo};
            `
        },
        size: {
            l: (0, _emotion.css)`
                ${_emotion.noteTokens.padding}: 1.5rem 1.875rem;
                ${_emotion.noteTokens.paddingScalable}: 1.5rem 1.75rem;
                ${_emotion.noteTokens.borderRadius}: 0.875rem;
                ${_emotion.noteTokens.gap}: 0.75rem;
                ${_emotion.noteTokens.gapScalable}: 1rem;
                ${_emotion.noteTokens.contentGap}: 0.25rem;

                ${_emotion.noteTokens.paddingBottomWithActionContent}: 0.4375rem;

                ${_emotion.noteTokens.closeIconTop}: 1rem;
                ${_emotion.noteTokens.closeIconRight}: 1rem;
                ${_emotion.noteTokens.closeIconColor}: ${_sdds_serv.textSecondary};
                ${_emotion.noteTokens.closeIconColorOnHover}: ${_sdds_serv.textSecondaryHover};
                ${_emotion.noteTokens.closeIconSize}: 1.5rem;
                ${_emotion.noteTokens.closeIconButtonSize}: 1.5rem;

                ${_emotion.noteTokens.fixedContentBeforeWidth}: 1.5rem;
                ${_emotion.noteTokens.fixedContentBeforeHeight}: 2rem;
                ${_emotion.noteTokens.fixedContentBeforePadding}: 0.25rem 0rem;

                ${_emotion.noteTokens.titleFontFamily}: ${_sdds_serv.textL.fontFamily};
                ${_emotion.noteTokens.titleFontSize}: ${_sdds_serv.textL.fontSize};
                ${_emotion.noteTokens.titleFontStyle}: ${_sdds_serv.textL.fontStyle};
                ${_emotion.noteTokens.titleFontWeight}: ${_sdds_serv.textLBold.fontWeight};
                ${_emotion.noteTokens.titleLetterSpacing}: ${_sdds_serv.textL.letterSpacing};
                ${_emotion.noteTokens.titleLineHeight}: ${_sdds_serv.textL.lineHeight};
                ${_emotion.noteTokens.titlePaddingRight}: 1.875rem;

                ${_emotion.noteTokens.textFontFamily}: ${_sdds_serv.textL.fontFamily};
                ${_emotion.noteTokens.textFontSize}: ${_sdds_serv.textL.fontSize};
                ${_emotion.noteTokens.textFontStyle}: ${_sdds_serv.textL.fontStyle};
                ${_emotion.noteTokens.textFontWeight}: ${_sdds_serv.textL.fontWeight};
                ${_emotion.noteTokens.textLetterSpacing}: ${_sdds_serv.textL.letterSpacing};
                ${_emotion.noteTokens.textLineHeight}: ${_sdds_serv.textL.lineHeight};
            `,
            m: (0, _emotion.css)`
                ${_emotion.noteTokens.padding}: 1.25rem 1.5rem;
                ${_emotion.noteTokens.paddingScalable}: 1.25rem;
                ${_emotion.noteTokens.borderRadius}: 0.75rem;
                ${_emotion.noteTokens.gap}: 0.625rem;
                ${_emotion.noteTokens.gapScalable}: 0.75rem;
                ${_emotion.noteTokens.contentGap}: 0.125rem;

                ${_emotion.noteTokens.paddingBottomWithActionContent}: 0.5rem;

                ${_emotion.noteTokens.closeIconTop}: 0.75rem;
                ${_emotion.noteTokens.closeIconRight}: 0.75rem;
                ${_emotion.noteTokens.closeIconColor}: ${_sdds_serv.textSecondary};
                ${_emotion.noteTokens.closeIconColorOnHover}: ${_sdds_serv.textSecondaryHover};
                ${_emotion.noteTokens.closeIconSize}: 1.5rem;
                ${_emotion.noteTokens.closeIconButtonSize}: 1.5rem;

                ${_emotion.noteTokens.fixedContentBeforeWidth}: 1.5rem;
                ${_emotion.noteTokens.fixedContentBeforeHeight}: 1.625rem;
                ${_emotion.noteTokens.fixedContentBeforePadding}: 0rem;

                ${_emotion.noteTokens.titleFontFamily}: ${_sdds_serv.textM.fontFamily};
                ${_emotion.noteTokens.titleFontSize}: ${_sdds_serv.textM.fontSize};
                ${_emotion.noteTokens.titleFontStyle}: ${_sdds_serv.textM.fontStyle};
                ${_emotion.noteTokens.titleFontWeight}: ${_sdds_serv.textMBold.fontWeight};
                ${_emotion.noteTokens.titleLetterSpacing}: ${_sdds_serv.textM.letterSpacing};
                ${_emotion.noteTokens.titleLineHeight}: ${_sdds_serv.textM.lineHeight};
                ${_emotion.noteTokens.titlePaddingRight}: 1.75rem;

                ${_emotion.noteTokens.textFontFamily}: ${_sdds_serv.textM.fontFamily};
                ${_emotion.noteTokens.textFontSize}: ${_sdds_serv.textM.fontSize};
                ${_emotion.noteTokens.textFontStyle}: ${_sdds_serv.textM.fontStyle};
                ${_emotion.noteTokens.textFontWeight}: ${_sdds_serv.textM.fontWeight};
                ${_emotion.noteTokens.textLetterSpacing}: ${_sdds_serv.textM.letterSpacing};
                ${_emotion.noteTokens.textLineHeight}: ${_sdds_serv.textM.lineHeight};
            `,
            s: (0, _emotion.css)`
                ${_emotion.noteTokens.padding}: 1rem 1.25rem;
                ${_emotion.noteTokens.paddingScalable}: 1rem;
                ${_emotion.noteTokens.borderRadius}: 0.625rem;
                ${_emotion.noteTokens.gap}: 0.5rem;
                ${_emotion.noteTokens.gapScalable}: 0.75rem;
                ${_emotion.noteTokens.contentGap}: 0.125rem;

                ${_emotion.noteTokens.paddingBottomWithActionContent}: 0.3125rem;

                ${_emotion.noteTokens.closeIconTop}: 0.625rem;
                ${_emotion.noteTokens.closeIconRight}: 0.625rem;
                ${_emotion.noteTokens.closeIconColor}: ${_sdds_serv.textSecondary};
                ${_emotion.noteTokens.closeIconColorOnHover}: ${_sdds_serv.textSecondaryHover};
                ${_emotion.noteTokens.closeIconSize}: 1.5rem;
                ${_emotion.noteTokens.closeIconButtonSize}: 1.5rem;

                ${_emotion.noteTokens.fixedContentBeforeWidth}: 1rem;
                ${_emotion.noteTokens.fixedContentBeforeHeight}: 1.125rem;
                ${_emotion.noteTokens.fixedContentBeforePadding}: 0.063rem 0rem;

                ${_emotion.noteTokens.titleFontFamily}: ${_sdds_serv.textS.fontFamily};
                ${_emotion.noteTokens.titleFontSize}: ${_sdds_serv.textS.fontSize};
                ${_emotion.noteTokens.titleFontStyle}: ${_sdds_serv.textS.fontStyle};
                ${_emotion.noteTokens.titleFontWeight}: ${_sdds_serv.textSBold.fontWeight};
                ${_emotion.noteTokens.titleLetterSpacing}: ${_sdds_serv.textS.letterSpacing};
                ${_emotion.noteTokens.titleLineHeight}: ${_sdds_serv.textS.lineHeight};
                ${_emotion.noteTokens.titlePaddingRight}: 1.625rem;

                ${_emotion.noteTokens.textFontFamily}: ${_sdds_serv.textS.fontFamily};
                ${_emotion.noteTokens.textFontSize}: ${_sdds_serv.textS.fontSize};
                ${_emotion.noteTokens.textFontStyle}: ${_sdds_serv.textS.fontStyle};
                ${_emotion.noteTokens.textFontWeight}: ${_sdds_serv.textS.fontWeight};
                ${_emotion.noteTokens.textLetterSpacing}: ${_sdds_serv.textS.letterSpacing};
                ${_emotion.noteTokens.textLineHeight}: ${_sdds_serv.textS.lineHeight};
            `,
            xs: (0, _emotion.css)`
                ${_emotion.noteTokens.padding}: 0.75rem 1rem;
                ${_emotion.noteTokens.paddingScalable}: 0.75rem;
                ${_emotion.noteTokens.borderRadius}: 0.5rem;
                ${_emotion.noteTokens.gap}: 0.375rem;
                ${_emotion.noteTokens.gapScalable}: 0.5rem;
                ${_emotion.noteTokens.contentGap}: 0.125rem;

                ${_emotion.noteTokens.paddingBottomWithActionContent}: 0.1875rem;

                ${_emotion.noteTokens.closeIconTop}: 0.625rem;
                ${_emotion.noteTokens.closeIconRight}: 0.625rem;
                ${_emotion.noteTokens.closeIconColor}: ${_sdds_serv.textSecondary};
                ${_emotion.noteTokens.closeIconColorOnHover}: ${_sdds_serv.textSecondaryHover};
                ${_emotion.noteTokens.closeIconSize}: 1rem;
                ${_emotion.noteTokens.closeIconButtonSize}: 1rem;

                ${_emotion.noteTokens.fixedContentBeforeWidth}: 1rem;
                ${_emotion.noteTokens.fixedContentBeforeHeight}: 1rem;
                ${_emotion.noteTokens.fixedContentBeforePadding}: 0rem;

                ${_emotion.noteTokens.titleFontFamily}: ${_sdds_serv.textXS.fontFamily};
                ${_emotion.noteTokens.titleFontSize}: ${_sdds_serv.textXS.fontSize};
                ${_emotion.noteTokens.titleFontStyle}: ${_sdds_serv.textXS.fontStyle};
                ${_emotion.noteTokens.titleFontWeight}: ${_sdds_serv.textXSBold.fontWeight};
                ${_emotion.noteTokens.titleLetterSpacing}: ${_sdds_serv.textXS.letterSpacing};
                ${_emotion.noteTokens.titleLineHeight}: ${_sdds_serv.textXS.lineHeight};
                ${_emotion.noteTokens.titlePaddingRight}: 1.5rem;

                ${_emotion.noteTokens.textFontFamily}: ${_sdds_serv.textXS.fontFamily};
                ${_emotion.noteTokens.textFontSize}: ${_sdds_serv.textXS.fontSize};
                ${_emotion.noteTokens.textFontStyle}: ${_sdds_serv.textXS.fontStyle};
                ${_emotion.noteTokens.textFontWeight}: ${_sdds_serv.textXS.fontWeight};
                ${_emotion.noteTokens.textLetterSpacing}: ${_sdds_serv.textXS.letterSpacing};
                ${_emotion.noteTokens.textLineHeight}: ${_sdds_serv.textXS.lineHeight};
            `
        },
        orientation: {
            vertical: (0, _emotion.css)``,
            horizontal: (0, _emotion.css)``
        }
    },
    intersections: [
        {
            size: 'l',
            orientation: 'horizontal',
            style: (0, _emotion.css)`
                ${_emotion.noteTokens.actionContentMargin}: -0.5rem 0rem 0rem 1rem;
                ${_emotion.noteTokens.closeIconMargin}: 0.4375rem 0rem 0rem 1.25rem;
            `
        },
        {
            size: 'm',
            orientation: 'horizontal',
            style: (0, _emotion.css)`
                ${_emotion.noteTokens.actionContentMargin}: -0.6875rem 0rem 0rem 1rem;
                ${_emotion.noteTokens.closeIconMargin}: 0.0625rem 0rem 0rem 1.25rem;
            `
        },
        {
            size: 's',
            orientation: 'horizontal',
            style: (0, _emotion.css)`
                ${_emotion.noteTokens.actionContentMargin}: -0.625rem 0rem 0rem 0.75rem;
                ${_emotion.noteTokens.closeIconMargin}: -0.125rem 0rem 0rem 0.875rem;
            `
        },
        {
            size: 'xs',
            orientation: 'horizontal',
            style: (0, _emotion.css)`
                ${_emotion.noteTokens.actionContentMargin}: -0.5rem 0rem 0rem 0.75rem;
                ${_emotion.noteTokens.closeIconMargin}: -0.0625rem 0rem 0rem 0.875rem;
            `
        }
    ]
};
