widenarrow-ui 0.1.17 → 0.1.19

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.
@@ -13,7 +13,7 @@ interface Props {
13
13
  leftIcon?: `${IconTypes}`;
14
14
  rightIcon?: `${IconTypes}`;
15
15
  iconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
16
- iconColor: `${ColorTypes}`;
16
+ iconColor?: `${ColorTypes}`;
17
17
  iconClassName?: string;
18
18
  }
19
19
  declare const DropDownItem: FC<Props>;
@@ -6,7 +6,6 @@ interface Props {
6
6
  onClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
7
7
  disabled?: boolean;
8
8
  selected?: boolean;
9
- truncateText?: boolean;
10
9
  icon?: `${IconTypes}`;
11
10
  children?: ReactNode;
12
11
  className?: string;
@@ -1,10 +1,11 @@
1
1
  import { FC } from 'react';
2
+ interface Block {
3
+ height: number;
4
+ col: number;
5
+ }
2
6
  interface Props {
3
7
  className?: string;
4
- block: Array<{
5
- height: number;
6
- col: number;
7
- }>;
8
+ blocks: Array<Block>;
8
9
  }
9
10
  declare const FormSkeleton: FC<Props>;
10
11
  export default FormSkeleton;
@@ -7,7 +7,8 @@ interface Props {
7
7
  type?: `${HierarchyTypes}`;
8
8
  size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
9
9
  iconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
10
- icon?: `${IconTypes}`;
10
+ leftIcon?: `${IconTypes}`;
11
+ rightIcon?: `${IconTypes}`;
11
12
  rotateIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
12
13
  disabled?: boolean;
13
14
  className?: string;
@@ -15,9 +16,11 @@ interface Props {
15
16
  toolTip?: string;
16
17
  id?: string | number;
17
18
  loading?: boolean;
19
+ withEllipsis?: boolean;
18
20
  autoFocus?: boolean;
19
21
  ariaLabel?: string;
20
22
  tabIndex?: number;
23
+ withSeparator?: boolean;
21
24
  }
22
25
  declare const MultiActionButton: FC<Props>;
23
26
  export default MultiActionButton;
@@ -1,8 +1,8 @@
1
1
  import { FC } from 'react';
2
2
  import { HierarchyTypes, SizeTypes } from 'src/constants';
3
3
  interface Props {
4
- type?: HierarchyTypes.PRIMARY | HierarchyTypes.SECONDARY;
5
- size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
4
+ type?: `${HierarchyTypes}`;
5
+ size?: SizeTypes.EXTRA_SMALL | SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
6
6
  disabled?: boolean;
7
7
  className?: string;
8
8
  label?: string;
@@ -209,6 +209,7 @@ export declare enum ColorTypes {
209
209
  CURRENT = "current"
210
210
  }
211
211
  export declare enum SizeTypes {
212
+ EXTRA_SMALL = "extraSmall",
212
213
  SMALL = "small",
213
214
  MEDIUM = "medium",
214
215
  LARGE = "large",