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.
- package/dist/cjs/index.js +72 -93
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/assets/icons/LineArrowsDown.d.ts +2 -0
- package/dist/cjs/types/src/assets/icons/LineArrowsUp.d.ts +3 -0
- package/dist/cjs/types/src/assets/icons/SortTableIcon.d.ts +3 -0
- package/dist/cjs/types/src/assets/icons/index.d.ts +3 -0
- package/dist/cjs/types/src/components/Table/Sorter/FISSorter.d.ts +4 -5
- package/dist/esm/index.js +72 -93
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/assets/icons/LineArrowsDown.d.ts +2 -0
- package/dist/esm/types/src/assets/icons/LineArrowsUp.d.ts +3 -0
- package/dist/esm/types/src/assets/icons/SortTableIcon.d.ts +3 -0
- package/dist/esm/types/src/assets/icons/index.d.ts +3 -0
- package/dist/esm/types/src/components/Table/Sorter/FISSorter.d.ts +4 -5
- package/dist/index.d.ts +4 -5
- package/package.json +1 -1
|
@@ -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
|
|
4
|
+
onSort: (columnKey?: string, order?: string) => void;
|
|
5
5
|
sortedInfo: {
|
|
6
|
-
columnKey
|
|
7
|
-
order
|
|
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,
|
|
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
|
|
4101
|
+
onSort: (columnKey?: string, order?: string) => void;
|
|
4102
4102
|
sortedInfo: {
|
|
4103
|
-
columnKey
|
|
4104
|
-
order
|
|
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,
|
|
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;
|