Files
ant-design/components/select/style/select-input-customize.ts
二货爱吃白萝卜 4d25be58f0 refactor: Select like component support semantic structure (#55430)
* chore: basic style

* chore: style of select variant

* chore: multiple

* chore: demo update

* chore: sizing

* chore: sizing

* chore: styles

* chore: clean up

* test: fix test case

* chore: adjust demo

* chore: adjust demo opacity

* chore: clean up

* chore: fix lint

* chore: bump ver

* chore: cascader props

* chore: bump ver

* test: update snapshot

* docs: update demo

* test: fix test case

* test: auto complete test

* test: fix semantic test

* test: fix semantic test

* chore: update test

* docs: update semantic demo

* test: simplify

* chore: clean up

* chore: fix style

* chore: fix style

* chore: fix style

* chore: fix missing

* chore: fix style

* test: update snapshot

* test: update snapshot

* chore: fix compcat style

* chore: bump version

* chore: fix style

* chore: clean up

* test: update snapshot

---------

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2025-10-27 14:02:27 +08:00

31 lines
641 B
TypeScript

import type { GenerateStyle } from '../../theme/interface';
import type { SelectToken } from './token';
const genSelectInputCustomizeStyle: GenerateStyle<SelectToken> = (token) => {
const { componentCls } = token;
return {
[`&${componentCls}-customize`]: {
border: 0,
padding: 0,
fontSize: 'inherit',
lineHeight: 'inherit',
[`${componentCls}-placeholder`]: {
display: 'none',
},
[`${componentCls}-content`]: {
margin: 0,
padding: 0,
'&-value': {
display: 'none',
},
},
},
};
};
export default genSelectInputCustomizeStyle;