widenarrow-ui 1.0.13 → 1.0.14
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/lib/components/SortableTable/SortableTable.types.d.ts +5 -6
- package/lib/index.css +1 -1
- package/lib/index.d.ts +4 -7
- package/lib/index.esm.css +1 -1
- package/lib/index.esm.js +28 -33
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +28 -33
- package/lib/index.js.map +1 -1
- package/lib/types/styling.types.d.ts +0 -3
- package/lib/utils.d.ts +2 -2
- package/package.json +1 -1
- package/src/components/SortableTable/SortableTable.tsx +14 -16
- package/src/components/SortableTable/SortableTable.types.ts +5 -6
- package/src/components/SwitchButton/SwitchButton.module.scss +19 -18
- package/src/types/styling.types.ts +0 -4
- package/src/utils.ts +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3,9 +3,6 @@ import react__default, { CSSProperties, MouseEvent, ReactNode, FC, ChangeEvent }
|
|
|
3
3
|
import { HierarchyTypes as HierarchyTypes$1, ColorTypes as ColorTypes$1, SizeTypes as SizeTypes$1, IconTypes as IconTypes$1 } from 'src/constants';
|
|
4
4
|
import { Placement, PositioningStrategy } from '@popperjs/core';
|
|
5
5
|
|
|
6
|
-
interface UnknownObjectInterface {
|
|
7
|
-
[key: string]: unknown;
|
|
8
|
-
}
|
|
9
6
|
interface MarginInterface {
|
|
10
7
|
margin?: '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8';
|
|
11
8
|
marginX?: '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8';
|
|
@@ -693,12 +690,12 @@ interface CellInterface {
|
|
|
693
690
|
alignCenter?: boolean;
|
|
694
691
|
withEllipsis?: boolean;
|
|
695
692
|
toolTip?: string;
|
|
696
|
-
customHeaderCellComponent?: (cell: CellInterface) => ReactNode;
|
|
697
|
-
customCellComponent?: (row:
|
|
693
|
+
customHeaderCellComponent?: (cell: CellInterface) => ReactNode | JSX.Element;
|
|
694
|
+
customCellComponent?: (row: any) => ReactNode | JSX.Element;
|
|
698
695
|
}
|
|
699
696
|
interface SortableTableProps {
|
|
700
697
|
cells: Array<CellInterface>;
|
|
701
|
-
data: Array<
|
|
698
|
+
data: Array<any>;
|
|
702
699
|
sortBy: Array<{
|
|
703
700
|
keyName: string;
|
|
704
701
|
ascending: boolean;
|
|
@@ -787,4 +784,4 @@ declare const Label: FC<LabelProps>;
|
|
|
787
784
|
declare const Paragraph: FC<ParagraphProps>;
|
|
788
785
|
declare const Span: FC<SpanProps>;
|
|
789
786
|
|
|
790
|
-
export { AppColors, AspectRatioTypes, Box, Button, Checkbox, ColorStyleInterface, ColorTypes, DropDown, DropDownItem, FacetButton, FlexStylingInterface, FontFamilyTypes, FormSkeleton, Grid, Heading, HierarchyInterface, HierarchyTypes, Icon, IconButton, IconStyleInterface, IconTypes, Image, InlineButton, Label, ListItem, ListSkeleton, MarginInterface, MultiActionButton, PaddingInterface, Paragraph, RadioButton, Separator, SizeStyleInterface, SizeTypes, SolidSpinner, SortableTable, Span, SwitchButton, ToolTip
|
|
787
|
+
export { AppColors, AspectRatioTypes, Box, Button, Checkbox, ColorStyleInterface, ColorTypes, DropDown, DropDownItem, FacetButton, FlexStylingInterface, FontFamilyTypes, FormSkeleton, Grid, Heading, HierarchyInterface, HierarchyTypes, Icon, IconButton, IconStyleInterface, IconTypes, Image, InlineButton, Label, ListItem, ListSkeleton, MarginInterface, MultiActionButton, PaddingInterface, Paragraph, RadioButton, Separator, SizeStyleInterface, SizeTypes, SolidSpinner, SortableTable, Span, SwitchButton, ToolTip };
|