Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support UMD #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/mui/Colors.hx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package mui;

@:jsRequire('@material-ui/core', 'colors')
#if mui.global @:native('MaterialUI.colors') #else @:jsRequire('@material-ui/core', 'colors') #end
extern class Colors {
static var amber:ColorDefinition;
static var blue:ColorDefinition;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/AppBar.hx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ typedef AppBarProps = ForcedOverride<PaperProps, {
@:optional var position:CSSPosition;
}>;

@:jsRequire('@material-ui/core', 'AppBar')
#if mui.global @:native('MaterialUI.AppBar') #else @:jsRequire('@material-ui/core', 'AppBar') #end
extern class AppBar extends ReactComponentOfProps<AppBarProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<AppBarClassKey>
return AppBarStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Avatar.hx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ typedef AvatarProps = {
@:optional var variant:AvatarVariant;
}

@:jsRequire('@material-ui/core', 'Avatar')
#if mui.global @:native('MaterialUI.Avatar') #else @:jsRequire('@material-ui/core', 'Avatar') #end
extern class Avatar extends ReactComponentOfProps<AvatarProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<AvatarClassKey>
return AvatarStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Backdrop.hx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ typedef BackdropProps = {
@:optional var transitionDuration:TimeoutTransitionDuration;
}

@:jsRequire('@material-ui/core', 'Backdrop')
#if mui.global @:native('MaterialUI.Backdrop') #else @:jsRequire('@material-ui/core', 'Backdrop') #end
extern class Backdrop extends ReactComponentOfProps<BackdropProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<BackdropClassKey>
return BackdropStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Badge.hx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ typedef BadgeProps = {
@:optional var variant:BadgeVariant;
}

@:jsRequire('@material-ui/core', 'Badge')
#if mui.global @:native('MaterialUI.Badge') #else @:jsRequire('@material-ui/core', 'Badge') #end
extern class Badge extends ReactComponentOfProps<BadgeProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<BadgeClassKey>
return BadgeStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/BottomNavigation.hx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ typedef BottomNavigationProps = ForcedOverride<StandardDOMAttributes, {
@:optional var value:Any;
}>;

@:jsRequire('@material-ui/core', 'BottomNavigation')
#if mui.global @:native('MaterialUI.BottomNavigation') #else @:jsRequire('@material-ui/core', 'BottomNavigation') #end
extern class BottomNavigation extends ReactComponentOfProps<BottomNavigationProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<BottomNavigationClassKey>
return BottomNavigationStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/BottomNavigationAction.hx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ typedef BottomNavigationActionProps = ForcedOverride<ButtonBaseProps, {
@:optional var value:Any;
}>;

@:jsRequire('@material-ui/core', 'BottomNavigationAction')
#if mui.global @:native('MaterialUI.BottomNavigationAction') #else @:jsRequire('@material-ui/core', 'BottomNavigationAction') #end
extern class BottomNavigationAction extends ReactComponentOfProps<BottomNavigationActionProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<BottomNavigationActionClassKey>
return BottomNavigationActionStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Breadcrumbs.hx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ typedef BreadcrumbsProps = {
@:optional var separator:ReactSingleFragment;
}

@:jsRequire('@material-ui/core', 'Breadcrumbs')
#if mui.global @:native('MaterialUI.Breadcrumbs') #else @:jsRequire('@material-ui/core', 'Breadcrumbs') #end
extern class Breadcrumbs extends ReactComponentOfProps<BreadcrumbsProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<BreadcrumbsClassKey>
return BreadcrumbsStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Button.hx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ typedef ButtonProps = {
@:optional var tabIndex:Int;
}

@:jsRequire('@material-ui/core', 'Button')
#if mui.global @:native('MaterialUI.Button') #else @:jsRequire('@material-ui/core', 'Button') #end
extern class Button extends ReactComponentOfProps<ButtonProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<ButtonClassKey>
return ButtonStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/ButtonBase.hx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ typedef ButtonBaseProps = {
@:optional var type:ButtonType;
}

@:jsRequire('@material-ui/core', 'ButtonBase')
#if mui.global @:native('MaterialUI.ButtonBase') #else @:jsRequire('@material-ui/core', 'ButtonBase') #end
extern class ButtonBase extends ReactComponentOfProps<ButtonBaseProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<ButtonBaseClassKey>
return ButtonBaseStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/ButtonGroup.hx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ typedef ButtonGroupProps = {
@:optional var variant:ButtonVariant;
}

@:jsRequire('@material-ui/core', 'ButtonGroup')
#if mui.global @:native('MaterialUI.ButtonGroup') #else @:jsRequire('@material-ui/core', 'ButtonGroup') #end
extern class ButtonGroup extends ReactComponentOfProps<ButtonGroupProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<ButtonGroupClassKey>
return ButtonGroupStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Card.hx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ typedef CardProps = ForcedOverride<PaperProps, {
@:optional var raised:Bool;
}>;

@:jsRequire('@material-ui/core', 'Card')
#if mui.global @:native('MaterialUI.Card') #else @:jsRequire('@material-ui/core', 'Card') #end
extern class Card extends ReactComponentOfProps<CardProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<CardClassKey>
return CardStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/CardActionArea.hx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ typedef CardActionAreaProps = ForcedOverride<ButtonBaseProps, {
@:optional var classes:Record<CardActionAreaClassKey>;
}>;

@:jsRequire('@material-ui/core', 'CardActionArea')
#if mui.global @:native('MaterialUI.CardActionArea') #else @:jsRequire('@material-ui/core', 'CardActionArea') #end
extern class CardActionArea extends ReactComponentOfProps<CardActionAreaProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<CardActionAreaClassKey>
return CardActionAreaStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/CardActions.hx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ typedef CardActionsProps = {
@:optional var disableSpacing:Bool;
}

@:jsRequire('@material-ui/core', 'CardActions')
#if mui.global @:native('MaterialUI.CardActions') #else @:jsRequire('@material-ui/core', 'CardActions') #end
extern class CardActions extends ReactComponentOfProps<CardActionsProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<CardActionsClassKey>
return CardActionsStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/CardContent.hx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ typedef CardContentProps = {
@:optional var component:ReactType;
}

@:jsRequire('@material-ui/core', 'CardContent')
#if mui.global @:native('MaterialUI.CardContent') #else @:jsRequire('@material-ui/core', 'CardContent') #end
extern class CardContent extends ReactComponentOfProps<CardContentProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<CardContentClassKey>
return CardContentStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/CardHeader.hx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ typedef CardHeaderProps = ForcedOverride<StandardDOMAttributes, {
@:optional var titleTypographyProps:Partial<TypographyProps>;
}>;

@:jsRequire('@material-ui/core', 'CardHeader')
#if mui.global @:native('MaterialUI.CardHeader') #else @:jsRequire('@material-ui/core', 'CardHeader') #end
extern class CardHeader extends ReactComponentOfProps<CardHeaderProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<CardHeaderClassKey>
return CardHeaderStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/CardMedia.hx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ typedef CardMediaProps = {
@:optional var src:String;
}

@:jsRequire('@material-ui/core', 'CardMedia')
#if mui.global @:native('MaterialUI.CardMedia') #else @:jsRequire('@material-ui/core', 'CardMedia') #end
extern class CardMedia extends ReactComponentOfProps<CardMediaProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<CardMediaClassKey>
return CardMediaStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Checkbox.hx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ typedef CheckboxProps = ForcedOverride<IconButtonProps, {
@:optional var value:String;
}>;

@:jsRequire('@material-ui/core', 'Checkbox')
#if mui.global @:native('MaterialUI.Checkbox') #else @:jsRequire('@material-ui/core', 'Checkbox') #end
extern class Checkbox extends ReactComponentOfProps<CheckboxProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<CheckboxClassKey>
return CheckboxStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Chip.hx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ typedef ChipProps = ForcedOverride<StandardDOMAttributes, {
@:optional var variant:ChipVariant;
}>;

@:jsRequire('@material-ui/core', 'Chip')
#if mui.global @:native('MaterialUI.Chip') #else @:jsRequire('@material-ui/core', 'Chip') #end
extern class Chip extends ReactComponentOfProps<ChipProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<ChipClassKey>
return ChipStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/CircularProgress.hx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ typedef CircularProgressProps = {
@:optional var variant:CircularProgressVariant;
}

@:jsRequire('@material-ui/core', 'CircularProgress')
#if mui.global @:native('MaterialUI.CircularProgress') #else @:jsRequire('@material-ui/core', 'CircularProgress') #end
extern class CircularProgress extends ReactComponentOfProps<CircularProgressProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<CircularProgressClassKey>
return CircularProgressStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/ClickAwayListener.hx
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ typedef ClickAwayListenerProps = {
var None = false;
}

@:jsRequire('@material-ui/core', 'ClickAwayListener')
#if mui.global @:native('MaterialUI.ClickAwayListener') #else @:jsRequire('@material-ui/core', 'ClickAwayListener') #end
extern class ClickAwayListener extends ReactComponentOfProps<ClickAwayListenerProps> {}
2 changes: 1 addition & 1 deletion src/mui/core/Collapse.hx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ typedef CollapseProps = ForcedOverride<TransitionProps<Any>, {
}>;

@:acceptsMoreProps('react.transition.Transition')
@:jsRequire('@material-ui/core', 'Collapse')
#if mui.global @:native('MaterialUI.Collapse') #else @:jsRequire('@material-ui/core', 'Collapse') #end
extern class Collapse extends ReactComponentOfProps<CollapseProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<CollapseClassKey>
return CollapseStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Container.hx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ typedef ContainerProps = {
@:optional var maxWidth:BreakpointOrFalse;
};

@:jsRequire('@material-ui/core', 'Container')
#if mui.global @:native('MaterialUI.Container') #else @:jsRequire('@material-ui/core', 'Container') #end
extern class Container extends ReactComponentOfProps<ContainerProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<ContainerClassKey>
return ContainerStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/CssBaseline.hx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ typedef CssBaselineProps = {
@:optional var children:ReactFragment;
}

@:jsRequire('@material-ui/core', 'CssBaseline')
#if mui.global @:native('MaterialUI.CssBaseline') #else @:jsRequire('@material-ui/core', 'CssBaseline') #end
extern class CssBaseline extends ReactComponentOfProps<CssBaselineProps> {}

2 changes: 1 addition & 1 deletion src/mui/core/Dialog.hx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ typedef DialogProps = ForcedOverride<ModalProps, {
@:optional var TransitionProps:TransitionProps<Any>;
}>;

@:jsRequire('@material-ui/core', 'Dialog')
#if mui.global @:native('MaterialUI.Dialog') #else @:jsRequire('@material-ui/core', 'Dialog') #end
extern class Dialog extends ReactComponentOfProps<DialogProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<DialogClassKey>
return DialogStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/DialogActions.hx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ typedef DialogActionsProps = {
@:optional var disableSpacing:Bool;
}

@:jsRequire('@material-ui/core', 'DialogActions')
#if mui.global @:native('MaterialUI.DialogActions') #else @:jsRequire('@material-ui/core', 'DialogActions') #end
extern class DialogActions extends ReactComponentOfProps<DialogActionsProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<DialogActionsClassKey>
return DialogActionsStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/DialogContent.hx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ typedef DialogContentProps = {
@:optional var dividers:Bool;
}

@:jsRequire('@material-ui/core', 'DialogContent')
#if mui.global @:native('MaterialUI.DialogContent') #else @:jsRequire('@material-ui/core', 'DialogContent') #end
extern class DialogContent extends ReactComponentOfProps<DialogContentProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<DialogContentClassKey>
return DialogContentStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/DialogContentText.hx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ typedef DialogContentTextProps = ForcedOverride<TypographyProps, {
@:optional var classes:Record<DialogContentTextClassKey>;
}>;

@:jsRequire('@material-ui/core', 'DialogContentText')
#if mui.global @:native('MaterialUI.DialogContentText') #else @:jsRequire('@material-ui/core', 'DialogContentText') #end
extern class DialogContentText extends ReactComponentOfProps<DialogContentTextProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<DialogContentTextClassKey>
return DialogContentTextStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/DialogTitle.hx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ typedef DialogTitleProps = {
@:optional var disableTypography:Bool;
}

@:jsRequire('@material-ui/core', 'DialogTitle')
#if mui.global @:native('MaterialUI.DialogTitle') #else @:jsRequire('@material-ui/core', 'DialogTitle') #end
extern class DialogTitle extends ReactComponentOfProps<DialogTitleProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<DialogTitleClassKey>
return DialogTitleStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Divider.hx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ typedef DividerProps = {
@:optional var variant:DividerVariant;
}

@:jsRequire('@material-ui/core', 'Divider')
#if mui.global @:native('MaterialUI.Divider') #else @:jsRequire('@material-ui/core', 'Divider') #end
extern class Divider extends ReactComponentOfProps<DividerProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<DividerClassKey>
return DividerStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Drawer.hx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ typedef DrawerProps = {
@:optional var variant:DrawerVariant;
}

@:jsRequire('@material-ui/core', 'Drawer')
#if mui.global @:native('MaterialUI.Drawer') #else @:jsRequire('@material-ui/core', 'Drawer') #end
extern class Drawer extends ReactComponentOfProps<DrawerProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<DrawerClassKey>
return DrawerStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/ExpansionPanel.hx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ typedef ExpansionPanelProps = ForcedOverride<PaperProps, {
@:optional var TransitionProps:TransitionProps<Any>;
}>;

@:jsRequire('@material-ui/core', 'ExpansionPanel')
#if mui.global @:native('MaterialUI.ExpansionPanel') #else @:jsRequire('@material-ui/core', 'ExpansionPanel') #end
extern class ExpansionPanel extends ReactComponentOfProps<ExpansionPanelProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<ExpansionPanelClassKey>
return ExpansionPanelStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/ExpansionPanelActions.hx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ typedef ExpansionPanelActionsProps = {
@:optional var disableSpacing:Bool;
}

@:jsRequire('@material-ui/core', 'ExpansionPanelActions')
#if mui.global @:native('MaterialUI.ExpansionPanelActions') #else @:jsRequire('@material-ui/core', 'ExpansionPanelActions') #end
extern class ExpansionPanelActions extends ReactComponentOfProps<ExpansionPanelActionsProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<ExpansionPanelActionsClassKey>
return ExpansionPanelActionsStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/ExpansionPanelDetails.hx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ typedef ExpansionPanelDetailsProps = {
@:optional var classes:Record<ExpansionPanelDetailsClassKey>;
}

@:jsRequire('@material-ui/core', 'ExpansionPanelDetails')
#if mui.global @:native('MaterialUI.ExpansionPanelDetails') #else @:jsRequire('@material-ui/core', 'ExpansionPanelDetails') #end
extern class ExpansionPanelDetails extends ReactComponentOfProps<ExpansionPanelDetailsProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<ExpansionPanelDetailsClassKey>
return ExpansionPanelDetailsStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/ExpansionPanelSummary.hx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ typedef ExpansionPanelSummaryProps = {
@:optional var IconButtonProps:Partial<IconButtonProps>;
}

@:jsRequire('@material-ui/core', 'ExpansionPanelSummary')
#if mui.global @:native('MaterialUI.ExpansionPanelSummary') #else @:jsRequire('@material-ui/core', 'ExpansionPanelSummary') #end
extern class ExpansionPanelSummary extends ReactComponentOfProps<ExpansionPanelSummaryProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<ExpansionPanelSummaryClassKey>
return ExpansionPanelSummaryStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Fab.hx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ typedef FabProps = ForcedOverride<ButtonBaseProps, {
@:optional var variant:FabVariant;
}>;

@:jsRequire('@material-ui/core', 'Fab')
#if mui.global @:native('MaterialUI.Fab') #else @:jsRequire('@material-ui/core', 'Fab') #end
extern class Fab extends ReactComponentOfProps<FabProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<FabClassKey>
return FabStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Fade.hx
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import react.ReactComponent;
import react.transition.Transition;

@:acceptsMoreProps('react.transition.Transition')
@:jsRequire('@material-ui/core', 'Fade')
#if mui.global @:native('MaterialUI.Fade') #else @:jsRequire('@material-ui/core', 'Fade') #end
extern class Fade<TChildProps> extends ReactComponentOfProps<TransitionProps<TChildProps>> {}
2 changes: 1 addition & 1 deletion src/mui/core/FilledInput.hx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ typedef FilledInputProps = ForcedOverride<InputBaseProps, {
@:optional var disableUnderline:Bool;
}>;

@:jsRequire('@material-ui/core', 'FilledInput')
#if mui.global @:native('MaterialUI.FilledInput') #else @:jsRequire('@material-ui/core', 'FilledInput') #end
extern class FilledInput extends ReactComponentOfProps<FilledInputProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<FilledInputClassKey>
return FilledInputStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/FormControl.hx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ typedef FormControlProps = {
@:optional var variant:FormControlVariant;
}

@:jsRequire('@material-ui/core', 'FormControl')
#if mui.global @:native('MaterialUI.FormControl') #else @:jsRequire('@material-ui/core', 'FormControl') #end
extern class FormControl extends ReactComponentOfProps<FormControlProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<FormControlClassKey>
return FormControlStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/FormControlLabel.hx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ typedef FormControlLabelProps = ForcedOverride<StandardDOMAttributes, {
@:optional var value:String;
}>;

@:jsRequire('@material-ui/core', 'FormControlLabel')
#if mui.global @:native('MaterialUI.FormControlLabel') #else @:jsRequire('@material-ui/core', 'FormControlLabel') #end
extern class FormControlLabel extends ReactComponentOfProps<FormControlLabelProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<FormControlLabelClassKey>
return FormControlLabelStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/FormGroup.hx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ typedef FormGroupProps = {
@:optional var row:Bool;
}

@:jsRequire('@material-ui/core', 'FormGroup')
#if mui.global @:native('MaterialUI.FormGroup') #else @:jsRequire('@material-ui/core', 'FormGroup') #end
extern class FormGroup extends ReactComponentOfProps<FormGroupProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<FormGroupClassKey>
return FormGroupStyles.styles;
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/FormHelperText.hx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ typedef FormHelperTextProps = {
@:optional var variant:FormControlVariant;
}

@:jsRequire('@material-ui/core', 'FormHelperText')
#if mui.global @:native('MaterialUI.FormHelperText') #else @:jsRequire('@material-ui/core', 'FormHelperText') #end
extern class FormHelperText extends ReactComponentOfProps<FormHelperTextProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<FormHelperTextClassKey>
return FormHelperTextStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/FormLabel.hx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ typedef FormLabelProps = {
@:optional var htmlFor:String;
}

@:jsRequire('@material-ui/core', 'FormLabel')
#if mui.global @:native('MaterialUI.FormLabel') #else @:jsRequire('@material-ui/core', 'FormLabel') #end
extern class FormLabel extends ReactComponentOfProps<FormLabelProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<FormLabelClassKey>
return FormLabelStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/Grid.hx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ typedef GridProps = {
@:optional var zeroMinWidth:Bool;
}

@:jsRequire('@material-ui/core', 'Grid')
#if mui.global @:native('MaterialUI.Grid') #else @:jsRequire('@material-ui/core', 'Grid') #end
extern class Grid extends ReactComponentOfProps<GridProps> {
static inline function styles<TTheme>(theme:TTheme):ClassesDef<GridClassKey>
return GridStyles.styles(theme);
Expand Down
2 changes: 1 addition & 1 deletion src/mui/core/GridList.hx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ typedef GridListProps = ForcedOverride<StandardDOMAttributes, {
@:optional var spacing:Int;
}>;

@:jsRequire('@material-ui/core', 'GridList')
#if mui.global @:native('MaterialUI.GridList') #else @:jsRequire('@material-ui/core', 'GridList') #end
extern class GridList extends ReactComponentOfProps<GridListProps> {
static inline function styles<TTheme>(?_:TTheme):ClassesDef<GridListClassKey>
return GridListStyles.styles;
Expand Down
Loading