@app-studio/web 0.8.31 → 0.8.32

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.
@@ -6,5 +6,4 @@ interface ComboBoxContextType {
6
6
  toggleDropdown: (id: string) => void;
7
7
  }
8
8
  declare const ComboBoxContext: import("react").Context<ComboBoxContextType>;
9
- export declare const useComboBoxContext: () => ComboBoxContextType;
10
9
  export default ComboBoxContext;
@@ -5,9 +5,17 @@ interface IconProps extends Omit<ViewProps, 'size'> {
5
5
  color?: string;
6
6
  filled?: boolean;
7
7
  strokeWidth?: number;
8
+ orientation?: 'left' | 'right' | 'up' | 'down';
8
9
  }
9
10
  export declare const ChevronIcon: React.FC<IconProps>;
10
11
  export declare const CloseIcon: React.FC<IconProps>;
12
+ export declare const InstagramIcon: React.FC<IconProps>;
13
+ export declare const TwitterIcon: React.FC<IconProps>;
14
+ export declare const YoutubeIcon: React.FC<IconProps>;
15
+ export declare const LinkedinIcon: React.FC<IconProps>;
16
+ export declare const ThreadsIcon: React.FC<IconProps>;
17
+ export declare const MinusIcon: React.FC<IconProps>;
18
+ export declare const InfoIcon: React.FC<IconProps>;
11
19
  export declare const HeartIcon: React.FC<IconProps>;
12
20
  export declare const StarIcon: React.FC<IconProps>;
13
21
  export declare const SaveIcon: React.FC<IconProps>;
@@ -47,8 +55,6 @@ export declare const UploadIcon: React.FC<IconProps>;
47
55
  export declare const SearchIcon: React.FC<IconProps>;
48
56
  export declare const CloseEyeIcon: React.FC<IconProps>;
49
57
  export declare const ExternalLinkIcon: React.FC<IconProps>;
50
- export declare const MinusIcon: React.FC<IconProps>;
51
- export declare const InfoIcon: React.FC<IconProps>;
52
58
  export declare const PlusIcon: React.FC<IconProps>;
53
59
  export declare const TickIcon: React.FC<IconProps>;
54
60
  export declare const BoldArrowIcon: React.FC<IconProps>;
@@ -9,8 +9,12 @@ export declare type TableViewStyles = {
9
9
  th?: CSSProperties;
10
10
  caption?: CSSProperties;
11
11
  };
12
- export declare const TableStylesProvider: React.FC<{
12
+ export declare const TableProvider: React.FC<{
13
13
  children: React.ReactNode;
14
14
  styles?: TableViewStyles;
15
+ onRowClick?: Function;
15
16
  }>;
16
- export declare const useTableStyles: () => TableViewStyles;
17
+ export declare const useTableContext: () => {
18
+ styles: TableViewStyles;
19
+ onRowClick?: Function | undefined;
20
+ };
@@ -6,6 +6,7 @@ export interface TableProps {
6
6
  footer?: FooterCell[];
7
7
  caption?: React.ReactNode;
8
8
  styles?: TableViewStyles;
9
+ onClick?: Function;
9
10
  }
10
11
  export interface TableViewProps extends TableProps {
11
12
  }
@@ -19,4 +20,5 @@ export interface TableLayoutProps {
19
20
  TableContainer?: React.FC<any>;
20
21
  children?: React.ReactNode;
21
22
  styles?: TableViewStyles;
23
+ onClick?: Function;
22
24
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { TableLayoutProps } from './Table/Table.props';
3
3
  export declare const Table: {
4
- ({ children, styles }: TableLayoutProps): React.JSX.Element;
4
+ ({ children, styles, onClick }: TableLayoutProps): React.JSX.Element;
5
5
  Head: React.FC<any>;
6
6
  HeadCell: React.FC<any>;
7
7
  Body: React.FC<any>;