profinansy-ui-lib 3.3.37 → 3.3.39

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,3 @@
1
+ import { ILikeProps } from './Like.typed';
2
+ declare const Like: ({ isActive, amount, onClick }: ILikeProps) => JSX.Element;
3
+ export { Like };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: ({ isActive, amount, onClick }: import("./Like.typed").ILikeProps) => JSX.Element;
4
+ tags: string[];
5
+ };
6
+ export default _default;
7
+ export declare const Like: () => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const Like: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
@@ -0,0 +1,5 @@
1
+ export interface ILikeProps {
2
+ isActive: boolean;
3
+ amount: number;
4
+ onClick: () => void;
5
+ }
@@ -0,0 +1 @@
1
+ export { Like } from './Like';
@@ -0,0 +1,3 @@
1
+ import { IViewsProps } from './Views.typed';
2
+ declare const Views: ({ amount, isViewed }: IViewsProps) => JSX.Element;
3
+ export { Views };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: ({ amount, isViewed }: import("./Views.typed").IViewsProps) => JSX.Element;
4
+ tags: string[];
5
+ };
6
+ export default _default;
7
+ export declare const Views: () => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const Eye: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
@@ -0,0 +1,4 @@
1
+ export interface IViewsProps {
2
+ amount: number;
3
+ isViewed: boolean;
4
+ }
@@ -0,0 +1 @@
1
+ export { Views } from './Views';
@@ -25,9 +25,9 @@ export declare function useDrop({ placement, onOpenList }: {
25
25
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
26
26
  context: {
27
27
  placement: Placement;
28
- strategy: import("@floating-ui/utils").Strategy;
29
28
  x: number;
30
29
  y: number;
30
+ strategy: import("@floating-ui/utils").Strategy;
31
31
  middlewareData: import("@floating-ui/core").MiddlewareData;
32
32
  isPositioned: boolean;
33
33
  update: () => void;
@@ -43,7 +43,7 @@ export declare function useDrop({ placement, onOpenList }: {
43
43
  };
44
44
  getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
45
45
  getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
46
- getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
46
+ getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
47
47
  active?: boolean;
48
48
  selected?: boolean;
49
49
  }) => Record<string, unknown>;
@@ -24,9 +24,9 @@ export declare function useDrop({ placement }: {
24
24
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
25
25
  context: {
26
26
  placement: Placement;
27
- strategy: import("@floating-ui/utils").Strategy;
28
27
  x: number;
29
28
  y: number;
29
+ strategy: import("@floating-ui/utils").Strategy;
30
30
  middlewareData: import("@floating-ui/core").MiddlewareData;
31
31
  isPositioned: boolean;
32
32
  update: () => void;
@@ -42,7 +42,7 @@ export declare function useDrop({ placement }: {
42
42
  };
43
43
  getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
44
44
  getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
45
- getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
45
+ getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
46
46
  active?: boolean;
47
47
  selected?: boolean;
48
48
  }) => Record<string, unknown>;
@@ -26,9 +26,9 @@ export declare function useHint({ placement, isClickMobile }?: HintOptions): {
26
26
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
27
27
  context: {
28
28
  placement: Placement;
29
- strategy: import("@floating-ui/utils").Strategy;
30
29
  x: number;
31
30
  y: number;
31
+ strategy: import("@floating-ui/utils").Strategy;
32
32
  middlewareData: import("@floating-ui/core").MiddlewareData;
33
33
  isPositioned: boolean;
34
34
  update: () => void;
@@ -44,7 +44,7 @@ export declare function useHint({ placement, isClickMobile }?: HintOptions): {
44
44
  };
45
45
  getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
46
46
  getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
47
- getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
47
+ getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
48
48
  active?: boolean;
49
49
  selected?: boolean;
50
50
  }) => Record<string, unknown>;
@@ -29,9 +29,9 @@ export declare function usePopup({ placement, isHover }: {
29
29
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
30
30
  context: {
31
31
  placement: Placement;
32
- strategy: import("@floating-ui/utils").Strategy;
33
32
  x: number;
34
33
  y: number;
34
+ strategy: import("@floating-ui/utils").Strategy;
35
35
  middlewareData: import("@floating-ui/core").MiddlewareData;
36
36
  isPositioned: boolean;
37
37
  update: () => void;
@@ -47,7 +47,7 @@ export declare function usePopup({ placement, isHover }: {
47
47
  };
48
48
  getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
49
49
  getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
50
- getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
50
+ getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
51
51
  active?: boolean;
52
52
  selected?: boolean;
53
53
  }) => Record<string, unknown>;
@@ -26,9 +26,9 @@ export declare function useTooltip({ placement, isHover, showArrow }: {
26
26
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
27
27
  context: {
28
28
  placement: Placement;
29
- strategy: import("@floating-ui/utils").Strategy;
30
29
  x: number;
31
30
  y: number;
31
+ strategy: import("@floating-ui/utils").Strategy;
32
32
  middlewareData: import("@floating-ui/core").MiddlewareData;
33
33
  isPositioned: boolean;
34
34
  update: () => void;
@@ -44,7 +44,7 @@ export declare function useTooltip({ placement, isHover, showArrow }: {
44
44
  };
45
45
  getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
46
46
  getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
47
- getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
47
+ getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
48
48
  active?: boolean;
49
49
  selected?: boolean;
50
50
  }) => Record<string, unknown>;
package/dist/index.d.ts CHANGED
@@ -3,6 +3,8 @@ import { Footer } from './components/blocks/footer';
3
3
  import { SideMenu } from './components/blocks/sideMenu';
4
4
  import { PremiumBanner } from './components/blocks/PremiumBanner';
5
5
  import { CompanyInfo } from './components/blocks/CompanyInfo';
6
+ import { Like } from './components/blocks/Like';
7
+ import { Views } from './components/blocks/Views';
6
8
  import { Notification, NotificationShort } from './components/blocks/Notification';
7
9
  import { LayoutSideMenu } from './components/layouts/LayoutSideMenu';
8
10
  import { useHidingFromApp } from './hooks/useHiddingFromApp';
@@ -59,4 +61,4 @@ import { setCookie, getCookie, deleteCookie } from './utils/cookie';
59
61
  import { INSTRUMENTS_TYPES } from './hooks/useSearchInstruments';
60
62
  import { HEIGHT_HEADER } from './constants/common';
61
63
  import { AnimationFunctions } from './constants/animation/animation';
62
- export { AnimationFunctions, INSTRUMENTS_TYPES, eventBus, BusEvent, SuccessModal, Footer, Header, SideMenu, Notification, NotificationShort, PremiumBanner, CompanyInfo, Alert, AvatarCompany, Table, TCellText, Hint, SegmentControl, SwiperButton, FilterButton, ControlButton, SortingButton, Counter, Checkbox, Radio, Portal, Loader, ButtonPaging, Button, Tabs, TextButton, TextButtonLink, RegexPattern, Input, Textarea, ErrorText, Avatar, Tooltip, Typography, Modal, SideModal, ArrowButton, Bubbles, HiddenText, PasswordInput, Dropdown, ModalMobile, Popup, IPopup, FieldRow, Card, PageTitle, Switch, Spinner, Skeleton, palette, ThemeProvider, useMode, useHidingChat, useHidingFromApp, useOpenSideMenu, useLoadingNextPage, LayoutSideMenu, HEIGHT_HEADER, setCookie, getCookie, deleteCookie, IColumnTable };
64
+ export { AnimationFunctions, INSTRUMENTS_TYPES, eventBus, BusEvent, SuccessModal, Footer, Header, SideMenu, Notification, NotificationShort, Like, Views, PremiumBanner, CompanyInfo, Alert, AvatarCompany, Table, TCellText, Hint, SegmentControl, SwiperButton, FilterButton, ControlButton, SortingButton, Counter, Checkbox, Radio, Portal, Loader, ButtonPaging, Button, Tabs, TextButton, TextButtonLink, RegexPattern, Input, Textarea, ErrorText, Avatar, Tooltip, Typography, Modal, SideModal, ArrowButton, Bubbles, HiddenText, PasswordInput, Dropdown, ModalMobile, Popup, IPopup, FieldRow, Card, PageTitle, Switch, Spinner, Skeleton, palette, ThemeProvider, useMode, useHidingChat, useHidingFromApp, useOpenSideMenu, useLoadingNextPage, LayoutSideMenu, HEIGHT_HEADER, setCookie, getCookie, deleteCookie, IColumnTable };