Skip to content

[select] Add Empty component - #5553

Open
Kunal-0117 wants to merge 3 commits into
mui:masterfrom
Kunal-0117:select-empty
Open

[select] Add Empty component#5553
Kunal-0117 wants to merge 3 commits into
mui:masterfrom
Kunal-0117:select-empty

Conversation

@Kunal-0117

@Kunal-0117 Kunal-0117 commented Aug 21, 2026

Copy link
Copy Markdown

Summary

  • Add Select.Empty for displaying content when no select items are rendered.
  • Keep the empty-state root mounted to support polite screen-reader announcements.
  • Track registered items, including dynamic updates and force-mounted popup lifecycles.
  • Add API documentation and CSS Modules/Tailwind demos.
  • Move the shared live-region utility to internals for use by Select and Combobox.

Test plan

  • Added Select.Empty unit and conformance tests.

  • Tested dynamic item updates and force-mounted popup reopening.

  • Tested accessibility behavior in jsdom and Chromium.

  • Ran TypeScript, ESLint, Stylelint, Prettier, and API documentation checks.

  • I have followed (at least) the PR section of the contributing guide.

@pkg-pr-new

pkg-pr-new Bot commented Aug 21, 2026

Copy link
Copy Markdown

commit: 7cd18b5

@netlify

netlify Bot commented Aug 21, 2026

Copy link
Copy Markdown

Deploy Preview for base-ui ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 7cd18b5
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a889a568f182a00099220ea
😎 Deploy Preview https://deploy-preview-5553--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@code-infra-dashboard

code-infra-dashboard Bot commented Aug 21, 2026

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 🔺+386B(+0.08%) 🔺+127B(+0.09%)

Details of bundle changes

Performance

Total duration: 914.36 ms -0.16 ms(0.0%) | Renders: 76 (+0) | Paint: 1,449.73 ms -6.33 ms(-0.4%)

No significant changes — details


Check out the code infra dashboard for more information about this PR.

@Kunal-0117
Kunal-0117 marked this pull request as draft August 21, 2026 06:59
@Kunal-0117
Kunal-0117 marked this pull request as ready for review August 21, 2026 08:31
@zannager zannager added the component: select Changes related to the select component. label Aug 21, 2026
@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: select Changes related to the select component. PR: out-of-date The pull request has merge conflicts and can't be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants