"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get ListWrapper () {
        return ListWrapper;
    },
    get StyledEmptyState () {
        return StyledEmptyState;
    },
    get Ul () {
        return Ul;
    },
    get base () {
        return base;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _react = require("@emotion/react");
const _engines = require("../../engines");
const _EmptyState = require("../EmptyState");
const _utils = require("./utils");
const _Selecttokens = require("./Select.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const mergedConfig = (0, _engines.mergeConfig)(_EmptyState.emptyStateConfig);
const EmptyState = (0, _engines.component)(mergedConfig);
const ListWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e473fu60",
    label: "ListWrapper"
})("width:", ({ listWidth })=>listWidth || '100%', ";padding:calc(var(", _Selecttokens.tokens.padding, ") + var(", _Selecttokens.tokens.dropdownBorderWidth, ",0rem));border-radius:var(", _Selecttokens.tokens.borderRadius, ");box-sizing:border-box;background:var(", _Selecttokens.constants.background, ");box-shadow:", _Selecttokens.constants.boxShadow, ",inset 0 0 0 var(", _Selecttokens.tokens.dropdownBorderWidth, ",0rem) var(", _Selecttokens.tokens.dropdownBorderColor, ",transparent);");
const Ul = (0, /*#__PURE__*/ _styled.default)("ul", {
    target: "e473fu61",
    label: "Ul"
})("max-height:", ({ virtual, listMaxHeight })=>// eslint-disable-next-line no-nested-ternary
    virtual ? 'auto' : listMaxHeight ? (0, _utils.getCorrectHeight)(listMaxHeight) : 'auto', ";overflow-x:hidden;overflow-y:", ({ virtual })=>virtual ? 'visible' : 'auto', ";border-radius:calc(var(", _Selecttokens.tokens.borderRadius, ") - 0.125rem - var(", _Selecttokens.tokens.dropdownBorderWidth, ",0rem));margin:0;padding:0;.", _Selecttokens.classes.emptyStateWrapper, "{box-shadow:none;}");
const StyledEmptyState = /*#__PURE__*/ (0, _styled.default)(EmptyState, {
    target: "e473fu62",
    label: "StyledEmptyState"
})(_EmptyState.emptyStateTokens.borderRadius, ":var(", _Selecttokens.tokens.textFieldBorderRadius, ");", _EmptyState.emptyStateTokens.padding, ":var(", _Selecttokens.tokens.emptyStatePadding, ");", _EmptyState.emptyStateTokens.fontFamily, ":var(", _Selecttokens.tokens.textFieldFontFamily, ");", _EmptyState.emptyStateTokens.fontSize, ":var(", _Selecttokens.tokens.textFieldFontSize, ");", _EmptyState.emptyStateTokens.fontStyle, ":var(", _Selecttokens.tokens.textFieldFontStyle, ");", _EmptyState.emptyStateTokens.fontWeight, ":var(", _Selecttokens.tokens.textFieldFontWeight, ");", _EmptyState.emptyStateTokens.fontLetterSpacing, ":var(", _Selecttokens.tokens.textFieldLetterSpacing, ");", _EmptyState.emptyStateTokens.fontLineHeight, ":var(", _Selecttokens.tokens.textFieldLineHeight, ");");
const base = (0, /*#__PURE__*/ _react.css)("base");
