widenarrow-ui 0.1.25 → 0.1.27

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;
@@ -6,6 +6,7 @@ interface Props {
6
6
  type?: `${HierarchyTypes}`;
7
7
  size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
8
8
  icon?: `${IconTypes}`;
9
+ iconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
9
10
  withIconLeft?: boolean;
10
11
  disabled?: boolean;
11
12
  className?: string;
@@ -1,6 +1,8 @@
1
1
  import { FC } from 'react';
2
- import { IconStyleInterface, ColorStyleInterface, SizeStyleInterface } from 'src/types/styling';
3
- export interface Props extends IconStyleInterface, ColorStyleInterface, SizeStyleInterface {
2
+ import { SizeTypes } from 'src/constants';
3
+ import { IconStyleInterface, ColorStyleInterface } from 'src/types/styling';
4
+ export interface Props extends IconStyleInterface, ColorStyleInterface {
5
+ size: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
4
6
  rotateIcon?: boolean;
5
7
  rotateIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
6
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,8 +2,8 @@ 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
9
  leftIconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
@@ -114,6 +114,7 @@ export declare enum IconTypes {
114
114
  NEWSLETTER_CLOSED = "iconNewsLetterClosed",
115
115
  NEWSLETTER_OPENED = "iconNewsLetterOpened",
116
116
  NEWSLETTER_SENDER = "iconNewsLetterSender",
117
+ NEWSLETTER_TEMPLATE = "iconNewsLetterTemplate",
117
118
  NOTIFICATION = "iconNotification",
118
119
  NOTIFICATION_ACTIVE = "iconNotificationActive",
119
120
  NOTIFICATION_SETTINGS = "iconNotificationSettings",