@hero-design/rn 8.80.1 → 8.81.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,7 +50,7 @@ export interface ButtonProps {
50
50
  /**
51
51
  * Button type.
52
52
  */
53
- variant?: 'filled' | 'outlined' | 'text';
53
+ variant?: 'filled' | 'outlined' | 'text' | 'inline-text';
54
54
  }
55
55
  export declare const getThemeVariant: (variant: 'filled' | 'outlined' | 'text', intent: Intent) => ThemeVariant;
56
56
  declare const Button: ({ accessibilityHint, accessibilityLabel, disabled, icon, intent, loading, onPress, rightIcon, style, testID, text, variant, }: ButtonProps) => JSX.Element;
@@ -9,6 +9,7 @@ declare const StyledButtonContainer: import("@emotion/native").StyledComponent<i
9
9
  disabled?: boolean | undefined;
10
10
  themeButtonVariant: ThemeVariant;
11
11
  loading?: boolean | undefined;
12
+ themeInlineText?: boolean | undefined;
12
13
  }, {}, {
13
14
  ref?: import("react").Ref<TouchableHighlight> | undefined;
14
15
  }>;
@@ -25,6 +26,7 @@ declare const StyledButtonTitleOfVariantText: import("@emotion/native").StyledCo
25
26
  } & {
26
27
  disabled?: boolean | undefined;
27
28
  themeButtonVariant: 'text-primary' | 'text-secondary' | 'text-danger';
29
+ themeIsPressed?: boolean | undefined;
28
30
  }, {}, {}>;
29
31
  declare const StyledButtonIconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
30
32
  theme?: Theme | undefined;
@@ -40,6 +42,7 @@ declare const StyledButtonIcon: import("@emotion/native").StyledComponent<import
40
42
  } & {
41
43
  disabled?: boolean | undefined;
42
44
  themeButtonVariant: ThemeVariant;
45
+ themeIsPressed?: boolean | undefined;
43
46
  }, {}, {}>;
44
47
  export { StyledButtonContainer, StyledButtonText, StyledButtonIconWrapper, StyledButtonIcon, StyledButtonTitleOfVariantText, };
45
48
  export type { Intent, ThemeVariant };
@@ -45,6 +45,11 @@ declare const getButtonTheme: (theme: GlobalTheme) => {
45
45
  textSecondary: string;
46
46
  textDanger: string;
47
47
  };
48
+ pressedText: {
49
+ primary: string;
50
+ secondary: string;
51
+ danger: string;
52
+ };
48
53
  };
49
54
  space: {
50
55
  buttonPadding: number;