@sikka/hawa 0.0.266 → 0.0.268

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.
@@ -0,0 +1,14 @@
1
+ import { FC } from "react";
2
+ type BannerTypes = {
3
+ showBanner?: boolean;
4
+ direction?: "rtl" | "ltr";
5
+ logoURL?: string;
6
+ title?: string;
7
+ text?: string;
8
+ actionText?: string;
9
+ onActionClick?: () => void;
10
+ position?: "top" | "bottom";
11
+ design: "default" | "floating";
12
+ };
13
+ export declare const HawaBanner: FC<BannerTypes>;
14
+ export {};
@@ -6,3 +6,4 @@ export * from "./HawaAppLayoutSimplified";
6
6
  export * from "./HawaContainer";
7
7
  export * from "./AppSidebar";
8
8
  export * from "./Footer";
9
+ export * from "./Banner";
@@ -20,6 +20,8 @@ type DragDropImagesTypes = {
20
20
  maxFileSize: any;
21
21
  tooManyFiles: any;
22
22
  fileTooLarge: any;
23
+ acceptedFileTypes: any;
24
+ invalidFileType: any;
23
25
  };
24
26
  };
25
27
  export declare const DragDropImages: React.FunctionComponent<DragDropImagesTypes>;
@@ -1,9 +1,15 @@
1
1
  import { FC } from "react";
2
2
  type RadioTypes = {
3
+ orientation?: "vertical" | "horizontal";
4
+ design?: "default" | "tabs" | "cards" | "bordered";
3
5
  options?: [
4
6
  {
5
7
  value: any;
6
8
  label: any;
9
+ disabled?: any;
10
+ sublabel?: any;
11
+ beforeIcon?: any;
12
+ afterIcon?: any;
7
13
  }
8
14
  ];
9
15
  onChangeTab?: any;
@@ -1,10 +1,20 @@
1
1
  import { FC } from "react";
2
+ type RowTypes = {
3
+ hidden: boolean;
4
+ value: any;
5
+ suffix?: any;
6
+ };
7
+ type ColTypes = {
8
+ hidden: boolean;
9
+ value: any;
10
+ sortable?: boolean;
11
+ };
2
12
  type TableTypes = {
3
13
  pagination?: boolean;
4
- columns: any[string];
14
+ columns: ColTypes[];
5
15
  actions?: ActionItems[][];
6
16
  direction?: "rtl" | "ltr";
7
- rows?: any[any];
17
+ rows?: RowTypes[][];
8
18
  handleActionClick?: any;
9
19
  end?: any;
10
20
  size?: "normal" | "small";
@@ -1,4 +1,4 @@
1
- declare const useTable: (data: any, page: any, rowsPerPage: any) => {
1
+ declare const useTable: (data: any, page: any, rowsPerPage: any, sortColumn: any, sortDirection: any) => {
2
2
  slice: any[];
3
3
  range: any[];
4
4
  };