Skip to content

[docs] Migrate Autocomplete demos #26127

Merged
mnajdova merged 6 commits intomui:nextfrom
mnajdova:docs/autocomplite-demos
May 6, 2021
Merged

[docs] Migrate Autocomplete demos #26127
mnajdova merged 6 commits intomui:nextfrom
mnajdova:docs/autocomplite-demos

Conversation

@mnajdova
Copy link
Member

@mnajdova mnajdova commented May 4, 2021

Migrates Autocomplete demos to emotion. One of #16947

Preview: https://deploy-preview-26127--material-ui.netlify.app/components/autocomplete/

@mui-pr-bot
Copy link

mui-pr-bot commented May 4, 2021

No bundle size changes

Generated by 🚫 dangerJS against 456b768

@mnajdova mnajdova requested a review from oliviertassinari May 5, 2021 16:09
import * as React from 'react';
import PropTypes from 'prop-types';
import { useTheme, makeStyles } from '@material-ui/core/styles';
import { useTheme, experimentalStyled as styled } from '@material-ui/core/styles';
Copy link
Member Author

@mnajdova mnajdova May 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vicasas @oliviertassinari would be great to have another one look into the changes on this demo too. It was a bit challenging to follow what should go where.

@mnajdova mnajdova added scope: autocomplete Changes related to the autocomplete. This includes ComboBox. docs Improvements or additions to the documentation. labels May 5, 2021
Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went a couple of step further

  • Fix dark mode issues
  • Use sx over style
  • Use Stack over ad-hoc solution, a continuation of #26094 (comment)

@oliviertassinari
Copy link
Member

oliviertassinari commented May 5, 2021

Actually, I like how unstyled components are using the CSS template string, and customization on the core component the JS Object syntax. It looks like a great call

vicasas
vicasas previously requested changes May 5, 2021
mnajdova and others added 2 commits May 6, 2021 12:35
….tsx

Co-authored-by: Víctor Casas <57921784+vicasas@users.noreply.github.com>
@mnajdova mnajdova requested a review from vicasas May 6, 2021 12:19
@mnajdova mnajdova dismissed vicasas’s stale review May 6, 2021 12:19

Comments resolved

@mnajdova mnajdova merged commit 48c53d1 into mui:next May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation. scope: autocomplete Changes related to the autocomplete. This includes ComboBox.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants