forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically import icons from @material-ui/icons if package install…
…ed (#840) * Update packages + remove postinstall prompt * Import icons from @material-ui/icons if it is installed * Add unit test for MuiIcon.test.tsx * Move import of MuiIcon to the top for not mocked test * Move default icons to the repository * Remove @material-ui/icons from the optionalDependecies * Remove icon font step from the installation guide
- Loading branch information
1 parent
3efea2d
commit f03eccb
Showing
29 changed files
with
2,630 additions
and
1,279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
docs/src/Pages/Components/DatePicker/CustomElementsDatePicker.example.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; | ||
|
||
function LightbulbOutline(props: SvgIconProps) { | ||
return ( | ||
<SvgIcon {...props}> | ||
<path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z" /> | ||
</SvgIcon> | ||
); | ||
} | ||
|
||
LightbulbOutline.muiName = 'SvgIcon'; | ||
|
||
export default LightbulbOutline; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
{ | ||
"build/dist/material-ui-pickers.esm.js": { | ||
"bundled": 114194, | ||
"minified": 67295, | ||
"gzipped": 14631, | ||
"bundled": 115237, | ||
"minified": 68052, | ||
"gzipped": 14835, | ||
"treeshaked": { | ||
"rollup": { | ||
"code": 49588, | ||
"code": 50219, | ||
"import_statements": 1317 | ||
}, | ||
"webpack": { | ||
"code": 56392 | ||
"code": 57185 | ||
} | ||
} | ||
}, | ||
"build/dist/material-ui-pickers.umd.js": { | ||
"bundled": 230591, | ||
"minified": 100591, | ||
"gzipped": 25518 | ||
"bundled": 231850, | ||
"minified": 101280, | ||
"gzipped": 25689 | ||
}, | ||
"build/dist/material-ui-pickers.umd.min.js": { | ||
"bundled": 201925, | ||
"minified": 90623, | ||
"gzipped": 23903 | ||
"bundled": 203184, | ||
"minified": 91312, | ||
"gzipped": 24082 | ||
} | ||
} |
Oops, something went wrong.