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