"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "addSelected", {
    enumerable: true,
    get: function() {
        return addSelected;
    }
});
const _Calendartokens = require("../Calendar.tokens");
const addSelected = (args)=>{
    const { minWidth, minHeight, selectedFontWeight, selectedBackground, selectedColor, selectableBackgroundHover, currentBorderColor, currentBorderWidth } = args;
    return `
        outline: none;
        cursor: pointer;

        &:hover {
            background-color: ${selectableBackgroundHover};
        };
        

        &.${_Calendartokens.classes.hoveredItem}, &.${_Calendartokens.classes.hoveredItem}:hover {
            background-color: ${selectedBackground};
            color: ${selectedColor};
            cursor: pointer;
            font-weight: ${selectedFontWeight};
        }

        &.${_Calendartokens.classes.selectedItem}:not(.${_Calendartokens.classes.currentItem}) {
            border: 0;
            background-color: ${selectedBackground};
            color: ${selectedColor};
            cursor: default;
            font-weight: ${selectedFontWeight};
        };

        &.${_Calendartokens.classes.currentItem} {
            border: ${currentBorderWidth} solid ${currentBorderColor};

            &.${_Calendartokens.classes.selectedItem} {
                background-color: initial;
                color: ${selectedColor};
                font-weight: ${selectedFontWeight};

                & > div:first-of-type {
                    background-color: ${selectedBackground};
                    min-width: ${minWidth};
                    min-height: ${minHeight};
                }
            }
        };
    `;
};
