widenarrow-ui 0.1.24 → 0.1.26

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;
@@ -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;
@@ -2,6 +2,7 @@ import { FC, MouseEvent, ReactNode } from 'react';
2
2
  import { IconTypes } from 'src/constants';
3
3
  interface Props {
4
4
  text?: string;
5
+ component?: ReactNode;
5
6
  id?: string | number;
6
7
  onClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
7
8
  disabled?: boolean;
@@ -8,7 +8,6 @@ interface Props {
8
8
  withBorderRadius?: boolean;
9
9
  withContent?: boolean;
10
10
  backgroundColor?: `${ColorTypes}`;
11
- backgroundColor?: `${ColorTypes}`;
12
11
  marginBottom?: string;
13
12
  padding?: string;
14
13
  borderColor?: `${ColorTypes}`;
@@ -2,11 +2,12 @@ import { FC, MouseEvent } from 'react';
2
2
  import { HierarchyTypes, SizeTypes, IconTypes } from 'src/constants';
3
3
  interface Props {
4
4
  text?: string;
5
- OnLeftClickCallback: (e: MouseEvent<HTMLButtonElement>) => void;
6
- onRightClickCallback: (e: MouseEvent<HTMLButtonElement>) => void;
5
+ onLeftClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
6
+ onRightClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
7
7
  type?: `${HierarchyTypes}`;
8
8
  size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
9
- iconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
9
+ leftIconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
10
+ rightIconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
10
11
  leftIcon?: `${IconTypes}`;
11
12
  rightIcon?: `${IconTypes}`;
12
13
  rotateLeftIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
@@ -116,6 +116,8 @@ export declare enum IconTypes {
116
116
  NEWSLETTER_SENDER = "iconNewsLetterSender",
117
117
  NOTIFICATION = "iconNotification",
118
118
  NOTIFICATION_ACTIVE = "iconNotificationActive",
119
+ NOTIFICATION_SETTINGS = "iconNotificationSettings",
120
+ NOTIFICATION_OFF = "iconNotificationOff",
119
121
  NO_CHANGE = "iconNoChange",
120
122
  NO_DIRECTION = "iconNoDirection",
121
123
  OPEN_IN_NEW = "iconOpenInNew",