Skip to content

[docs] Migrate Autocomplete demos #26127

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

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

Conversation

@mnajdova

@mnajdova mnajdova commented May 4, 2021

Copy link
Copy Markdown
Member

@mui-pr-bot

mui-pr-bot commented May 4, 2021

Copy link
Copy Markdown

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';

@mnajdova mnajdova May 5, 2021

Copy link
Copy Markdown
Member Author

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

@oliviertassinari oliviertassinari left a comment

Copy link
Copy Markdown
Member

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

oliviertassinari commented May 5, 2021

Copy link
Copy Markdown
Member

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

Comment thread docs/src/pages/components/autocomplete/CustomInputAutocomplete.tsx Outdated
vicasas
vicasas previously requested changes May 5, 2021
Comment thread docs/src/pages/components/autocomplete/CountrySelect.tsx Outdated
Comment thread docs/src/pages/components/autocomplete/LimitTags.js Outdated
@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