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/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: UnknownObjectInterface) => ReactNode;
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<UnknownObjectInterface>;
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, UnknownObjectInterface };
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 };