Skip to content

Commit

Permalink
[core] Batch small changes (#19717)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Feb 15, 2020
1 parent c1c6690 commit 0426817
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Please note that `@next` will only point to pre-releases; to get the latest stab

### Diamond 💎

Diamond Sponsors are those who have pledged $2,000/month or more to Material-UI.
Diamond Sponsors are those who have pledged $1,500/month or more to Material-UI.

### Gold 🏆

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/api/divider.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You can learn more about the difference by [reading this guide](/guides/minimizi
| <span class="prop-name">absolute</span> | <span class="prop-type">bool</span> | <span class="prop-default">false</span> | Absolutely position the element. |
| <span class="prop-name">classes</span> | <span class="prop-type">object</span> | | Override or extend the styles applied to the component. See [CSS API](#css) below for more details. |
| <span class="prop-name">component</span> | <span class="prop-type">elementType</span> | <span class="prop-default">'hr'</span> | The component used for the root node. Either a string to use a DOM element or a component. |
| <span class="prop-name">flexItem</span> | <span class="prop-type">bool</span> | <span class="prop-default">false</span> | If `true`, the divider will adapt to a parent flex container. |
| <span class="prop-name">flexItem</span> | <span class="prop-type">bool</span> | <span class="prop-default">false</span> | If `true`, a vertical divider will have the correct height when used in flex container. (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.) |
| <span class="prop-name">light</span> | <span class="prop-type">bool</span> | <span class="prop-default">false</span> | If `true`, the divider will have a lighter color. |
| <span class="prop-name">orientation</span> | <span class="prop-type">'horizontal'<br>&#124;&nbsp;'vertical'</span> | <span class="prop-default">'horizontal'</span> | The divider orientation. |
| <span class="prop-name">variant</span> | <span class="prop-type">'fullWidth'<br>&#124;&nbsp;'inset'<br>&#124;&nbsp;'middle'</span> | <span class="prop-default">'fullWidth'</span> | The variant to use. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ Premium components:

- **You’ve contributed to a design system before**. You have worked on enterprise components in the past, maybe for internal usage in your company. You have built complex and advanced features while making sure the accessibility was fully functional.
- **You’ve maintained an active repository before**. Maybe you’ve helped maintain a popular open source repo, or perhaps you’ve worked on internal repos that saw contributions from multiple teams. Previous experience with highly active repo workflows is a definite plus for this role.
- **You have used Material-UI before**. You have built a non trivial application with Material-UI in the past. You know the limitations of the library, you know a few areas that could be improved.
- **You have contributed code to Material-UI before**. A history of contributing to Material-UI would be a definite plus.

## The best parts of this job
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/drawers/ResponsiveDrawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ ResponsiveDrawer.propTypes = {
* Injected by the documentation to work in an iframe.
* You won't need it on your project.
*/
container: PropTypes.instanceOf(typeof Element === 'undefined' ? Object : Element),
container: PropTypes.any,
};

export default ResponsiveDrawer;
2 changes: 1 addition & 1 deletion docs/src/pages/components/drawers/ResponsiveDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ interface ResponsiveDrawerProps {
* Injected by the documentation to work in an iframe.
* You won't need it on your project.
*/
container?: Element;
container?: any;
}

export default function ResponsiveDrawer(props: ResponsiveDrawerProps) {
Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/icons/icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Material-UI provides icons support in three ways:

## Material Icons

Material Design has standardized over 1,000 official icons, each in five different "themes" (see below). For each SVG icon, we export the respective React component from the @material-ui/icons package. You can [search the full list of these icons](/components/material-icons/).
Material Design has standardized over 1,100 official icons, each in five different "themes" (see below). For each SVG icon, we export the respective React component from the @material-ui/icons package. You can [search the full list of these icons](/components/material-icons/).

### Usage

Expand Down Expand Up @@ -101,7 +101,7 @@ import StarIcon from './star.svg';

#### Material Design (recommended)

Material Design has standardized over [1,000 official icons](#material-icons).
Material Design has standardized over [1,100 official icons](#material-icons).

#### MDI

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/material-icons/material-icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ components: Icon, SvgIcon

# Material Icons

<p class="description">1,000+ React Material icons ready to use from the official website.</p>
<p class="description">1,100+ React Material icons ready to use from the official website.</p>

The following npm package,
[@material-ui/icons](https://www.npmjs.com/package/@material-ui/icons),
includes the 1,000+ official [Material icons](https://material.io/tools/icons/?style=baseline) converted to [`SvgIcon`](/api/svg-icon/) components.
includes the 1,100+ official [Material icons](https://material.io/tools/icons/?style=baseline) converted to [`SvgIcon`](/api/svg-icon/) components.

{{"demo": "pages/components/material-icons/SearchIcons.js", "hideHeader": true, "bg": true}}

Expand Down
7 changes: 7 additions & 0 deletions docs/src/pages/components/selects/selects.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ Menus are positioned over their emitting elements such that the currently select

{{"demo": "pages/components/selects/SimpleSelect.js"}}

## Advanced features

The Select component is meant to be interchangeable with a native `<select>` element.

If you are looking for more advanced features, like combobox, multiselect, autocomplete, async or creatable support, head to the [`Autocomplete` component](/components/autocomplete/).
It's also meant to be an improved version of the "react-select" package.

## Native Select

As the user experience can be improved on mobile using the native select of the platform,
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/discover-more/backers/backers.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The core of Material-UI is a crowd-funded open-source project, licensed under th

*3/3 slots available*

Diamond Sponsors are those who have pledged $2,000/month or more to Material-UI.
Diamond Sponsors are those who have pledged $1,500/month or more to Material-UI.
Please contact us at diamond@material-ui.com to subscribe to this tier.

### Gold 🏆
Expand Down
3 changes: 2 additions & 1 deletion packages/material-ui/src/Divider/Divider.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ Divider.propTypes = {
*/
component: PropTypes.elementType,
/**
* If `true`, the divider will adapt to a parent flex container.
* If `true`, a vertical divider will have the correct height when used in flex container.
* (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)
*/
flexItem: PropTypes.bool,
/**
Expand Down

0 comments on commit 0426817

Please sign in to comment.