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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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