widenarrow-ui 1.0.11 → 1.0.12

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,6 @@
1
+ import { FC } from 'react';
2
+ interface Props {
3
+ className?: string;
4
+ }
5
+ declare const Icon: FC<Props>;
6
+ export default Icon;
@@ -7,10 +7,13 @@ export interface MultiActionButtonProps {
7
7
  type?: Partial<HierarchyTypes>;
8
8
  size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
9
9
  leftIconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
10
+ middleIconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
10
11
  rightIconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
11
12
  leftIcon?: Partial<IconTypes>;
13
+ middleIcon?: Partial<IconTypes>;
12
14
  rightIcon?: Partial<IconTypes>;
13
15
  rotateLeftIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
16
+ rotateMiddleIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
14
17
  rotateRightIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
15
18
  disabled?: boolean;
16
19
  className?: string;
@@ -1,7 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { IconTypes } from '../../constants';
3
+ import { UnknownObjectInterface } from '../../types/styling.types';
3
4
  export interface RowProps {
4
- row: Record<string | number, unknown>;
5
+ row: UnknownObjectInterface;
5
6
  rowClassName?: string;
6
7
  withIntersectionObserver?: boolean | undefined;
7
8
  children?: ReactNode;
@@ -17,11 +18,11 @@ export interface CellInterface {
17
18
  withEllipsis?: boolean;
18
19
  toolTip?: string;
19
20
  customHeaderCellComponent?: (cell: CellInterface) => ReactNode;
20
- customCellComponent?: (row: Record<string | number, unknown>) => ReactNode;
21
+ customCellComponent?: (row: UnknownObjectInterface) => ReactNode;
21
22
  }
22
23
  export interface SortableTableProps {
23
24
  cells: Array<CellInterface>;
24
- data: Array<Record<string | number, unknown>>;
25
+ data: Array<UnknownObjectInterface>;
25
26
  sortBy: Array<{
26
27
  keyName: string;
27
28
  ascending: boolean;
@@ -119,6 +119,7 @@ export declare enum IconTypes {
119
119
  NOTIFICATION_ACTIVE = "iconNotificationActive",
120
120
  NOTIFICATION_SETTINGS = "iconNotificationSettings",
121
121
  NOTIFICATION_OFF = "iconNotificationOff",
122
+ NOTIFICATION_PLUS = "iconNotificationPlus",
122
123
  NO_CHANGE = "iconNoChange",
123
124
  NO_DIRECTION = "iconNoDirection",
124
125
  OPEN_IN_NEW = "iconOpenInNew",