Skip to content

Commit d9095c1

Browse files
Merge pull request #1 from material-next/rebranding
[docs] Rename to Material-Next
2 parents d78dd66 + df415bb commit d9095c1

1,442 files changed

Lines changed: 2378 additions & 2378 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.babelrc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"presets": ["./scripts/material-ui-babel-preset-env", "stage-1", "react"],
2+
"presets": ["./scripts/material-next-babel-preset-env", "stage-1", "react"],
33
"plugins": [
44
"transform-object-assign"
55
],
@@ -29,8 +29,8 @@
2929
{
3030
"alias": {
3131
"pages": "./pages",
32-
"material-ui": "./src",
33-
"material-ui-icons": './packages/material-ui-icons/src',
32+
"@material-next/core": "./src",
33+
"@material-next/icons": './packages/material-next-icons/src',
3434
"docs": "./docs"
3535
}
3636
}
@@ -50,8 +50,8 @@
5050
{
5151
"alias": {
5252
"pages": "./pages",
53-
"material-ui": "./src",
54-
"material-ui-icons": './packages/material-ui-icons/src',
53+
"@material-next/core": "./src",
54+
"@material-next/icons": './packages/material-next-icons/src',
5555
"docs": "./docs"
5656
}
5757
}

.eslintrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
ecmaVersion: 7,
1717
sourceType: 'module',
1818
},
19-
plugins: ['babel', 'import', 'jsx-a11y', 'mocha', 'flowtype', 'material-ui', 'prettier'],
19+
plugins: ['babel', 'import', 'jsx-a11y', 'mocha', 'flowtype', 'material-next', 'prettier'],
2020
settings: {
2121
'import/resolver': {
2222
webpack: {
@@ -79,7 +79,7 @@ module.exports = {
7979
'react/default-props-match-prop-types': 'off', // Buggy
8080
'react/jsx-curly-brace-presence': 'off', // Buggy
8181

82-
'material-ui/docgen-ignore-before-comment': 'error',
82+
'@material-next/core/docgen-ignore-before-comment': 'error',
8383

8484
'mocha/handle-done-callback': 'error',
8585
'mocha/no-exclusive-tests': 'error',

.github/ISSUE_TEMPLATE.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
<!--- Provide a general summary of the issue in the Title above -->
22

33
<!--
4-
Thank you very much for contributing to Material-UI by creating an issue! ❤️
4+
Thank you very much for contributing to Material-Next by creating an issue! ❤️
55
To avoid duplicate issues we ask you to check off the following list.
66
-->
77

88
<!-- Checked checkbox should look like this: [x] -->
9-
- [ ] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate.
9+
- [ ] I have searched the [issues](https://github.com/material-next/material-next/issues) of this repository and believe that this is not a duplicate.
1010

1111
## Expected Behavior
12-
<!---
12+
<!---
1313
If you're describing a bug, tell us what should happen.
14-
If you're suggesting a change/improvement, tell us how it should work.
14+
If you're suggesting a change/improvement, tell us how it should work.
1515
-->
1616

1717
## Current Behavior
18-
<!---
18+
<!---
1919
If describing a bug, tell us what happens instead of the expected behavior.
20-
If suggesting a change/improvement, explain the difference from current behavior.
20+
If suggesting a change/improvement, explain the difference from current behavior.
2121
-->
2222

2323
## Steps to Reproduce (for bugs)
24-
<!---
25-
Provide a link to a live example (you can use codesandbox.io) and an unambiguous set of steps to reproduce this bug.
26-
Include code to reproduce, if relevant (which it most likely is).
24+
<!---
25+
Provide a link to a live example (you can use codesandbox.io) and an unambiguous set of steps to reproduce this bug.
26+
Include code to reproduce, if relevant (which it most likely is).
2727
28-
This codesandbox.io template _may_ be a good starting point:
29-
https://codesandbox.io/s/github/mui-org/material-ui/tree/v1-beta/examples/create-react-app
28+
This codesandbox.io template _may_ be a good starting point:
29+
https://codesandbox.io/s/github/material-next/material-next/tree/v1-beta/examples/create-react-app
3030
3131
32-
If YOU DO NOT take time to provide a codesandbox.io reproduction, should the COMMUNITY take time to help you?
32+
If YOU DO NOT take time to provide a codesandbox.io reproduction, should the COMMUNITY take time to help you?
3333
3434
-->
3535

@@ -39,17 +39,17 @@
3939
4.
4040

4141
## Context
42-
<!---
43-
How has this issue affected you? What are you trying to accomplish?
42+
<!---
43+
How has this issue affected you? What are you trying to accomplish?
4444
Providing context helps us come up with a solution that is most useful in the real world.
45-
-->
45+
-->
4646

4747
## Your Environment
4848
<!--- Include as many relevant details about the environment with which you experienced the bug. -->
4949

5050
| Tech | Version |
5151
|--------------|---------|
52-
| Material-UI | |
52+
| Material-Next | |
5353
| React | |
5454
| browser | |
5555
| etc | |

CHANGELOG.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ Big thanks to the 14 contributors who made this release possible.
310310

311311
Here are some highlights ✨:
312312
- New InputAdornment component (#8504)
313-
- New [Frequently asked questions](https://github.com/mui-org/material-ui/blob/4df547d56448cedf70977d6e2463b38eaf64d1c7/docs/src/pages/getting-started/frequently-asked-questions.md) documentation section
313+
- New [Frequently asked questions](https://github.com/material-next/material-next/blob/4df547d56448cedf70977d6e2463b38eaf64d1c7/docs/src/pages/getting-started/frequently-asked-questions.md) documentation section
314314
- We have saved 1 KB gzip by removing our internal react-transition-group fork (#8785)
315315
- We have made one step further in order to upgrade all our development dependencies to react@16 (#8804)
316316

@@ -640,7 +640,7 @@ Thanks for the support!
640640
Here are some highlights ✨:
641641
- Introduction of the first codemods for the `v0.x -> v1.x` migration as well as a documentation page. @vividh (#8311, #8333, #8314)
642642
- The TypeScript definitions made an important step forward with more than 10 PRs merged. @pelotom @sebald @xaviergonz and more
643-
- Wondering how Material-UI compares to the other solutions out there?
643+
- Wondering how Material-Next compares to the other solutions out there?
644644
We have created a documentation page to stress the tradeoffs taken. (#8319)
645645
- `material-ui@next` has just [crossed **react-toolbox**](https://npm-stat.com/charts.html?package=react-scrollbar-size&package=react-toolbox&from=2017-01-24&to=2017-09-24) in terms of downloads on npm.
646646

@@ -1101,7 +1101,7 @@ Push #7741 initiative forward (use `value` and `onChange` as controlling propert
11011101
#### Docs
11021102

11031103
- [docs] Use Next.js: x2 performance (#7759) @oliviertassinari
1104-
- [docs] Add the 'data grid for Material-UI' reference (#7786) @dxbykov
1104+
- [docs] Add the 'data grid for Material-Next' reference (#7786) @dxbykov
11051105
- [docs] Renamed the styleSheet argument in withStyles to styles (#7819) @phiilu
11061106
- [docs] Advanced table (#7824) @oliviertassinari
11071107
- [docs] Fix typo (#7777) @Merkyl999x
@@ -1598,11 +1598,11 @@ This release introduces an important change in the API and the implementation.
15981598
Each exposed component is wrapped with a `withStyles` Higher-order component.
15991599
This HOC has different responsibilities, the one you gonna be interested in is
16001600
regarding the `classes` property. Now, we consider the CSS as a public API.
1601-
You now have two way to customize absolutely all the CSS injected by Material-UI.
1601+
You now have two way to customize absolutely all the CSS injected by Material-Next.
16021602
Either the instance level with the `classes` property or the class level with the
16031603
`overrides` theme property.
16041604

1605-
To [learn more about it](https://material-ui-next.com/customization/overrides), have a look at the documentation. Also, these options are automatically [documented](http://0.0.0.0:3000/component-api/button#classes).
1605+
To learn more about it, have a look at the documentation.
16061606

16071607
### Breaking changes
16081608

@@ -1784,7 +1784,7 @@ Big thanks to the 11 contributors who are pushing the `next` branch forward.
17841784

17851785
We are continuing investing in the documentation and the test suite.
17861786

1787-
Visual regression tests are now sent to [argos-ci](https://www.argos-ci.com/mui-org/material-ui).
1787+
Visual regression tests are now sent to [argos-ci](https://www.argos-ci.com/material-next/material-next).
17881788
Thanks @agamrafaeli for increasing the test coverage of 1% since the last release (95.23%).
17891789
Thanks @mbrookes for fixing the inconsistency of the API and improving the API.
17901790

@@ -2105,14 +2105,14 @@ A big thanks to the 20 contributors who are making this release possible.
21052105
We are releasing sooner than we use to for this **special day** :christmas_tree::gift:.
21062106
17 contributors are making that last release of the year possible.
21072107

2108-
2016 has been an exceptional year for Material-UI.
2108+
2016 has been an exceptional year for Material-Next.
21092109
- We went from 40k to 180k [downloads](https://npm-stat.com/charts.html?package=material-ui&from=2014-12-24&to=2016-12-25) a month. :package:
2110-
- We went from 12k to 22k [stars](http://www.timqian.com/star-history/#mui-org/material-ui). :star:
2110+
- We went from 12k to 22k [stars](http://www.timqian.com/star-history/#material-next/material-next). :star:
21112111

21122112
That wouldn't have been possible without this awesome community.
21132113
**Thank you!**
21142114

2115-
But this's just the beginning, some [exciting stuff](https://github.com/mui-org/material-ui/blob/master/ROADMAP.md) is coming in 2017 :sparkles:.
2115+
But this's just the beginning, some [exciting stuff](https://github.com/material-next/material-next/blob/master/ROADMAP.md) is coming in 2017 :sparkles:.
21162116
You can preview a **very early** version of the `next` branch following [that link](https://material-ui-next.com).
21172117

21182118
#### Component Fixes / Enhancements
@@ -2191,7 +2191,7 @@ This is another release improving the stability of `v0.16.x`.
21912191
## 0.16.3
21922192
###### _Nov 17, 2016_
21932193

2194-
This release is intended to solve an [issue](https://github.com/mui-org/material-ui/issues/5573) with `react-tap-event-plugin` following the release of React `v15.4.0`.
2194+
This release is intended to solve an [issue](https://github.com/material-next/material-next/issues/5573) with `react-tap-event-plugin` following the release of React `v15.4.0`.
21952195

21962196
#### Component Fixes / Enhancements
21972197

@@ -2300,7 +2300,7 @@ We are switching in goal so we can release changes more **often**.
23002300
Regarding going forward, this is likely to be the last `minor` release using the **inline-style** approach.
23012301
We are migrating all the components to a **CSS-in-JS** approach on the `next` branch.
23022302

2303-
For more details, you can have a look a the [next milestone](https://github.com/mui-org/material-ui/milestone/14) as well as the [next project](https://github.com/mui-org/material-ui/projects/1)
2303+
For more details, you can have a look a the [next milestone](https://github.com/material-next/material-next/milestone/14) as well as the [next project](https://github.com/material-next/material-next/projects/1)
23042304

23052305
:warning: New features based on the `master` branch (inline-style) have low priority and will most likely not be reviewed nor merged.
23062306

@@ -2688,7 +2688,7 @@ documentation page.
26882688

26892689
Have a ton of imports? almost had a heart attack? worry not, we also made a tool
26902690
to ease your pain. checkout the
2691-
[readme](https://github.com/mui-org/material-ui/tree/master/packages/material-ui-codemod/README.md).
2691+
[readme](https://github.com/material-next/material-next/tree/master/packages/material-ui-codemod/README.md).
26922692

26932693
##### Breaking Changes
26942694
- [Core] Improve import path for published lib (#3921)
@@ -2778,7 +2778,7 @@ Although we discourage you to use this library like that.
27782778
###### _Mar 18, 2016_
27792779

27802780
##### Breaking Changes
2781-
- [Core] if you used Material-UI from npm in CommonJS environment,
2781+
- [Core] if you used Material-Next from npm in CommonJS environment,
27822782
you need to add `.default` to your requires (#3648):
27832783

27842784
```diff
@@ -2878,7 +2878,7 @@ import MUI from 'material-ui'; // no changes here :D
28782878
This release includes huge improvements to the implementation
28792879
of components and utility modules. The most important improvement
28802880
is the removal of mixins from the library, thanks to the
2881-
[great efforts](https://github.com/mui-org/material-ui/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed+author%3Anewoga+style-propable)
2881+
[great efforts](https://github.com/material-next/material-next/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed+author%3Anewoga+style-propable)
28822882
of @newoga :+1:
28832883

28842884
There are also improvements to the unit testing infrastructure. We own this
@@ -3312,7 +3312,7 @@ Have a look at them as well.
33123312
###### _Oct 21, 2015_
33133313

33143314
##### Breaking Changes
3315-
- Material-UI for React 0.14.x
3315+
- Material-Next for React 0.14.x
33163316

33173317
#### Component Fixes / Enhancements
33183318
- FloatingActionButton now has iconStyle prop (#1575)
@@ -3331,7 +3331,7 @@ v0.12.4 should have really been v0.13.0 as it breaks compatibility with React 0.
33313331
## 0.12.4
33323332
###### _Oct 19, 2015_
33333333

3334-
**This version is not compatible with React 0.13.x.** If you're on React 0.13.x, use Material-UI v0.12.5 instead.
3334+
**This version is not compatible with React 0.13.x.** If you're on React 0.13.x, use Material-Next v0.12.5 instead.
33353335

33363336
##### General
33373337
- React 0.14 compatible
@@ -3766,13 +3766,13 @@ We've cleaned up some of our click/tap events. (#771) Upgrade should be straight
37663766

37673767
##### Breaking Changes
37683768
- Refactored all CSS into Javascript (#30, #316)
3769-
- All Material-UI components now have their styles defined inline. This solves
3769+
- All Material-Next components now have their styles defined inline. This solves
37703770
many problems with CSS as mentions in [@vjeux's presentation](https://speakerdeck.com/vjeux/react-css-in-js)
37713771
such as polluting the global namespace with classes that really should be
37723772
component specific. In addition to the benefits mentioned in the
3773-
presentation, inline styles allow Material-UI to become CSS preprocessor
3773+
presentation, inline styles allow Material-Next to become CSS preprocessor
37743774
agnostic and make Themeing much more dynamic and simple.
3775-
[Read our CSS in JS discussion](https://github.com/mui-org/material-ui/issues/30)
3775+
[Read our CSS in JS discussion](https://github.com/material-next/material-next/issues/30)
37763776
- Upgrade path:
37773777
- *If you are overriding component CSS classes:* Redefine your overrides as
37783778
an object following [React's inline styles format](https://facebook.github.io/react/tips/inline-styles.html),
@@ -3781,12 +3781,12 @@ We've cleaned up some of our click/tap events. (#771) Upgrade should be straight
37813781
overriding a nested element of the component, check the component's
37823782
documentation and see if there is a style prop available for that nested
37833783
element. If a style prop does not exist for the component's nested element
3784-
that you are trying to override, [submit an issue](https://github.com/mui-org/material-ui/issues/new)
3784+
that you are trying to override, [submit an issue](https://github.com/material-next/material-next/issues/new)
37853785
requesting to have it added.
3786-
- *If you are using any of Material-UI's Less files:* These files have been
3787-
refactored into their [own javascript files](https://github.com/mui-org/material-ui/tree/css-in-js/src/styles)
3786+
- *If you are using any of Material-Next's Less files:* These files have been
3787+
refactored into their [own javascript files](https://github.com/material-next/material-next/tree/css-in-js/src/styles)
37883788
and can be accessed like so `var FILENAME = require('material-ui').Styles.FILENAME;`.
3789-
Material-UI has moved away from being a CSS Framework to being simply a
3789+
Material-Next has moved away from being a CSS Framework to being simply a
37903790
set of React components.
37913791
- Paper component no longer generates nested divs (#601)
37923792
- This allowed us to simplify styling of paper containers. As a result, styling the inner div is no longer necessary.
@@ -3795,7 +3795,7 @@ We've cleaned up some of our click/tap events. (#771) Upgrade should be straight
37953795
- Themes have been added (#202)
37963796
- Requiring individual components is now supported (#363)
37973797
- An example would be: `var SvgIcon = require('material-ui/lib/svg-icon);`
3798-
- The `/lib` folder in Material-UI contains the file structure needed when referencing individual components.
3798+
- The `/lib` folder in Material-Next contains the file structure needed when referencing individual components.
37993799

38003800
##### Components
38013801
- Date Picker
@@ -3941,7 +3941,7 @@ We've cleaned up some of our click/tap events. (#771) Upgrade should be straight
39413941
For FontIcon, create a custom font file and include it in your project and just pass the Icon
39423942
className into the FontIcon component. For SvgIcon, create a new React component that represents
39433943
that particular icon. This will allow you to package your icons inside your js files. Examples
3944-
can be found [here](https://github.com/mui-org/material-ui/tree/master/src/js/svg-icons).
3944+
can be found [here](https://github.com/material-next/material-next/tree/master/src/js/svg-icons).
39453945
- Additionally, all components that had an icon prop now take an iconClassName prop instead. These
39463946
include FloatingActionButton, IconButton, Menu, MenuItem, and DropDownIcon.
39473947

@@ -4225,7 +4225,7 @@ We've cleaned up some of our click/tap events. (#771) Upgrade should be straight
42254225

42264226
## 0.2.2
42274227
###### _Nov. 11, 2014_
4228-
- Changed project structure to be less confusing. Material-UI components/styles live in the src directory.
4228+
- Changed project structure to be less confusing. Material-Next components/styles live in the src directory.
42294229
Docs site code lives in the docs directory. This still allows us to easily test components in the docs site
42304230
as we are working on them
42314231
- Added .editorconfig to help keep code formatting consistent among contributors. See http://editorconfig.org/

0 commit comments

Comments
 (0)