Skip to content

Add vertical fan-out directions to ToolbarFanOutItem#89

Merged
einari merged 2 commits into
mainfrom
copilot/add-fan-out-direction-up-down
May 26, 2026
Merged

Add vertical fan-out directions to ToolbarFanOutItem#89
einari merged 2 commits into
mainfrom
copilot/add-fan-out-direction-up-down

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 26, 2026

Summary

ToolbarFanOutItem only supported horizontal fan-out (left/right). This change adds vertical fan-out support (up/down) and updates styling/docs/examples so the new directions are usable and discoverable.

Added

  • fanOutDirection support for 'up' | 'down' in ToolbarFanOutItemProps
  • Fan-out panel CSS variants for vertical placement/reveal: .toolbar-fanout-panel--up and .toolbar-fanout-panel--down
  • Focused spec coverage for default/right and explicit up/down class output
  • Storybook example demonstrating downward fan-out in a horizontal toolbar

Changed

  • ToolbarFanOutItem direction type from 'right' | 'left' to 'right' | 'left' | 'up' | 'down'
  • Toolbar fan-out docs to include vertical direction usage examples
<ToolbarFanOutItem icon='pi pi-th-large' tooltip='Shapes' fanOutDirection='up'>
    ...
</ToolbarFanOutItem>

<ToolbarFanOutItem icon='pi pi-th-large' tooltip='Shapes' fanOutDirection='down'>
    ...
</ToolbarFanOutItem>

Fixed

  • Missing support for vertical fan-out direction in ToolbarFanOutItem

Removed

  • None.

Security

  • None.

Deprecated

  • None.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • storybook.js.org
    • Triggering command: /opt/hostedtoolcache/node/24.15.0/x64/bin/node /opt/hostedtoolcache/node/24.15.0/x64/bin/node /home/REDACTED/work/Components/Components/node_modules/storybook/dist/bin/dispatcher.js dev -p 6006 --host 0.0.0.0 --port 6006 (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI linked an issue May 26, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add support for fan out direction up or down for ToolbarFanOutItem Add vertical fan-out directions to ToolbarFanOutItem May 26, 2026
Copilot AI requested a review from einari May 26, 2026 13:15
Copilot finished work on behalf of einari May 26, 2026 13:16
@einari einari added the patch label May 26, 2026
@einari einari marked this pull request as ready for review May 26, 2026 13:23
@einari einari merged commit 60555cf into main May 26, 2026
7 checks passed
@einari einari deleted the copilot/add-fan-out-direction-up-down branch May 26, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fan out direction for ToolbarFanOutItem

2 participants