Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Migrate Autocomplete demos #26127

Merged
merged 6 commits into from
May 6, 2021
Merged

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
@@ -1,110 +1,28 @@
/* eslint-disable @typescript-eslint/no-use-before-define */
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 component: autocomplete This is the name of the generic UI component, not the React module! 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

@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
docs/src/pages/components/autocomplete/CountrySelect.tsx Outdated Show resolved Hide resolved
docs/src/pages/components/autocomplete/LimitTags.js Outdated Show resolved Hide resolved
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
component: autocomplete This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants