File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
polaris-react/src/components/BulkActions/components Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' polaris-glints ' : minor
3+ ---
4+
5+ pressed bulk action button style
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ export type BulkActionButtonProps = {
1313 indicator ?: boolean ;
1414 handleMeasurement ?( width : number ) : void ;
1515 showContentInButton ?: boolean ;
16+ pressed ?: boolean ;
1617} & DisableableAction ;
1718
1819export function BulkActionButton ( {
@@ -26,6 +27,7 @@ export function BulkActionButton({
2627 disabled,
2728 indicator,
2829 showContentInButton,
30+ pressed,
2931} : BulkActionButtonProps ) {
3032 const bulkActionButton = useRef < HTMLDivElement > ( null ) ;
3133
@@ -56,6 +58,7 @@ export function BulkActionButton({
5658 < Icon source = { HorizontalDotsMinor } color = "base" />
5759 ) : undefined
5860 }
61+ pressed = { pressed }
5962 >
6063 { buttonContent }
6164 </ Button >
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export function BulkActionMenu({
2828 onAction = { toggleMenuVisibility }
2929 content = { title }
3030 indicator = { isNewBadgeInBadgeActions }
31+ pressed = { isVisible }
3132 />
3233 }
3334 onClose = { toggleMenuVisibility }
You can’t perform that action at this time.
0 commit comments