Skip to content

[otp field] Unmark preview - #5029

Merged
atomiks merged 4 commits into
mui:masterfrom
atomiks:claude/quizzical-chatelet-118637
Jun 17, 2026
Merged

atomiks merged 4 commits into
mui:masterfrom
atomiks:claude/quizzical-chatelet-118637

Conversation

@atomiks

@atomiks atomiks commented Jun 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Graduates OTP Field out of preview. It has been stable through several releases, all reported issues are resolved, and the API is settled.

Breaking change: the namespace export is renamed OTPFieldPreview → OTPField. Consumers now import:

-import { OTPFieldPreview as OTPField } from '@base-ui/react/otp-field';
+import { OTPField } from '@base-ui/react/otp-field';

Follows the Drawer de-preview precedent.

What changed

  • Export (packages/react/src/otp-field/index.ts): export * as OTPFieldPreview → export * as OTPField.
  • Tests/specs/demos/type docs: updated all usages to the new export name.
  • Docs (otp-field/page.mdx): removed the "in preview" note; fixed the anatomy import.
  • Components list (components/page.mdx): OTP Field [Preview] → OTP Field [New].

OTP Field is now stable and should be imported as `{ OTPField }` from
`@base-ui/react/otp-field` instead of `{ OTPFieldPreview }`.

- Rename the namespace export `OTPFieldPreview` -> `OTPField`
- Update tests, specs, demos, and type docs to the new export name
- Remove the preview note and switch the components list tag to `[New]`
- Document password manager autofill behavior (1Password requires an
  input at least 80px wide for its inline popup to appear)
@atomiks atomiks added breaking change Introduces changes that are not backward compatible. component: otp field labels Jun 12, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 12, 2026 •

Copy link
Copy Markdown
  • base-ui-tanstack-start

  • vite-css-base-ui-example

    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/react@5029
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/utils@5029
    

commit: 8fe952c

@code-infra-dashboard

code-infra-dashboard Bot commented Jun 12, 2026 •

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react ▼-7B(0.00%) ▼-3B(0.00%)

Details of bundle changes

Performance

Total duration: 1,624.71 ms 🔺+515.31 ms(+46.4%) | Renders: 50 (+0)

Test Duration Renders
Tabs mount (200 instances) 345.76 ms 🔺+138.65 ms(+66.9%) 4 (+0)
Slider mount (300 instances) 233.41 ms 🔺+78.08 ms(+50.3%) 3 (+0)
Select mount (200 instances) 184.14 ms 🔺+54.34 ms(+41.9%) 3 (+0)
Tooltip mount (300 contained roots) 79.70 ms 🔺+36.35 ms(+83.9%) 1 (+0)
Scroll Area mount (300 instances) 120.73 ms 🔺+36.01 ms(+42.5%) 3 (+0)

…and 7 more — details

Metric alarms

Test Metric Change
Tabs mount (200 instances) bench:paint 🔺 +189.43 ms
Slider mount (300 instances) bench:paint 🔺 +116.67 ms
Select mount (200 instances) bench:paint 🔺 +75.89 ms
Tooltip mount (300 contained roots) bench:paint 🔺 +50.55 ms
Scroll Area mount (300 instances) bench:paint 🔺 +37.33 ms
Menu mount (300 instances) bench:paint 🔺 +44.84 ms
Popover mount (300 instances) bench:paint 🔺 +46.40 ms
Dialog mount (300 instances) bench:paint 🔺 +41.28 ms
Checkbox mount (500 instances) bench:paint 🔺 +36.19 ms
Mixed surface mount (app-like density) bench:paint 🔺 +39.01 ms
Select open (500 options) bench:paint 🔺 +36.93 ms
Select open (500 options) bench:paint#select-open 🔺 +36.93 ms
Menu open (500 items) bench:paint 🔺 +27.34 ms
Menu open (500 items) bench:paint#menu-open 🔺 +27.34 ms

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

@netlify

netlify Bot commented Jun 12, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 8fe952c
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a31ecb16d6e9b0008d400e6
😎 Deploy Preview https://deploy-preview-5029--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.

@atomiks atomiks changed the title [otp-field] Unmark preview [otp field] Unmark preview Jun 12, 2026
atomiks and others added 2 commits June 16, 2026 17:55
Drops the "Autofill and password managers" section (and its entry in the
components index) covering the 1Password 80px inline-popup behavior.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@atomiks
atomiks marked this pull request as ready for review June 16, 2026 08:05
@atomiks
atomiks merged commit 1ecbd50 into mui:master Jun 17, 2026
6 checks passed
@atomiks
atomiks deleted the claude/quizzical-chatelet-118637 branch June 17, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Introduces changes that are not backward compatible. component: otp field

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants