fis-component 0.0.52 → 0.0.54

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,2 @@
1
+ declare const LineArrowsDown: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ export default LineArrowsDown;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const LineArrowsUp: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export default LineArrowsUp;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const SortTableIcon: React.FC<React.SVGProps<SVGSVGElement>>;
3
+ export default SortTableIcon;
@@ -40,3 +40,6 @@ export { default as NoResultIcon } from "./NoResultIcon";
40
40
  export { default as RemoveIcon } from "./RemoveIcon";
41
41
  export { default as ChevronLeftIcon } from "./ChevronLeftIcon";
42
42
  export { default as ChevronRightIcon } from "./ChevronRightIcon";
43
+ export { default as SortTableIcon } from "./SortTableIcon";
44
+ export { default as LineArrowsDownIcon } from "./LineArrowsDown";
45
+ export { default as LineArrowsUpIcon } from "./LineArrowsUp";
@@ -1,12 +1,11 @@
1
1
  import { ComponentType } from "react";
2
2
  interface FISSorterProps {
3
3
  columnKey: string;
4
- onSort: (columnKey: string | null, order: string | null) => void;
4
+ onSort: (columnKey?: string, order?: string) => void;
5
5
  sortedInfo: {
6
- columnKey: string | null;
7
- order: string | null;
6
+ columnKey?: string;
7
+ order?: string;
8
8
  };
9
- colorActive?: string;
10
9
  UpIcon?: ComponentType<{
11
10
  style?: React.CSSProperties;
12
11
  }>;
@@ -14,5 +13,5 @@ interface FISSorterProps {
14
13
  style?: React.CSSProperties;
15
14
  }>;
16
15
  }
17
- declare const FISSorter: ({ columnKey, onSort, sortedInfo, colorActive, UpIcon, DownIcon, }: FISSorterProps) => import("react/jsx-runtime").JSX.Element;
16
+ declare const FISSorter: ({ columnKey, onSort, sortedInfo, UpIcon, DownIcon, }: FISSorterProps) => import("react/jsx-runtime").JSX.Element;
18
17
  export default FISSorter;
package/dist/index.d.ts CHANGED
@@ -4098,12 +4098,11 @@ declare const FISTableCell: React$1.ForwardRefExoticComponent<ColumnCellProps &
4098
4098
 
4099
4099
  interface FISSorterProps {
4100
4100
  columnKey: string;
4101
- onSort: (columnKey: string | null, order: string | null) => void;
4101
+ onSort: (columnKey?: string, order?: string) => void;
4102
4102
  sortedInfo: {
4103
- columnKey: string | null;
4104
- order: string | null;
4103
+ columnKey?: string;
4104
+ order?: string;
4105
4105
  };
4106
- colorActive?: string;
4107
4106
  UpIcon?: ComponentType<{
4108
4107
  style?: React.CSSProperties;
4109
4108
  }>;
@@ -4111,7 +4110,7 @@ interface FISSorterProps {
4111
4110
  style?: React.CSSProperties;
4112
4111
  }>;
4113
4112
  }
4114
- declare const FISSorter: ({ columnKey, onSort, sortedInfo, colorActive, UpIcon, DownIcon, }: FISSorterProps) => react_jsx_runtime.JSX.Element;
4113
+ declare const FISSorter: ({ columnKey, onSort, sortedInfo, UpIcon, DownIcon, }: FISSorterProps) => react_jsx_runtime.JSX.Element;
4115
4114
 
4116
4115
  type DateRangeProps = {
4117
4116
  className?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "homepage": "https://vietdiemtran.github.io/fis-component/",
3
3
  "name": "fis-component",
4
- "version": "0.0.52",
4
+ "version": "0.0.54",
5
5
  "description": "",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",