forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hidden] Migrate to emotion (mui#24544)
- Loading branch information
1 parent
e748cde
commit ad78dec
Showing
4 changed files
with
126 additions
and
45 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
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
export interface HiddenCssClasses { | ||
root: string; | ||
xlDown: string; | ||
xlUp: string; | ||
onlyXl: string; | ||
lgDown: string; | ||
lgUp: string; | ||
onlyLg: string; | ||
mdDown: string; | ||
mdUp: string; | ||
onlyMd: string; | ||
smDown: string; | ||
smUp: string; | ||
onlySm: string; | ||
xsDown: string; | ||
xsUp: string; | ||
onlyXs: string; | ||
} | ||
|
||
declare const hiddenCssClasses: HiddenCssClasses; | ||
|
||
export function getHiddenCssUtilityClass(slot: string): string; | ||
|
||
export default hiddenCssClasses; |
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,26 @@ | ||
import { generateUtilityClass, generateUtilityClasses } from '@material-ui/unstyled'; | ||
|
||
export function getHiddenCssUtilityClass(slot) { | ||
return generateUtilityClass('PrivateHiddenCss', slot); | ||
} | ||
|
||
const hiddenCssClasses = generateUtilityClasses('PrivateHiddenCss', [ | ||
'root', | ||
'xlDown', | ||
'xlUp', | ||
'onlyXl', | ||
'lgDown', | ||
'lgUp', | ||
'onlyLg', | ||
'mdDown', | ||
'mdUp', | ||
'onlyMd', | ||
'smDown', | ||
'smUp', | ||
'onlySm', | ||
'xsDown', | ||
'xsUp', | ||
'onlyXs', | ||
]); | ||
|
||
export default hiddenCssClasses; |