@aplus-frontend/ui
Version:
2 lines (1 loc) • 1.1 kB
JavaScript
;Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../../../utils/cssinjs/index.js"),l=o=>{const{componentCls:t,namespace:e}=o,r=`${t}-popover-input`,p=`--${e}-batch-input-group-popover-left`,n=`--${e}-batch-input-group-popover-right`,i=`--${e}-batch-input-group-popover-width`;return{[t]:{position:"relative",[r]:{display:"inline-flex",alignItems:"center",[`${r}-trigger-icon`]:{cursor:"pointer",fontSize:o.fontSizeXL,color:o.textColor2,lineHeight:0,"&:hover":{color:o.colorPrimary},"&--disabled":{cursor:"not-allowed",color:o.batchInputGroupTriggerColorDisabled,"&:hover":{color:o.batchInputGroupTriggerColorDisabled}}}}},[`${r}__popover`]:{width:`var(${i})`,minWidth:"300px",left:`var(${p}) !important`,right:`var(${n}) !important`,".ant-popover-arrow":{display:"none"},".ant-popover-inner":{padding:0},[`${r}__popover--content`]:{padding:o.spaceLG,textarea:{padding:0,resize:"none"}}}}},c=a.genComponentStyleHook("BatchInputGroup",o=>[l(o)],{batchInputGroupTriggerColorDisabled:"rgba(24, 41, 72, 0.25)"});exports.default=c;