feat: Adds a separator to Select All option (#22776)
This commit is contained in:
parent
af73c59b0a
commit
1fe4a71f5b
|
|
@ -87,5 +87,5 @@ addParameters({
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
controls: { expanded: true },
|
controls: { expanded: true, sort: 'alpha' },
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -467,6 +467,7 @@ const Select = forwardRef(
|
||||||
{selectAllEnabled && (
|
{selectAllEnabled && (
|
||||||
<Option
|
<Option
|
||||||
id="select-all"
|
id="select-all"
|
||||||
|
className="select-all"
|
||||||
key={SELECT_ALL_VALUE}
|
key={SELECT_ALL_VALUE}
|
||||||
value={SELECT_ALL_VALUE}
|
value={SELECT_ALL_VALUE}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,9 @@ export const StyledSelect = styled(AntdSelect, {
|
||||||
.ant-select-arrow .anticon:not(.ant-select-suffix) {
|
.ant-select-arrow .anticon:not(.ant-select-suffix) {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
.select-all {
|
||||||
|
border-bottom: 1px solid ${theme.colors.grayscale.light3};
|
||||||
|
}
|
||||||
${
|
${
|
||||||
oneLine &&
|
oneLine &&
|
||||||
`
|
`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue