profinansy-ui-lib 3.1.39 → 3.1.41
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/components/uikit/Hint/Hint.d.ts +55 -0
- package/dist/components/uikit/Hint/Hint.stories.d.ts +6 -0
- package/dist/components/uikit/Hint/Hint.styled.d.ts +1 -0
- package/dist/components/uikit/Hint/Hint.typed.d.ts +7 -0
- package/dist/components/uikit/Hint/index.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +243 -231
- package/dist/index.js.LICENSE.txt +5 -0
- package/package.json +2 -1
- package/dist/components/modals/Available/Available.d.ts +0 -7
- package/dist/components/modals/Available/Available.styled.d.ts +0 -3
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Placement } from '@floating-ui/react';
|
|
3
|
+
import { IHint } from './Hint.typed';
|
|
4
|
+
interface HintOptions {
|
|
5
|
+
placement?: Placement;
|
|
6
|
+
}
|
|
7
|
+
export declare function useHint({ placement }?: HintOptions): {
|
|
8
|
+
placement: Placement;
|
|
9
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
10
|
+
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
isPositioned: boolean;
|
|
14
|
+
update: () => void;
|
|
15
|
+
floatingStyles: React.CSSProperties;
|
|
16
|
+
refs: {
|
|
17
|
+
reference: React.MutableRefObject<import("@floating-ui/react-dom").ReferenceType>;
|
|
18
|
+
floating: React.MutableRefObject<HTMLElement>;
|
|
19
|
+
setReference: (node: import("@floating-ui/react-dom").ReferenceType) => void;
|
|
20
|
+
setFloating: (node: HTMLElement) => void;
|
|
21
|
+
} & import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
22
|
+
elements: {
|
|
23
|
+
reference: import("@floating-ui/react-dom").ReferenceType;
|
|
24
|
+
floating: HTMLElement;
|
|
25
|
+
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
26
|
+
context: {
|
|
27
|
+
placement: Placement;
|
|
28
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
29
|
+
x: number;
|
|
30
|
+
y: number;
|
|
31
|
+
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
32
|
+
isPositioned: boolean;
|
|
33
|
+
update: () => void;
|
|
34
|
+
floatingStyles: React.CSSProperties;
|
|
35
|
+
open: boolean;
|
|
36
|
+
onOpenChange: (open: boolean, event?: Event, reason?: import("@floating-ui/react").OpenChangeReason) => void;
|
|
37
|
+
events: import("@floating-ui/react").FloatingEvents;
|
|
38
|
+
dataRef: React.MutableRefObject<import("@floating-ui/react").ContextData>;
|
|
39
|
+
nodeId: string;
|
|
40
|
+
floatingId: string;
|
|
41
|
+
refs: import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
42
|
+
elements: import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
43
|
+
};
|
|
44
|
+
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
45
|
+
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
46
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
|
|
47
|
+
active?: boolean;
|
|
48
|
+
selected?: boolean;
|
|
49
|
+
}) => Record<string, unknown>;
|
|
50
|
+
arrowRef: React.MutableRefObject<any>;
|
|
51
|
+
open: boolean;
|
|
52
|
+
setOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
53
|
+
};
|
|
54
|
+
declare const Hint: ({ target, children, ...options }: IHint) => JSX.Element;
|
|
55
|
+
export { Hint };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Tooltip: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Hint } from './Hint';
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { useHidingFromApp } from './hooks/useHiddingFromApp';
|
|
|
6
6
|
import { useHidingChat } from './hooks/useHidingChat';
|
|
7
7
|
import { useGetHeaderHeight, useHeaderHeightListener } from './hooks/useHeaderHeight';
|
|
8
8
|
import { Alert } from './components/uikit/Alert';
|
|
9
|
+
import { Hint } from './components/uikit/Hint';
|
|
9
10
|
import { SwiperButton } from './components/uikit/SwiperButton';
|
|
10
11
|
import { Counter } from './components/uikit/Counter';
|
|
11
12
|
import { SegmentControl } from './components/uikit/SegmentControl';
|
|
@@ -45,4 +46,4 @@ import eventBus from './utils/eventBus';
|
|
|
45
46
|
import { BusEvent } from './utils/eventBus/events';
|
|
46
47
|
import { INSTRUMENTS_TYPES } from './hooks/useSearchInstruments';
|
|
47
48
|
import { AnimationFunctions } from './constants/animation/animation';
|
|
48
|
-
export { AnimationFunctions, INSTRUMENTS_TYPES, eventBus, BusEvent, Footer, Header, SideMenu, Alert, SegmentControl, SwiperButton, 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 };
|
|
49
|
+
export { AnimationFunctions, INSTRUMENTS_TYPES, eventBus, BusEvent, Footer, Header, SideMenu, Alert, Hint, SegmentControl, SwiperButton, 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 };
|