@@ -43,7 +43,7 @@ import { ComponentSizeType } from '@Shared/constants'
43
43
import { SelectPickerGroupHeadingProps , SelectPickerOptionType , SelectPickerProps } from './type'
44
44
import { getGroupCheckboxValue } from './utils'
45
45
import { Icon } from '../Icon'
46
- import { Button , ButtonProps } from '../Button'
46
+ import { Button , ButtonProps , ButtonVariantType } from '../Button'
47
47
48
48
const getTooltipProps = ( tooltipProps : SelectPickerOptionType [ 'tooltipProps' ] = { } ) : TooltipProps => {
49
49
if ( tooltipProps ) {
@@ -258,7 +258,7 @@ const SelectPickerMenuListFooter = ({
258
258
const { value } = menuListFooterConfig
259
259
260
260
return (
261
- < div className = "flex left dc__gap-6" >
261
+ < div className = "flex left dc__gap-6 p-8 " >
262
262
< Icon name = "ic-info-outline" color = "N700" size = { 16 } />
263
263
< p className = "fs-12 fw-4 fs-16 cn-8 dc__truncate" > { value } </ p >
264
264
</ div >
@@ -267,11 +267,14 @@ const SelectPickerMenuListFooter = ({
267
267
268
268
if ( type === 'button' ) {
269
269
const { buttonProps } = menuListFooterConfig
270
+ const { variant } = buttonProps
270
271
271
272
return (
272
- // We are adding justify-content: flex-start for secondary variant
273
- < div className = { `select-picker__menu-list-footer-button--${ buttonProps . variant } ` } >
274
- < Button { ...( buttonProps as ButtonProps ) } size = { ComponentSizeType . small } fullWidth />
273
+ // We are adding justify-content: flex-start for borderLess variant using this class
274
+ < div
275
+ className = { `select-picker__menu-list-footer-button--${ variant } ${ variant === ButtonVariantType . borderLess ? 'py-4' : 'p-8' } ` }
276
+ >
277
+ < Button { ...( buttonProps as ButtonProps ) } size = { ComponentSizeType . medium } fullWidth />
275
278
</ div >
276
279
)
277
280
}
@@ -308,7 +311,7 @@ export const SelectPickerMenuList = <OptionValue,>(props: MenuListProps<SelectPi
308
311
{ /* Added to the bottom of menu list to prevent from hiding when the menu is opened close to the bottom of the screen */ }
309
312
</ components . MenuList >
310
313
{ ! shouldRenderCustomOptions && menuListFooterConfig && (
311
- < div className = "dc__position-sticky dc__bottom-0 dc__bottom-radius-4 bg__menu--primary dc__zi-2 p-8 dc__border-top-n1 " >
314
+ < div className = "dc__position-sticky dc__bottom-0 dc__bottom-radius-4 bg__menu--primary dc__zi-2 border__primary-translucent--top " >
312
315
< SelectPickerMenuListFooter menuListFooterConfig = { menuListFooterConfig } />
313
316
</ div >
314
317
) }
0 commit comments