Skip to content

Commit

Permalink
Publish v1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yamankatby committed Nov 25, 2021
1 parent 9a14118 commit ad7e8ad
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-material/core",
"version": "1.2.2",
"version": "1.2.3",
"description": "Modular and customizable Material Design UI components for React Native",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
11 changes: 9 additions & 2 deletions core/src/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,19 +128,21 @@ const Button: React.FC<ButtonProps> = ({
variant = "contained",
color = "primary",
tintColor,
uppercase = true,
compact = false,
disableElevation = false,
uppercase = true,
loading = false,
loadingIndicator,
loadingIndicatorPosition = "leading",
loadingIndicator,

style,
pressableContainerStyle,
contentContainerStyle,
titleStyle,
leadingContainerStyle,
trailingContainerStyle,
loadingOverlayContainerStyle,

pressEffect,
pressEffectColor,
onPress,
Expand All @@ -149,13 +151,16 @@ const Button: React.FC<ButtonProps> = ({
onLongPress,
onBlur,
onFocus,
onMouseEnter,
onMouseLeave,
delayLongPress,
disabled,
hitSlop,
pressRetentionOffset,
android_disableSound,
android_ripple,
testOnly_pressed,

...rest
}) => {
const theme = useTheme();
Expand Down Expand Up @@ -280,6 +285,8 @@ const Button: React.FC<ButtonProps> = ({
onLongPress={onLongPress}
onBlur={onBlur}
onFocus={onFocus}
onMouseEnter={onMouseEnter}
onMouseLeave={onMouseLeave}
delayLongPress={delayLongPress}
disabled={disabled}
hitSlop={hitSlop}
Expand Down
5 changes: 5 additions & 0 deletions core/src/FAB.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const FAB: React.FC<FABProps> = ({
labelContainerStyle,
labelStyle,
loadingOverlayContainerStyle,

pressEffect,
pressEffectColor,
onPress,
Expand All @@ -66,6 +67,8 @@ const FAB: React.FC<FABProps> = ({
onLongPress,
onBlur,
onFocus,
onMouseEnter,
onMouseLeave,
delayLongPress,
disabled,
hitSlop,
Expand Down Expand Up @@ -171,6 +174,8 @@ const FAB: React.FC<FABProps> = ({
onLongPress={onLongPress}
onBlur={onBlur}
onFocus={onFocus}
onMouseEnter={onMouseEnter}
onMouseLeave={onMouseLeave}
delayLongPress={delayLongPress}
disabled={disabled}
hitSlop={hitSlop}
Expand Down
5 changes: 5 additions & 0 deletions core/src/IconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const IconButton: React.FC<IconButtonProps> = ({
color = "onBackground",
style,
contentContainerStyle,

pressEffect,
pressEffectColor,
onPress,
Expand All @@ -37,6 +38,8 @@ const IconButton: React.FC<IconButtonProps> = ({
onLongPress,
onBlur,
onFocus,
onMouseEnter,
onMouseLeave,
delayLongPress,
disabled,
hitSlop,
Expand All @@ -59,6 +62,8 @@ const IconButton: React.FC<IconButtonProps> = ({
onLongPress={onLongPress}
onBlur={onBlur}
onFocus={onFocus}
onMouseEnter={onMouseEnter}
onMouseLeave={onMouseLeave}
delayLongPress={delayLongPress}
disabled={disabled}
hitSlop={hitSlop}
Expand Down

2 comments on commit ad7e8ad

@vercel
Copy link

@vercel vercel bot commented on ad7e8ad Nov 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on ad7e8ad Nov 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.