profinansy-ui-lib 3.1.91 → 3.1.93

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.
package/dist/api/api.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export interface IApiSettings {
2
+ token: string;
2
3
  baseUrl: string;
3
4
  }
@@ -0,0 +1,3 @@
1
+ import { IControlButton } from './ControlButton.typed';
2
+ declare const ControlButton: ({ isStroke, size, text, onClick, icon }: IControlButton) => JSX.Element;
3
+ export { ControlButton };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: ({ isStroke, size, text, onClick, icon }: import("./ControlButton.typed").IControlButton) => JSX.Element;
4
+ tags: string[];
5
+ };
6
+ export default _default;
7
+ export declare const ControlButton: () => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { IControlButton } from './ControlButton.typed';
2
+ export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
3
+ isStroke: boolean;
4
+ size: IControlButton['size'];
5
+ }, never>;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ export interface IControlButton {
3
+ /**Текст кнопки */
4
+ text?: string;
5
+ /**Иконка кнопки */
6
+ icon?: React.ReactNode;
7
+ /** Тип кнопки stroke */
8
+ isStroke?: boolean;
9
+ /** Размер кнопки */
10
+ size?: 'S' | 'M';
11
+ /** Клик по кнопке */
12
+ onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
13
+ }
@@ -0,0 +1 @@
1
+ export { ControlButton } from './ControlButton';
package/dist/index.d.ts CHANGED
@@ -12,6 +12,7 @@ import { Counter } from './components/uikit/Counter';
12
12
  import { SegmentControl } from './components/uikit/SegmentControl';
13
13
  import { Checkbox } from './components/uikit/Checkbox';
14
14
  import { FilterButton } from './components/uikit/FilterButton';
15
+ import { ControlButton } from './components/uikit/ControlButton';
15
16
  import { SortingButton } from './components/uikit/SortingButton';
16
17
  import { Radio } from './components/uikit/Radio';
17
18
  import { Portal } from './components/uikit/Portal';
@@ -48,4 +49,4 @@ import eventBus from './utils/eventBus';
48
49
  import { BusEvent } from './utils/eventBus/events';
49
50
  import { INSTRUMENTS_TYPES } from './hooks/useSearchInstruments';
50
51
  import { AnimationFunctions } from './constants/animation/animation';
51
- export { AnimationFunctions, INSTRUMENTS_TYPES, eventBus, BusEvent, Footer, Header, SideMenu, Alert, Hint, SegmentControl, SwiperButton, FilterButton, SortingButton, Counter, Checkbox, Radio, Portal, Loader, Button, Tabs, TextButton, RegexPattern, Input, Textarea, ErrorText, Avatar, Tooltip, Typography, DefaultTooltip, Modal, SideModal, CircleButton, ArrowButton, Bubbles, HiddenText, PasswordInput, Dropdown, ModalMobile, Popup, IPopup, FieldRow, Card, Switch, Spinner, Skeleton, TabListCell, palette, ThemeProvider, useMode, useHidingChat, useHidingFromApp, useGetHeaderHeight, useHeaderHeightListener, LayoutSideMenu };
52
+ export { AnimationFunctions, INSTRUMENTS_TYPES, eventBus, BusEvent, Footer, Header, SideMenu, Alert, Hint, SegmentControl, SwiperButton, FilterButton, ControlButton, SortingButton, Counter, Checkbox, Radio, Portal, Loader, Button, Tabs, TextButton, RegexPattern, Input, Textarea, ErrorText, Avatar, Tooltip, Typography, DefaultTooltip, Modal, SideModal, CircleButton, ArrowButton, Bubbles, HiddenText, PasswordInput, Dropdown, ModalMobile, Popup, IPopup, FieldRow, Card, Switch, Spinner, Skeleton, TabListCell, palette, ThemeProvider, useMode, useHidingChat, useHidingFromApp, useGetHeaderHeight, useHeaderHeightListener, LayoutSideMenu };