-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] Ensure component class keys aren't missing (#25754)
- Loading branch information
Showing
486 changed files
with
4,880 additions
and
5,455 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 was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { generateUtilityClass, generateUtilityClasses } from '@material-ui/unstyled'; | ||
|
||
export interface TabPanelClasses { | ||
/** Styles applied to the root element. */ | ||
root: string; | ||
} | ||
|
||
export type TabPanelClassKey = keyof TabPanelClasses; | ||
|
||
export function getTabPanelUtilityClass(slot: string): string { | ||
return generateUtilityClass('MuiTabPanel', slot); | ||
} | ||
|
||
const tabPanelClasses: TabPanelClasses = generateUtilityClasses('MuiTabPanel', ['root']); | ||
|
||
export default tabPanelClasses; |
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
9 changes: 0 additions & 9 deletions
9
packages/material-ui-lab/src/TimelineConnector/timelineConnectorClasses.d.ts
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
packages/material-ui-lab/src/TimelineConnector/timelineConnectorClasses.js
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
packages/material-ui-lab/src/TimelineConnector/timelineConnectorClasses.ts
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,19 @@ | ||
import { generateUtilityClass, generateUtilityClasses } from '@material-ui/unstyled'; | ||
|
||
export interface TimelineConnectorClasses { | ||
/** Styles applied to the root element. */ | ||
root: string; | ||
} | ||
|
||
export type TimelineConnectorClassKey = keyof TimelineConnectorClasses; | ||
|
||
export function getTimelineConnectorUtilityClass(slot: string): string { | ||
return generateUtilityClass('MuiTimelineConnector', slot); | ||
} | ||
|
||
const timelineConnectorClasses: TimelineConnectorClasses = generateUtilityClasses( | ||
'MuiTimelineConnector', | ||
['root'], | ||
); | ||
|
||
export default timelineConnectorClasses; |
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
9 changes: 0 additions & 9 deletions
9
packages/material-ui-lab/src/TimelineContent/timelineContentClasses.d.ts
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
packages/material-ui-lab/src/TimelineContent/timelineContentClasses.js
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
packages/material-ui-lab/src/TimelineContent/timelineContentClasses.ts
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,25 @@ | ||
import { generateUtilityClass, generateUtilityClasses } from '@material-ui/unstyled'; | ||
|
||
export interface TimelineContentClasses { | ||
/** Styles applied to the root element. */ | ||
root: string; | ||
/** Styles applied to the root element if `position="right"`. */ | ||
positionRight: string; | ||
/** Styles applied to the root element if `position="left"`. */ | ||
positionLeft: string; | ||
/** Styles applied to the root element if `position="alternate"`. */ | ||
positionAlternate: string; | ||
} | ||
|
||
export type TimelineContentClassKey = keyof TimelineContentClasses; | ||
|
||
export function getTimelineContentUtilityClass(slot: string): string { | ||
return generateUtilityClass('MuiTimelineContent', slot); | ||
} | ||
|
||
const timelineContentClasses: TimelineContentClasses = generateUtilityClasses( | ||
'MuiTimelineContent', | ||
['root', 'positionLeft', 'positionRight', 'positionAlternate'], | ||
); | ||
|
||
export default timelineContentClasses; |
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
9 changes: 0 additions & 9 deletions
9
packages/material-ui-lab/src/TimelineDot/timelineDotClasses.d.ts
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
packages/material-ui-lab/src/TimelineDot/timelineDotClasses.js
This file was deleted.
Oops, something went wrong.
42 changes: 42 additions & 0 deletions
42
packages/material-ui-lab/src/TimelineDot/timelineDotClasses.ts
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,42 @@ | ||
import { generateUtilityClass, generateUtilityClasses } from '@material-ui/unstyled'; | ||
|
||
export interface TimelineDotClasses { | ||
/** Styles applied to the root element. */ | ||
root: string; | ||
/** Styles applied to the root element if `variant="filled"`. */ | ||
filled: string; | ||
/** Styles applied to the root element if `variant="outlined"`. */ | ||
outlined: string; | ||
/** Styles applied to the root element if `color="grey"` and `variant="filled"`. */ | ||
filledGrey: string; | ||
/** Styles applied to the root element if `color="grey"` and `variant="outlined"`. */ | ||
outlinedGrey: string; | ||
/** Styles applied to the root element if `color="primary"` and `variant="filled"`. */ | ||
filledPrimary: string; | ||
/** Styles applied to the root element if `color="primary"` and `variant="outlined"`. */ | ||
outlinedPrimary: string; | ||
/** Styles applied to the root element if `color="secondary"` and `variant="filled"`. */ | ||
filledSecondary: string; | ||
/** Styles applied to the root element if `color="secondary"` and `variant="outlined"`. */ | ||
outlinedSecondary: string; | ||
} | ||
|
||
export type TimelineDotClassKey = keyof TimelineDotClasses; | ||
|
||
export function getTimelineDotUtilityClass(slot: string): string { | ||
return generateUtilityClass('MuiTimelineDot', slot); | ||
} | ||
|
||
const timelineDotClasses: TimelineDotClasses = generateUtilityClasses('MuiTimelineDot', [ | ||
'root', | ||
'filled', | ||
'outlined', | ||
'filledGrey', | ||
'outlinedGrey', | ||
'filledPrimary', | ||
'outlinedPrimary', | ||
'filledSecondary', | ||
'outlinedSecondary', | ||
]); | ||
|
||
export default timelineDotClasses; |
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
9 changes: 0 additions & 9 deletions
9
packages/material-ui-lab/src/TimelineItem/timelineItemClasses.d.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.