diff --git a/.changeset/good-files-teach.md b/.changeset/good-files-teach.md new file mode 100644 index 000000000..b0af274c0 --- /dev/null +++ b/.changeset/good-files-teach.md @@ -0,0 +1,5 @@ +--- +'@keystar/ui': patch +--- + +Fixed `buttonLabelBehavior` for `ActionGroup` not passed by `ActionBar` diff --git a/design-system/pkg/src/action-bar/ActionBar.tsx b/design-system/pkg/src/action-bar/ActionBar.tsx index 4bed1a9f8..c8051c2dc 100644 --- a/design-system/pkg/src/action-bar/ActionBar.tsx +++ b/design-system/pkg/src/action-bar/ActionBar.tsx @@ -62,6 +62,7 @@ function ActionBarInner( selectedItemCount, isOpen, items, + buttonLabelBehavior, } = props; let styleProps = useStyleProps(props); @@ -157,7 +158,7 @@ function ActionBarInner( aria-label={stringFormatter.format('actions')} prominence="low" overflowMode="collapse" - buttonLabelBehavior="collapse" + buttonLabelBehavior={buttonLabelBehavior} onAction={onAction} gridArea="actiongroup" >