Skip to content

Conversation

@illusionalsagacity
Copy link
Contributor

No description provided.

  - Badge: Removed @as("Root") and @as("Badge") - now uses lowercase root, badge
  - Modal: Removed @as("Root") and @as("Backdrop") - now uses lowercase root, backdrop
  - Backdrop: Removed @as("Root") - now uses lowercase root
  - Note: Breadcrumbs kept its @as("CollapsedIcon") since MUI uses uppercase for this key

  2. Changed slot types to OverridableComponent.t<slotProps> (5 components)
  - Badge: root, badge now typed as OverridableComponent.t<JsxDOM.domProps>
  - Modal: root as JsxDOM.domProps, backdrop as Backdrop.props
  - Backdrop: root as JsxDOM.domProps, transition as Transition.props
  - Breadcrumbs: collapsedIcon as SvgIcon.props
  - Tooltip: popper, transition, tooltip, arrow with appropriate prop types

  3. Added missing slot keys (4 components)
  - Alert: Added root, icon, message, action to both slots and slotProps
  - Autocomplete: Added slots type with listbox, paper, popper; added chip and listbox to slotProps
  - AvatarGroup: Added slots type with surplus; restructured slotProps
  - Backdrop: Added transition to both slots and slotProps

  4. Added missing props (1 component)
  - AvatarGroup: Added renderSurplus?: int => React.element prop

  5. Added missing slots types (4 components)
  - AvatarGroup: Replaced old slotProps with new slots/slotProps structure
  - FormControlLabel: Added slots type with typography
  - StepLabel: Added slots type with label
  - Autocomplete: Added slots type with listbox, paper, popper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant