Skip to content

Conversation

@lisalupi
Copy link
Collaborator

Summary

Type

  • Enhancement

Summarise concisely:

What is expected?

All Popup components (Popover, Tooltip, Menu): 4 new positions auto- to have auto-placement but give priority to a direction. For instance, auto-bottom will try to place the popup beneath the disclosure first, if there is not enough place it will try top, then left, then right.
The priorities are :

  • auto-bottom : bottom > top > left > right
  • auto-left : left > right > top > bottom
  • auto-right : right > left > top > bottom
  • auto and auto-top : top > bottom > left > right

BREAKING CHANGE
Menu: prop noShrink renamed shrink with opposite behavior

@lisalupi lisalupi requested review from a team, fabienhebert and philibea November 14, 2025 13:58
@lisalupi lisalupi self-assigned this Nov 14, 2025
@lisalupi lisalupi added the enhancement New feature or request label Nov 14, 2025
@changeset-bot
Copy link

changeset-bot bot commented Nov 14, 2025

🦋 Changeset detected

Latest commit: bf289db

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@ultraviolet/ui Patch
@ultraviolet/form Patch
@ultraviolet/nextjs Patch
@ultraviolet/plus Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov
Copy link

codecov bot commented Nov 14, 2025

Codecov Report

❌ Patch coverage is 78.26087% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.61%. Comparing base (2c0b5c4) to head (bf289db).
⚠️ Report is 44 commits behind head on beta.

Files with missing lines Patch % Lines
packages/ui/src/components/Popup/helpers.ts 75.00% 5 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             beta    #5782      +/-   ##
==========================================
- Coverage   91.85%   91.61%   -0.25%     
==========================================
  Files         320      337      +17     
  Lines        7087     6974     -113     
  Branches     2843     2743     -100     
==========================================
- Hits         6510     6389     -121     
- Misses        577      585       +8     
Files with missing lines Coverage Δ
packages/ui/src/components/Menu/MenuContent.tsx 90.75% <100.00%> (-4.12%) ⬇️
packages/ui/src/components/Tabs/TabMenu.tsx 100.00% <ø> (+10.00%) ⬆️
packages/ui/src/components/Popup/helpers.ts 76.19% <75.00%> (+0.24%) ⬆️

... and 141 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7020d50...bf289db. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants