"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "StyledTimeGrid", {
    enumerable: true,
    get: function() {
        return StyledTimeGrid;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _TimePickerGrid = require("../../../TimePickerGrid");
const _engines = require("../../../../engines");
const _DateTimePickertokens = require("../../DateTimePicker.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const mergedTimePickerGrid = (0, _engines.mergeConfig)(_TimePickerGrid.timePickerGridConfig);
const TimePickerGrid = (0, _engines.component)(mergedTimePickerGrid);
const StyledTimeGrid = /*#__PURE__*/ (0, _styled.default)(TimePickerGrid, {
    target: "eaxkx5p0",
    label: "StyledTimeGrid"
})("flex-shrink:2;", _TimePickerGrid.timePickerGridTokens.timePickerGridWidth, ":", ({ innerWidth, columns })=>innerWidth && innerWidth !== '0' ? '100%' : `calc(var(${_DateTimePickertokens.tokens.timePickerColumnWidth}) * ${columns} + var(${_DateTimePickertokens.tokens.timePickerColumnGap}) * ${columns - 1})`, ";", _TimePickerGrid.timePickerGridTokens.columnHeight, ":", ({ innerHeight })=>innerHeight && innerHeight !== '0' ? `calc(${innerHeight} - var(${_DateTimePickertokens.tokens.popoverVerticalPadding}))` : `var(${_DateTimePickertokens.tokens.timePickerColumnHeight})`, ";", _TimePickerGrid.timePickerGridTokens.itemHeight, ":var(", _DateTimePickertokens.tokens.timePickerItemHeight, ");", _TimePickerGrid.timePickerGridTokens.itemBorderRadius, ":var(", _DateTimePickertokens.tokens.timePickerItemBorderRadius, ");", _TimePickerGrid.timePickerGridTokens.itemPadding, ":var(", _DateTimePickertokens.tokens.timePickerItemPadding, ");", _TimePickerGrid.timePickerGridTokens.itemBackgroundHover, ":var(", _DateTimePickertokens.tokens.timePickerItemBackgroundHover, ");", _TimePickerGrid.timePickerGridTokens.itemBackgroundActive, ":var(", _DateTimePickertokens.tokens.timePickerItemBackgroundActive, ");", _TimePickerGrid.timePickerGridTokens.itemFocusColor, ":var(", _DateTimePickertokens.tokens.outlineFocusColor, ");", _TimePickerGrid.timePickerGridTokens.itemFontFamily, ":var(", _DateTimePickertokens.tokens.timePickerItemFontFamily, ");", _TimePickerGrid.timePickerGridTokens.itemFontSize, ":var(", _DateTimePickertokens.tokens.timePickerItemFontSize, ");", _TimePickerGrid.timePickerGridTokens.itemFontStyle, ":var(", _DateTimePickertokens.tokens.timePickerItemFontStyle, ");", _TimePickerGrid.timePickerGridTokens.itemFontWeight, ":var(", _DateTimePickertokens.tokens.timePickerItemFontWeight, ");", _TimePickerGrid.timePickerGridTokens.itemLetterSpacing, ":var(", _DateTimePickertokens.tokens.timePickerItemLetterSpacing, ");", _TimePickerGrid.timePickerGridTokens.itemLineHeight, ":var(", _DateTimePickertokens.tokens.timePickerItemLineHeight, ");", _TimePickerGrid.timePickerGridTokens.scrollbarWidth, ":var(", _DateTimePickertokens.tokens.timePickerScrollbarWidth, ");", _TimePickerGrid.timePickerGridTokens.scrollbarColor, ":var(", _DateTimePickertokens.tokens.timePickerScrollbarColor, ");", _TimePickerGrid.timePickerGridTokens.scrollbarTrackColor, ":var(", _DateTimePickertokens.tokens.timePickerScrollbarTrackColor, ");", _TimePickerGrid.timePickerGridTokens.scrollbarMargin, ":var(", _DateTimePickertokens.tokens.timePickerScrollbarMargin, ");", _TimePickerGrid.timePickerGridTokens.disabledOpacity, ":var(", _DateTimePickertokens.tokens.timeGridDisabledOpacity, ");");
