import * as __WEBPACK_EXTERNAL_MODULE_antd_style__ from "antd-style";
function _tagged_template_literal(strings, raw) {
    if (!raw) raw = strings.slice(0);
    return Object.freeze(Object.defineProperties(strings, {
        raw: {
            value: Object.freeze(raw)
        }
    }));
}
function _templateObject() {
    const data = _tagged_template_literal([
        "\n      /* NOTE: 这里的样式是为了让搜索框的样式, 避免上层 antd 写死的 padding-left: 24px 的影响 */\n      position: absolute;\n      top: 0;\n      left: 0;\n      right: 0;\n      display: flex;\n      flex-direction: row;\n      align-items: flex-start;\n\n      /* NOTE: 放这三个样式是为了提升选择器优先级, 覆盖掉 antd 的默认样式 */\n      .ant-input-outlined.ant-input-outlined.ant-input-outlined {\n        background-color: #f9f9f9;\n        border-radius: 5px;\n        border: none;\n        box-shadow: none;\n      }\n\n      /* 移除 antd 默认的后置搜索图标 */\n      .ant-input-group-addon {\n        display: none;\n      }\n\n      .menu-add-wrapper {\n        .ant-dropdown-trigger {\n          display: grid;\n          place-items: center;\n\n          width: 30px;\n          /* 这里是为了和前边元素保持对齐, antd 组件写死了高度 */\n          height: 28px;\n\n          cursor: pointer;\n\n          :hover,\n          :active {\n            border-radius: 5px;\n            color: #ffffff;\n            background-color: #f4f4f4;\n          }\n        }\n      }\n    "
    ]);
    _templateObject = function() {
        return data;
    };
    return data;
}
const useStyles = (0, __WEBPACK_EXTERNAL_MODULE_antd_style__.createStyles)((param)=>{
    let { css, token } = param;
    return {
        menuSearchAdd: css(_templateObject())
    };
});
export { useStyles };
