You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[code-infra] Subpath exports that aren't reachable from the package root #49921
tracking the findings from the export check in #49883. it runs on the built packages and flags subpath exports that can't be reached from the package root (by symbol identity, so renames and namespaces count). each one gets fixed in the lib or allowed in the check, in its own PR.
@mui/material
root unstable_ClassNameGenerator is the deprecated utils shim, not the one from @mui/material/className
EasingProps, TransitionHandlerKeys, TransitionHandlerProps, TransitionKeys, TransitionProps are only importable from /transitions
/useLazyRipple default export isn't exported from the root
@mui/system
ResponsiveStyleValue is declared twice (root vs /styleFunctionSx, Array vs ReadonlyArray)
systemDefaultTheme is two different createTheme() instances (createStyled vs /useTheme)
not reachable from root: /DefaultPropsProvider, /InitColorSchemeScript, /breakpoints (iterateBreakpoints, hasBreakpoint, DEFAULT_BREAKPOINTS, ResolveBreakpointValuesOptions), /compose (ComposedStyleFunction), /cssContainerQueries, /memoize, /merge, /propsToClassKey, /useThemeProps (ThemeWithProps, ThemedProps)
opened #49954 for the transition types, the other clear ones (styled-engine provider props, system ResponsiveStyleValue and the compose/useThemeProps types) are coming as separate prs. the ones that look path-only on purpose are now in the check's allow list on #49883 (className, useLazyRipple, the internal system helpers, useRovingTabIndex, the lab adapter shims etc).
a few i'm not sure about, @Janpot what do you think?
systemDefaultTheme: unify the two createTheme() instances, or stop exporting one?
/breakpoints and /useIsFocusVisible mix public types (ResolveBreakpointValuesOptions, UseIsFocusVisibleResult) with internal helpers. export the types from root and allow the rest, or allow the whole subpath?
slot helpers (appendOwnerState, isHostComponent, mergeSlotProps, omitEventHandlers): add to root as unstable_* like useSlotProps, or path-only?
utils types (Cancelable, DeepmergeOptions, UseControlledProps): ok at root, or keep them path-only since utils is mostly imported by subpath?
useLocalStorageState and lab's createFilterOptions: root or path-only?
Activity
maksimgm commentedon Dec 1, 2026
opened #49954 for the transition types, the other clear ones (styled-engine provider props, system
ResponsiveStyleValueand the compose/useThemeProps types) are coming as separate prs. the ones that look path-only on purpose are now in the check's allow list on #49883 (className,useLazyRipple, the internal system helpers,useRovingTabIndex, the lab adapter shims etc).a few i'm not sure about, @Janpot what do you think?
systemDefaultTheme: unify the twocreateTheme()instances, or stop exporting one?/breakpointsand/useIsFocusVisiblemix public types (ResolveBreakpointValuesOptions,UseIsFocusVisibleResult) with internal helpers. export the types from root and allow the rest, or allow the whole subpath?appendOwnerState,isHostComponent,mergeSlotProps,omitEventHandlers): add to root asunstable_*likeuseSlotProps, or path-only?Cancelable,DeepmergeOptions,UseControlledProps): ok at root, or keep them path-only since utils is mostly imported by subpath?useLocalStorageStateand lab'screateFilterOptions: root or path-only?