@@ -34,9 +34,9 @@ import {
3434} from '@fluentui/react-components' ;
3535import {
3636 AddSquare20Regular ,
37- ArrowDownloadRegular ,
38- DeleteRegular ,
39- MoreHorizontalRegular ,
37+ ArrowDownload20Regular ,
38+ Delete20Regular ,
39+ MoreHorizontal20Regular ,
4040 SubtractSquare20Regular
4141} from '@fluentui/react-icons' ;
4242import React , { useEffect , useRef , useState } from 'react' ;
@@ -143,14 +143,15 @@ const GroupIcons = (props: AsideGroupIconsProps)=>{
143143 < Tooltip withArrow relationship = "label" content = { `${ translateMessage ( 'Export' ) } ${ groupName } queries` } >
144144 < Button onClick = {
145145 ( e ) => handleDownloadHistoryGroup ( e , groupName , historyItems ) }
146- appearance = "subtle" icon = { < ArrowDownloadRegular /> } > </ Button >
146+ appearance = "subtle" icon = { < ArrowDownload20Regular /> } className = { styles . button } > </ Button >
147147 </ Tooltip >
148148 < Dialog open = { open } onOpenChange = { ( _event , data ) => setOpen ( data . open ) } >
149149 < DialogTrigger disableButtonEnhancement >
150150 < Tooltip withArrow relationship = "label" content = { `${ translateMessage ( 'Delete' ) } ${ groupName } queries` } >
151151 < Button
152152 appearance = "subtle"
153- icon = { < DeleteRegular /> }
153+ icon = { < Delete20Regular /> }
154+ className = { styles . button }
154155 onClick = { ( e ) => {
155156 e . stopPropagation ( ) ;
156157 setOpen ( true ) ;
@@ -198,6 +199,7 @@ interface HistoryProps {
198199const HistoryItems = ( props : HistoryProps ) => {
199200 const dispatch = useAppDispatch ( ) ;
200201 const sidebarStyles = useSidebarStyles ( ) ;
202+ const historyStyles = useHistoryStyles ( ) ;
201203 const { groups, history} = props
202204 const shouldGenerateGroups = useRef ( true ) ;
203205 const [ selectedItemKey , setSelectedItemKey ] = useState < string | null > ( null ) ;
@@ -348,6 +350,7 @@ const HistoryItems = (props: HistoryProps)=>{
348350 aria-label = { translateMessage ( 'Remove from collection' ) }
349351 appearance = 'transparent'
350352 icon = { < SubtractSquare20Regular /> }
353+ className = { historyStyles . button }
351354 onClick = { ( e : React . MouseEvent < HTMLButtonElement > ) => {
352355 e . stopPropagation ( ) ;
353356 handleRemoveFromCollection ( h ) ;
@@ -365,6 +368,7 @@ const HistoryItems = (props: HistoryProps)=>{
365368 aria-label = { translateMessage ( 'Add to collection' ) }
366369 appearance = 'transparent'
367370 icon = { < AddSquare20Regular /> }
371+ className = { historyStyles . button }
368372 onClick = { ( e : React . MouseEvent < HTMLButtonElement > ) => {
369373 e . stopPropagation ( ) ;
370374 handleAddToCollection ( h ) ;
@@ -432,6 +436,7 @@ interface HistoryItemActionMenuProps {
432436
433437const HistoryItemActionMenu = ( props : HistoryItemActionMenuProps ) => {
434438 const dispatch = useAppDispatch ( )
439+ const historyStyles = useHistoryStyles ( )
435440 const { item} = props
436441
437442 const handleExportQuery = ( query : IHistoryItem ) => {
@@ -457,21 +462,28 @@ const HistoryItemActionMenu = (props: HistoryItemActionMenuProps)=>{
457462 }
458463 return < Menu >
459464 < MenuTrigger disableButtonEnhancement >
460- < Button tabIndex = { 0 } appearance = 'subtle' icon = { < MoreHorizontalRegular /> } > </ Button >
465+ < Button
466+ tabIndex = { 0 }
467+ appearance = 'subtle'
468+ icon = { < MoreHorizontal20Regular /> }
469+ className = { historyStyles . button }
470+ > </ Button >
461471 </ MenuTrigger >
462472
463473 < MenuPopover >
464474 < MenuList >
465475 < MenuGroup >
466476 < MenuGroupHeader > { translateMessage ( 'actions' ) } </ MenuGroupHeader >
467- < MenuItem icon = { < ArrowDownloadRegular /> }
477+ < MenuItem icon = { < ArrowDownload20Regular /> }
478+ className = { historyStyles . button }
468479 onClick = { ( e ) => {
469480 e . stopPropagation ( ) ;
470481 handleExportQuery ( item ) ;
471482 } } >
472483 { translateMessage ( 'Export' ) }
473484 </ MenuItem >
474- < MenuItem icon = { < DeleteRegular /> }
485+ < MenuItem icon = { < Delete20Regular /> }
486+ className = { historyStyles . button }
475487 onClick = { ( e ) => {
476488 e . stopPropagation ( ) ;
477489 handleDeleteQuery ( item ) ;
0 commit comments