profinansy-ui-lib 3.3.18 → 3.3.20

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.
@@ -1,3 +1,4 @@
1
+ import { ElementType } from 'react';
1
2
  import { UserRole } from '../../../../../common.types';
2
3
  import { IApiSettings } from '../../../../../api/api';
3
4
  interface IProps {
@@ -7,7 +8,8 @@ interface IProps {
7
8
  hostnameLMS: string;
8
9
  userRole: UserRole;
9
10
  leaderBoardPermission: boolean;
11
+ LinkWrapper: ElementType;
10
12
  handleRouteChange: (val: string, target?: boolean) => void;
11
13
  }
12
- declare const HeaderCenter: ({ apiSettings, hostname, hostnameLenta, hostnameLMS, userRole, leaderBoardPermission, handleRouteChange }: IProps) => JSX.Element;
14
+ declare const HeaderCenter: ({ apiSettings, hostname, hostnameLenta, hostnameLMS, userRole, leaderBoardPermission, handleRouteChange, LinkWrapper }: IProps) => JSX.Element;
13
15
  export { HeaderCenter };
@@ -1,6 +1,7 @@
1
- import { FC } from 'react';
1
+ import { ElementType, FC } from 'react';
2
2
  import { HeaderLinkType } from '../../../../../common.types';
3
3
  type Props = HeaderLinkType & {
4
+ LinkWrapper: ElementType;
4
5
  onRouteChange: (path: string, target?: boolean) => void;
5
6
  target?: boolean;
6
7
  activeColor?: string;
@@ -2,7 +2,8 @@
2
2
  export declare const Border: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
3
  active?: boolean;
4
4
  }, never>;
5
- export declare const Container: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
5
+ export declare const ButtonElement: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
6
+ export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
7
  export declare const HeaderLink: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, import("styled-components").DefaultTheme, {
7
8
  active?: boolean;
8
9
  }, never>;
@@ -0,0 +1,3 @@
1
+ import { IButtonPaging } from './ButtonPaging.typed';
2
+ declare const ButtonPaging: ({ direction, onClick, type, disabled }: IButtonPaging) => JSX.Element;
3
+ export { ButtonPaging };
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: ({ direction, onClick, type, disabled }: import("./ButtonPaging.typed").IButtonPaging) => JSX.Element;
4
+ tags: string[];
5
+ parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
10
+ };
11
+ };
12
+ export default _default;
13
+ export declare const ButtonPaging: () => JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { IButtonPaging } from './ButtonPaging.typed';
2
+ export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
3
+ mode: IButtonPaging['type'];
4
+ }, never>;
5
+ export declare const IconWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
6
+ direction: IButtonPaging['direction'];
7
+ }, never>;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export interface IButtonPaging {
3
+ /**Дизейбл кнопки */
4
+ disabled?: boolean;
5
+ /**Направление кнопки */
6
+ direction?: 'left' | 'right';
7
+ /**Вид кнопки */
8
+ type?: 'primary' | 'content';
9
+ /**Действие при клике на кнопку */
10
+ onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
11
+ }
@@ -0,0 +1 @@
1
+ export { ButtonPaging } from './ButtonPaging';
package/dist/index.d.ts CHANGED
@@ -49,6 +49,7 @@ import { Textarea } from './components/uikit/Textarea';
49
49
  import { Bubbles } from './components/uikit/Bubbles';
50
50
  import { Typography } from './components/uikit/Typography';
51
51
  import { PageTitle } from './components/uikit/PageTitle';
52
+ import { ButtonPaging } from './components/uikit/ButtonPaging';
52
53
  import { palette } from './theme/theme.const';
53
54
  import { ThemeProvider, useMode } from './theme/ThemeProvider';
54
55
  import eventBus from './utils/eventBus';
@@ -57,4 +58,4 @@ import { setCookie, getCookie, deleteCookie } from './utils/cookie';
57
58
  import { INSTRUMENTS_TYPES } from './hooks/useSearchInstruments';
58
59
  import { HEIGHT_HEADER } from './constants/common';
59
60
  import { AnimationFunctions } from './constants/animation/animation';
60
- 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, 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 };
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 };