"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: 'accent',
        size: 'm',
        focused: 'true'
    },
    variations: {
        size: {
            s: (0, _emotion.css)`
                ${_emotion.checkboxTokens.margin}: 0;
                ${_emotion.checkboxTokens.triggerPadding}: 0.0625rem;
                ${_emotion.checkboxTokens.triggerSize}: 0.875rem;
                ${_emotion.checkboxTokens.triggerBorderRadius}: 0.25rem;
                ${_emotion.checkboxTokens.triggerBorderWidth}: 0.125rem;
                ${_emotion.checkboxTokens.contentTopOffset}: 0;
                ${_emotion.checkboxTokens.contentLeftOffset}: 0.5rem;
                ${_emotion.checkboxTokens.descriptionMarginTop}: 0.125rem;
                ${_emotion.checkboxTokens.labelFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_emotion.checkboxTokens.labelFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.checkboxTokens.labelFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.checkboxTokens.labelFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_emotion.checkboxTokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.checkboxTokens.labelLineHeight}: var(--plasma-typo-body-s-line-height);
                ${_emotion.checkboxTokens.descriptionFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.checkboxTokens.descriptionFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.checkboxTokens.descriptionFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.checkboxTokens.descriptionFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_emotion.checkboxTokens.descriptionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.checkboxTokens.descriptionLineHeight}: var(--plasma-typo-body-xs-line-height);
            `,
            m: (0, _emotion.css)`
                ${_emotion.checkboxTokens.margin}: 0;
                ${_emotion.checkboxTokens.triggerPadding}: 0.125rem;
                ${_emotion.checkboxTokens.triggerSize}: 1.25rem;
                ${_emotion.checkboxTokens.triggerBorderRadius}: 0.375rem;
                ${_emotion.checkboxTokens.triggerBorderWidth}: 0.125rem;
                ${_emotion.checkboxTokens.contentTopOffset}: 0.125rem;
                ${_emotion.checkboxTokens.contentLeftOffset}: 0.75rem;
                ${_emotion.checkboxTokens.descriptionMarginTop}: 0.125rem;
                ${_emotion.checkboxTokens.labelFontFamily}: var(--plasma-typo-body-m-font-family);
                ${_emotion.checkboxTokens.labelFontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.checkboxTokens.labelFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.checkboxTokens.labelFontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_emotion.checkboxTokens.labelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.checkboxTokens.labelLineHeight}: var(--plasma-typo-body-m-line-height);
                ${_emotion.checkboxTokens.descriptionFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_emotion.checkboxTokens.descriptionFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.checkboxTokens.descriptionFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.checkboxTokens.descriptionFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_emotion.checkboxTokens.descriptionLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.checkboxTokens.descriptionLineHeight}: var(--plasma-typo-body-s-line-height);
            `,
            l: (0, _emotion.css)`
                ${_emotion.checkboxTokens.margin}: 0;
                ${_emotion.checkboxTokens.triggerPadding}: 0.125rem;
                ${_emotion.checkboxTokens.triggerSize}: 1.25rem;
                ${_emotion.checkboxTokens.triggerBorderRadius}: 0.375rem;
                ${_emotion.checkboxTokens.triggerBorderWidth}: 0.125rem;
                ${_emotion.checkboxTokens.contentTopOffset}: 0.0625rem;
                ${_emotion.checkboxTokens.contentLeftOffset}: 0.75rem;
                ${_emotion.checkboxTokens.labelFontFamily}: var(--plasma-typo-body-l-font-family);
                ${_emotion.checkboxTokens.labelFontSize}: var(--plasma-typo-body-l-font-size);
                ${_emotion.checkboxTokens.labelFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_emotion.checkboxTokens.labelFontWeight}: var(--plasma-typo-body-l-font-weight);
                ${_emotion.checkboxTokens.labelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_emotion.checkboxTokens.labelLineHeight}: var(--plasma-typo-body-l-line-height);
                ${_emotion.checkboxTokens.descriptionMarginTop}: 0.125rem;
                ${_emotion.checkboxTokens.descriptionFontFamily}: var(--plasma-typo-body-m-font-family);
                ${_emotion.checkboxTokens.descriptionFontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.checkboxTokens.descriptionFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.checkboxTokens.descriptionFontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_emotion.checkboxTokens.descriptionLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.checkboxTokens.descriptionLineHeight}: var(--plasma-typo-body-m-line-height);
            `
        },
        view: {
            accent: (0, _emotion.css)`
                ${_emotion.checkboxTokens.fillColor}: var(--text-accent);
                ${_emotion.checkboxTokens.iconColor}: var(--on-dark-text-primary);
                ${_emotion.checkboxTokens.labelColor}: var(--text-primary);
                ${_emotion.checkboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.checkboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            default: (0, _emotion.css)`
                ${_emotion.checkboxTokens.fillColor}: var(--text-primary);
                ${_emotion.checkboxTokens.iconColor}: var(--inverse-text-primary);
                ${_emotion.checkboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.checkboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            secondary: (0, _emotion.css)`
                ${_emotion.checkboxTokens.fillColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.iconColor}: var(--inverse-text-primary);
                ${_emotion.checkboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.checkboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            tertiary: (0, _emotion.css)`
                ${_emotion.checkboxTokens.fillColor}: var(--text-tertiary);
                ${_emotion.checkboxTokens.iconColor}: var(--inverse-text-primary);
                ${_emotion.checkboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.checkboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            paragraph: (0, _emotion.css)`
                ${_emotion.checkboxTokens.fillColor}: var(--text-paragraph);
                ${_emotion.checkboxTokens.iconColor}: var(--inverse-text-primary);
                ${_emotion.checkboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.checkboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            positive: (0, _emotion.css)`
                ${_emotion.checkboxTokens.fillColor}: var(--text-positive);
                ${_emotion.checkboxTokens.iconColor}: var(--on-dark-text-primary);
                ${_emotion.checkboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.checkboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            warning: (0, _emotion.css)`
                ${_emotion.checkboxTokens.fillColor}: var(--text-warning);
                ${_emotion.checkboxTokens.iconColor}: var(--on-dark-text-primary);
                ${_emotion.checkboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.checkboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            negative: (0, _emotion.css)`
                ${_emotion.checkboxTokens.fillColor}: var(--text-negative);
                ${_emotion.checkboxTokens.iconColor}: var(--on-dark-text-primary);
                ${_emotion.checkboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.checkboxTokens.triggerBorderColor}: var(--text-negative);
                ${_emotion.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `
        },
        disabled: {
            true: (0, _emotion.css)`
                ${_emotion.checkboxTokens.disabledOpacity}: 0.4;
            `
        },
        focused: {
            true: (0, _emotion.css)`
                ${_emotion.checkboxTokens.focusColor}: var(--text-accent);
            `
        }
    }
};
