[scheduler] Replace copied Base UI internals with @base-ui/react/internals imports#21972
Draft
flaviendelangle wants to merge 12 commits intomui:masterfrom
Draft
Conversation
…rnals imports Update @base-ui/react to a build from PR mui/base-ui#4505 which exposes internal utilities under @base-ui/react/internals/*. Replace ~46 files' imports from base-ui-copy/ with proper imports: - useRenderElement → @base-ui/react/internals/useRenderElement - BaseUIComponentProps, NonNativeButtonProps → @base-ui/react/internals/types - useButton → @base-ui/react/internals/use-button - createChangeEventDetails → @base-ui/react/internals/createBaseUIEventDetails - TemporalAdapter, TemporalSupportedObject, TemporalTimezone → @base-ui/react/internals/temporal Delete 11 now-redundant copy files (utils/ and types/ directories). Remaining in base-ui-copy/ (not yet available in internals): - composite/ (CompositeList, CompositeRootContext, useCompositeListItem) - temporal-adapter-date-fns/ (UnstableTemporalAdapterDateFns) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7 tasks
|
Deploy preview: https://deploy-preview-21972--material-ui-x.netlify.app/ Bundle size report
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update @base-ui/react to 4e7402b build which exposes CompositeList and useCompositeListItem via @base-ui/react/internals/composite. Delete the 4 remaining composite copy files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…i/react Update @base-ui/react to 0882bfb build which exposes TemporalAdapterDateFns via @base-ui/react/internals/temporal-adapter-date-fns. - Replace UnstableTemporalAdapterDateFns with TemporalAdapterDateFns - Delete the entire base-ui-copy/ directory - Remove ./base-ui-copy export from package.json - Add @base-ui/react as a dev dependency of the test package Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
rita-codes
reviewed
Apr 3, 2026
Contributor
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
6258e3d to
41048b7
Compare
Contributor
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DO NOT MERGE BEFORE
@base-ui/reactis releasedApplies mui/base-ui#4505