@gataca/design-system 0.3.91 → 0.3.92

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.
@@ -33,7 +33,7 @@ export interface AvatarProps {
33
33
  style: IconStyle;
34
34
  color: string;
35
35
  }>;
36
- onPress: (x?: any) => void;
36
+ onClick: (x?: any) => void;
37
37
  };
38
38
  containerStyle?: any;
39
39
  }
@@ -7,5 +7,5 @@ export interface BrandButtonProps {
7
7
  brand?: Brand;
8
8
  color?: BrandButtonColor;
9
9
  size?: BrandButtonSize;
10
- onPress?: (x?: any) => void;
10
+ onClick?: (x?: any) => void;
11
11
  }
@@ -26,5 +26,5 @@ export interface ButtonIconProps {
26
26
  };
27
27
  showStroke?: boolean;
28
28
  containerStyle?: any;
29
- onPress?: (x?: any) => void;
29
+ onClick?: (x?: any) => void;
30
30
  }
@@ -9,6 +9,6 @@ export type ConsentCardProps = {
9
9
  contentListItem?: ListItemProps;
10
10
  contentList?: ListProps;
11
11
  DropdownComponent?: React.FC;
12
- onPress?: (x?: any) => void;
12
+ onClick?: (x?: any) => void;
13
13
  containerStyle?: any;
14
14
  };
@@ -13,5 +13,5 @@ export interface CheckboxProps {
13
13
  textColor?: CheckboxTextColor;
14
14
  containerStyle?: any;
15
15
  tooltip?: ParentComponentTooltipProps;
16
- onPress?: (x?: any) => void;
16
+ onClick?: (x?: any) => void;
17
17
  }
@@ -62,10 +62,10 @@ export interface ListItemProps {
62
62
  id?: string;
63
63
  className?: string;
64
64
  text: string;
65
- onPress: (x?: any) => void;
65
+ onClick: (x?: any) => void;
66
66
  };
67
67
  button?: ButtonProps;
68
68
  leadingChip?: ChipProps;
69
69
  chip?: ChipProps;
70
- onPress?: (x?: any) => void;
70
+ onClick?: (x?: any) => void;
71
71
  }
@@ -13,5 +13,5 @@ export interface NavOptionProps {
13
13
  style: IconStyle;
14
14
  }>;
15
15
  containerStyle?: any;
16
- onPress?: (x?: any) => void;
16
+ onClick?: (x?: any) => void;
17
17
  }
@@ -15,7 +15,7 @@ export interface NavigationBarProps {
15
15
  color: string;
16
16
  style: IconStyle;
17
17
  }>;
18
- onPress?: (x?: any) => void;
18
+ onClick?: (x?: any) => void;
19
19
  }[];
20
20
  containerStyle?: any;
21
21
  }
@@ -13,5 +13,5 @@ export interface RadioButtonProps {
13
13
  tooltip?: ParentComponentTooltipProps;
14
14
  textColor?: RadioButtonColor;
15
15
  containerStyle?: any;
16
- onPress?: (x?: any) => void;
16
+ onClick?: (x?: any) => void;
17
17
  }
@@ -1,3 +1,3 @@
1
1
  import { BackdropProps } from '../tooltip_types.web';
2
2
  export declare const ANIMATION_DURATION = 250;
3
- export default function Backdrop({ children, onPress, visible, style, }: BackdropProps): import("react/jsx-runtime").JSX.Element | null;
3
+ export default function Backdrop({ children, onClick, visible, style, }: BackdropProps): import("react/jsx-runtime").JSX.Element | null;
@@ -41,7 +41,7 @@ export type BackdropProps = {
41
41
  popoverRef: RefObject<any>;
42
42
  visible: boolean;
43
43
  style?: any;
44
- onPress: () => void;
44
+ onClick: () => void;
45
45
  };
46
46
  export type CaretAlign = 'left' | 'center' | 'right';
47
47
  export type CaretProps = {