profinansy-ui-lib 3.3.30 → 3.3.31

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,4 @@
1
+ import { INotification, INotificationShort } from './Notification.typed';
2
+ declare const Notification: ({ title, description, date, type, link, onClose }: INotification) => JSX.Element;
3
+ declare const NotificationShort: ({ type, onClose, title }: INotificationShort) => JSX.Element;
4
+ export { Notification, NotificationShort };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: ({ title, description, date, type, link, onClose }: import("./Notification.typed").INotification) => JSX.Element;
4
+ tags: string[];
5
+ };
6
+ export default _default;
7
+ export declare const Notification: () => JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { TTypeNotification } from './Notification.typed';
2
+ export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
+ type: TTypeNotification;
4
+ link: string;
5
+ }, never>;
6
+ export declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const Left: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
+ export declare const IconContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
9
+ type: TTypeNotification;
10
+ }, never>;
11
+ export declare const Close: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,14 @@
1
+ export type TTypeNotification = 'success' | 'warning' | 'error' | 'information' | 'myMoney';
2
+ export interface INotification {
3
+ title: string;
4
+ type: TTypeNotification;
5
+ description?: string;
6
+ date?: string;
7
+ link?: string;
8
+ onClose: () => void;
9
+ }
10
+ export interface INotificationShort {
11
+ title: string;
12
+ type: TTypeNotification;
13
+ onClose: () => void;
14
+ }
@@ -0,0 +1 @@
1
+ export { Notification, NotificationShort } from './Notification';
@@ -0,0 +1,4 @@
1
+ import { TTypeNotification } from './Notification.typed';
2
+ import React from 'react';
3
+ export declare const NOTIFICATION_ICONS: Record<TTypeNotification, typeof React.Component>;
4
+ export declare const NAMES: Record<TTypeNotification, string>;
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ 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 { Notification, NotificationShort } from './components/blocks/Notification';
6
7
  import { LayoutSideMenu } from './components/layouts/LayoutSideMenu';
7
8
  import { useHidingFromApp } from './hooks/useHiddingFromApp';
8
9
  import { useHidingChat } from './hooks/useHidingChat';
@@ -58,4 +59,4 @@ import { setCookie, getCookie, deleteCookie } from './utils/cookie';
58
59
  import { INSTRUMENTS_TYPES } from './hooks/useSearchInstruments';
59
60
  import { HEIGHT_HEADER } from './constants/common';
60
61
  import { AnimationFunctions } from './constants/animation/animation';
61
- export { AnimationFunctions, INSTRUMENTS_TYPES, eventBus, BusEvent, SuccessModal, Footer, Header, SideMenu, 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 };
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 };