widenarrow-ui 0.1.23 → 0.1.25

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;
@@ -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;
@@ -6,7 +6,8 @@ interface Props {
6
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",
@@ -160,7 +162,7 @@ export declare enum IconTypes {
160
162
  STRATEGY = "iconStrategy",
161
163
  SUBSCRIPTIONS = "iconSubscriptions",
162
164
  SUGGESTION = "iconSuggestion",
163
- SUMMARIZE = "SUMMARIZE",
165
+ SUMMARIZE = "iconSummarize",
164
166
  TAXONOMY = "iconTaxonomy",
165
167
  TRANSLATE = "iconTranslate",
166
168
  TRASH = "iconTrash",
@@ -182,7 +184,9 @@ export declare enum IconTypes {
182
184
  WILL_BE_DELETED = "iconWillBeDeleted",
183
185
  WORLD = "iconWorld",
184
186
  ZOOM_IN = "iconZoomIn",
185
- ZOOM_OUT = "iconZoomOut"
187
+ ZOOM_OUT = "iconZoomOut",
188
+ UNDO = "iconUndo",
189
+ REDO = "iconRedo"
186
190
  }
187
191
  export declare enum HierarchyTypes {
188
192
  PRIMARY = "primary",