profinansy-ui-lib 3.1.94 → 3.1.96

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 { ISuccessModal } from './SuccessModal.typed';
2
+ declare const SuccessModal: ({ isOpen, onClose, title, text }: ISuccessModal) => JSX.Element;
3
+ export { SuccessModal };
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: ({ isOpen, onClose, title, text }: import("./SuccessModal.typed").ISuccessModal) => JSX.Element;
4
+ };
5
+ export default _default;
6
+ export declare const SuccessModal: () => JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare const Icon: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const Title: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const Text: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,6 @@
1
+ export interface ISuccessModal {
2
+ title: string;
3
+ text: string;
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ }
@@ -0,0 +1 @@
1
+ export { SuccessModal } from './SuccessModal';
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { IControlButton } from './ControlButton.typed';
2
- declare const ControlButton: ({ isStroke, size, text, onClick, icon }: IControlButton) => JSX.Element;
3
+ declare const ControlButton: React.ForwardRefExoticComponent<IControlButton & React.RefAttributes<HTMLButtonElement>>;
3
4
  export { ControlButton };
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  declare const _default: {
2
3
  title: string;
3
- component: ({ isStroke, size, text, onClick, icon }: import("./ControlButton.typed").IControlButton) => JSX.Element;
4
+ component: React.ForwardRefExoticComponent<import("./ControlButton.typed").IControlButton & React.RefAttributes<HTMLButtonElement>>;
4
5
  tags: string[];
5
6
  };
6
7
  export default _default;
@@ -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;
@@ -25,9 +25,9 @@ export declare function useHint({ placement }?: HintOptions): {
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;
@@ -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;
@@ -7,6 +7,7 @@ export declare const Sidebar: import("styled-components").StyledComponent<"div",
7
7
  headerHeight: number;
8
8
  isOpen: boolean;
9
9
  size?: ISideModal['size'];
10
+ withoutAnimation: boolean;
10
11
  }, never>;
11
12
  export declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
12
13
  export declare const LeftWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -34,4 +34,6 @@ export interface ISideModal {
34
34
  alert?: IAlert;
35
35
  /** Использовать ли внутренний механизм закрытия. */
36
36
  isCloseInside?: boolean;
37
+ /** Отключить анимацию выезда из-за экрана при открытии. */
38
+ withoutAnimation?: boolean;
37
39
  }
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ISortedButton } from './SortingButton.typed';
2
- declare const SortingButton: ({ isStroke, text, isIconRight, onClick, isASC }: ISortedButton) => JSX.Element;
3
+ declare const SortingButton: React.ForwardRefExoticComponent<ISortedButton & React.RefAttributes<HTMLButtonElement>>;
3
4
  export { SortingButton };
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  declare const _default: {
2
3
  title: string;
3
- component: ({ isStroke, text, isIconRight, onClick, isASC }: import("./SortingButton.typed").ISortedButton) => JSX.Element;
4
+ component: React.ForwardRefExoticComponent<import("./SortingButton.typed").ISortedButton & React.RefAttributes<HTMLButtonElement>>;
4
5
  tags: string[];
5
6
  parameters: {
6
7
  design: {
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ import { LayoutSideMenu } from './components/layouts/LayoutSideMenu';
5
5
  import { useHidingFromApp } from './hooks/useHiddingFromApp';
6
6
  import { useHidingChat } from './hooks/useHidingChat';
7
7
  import { useGetHeaderHeight, useHeaderHeightListener } from './hooks/useHeaderHeight';
8
+ import { SuccessModal } from './components/modals/SuccessModal';
8
9
  import { Alert } from './components/uikit/Alert';
9
10
  import { Hint } from './components/uikit/Hint';
10
11
  import { SwiperButton } from './components/uikit/SwiperButton';
@@ -49,4 +50,4 @@ import eventBus from './utils/eventBus';
49
50
  import { BusEvent } from './utils/eventBus/events';
50
51
  import { INSTRUMENTS_TYPES } from './hooks/useSearchInstruments';
51
52
  import { AnimationFunctions } from './constants/animation/animation';
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 };
53
+ export { AnimationFunctions, INSTRUMENTS_TYPES, eventBus, BusEvent, SuccessModal, 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 };