@luxfi/ui 7.2.0 → 7.3.0
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/index.cjs +18 -7
- package/dist/index.js +18 -7
- package/dist/provider.cjs +35 -55
- package/dist/provider.js +16 -35
- package/package.json +6 -6
- package/src/index.ts +1 -0
- package/src/provider.tsx +28 -6
- package/dist/accordion.d.cts +0 -74
- package/dist/accordion.d.ts +0 -74
- package/dist/alert.d.cts +0 -30
- package/dist/alert.d.ts +0 -30
- package/dist/avatar.d.cts +0 -25
- package/dist/avatar.d.ts +0 -25
- package/dist/badge.d.cts +0 -19
- package/dist/badge.d.ts +0 -19
- package/dist/bank.d.cts +0 -76
- package/dist/bank.d.ts +0 -76
- package/dist/button.d.cts +0 -55
- package/dist/button.d.ts +0 -55
- package/dist/checkbox.d.cts +0 -31
- package/dist/checkbox.d.ts +0 -31
- package/dist/close-button.d.cts +0 -9
- package/dist/close-button.d.ts +0 -9
- package/dist/collapsible.d.cts +0 -23
- package/dist/collapsible.d.ts +0 -23
- package/dist/color-mode.d.cts +0 -25
- package/dist/color-mode.d.ts +0 -25
- package/dist/dialog.d.cts +0 -65
- package/dist/dialog.d.ts +0 -65
- package/dist/drawer.d.cts +0 -36
- package/dist/drawer.d.ts +0 -36
- package/dist/empty-state.d.cts +0 -13
- package/dist/empty-state.d.ts +0 -13
- package/dist/expiration-selector.d.cts +0 -16
- package/dist/expiration-selector.d.ts +0 -16
- package/dist/field.d.cts +0 -24
- package/dist/field.d.ts +0 -24
- package/dist/greeks-display.d.cts +0 -14
- package/dist/greeks-display.d.ts +0 -14
- package/dist/heading.d.cts +0 -10
- package/dist/heading.d.ts +0 -10
- package/dist/icon-button.d.cts +0 -33
- package/dist/icon-button.d.ts +0 -33
- package/dist/image.d.cts +0 -57
- package/dist/image.d.ts +0 -57
- package/dist/index.d.cts +0 -55
- package/dist/index.d.ts +0 -55
- package/dist/input-group.d.cts +0 -17
- package/dist/input-group.d.ts +0 -17
- package/dist/input.d.cts +0 -11
- package/dist/input.d.ts +0 -11
- package/dist/link.d.cts +0 -37
- package/dist/link.d.ts +0 -37
- package/dist/menu.d.cts +0 -84
- package/dist/menu.d.ts +0 -84
- package/dist/option-chain.d.cts +0 -37
- package/dist/option-chain.d.ts +0 -37
- package/dist/option-position.d.cts +0 -29
- package/dist/option-position.d.ts +0 -29
- package/dist/pin-input.d.cts +0 -25
- package/dist/pin-input.d.ts +0 -25
- package/dist/pnl-diagram.d.cts +0 -11
- package/dist/pnl-diagram.d.ts +0 -11
- package/dist/popover.d.cts +0 -73
- package/dist/popover.d.ts +0 -73
- package/dist/progress-circle.d.cts +0 -47
- package/dist/progress-circle.d.ts +0 -47
- package/dist/progress.d.cts +0 -28
- package/dist/progress.d.ts +0 -28
- package/dist/provider.d.cts +0 -7
- package/dist/provider.d.ts +0 -7
- package/dist/radio.d.cts +0 -53
- package/dist/radio.d.ts +0 -53
- package/dist/rating.d.cts +0 -14
- package/dist/rating.d.ts +0 -14
- package/dist/select.d.cts +0 -130
- package/dist/select.d.ts +0 -130
- package/dist/separator.d.cts +0 -13
- package/dist/separator.d.ts +0 -13
- package/dist/skeleton.d.cts +0 -60
- package/dist/skeleton.d.ts +0 -60
- package/dist/slider.d.cts +0 -24
- package/dist/slider.d.ts +0 -24
- package/dist/strategy-builder.d.cts +0 -26
- package/dist/strategy-builder.d.ts +0 -26
- package/dist/switch.d.cts +0 -27
- package/dist/switch.d.ts +0 -27
- package/dist/table.d.cts +0 -107
- package/dist/table.d.ts +0 -107
- package/dist/tabs.d.cts +0 -78
- package/dist/tabs.d.ts +0 -78
- package/dist/tag.d.cts +0 -21
- package/dist/tag.d.ts +0 -21
- package/dist/textarea.d.cts +0 -11
- package/dist/textarea.d.ts +0 -11
- package/dist/toaster.d.cts +0 -29
- package/dist/toaster.d.ts +0 -29
- package/dist/tooltip.d.cts +0 -38
- package/dist/tooltip.d.ts +0 -38
- package/dist/utils.d.cts +0 -5
- package/dist/utils.d.ts +0 -5
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface StrategyLeg {
|
|
4
|
-
action: 'buy' | 'sell';
|
|
5
|
-
type: 'call' | 'put';
|
|
6
|
-
strike: number;
|
|
7
|
-
expiration: string;
|
|
8
|
-
quantity: number;
|
|
9
|
-
premium?: number;
|
|
10
|
-
}
|
|
11
|
-
type StrategyType = 'bull_call_spread' | 'bear_put_spread' | 'iron_condor' | 'butterfly' | 'straddle' | 'strangle' | 'collar' | 'custom';
|
|
12
|
-
interface StrategySubmission {
|
|
13
|
-
type: string;
|
|
14
|
-
legs: StrategyLeg[];
|
|
15
|
-
netPremium: number;
|
|
16
|
-
}
|
|
17
|
-
interface StrategyBuilderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onSubmit'> {
|
|
18
|
-
readonly underlying: string;
|
|
19
|
-
readonly expirations: string[];
|
|
20
|
-
readonly strikes: number[];
|
|
21
|
-
readonly spotPrice: number;
|
|
22
|
-
readonly onSubmit?: (strategy: StrategySubmission) => void;
|
|
23
|
-
}
|
|
24
|
-
declare const StrategyBuilder: React.ForwardRefExoticComponent<StrategyBuilderProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
-
|
|
26
|
-
export { StrategyBuilder, type StrategyBuilderProps, type StrategyLeg, type StrategySubmission, type StrategyType };
|
package/dist/switch.d.cts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<'label'>, 'onChange' | 'dir'> {
|
|
4
|
-
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
5
|
-
labelProps?: React.ComponentPropsWithoutRef<'span'>;
|
|
6
|
-
rootRef?: React.Ref<HTMLLabelElement>;
|
|
7
|
-
trackLabel?: {
|
|
8
|
-
on: React.ReactNode;
|
|
9
|
-
off: React.ReactNode;
|
|
10
|
-
};
|
|
11
|
-
thumbLabel?: {
|
|
12
|
-
on: React.ReactNode;
|
|
13
|
-
off: React.ReactNode;
|
|
14
|
-
};
|
|
15
|
-
checked?: boolean;
|
|
16
|
-
defaultChecked?: boolean;
|
|
17
|
-
onCheckedChange?: (details: {
|
|
18
|
-
checked: boolean;
|
|
19
|
-
}) => void;
|
|
20
|
-
onChange?: React.FormEventHandler<HTMLLabelElement>;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
size?: 'sm' | 'md' | 'lg';
|
|
23
|
-
direction?: 'ltr' | 'rtl';
|
|
24
|
-
}
|
|
25
|
-
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
|
|
26
|
-
|
|
27
|
-
export { Switch, type SwitchProps };
|
package/dist/switch.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<'label'>, 'onChange' | 'dir'> {
|
|
4
|
-
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
5
|
-
labelProps?: React.ComponentPropsWithoutRef<'span'>;
|
|
6
|
-
rootRef?: React.Ref<HTMLLabelElement>;
|
|
7
|
-
trackLabel?: {
|
|
8
|
-
on: React.ReactNode;
|
|
9
|
-
off: React.ReactNode;
|
|
10
|
-
};
|
|
11
|
-
thumbLabel?: {
|
|
12
|
-
on: React.ReactNode;
|
|
13
|
-
off: React.ReactNode;
|
|
14
|
-
};
|
|
15
|
-
checked?: boolean;
|
|
16
|
-
defaultChecked?: boolean;
|
|
17
|
-
onCheckedChange?: (details: {
|
|
18
|
-
checked: boolean;
|
|
19
|
-
}) => void;
|
|
20
|
-
onChange?: React.FormEventHandler<HTMLLabelElement>;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
size?: 'sm' | 'md' | 'lg';
|
|
23
|
-
direction?: 'ltr' | 'rtl';
|
|
24
|
-
}
|
|
25
|
-
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
|
|
26
|
-
|
|
27
|
-
export { Switch, type SwitchProps };
|
package/dist/table.d.cts
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
interface ChakraStyleProps {
|
|
5
|
-
width?: React.CSSProperties['width'];
|
|
6
|
-
w?: React.CSSProperties['width'];
|
|
7
|
-
minWidth?: React.CSSProperties['minWidth'];
|
|
8
|
-
minW?: React.CSSProperties['minWidth'];
|
|
9
|
-
maxWidth?: React.CSSProperties['maxWidth'];
|
|
10
|
-
maxW?: React.CSSProperties['maxWidth'];
|
|
11
|
-
height?: React.CSSProperties['height'];
|
|
12
|
-
h?: React.CSSProperties['height'];
|
|
13
|
-
textAlign?: React.CSSProperties['textAlign'];
|
|
14
|
-
verticalAlign?: React.CSSProperties['verticalAlign'];
|
|
15
|
-
whiteSpace?: React.CSSProperties['whiteSpace'];
|
|
16
|
-
wordBreak?: React.CSSProperties['wordBreak'];
|
|
17
|
-
textTransform?: React.CSSProperties['textTransform'];
|
|
18
|
-
fontSize?: React.CSSProperties['fontSize'];
|
|
19
|
-
lineHeight?: React.CSSProperties['lineHeight'];
|
|
20
|
-
animation?: React.CSSProperties['animation'];
|
|
21
|
-
tableLayout?: React.CSSProperties['tableLayout'];
|
|
22
|
-
p?: number | string;
|
|
23
|
-
px?: number | string;
|
|
24
|
-
py?: number | string;
|
|
25
|
-
pr?: number | string;
|
|
26
|
-
pl?: number | string;
|
|
27
|
-
pt?: number | string;
|
|
28
|
-
pb?: number | string;
|
|
29
|
-
m?: number | string;
|
|
30
|
-
mx?: number | string;
|
|
31
|
-
my?: number | string;
|
|
32
|
-
mr?: number | string;
|
|
33
|
-
ml?: number | string;
|
|
34
|
-
mt?: number | string;
|
|
35
|
-
mb?: number | string;
|
|
36
|
-
position?: React.CSSProperties['position'];
|
|
37
|
-
top?: number | string;
|
|
38
|
-
left?: number | string;
|
|
39
|
-
right?: number | string;
|
|
40
|
-
bottom?: number | string;
|
|
41
|
-
zIndex?: React.CSSProperties['zIndex'];
|
|
42
|
-
backgroundColor?: React.CSSProperties['backgroundColor'] | Record<string, string>;
|
|
43
|
-
boxShadow?: React.CSSProperties['boxShadow'];
|
|
44
|
-
alignItems?: React.CSSProperties['alignItems'];
|
|
45
|
-
fontWeight?: React.CSSProperties['fontWeight'];
|
|
46
|
-
color?: React.CSSProperties['color'] | string;
|
|
47
|
-
overflow?: React.CSSProperties['overflow'];
|
|
48
|
-
borderBottomStyle?: React.CSSProperties['borderBottomStyle'];
|
|
49
|
-
borderRadius?: React.CSSProperties['borderRadius'];
|
|
50
|
-
display?: React.CSSProperties['display'];
|
|
51
|
-
_first?: Record<string, unknown>;
|
|
52
|
-
_last?: Record<string, unknown>;
|
|
53
|
-
}
|
|
54
|
-
interface TableRootProps extends Omit<ChakraStyleProps, 'minWidth' | 'minW'>, Omit<React.HTMLAttributes<HTMLTableElement>, 'color'> {
|
|
55
|
-
children?: React.ReactNode;
|
|
56
|
-
minWidth?: React.CSSProperties['minWidth'] | Record<string, string>;
|
|
57
|
-
minW?: React.CSSProperties['minWidth'] | Record<string, string>;
|
|
58
|
-
}
|
|
59
|
-
declare const TableRoot: React.ForwardRefExoticComponent<TableRootProps & React.RefAttributes<HTMLTableElement>>;
|
|
60
|
-
interface TableHeaderProps extends ChakraStyleProps, Omit<React.HTMLAttributes<HTMLTableSectionElement>, 'color'> {
|
|
61
|
-
children?: React.ReactNode;
|
|
62
|
-
}
|
|
63
|
-
declare const TableHeader: React.ForwardRefExoticComponent<TableHeaderProps & React.RefAttributes<HTMLTableSectionElement>>;
|
|
64
|
-
interface TableBodyProps extends ChakraStyleProps, Omit<React.HTMLAttributes<HTMLTableSectionElement>, 'color'> {
|
|
65
|
-
children?: React.ReactNode;
|
|
66
|
-
}
|
|
67
|
-
declare const TableBody: React.ForwardRefExoticComponent<TableBodyProps & React.RefAttributes<HTMLTableSectionElement>>;
|
|
68
|
-
interface TableRowProps extends ChakraStyleProps, Omit<React.HTMLAttributes<HTMLTableRowElement>, 'color'> {
|
|
69
|
-
children?: React.ReactNode;
|
|
70
|
-
}
|
|
71
|
-
declare const TableRow: React.ForwardRefExoticComponent<TableRowProps & React.RefAttributes<HTMLTableRowElement>>;
|
|
72
|
-
interface TableCellProps extends Omit<ChakraStyleProps, 'width' | 'height'>, Omit<React.TdHTMLAttributes<HTMLTableCellElement>, 'color'> {
|
|
73
|
-
isNumeric?: boolean;
|
|
74
|
-
children?: React.ReactNode;
|
|
75
|
-
display?: string;
|
|
76
|
-
justifyContent?: string;
|
|
77
|
-
}
|
|
78
|
-
declare const TableCell: React.ForwardRefExoticComponent<TableCellProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
79
|
-
interface TableColumnHeaderProps extends ChakraStyleProps, Omit<React.ThHTMLAttributes<HTMLTableCellElement>, 'color'> {
|
|
80
|
-
isNumeric?: boolean;
|
|
81
|
-
children?: React.ReactNode;
|
|
82
|
-
}
|
|
83
|
-
declare const TableColumnHeader: React.ForwardRefExoticComponent<TableColumnHeaderProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
84
|
-
interface TableColumnHeaderSortableProps<F extends string> extends TableColumnHeaderProps {
|
|
85
|
-
sortField: F;
|
|
86
|
-
sortValue: string;
|
|
87
|
-
onSortToggle: (sortField: F) => void;
|
|
88
|
-
disabled?: boolean;
|
|
89
|
-
indicatorPosition?: 'left' | 'right';
|
|
90
|
-
contentAfter?: React.ReactNode;
|
|
91
|
-
}
|
|
92
|
-
declare const TableColumnHeaderSortable: <F extends string>(props: TableColumnHeaderSortableProps<F>) => react_jsx_runtime.JSX.Element;
|
|
93
|
-
declare const TableHeaderSticky: (props: TableHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
94
|
-
interface TableCaptionProps extends ChakraStyleProps, Omit<React.HTMLAttributes<HTMLTableCaptionElement>, 'color'> {
|
|
95
|
-
children?: React.ReactNode;
|
|
96
|
-
}
|
|
97
|
-
declare const TableCaption: React.ForwardRefExoticComponent<TableCaptionProps & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
98
|
-
interface TableFooterProps extends ChakraStyleProps, Omit<React.HTMLAttributes<HTMLTableSectionElement>, 'color'> {
|
|
99
|
-
children?: React.ReactNode;
|
|
100
|
-
}
|
|
101
|
-
declare const TableFooter: React.ForwardRefExoticComponent<TableFooterProps & React.RefAttributes<HTMLTableSectionElement>>;
|
|
102
|
-
interface TableScrollWrapperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
103
|
-
children?: React.ReactNode;
|
|
104
|
-
}
|
|
105
|
-
declare const TableScrollWrapper: React.ForwardRefExoticComponent<TableScrollWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
|
106
|
-
|
|
107
|
-
export { TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableColumnHeader, type TableColumnHeaderProps, TableColumnHeaderSortable, type TableColumnHeaderSortableProps, TableFooter, type TableFooterProps, TableHeader, type TableHeaderProps, TableHeaderSticky, TableRoot, type TableRootProps, TableRow, type TableRowProps, TableScrollWrapper, type TableScrollWrapperProps };
|
package/dist/table.d.ts
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
interface ChakraStyleProps {
|
|
5
|
-
width?: React.CSSProperties['width'];
|
|
6
|
-
w?: React.CSSProperties['width'];
|
|
7
|
-
minWidth?: React.CSSProperties['minWidth'];
|
|
8
|
-
minW?: React.CSSProperties['minWidth'];
|
|
9
|
-
maxWidth?: React.CSSProperties['maxWidth'];
|
|
10
|
-
maxW?: React.CSSProperties['maxWidth'];
|
|
11
|
-
height?: React.CSSProperties['height'];
|
|
12
|
-
h?: React.CSSProperties['height'];
|
|
13
|
-
textAlign?: React.CSSProperties['textAlign'];
|
|
14
|
-
verticalAlign?: React.CSSProperties['verticalAlign'];
|
|
15
|
-
whiteSpace?: React.CSSProperties['whiteSpace'];
|
|
16
|
-
wordBreak?: React.CSSProperties['wordBreak'];
|
|
17
|
-
textTransform?: React.CSSProperties['textTransform'];
|
|
18
|
-
fontSize?: React.CSSProperties['fontSize'];
|
|
19
|
-
lineHeight?: React.CSSProperties['lineHeight'];
|
|
20
|
-
animation?: React.CSSProperties['animation'];
|
|
21
|
-
tableLayout?: React.CSSProperties['tableLayout'];
|
|
22
|
-
p?: number | string;
|
|
23
|
-
px?: number | string;
|
|
24
|
-
py?: number | string;
|
|
25
|
-
pr?: number | string;
|
|
26
|
-
pl?: number | string;
|
|
27
|
-
pt?: number | string;
|
|
28
|
-
pb?: number | string;
|
|
29
|
-
m?: number | string;
|
|
30
|
-
mx?: number | string;
|
|
31
|
-
my?: number | string;
|
|
32
|
-
mr?: number | string;
|
|
33
|
-
ml?: number | string;
|
|
34
|
-
mt?: number | string;
|
|
35
|
-
mb?: number | string;
|
|
36
|
-
position?: React.CSSProperties['position'];
|
|
37
|
-
top?: number | string;
|
|
38
|
-
left?: number | string;
|
|
39
|
-
right?: number | string;
|
|
40
|
-
bottom?: number | string;
|
|
41
|
-
zIndex?: React.CSSProperties['zIndex'];
|
|
42
|
-
backgroundColor?: React.CSSProperties['backgroundColor'] | Record<string, string>;
|
|
43
|
-
boxShadow?: React.CSSProperties['boxShadow'];
|
|
44
|
-
alignItems?: React.CSSProperties['alignItems'];
|
|
45
|
-
fontWeight?: React.CSSProperties['fontWeight'];
|
|
46
|
-
color?: React.CSSProperties['color'] | string;
|
|
47
|
-
overflow?: React.CSSProperties['overflow'];
|
|
48
|
-
borderBottomStyle?: React.CSSProperties['borderBottomStyle'];
|
|
49
|
-
borderRadius?: React.CSSProperties['borderRadius'];
|
|
50
|
-
display?: React.CSSProperties['display'];
|
|
51
|
-
_first?: Record<string, unknown>;
|
|
52
|
-
_last?: Record<string, unknown>;
|
|
53
|
-
}
|
|
54
|
-
interface TableRootProps extends Omit<ChakraStyleProps, 'minWidth' | 'minW'>, Omit<React.HTMLAttributes<HTMLTableElement>, 'color'> {
|
|
55
|
-
children?: React.ReactNode;
|
|
56
|
-
minWidth?: React.CSSProperties['minWidth'] | Record<string, string>;
|
|
57
|
-
minW?: React.CSSProperties['minWidth'] | Record<string, string>;
|
|
58
|
-
}
|
|
59
|
-
declare const TableRoot: React.ForwardRefExoticComponent<TableRootProps & React.RefAttributes<HTMLTableElement>>;
|
|
60
|
-
interface TableHeaderProps extends ChakraStyleProps, Omit<React.HTMLAttributes<HTMLTableSectionElement>, 'color'> {
|
|
61
|
-
children?: React.ReactNode;
|
|
62
|
-
}
|
|
63
|
-
declare const TableHeader: React.ForwardRefExoticComponent<TableHeaderProps & React.RefAttributes<HTMLTableSectionElement>>;
|
|
64
|
-
interface TableBodyProps extends ChakraStyleProps, Omit<React.HTMLAttributes<HTMLTableSectionElement>, 'color'> {
|
|
65
|
-
children?: React.ReactNode;
|
|
66
|
-
}
|
|
67
|
-
declare const TableBody: React.ForwardRefExoticComponent<TableBodyProps & React.RefAttributes<HTMLTableSectionElement>>;
|
|
68
|
-
interface TableRowProps extends ChakraStyleProps, Omit<React.HTMLAttributes<HTMLTableRowElement>, 'color'> {
|
|
69
|
-
children?: React.ReactNode;
|
|
70
|
-
}
|
|
71
|
-
declare const TableRow: React.ForwardRefExoticComponent<TableRowProps & React.RefAttributes<HTMLTableRowElement>>;
|
|
72
|
-
interface TableCellProps extends Omit<ChakraStyleProps, 'width' | 'height'>, Omit<React.TdHTMLAttributes<HTMLTableCellElement>, 'color'> {
|
|
73
|
-
isNumeric?: boolean;
|
|
74
|
-
children?: React.ReactNode;
|
|
75
|
-
display?: string;
|
|
76
|
-
justifyContent?: string;
|
|
77
|
-
}
|
|
78
|
-
declare const TableCell: React.ForwardRefExoticComponent<TableCellProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
79
|
-
interface TableColumnHeaderProps extends ChakraStyleProps, Omit<React.ThHTMLAttributes<HTMLTableCellElement>, 'color'> {
|
|
80
|
-
isNumeric?: boolean;
|
|
81
|
-
children?: React.ReactNode;
|
|
82
|
-
}
|
|
83
|
-
declare const TableColumnHeader: React.ForwardRefExoticComponent<TableColumnHeaderProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
84
|
-
interface TableColumnHeaderSortableProps<F extends string> extends TableColumnHeaderProps {
|
|
85
|
-
sortField: F;
|
|
86
|
-
sortValue: string;
|
|
87
|
-
onSortToggle: (sortField: F) => void;
|
|
88
|
-
disabled?: boolean;
|
|
89
|
-
indicatorPosition?: 'left' | 'right';
|
|
90
|
-
contentAfter?: React.ReactNode;
|
|
91
|
-
}
|
|
92
|
-
declare const TableColumnHeaderSortable: <F extends string>(props: TableColumnHeaderSortableProps<F>) => react_jsx_runtime.JSX.Element;
|
|
93
|
-
declare const TableHeaderSticky: (props: TableHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
94
|
-
interface TableCaptionProps extends ChakraStyleProps, Omit<React.HTMLAttributes<HTMLTableCaptionElement>, 'color'> {
|
|
95
|
-
children?: React.ReactNode;
|
|
96
|
-
}
|
|
97
|
-
declare const TableCaption: React.ForwardRefExoticComponent<TableCaptionProps & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
98
|
-
interface TableFooterProps extends ChakraStyleProps, Omit<React.HTMLAttributes<HTMLTableSectionElement>, 'color'> {
|
|
99
|
-
children?: React.ReactNode;
|
|
100
|
-
}
|
|
101
|
-
declare const TableFooter: React.ForwardRefExoticComponent<TableFooterProps & React.RefAttributes<HTMLTableSectionElement>>;
|
|
102
|
-
interface TableScrollWrapperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
103
|
-
children?: React.ReactNode;
|
|
104
|
-
}
|
|
105
|
-
declare const TableScrollWrapper: React.ForwardRefExoticComponent<TableScrollWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
|
106
|
-
|
|
107
|
-
export { TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableColumnHeader, type TableColumnHeaderProps, TableColumnHeaderSortable, type TableColumnHeaderSortableProps, TableFooter, type TableFooterProps, TableHeader, type TableHeaderProps, TableHeaderSticky, TableRoot, type TableRootProps, TableRow, type TableRowProps, TableScrollWrapper, type TableScrollWrapperProps };
|
package/dist/tabs.d.cts
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import * as RadixTabs from '@radix-ui/react-tabs';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
type TabsVariant = 'solid' | 'secondary' | 'segmented' | 'unstyled';
|
|
5
|
-
type TabsSize = 'sm' | 'md' | 'free';
|
|
6
|
-
interface TabsProps extends Omit<React.ComponentPropsWithoutRef<typeof RadixTabs.Root>, 'onValueChange'> {
|
|
7
|
-
/** Visual variant. Default: "solid". */
|
|
8
|
-
variant?: TabsVariant;
|
|
9
|
-
/** Size preset. Default: "md". */
|
|
10
|
-
size?: TabsSize;
|
|
11
|
-
/** Stretch triggers to fill the list width. */
|
|
12
|
-
fitted?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated Chakra-compat. Radix mounts lazily by default (content only
|
|
15
|
-
* renders when active). Kept so call-sites don't break at compile time.
|
|
16
|
-
*/
|
|
17
|
-
lazyMount?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated Chakra-compat. Radix unmounts inactive content by default.
|
|
20
|
-
* Kept so call-sites don't break at compile time.
|
|
21
|
-
*/
|
|
22
|
-
unmountOnExit?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Chakra-compatible value-change handler.
|
|
25
|
-
* Accepts both `(details: { value: string }) => void` (Chakra convention)
|
|
26
|
-
* and `(value: string) => void` (Radix convention).
|
|
27
|
-
*/
|
|
28
|
-
onValueChange?: ((details: {
|
|
29
|
-
value: string;
|
|
30
|
-
}) => void) | ((value: string) => void);
|
|
31
|
-
}
|
|
32
|
-
declare const TabsRoot: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
-
interface TabsListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
34
|
-
asChild?: boolean;
|
|
35
|
-
loop?: boolean;
|
|
36
|
-
flexWrap?: string;
|
|
37
|
-
alignItems?: string;
|
|
38
|
-
whiteSpace?: string;
|
|
39
|
-
bgColor?: string;
|
|
40
|
-
marginBottom?: number | string;
|
|
41
|
-
mx?: string | Record<string, string>;
|
|
42
|
-
px?: string | Record<string, string>;
|
|
43
|
-
w?: string | Record<string, string>;
|
|
44
|
-
overflowX?: string | Record<string, string>;
|
|
45
|
-
overscrollBehaviorX?: string;
|
|
46
|
-
css?: Record<string, unknown>;
|
|
47
|
-
position?: string;
|
|
48
|
-
boxShadow?: string | Record<string, string>;
|
|
49
|
-
top?: number | string;
|
|
50
|
-
zIndex?: string | Record<string, string>;
|
|
51
|
-
}
|
|
52
|
-
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
53
|
-
interface TabsTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof RadixTabs.Trigger>, 'dir'> {
|
|
54
|
-
scrollSnapAlign?: string;
|
|
55
|
-
flexShrink?: number;
|
|
56
|
-
bgColor?: string | Record<string, string>;
|
|
57
|
-
w?: string;
|
|
58
|
-
py?: string;
|
|
59
|
-
borderRadius?: string;
|
|
60
|
-
fontWeight?: string;
|
|
61
|
-
color?: string;
|
|
62
|
-
_hover?: Record<string, string>;
|
|
63
|
-
position?: string;
|
|
64
|
-
top?: string;
|
|
65
|
-
left?: string;
|
|
66
|
-
visibility?: string;
|
|
67
|
-
}
|
|
68
|
-
declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
69
|
-
interface TabsContentProps extends React.ComponentPropsWithoutRef<typeof RadixTabs.Content> {
|
|
70
|
-
padding?: number | string;
|
|
71
|
-
}
|
|
72
|
-
declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
73
|
-
interface TabsCounterProps {
|
|
74
|
-
count?: number | null;
|
|
75
|
-
}
|
|
76
|
-
declare const TabsCounter: ({ count }: TabsCounterProps) => React.ReactElement | null;
|
|
77
|
-
|
|
78
|
-
export { TabsContent, type TabsContentProps, TabsCounter, type TabsCounterProps, TabsList, type TabsListProps, type TabsProps, TabsRoot, TabsTrigger, type TabsTriggerProps };
|
package/dist/tabs.d.ts
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import * as RadixTabs from '@radix-ui/react-tabs';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
type TabsVariant = 'solid' | 'secondary' | 'segmented' | 'unstyled';
|
|
5
|
-
type TabsSize = 'sm' | 'md' | 'free';
|
|
6
|
-
interface TabsProps extends Omit<React.ComponentPropsWithoutRef<typeof RadixTabs.Root>, 'onValueChange'> {
|
|
7
|
-
/** Visual variant. Default: "solid". */
|
|
8
|
-
variant?: TabsVariant;
|
|
9
|
-
/** Size preset. Default: "md". */
|
|
10
|
-
size?: TabsSize;
|
|
11
|
-
/** Stretch triggers to fill the list width. */
|
|
12
|
-
fitted?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated Chakra-compat. Radix mounts lazily by default (content only
|
|
15
|
-
* renders when active). Kept so call-sites don't break at compile time.
|
|
16
|
-
*/
|
|
17
|
-
lazyMount?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated Chakra-compat. Radix unmounts inactive content by default.
|
|
20
|
-
* Kept so call-sites don't break at compile time.
|
|
21
|
-
*/
|
|
22
|
-
unmountOnExit?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Chakra-compatible value-change handler.
|
|
25
|
-
* Accepts both `(details: { value: string }) => void` (Chakra convention)
|
|
26
|
-
* and `(value: string) => void` (Radix convention).
|
|
27
|
-
*/
|
|
28
|
-
onValueChange?: ((details: {
|
|
29
|
-
value: string;
|
|
30
|
-
}) => void) | ((value: string) => void);
|
|
31
|
-
}
|
|
32
|
-
declare const TabsRoot: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
-
interface TabsListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
34
|
-
asChild?: boolean;
|
|
35
|
-
loop?: boolean;
|
|
36
|
-
flexWrap?: string;
|
|
37
|
-
alignItems?: string;
|
|
38
|
-
whiteSpace?: string;
|
|
39
|
-
bgColor?: string;
|
|
40
|
-
marginBottom?: number | string;
|
|
41
|
-
mx?: string | Record<string, string>;
|
|
42
|
-
px?: string | Record<string, string>;
|
|
43
|
-
w?: string | Record<string, string>;
|
|
44
|
-
overflowX?: string | Record<string, string>;
|
|
45
|
-
overscrollBehaviorX?: string;
|
|
46
|
-
css?: Record<string, unknown>;
|
|
47
|
-
position?: string;
|
|
48
|
-
boxShadow?: string | Record<string, string>;
|
|
49
|
-
top?: number | string;
|
|
50
|
-
zIndex?: string | Record<string, string>;
|
|
51
|
-
}
|
|
52
|
-
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
53
|
-
interface TabsTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof RadixTabs.Trigger>, 'dir'> {
|
|
54
|
-
scrollSnapAlign?: string;
|
|
55
|
-
flexShrink?: number;
|
|
56
|
-
bgColor?: string | Record<string, string>;
|
|
57
|
-
w?: string;
|
|
58
|
-
py?: string;
|
|
59
|
-
borderRadius?: string;
|
|
60
|
-
fontWeight?: string;
|
|
61
|
-
color?: string;
|
|
62
|
-
_hover?: Record<string, string>;
|
|
63
|
-
position?: string;
|
|
64
|
-
top?: string;
|
|
65
|
-
left?: string;
|
|
66
|
-
visibility?: string;
|
|
67
|
-
}
|
|
68
|
-
declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
69
|
-
interface TabsContentProps extends React.ComponentPropsWithoutRef<typeof RadixTabs.Content> {
|
|
70
|
-
padding?: number | string;
|
|
71
|
-
}
|
|
72
|
-
declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
73
|
-
interface TabsCounterProps {
|
|
74
|
-
count?: number | null;
|
|
75
|
-
}
|
|
76
|
-
declare const TabsCounter: ({ count }: TabsCounterProps) => React.ReactElement | null;
|
|
77
|
-
|
|
78
|
-
export { TabsContent, type TabsContentProps, TabsCounter, type TabsCounterProps, TabsList, type TabsListProps, type TabsProps, TabsRoot, TabsTrigger, type TabsTriggerProps };
|
package/dist/tag.d.cts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type TagVariant = 'subtle' | 'clickable' | 'filter' | 'select';
|
|
4
|
-
type TagSize = 'sm' | 'md' | 'lg';
|
|
5
|
-
interface TagProps extends Omit<React.ComponentPropsWithRef<'span'>, 'size'> {
|
|
6
|
-
readonly variant?: TagVariant;
|
|
7
|
-
readonly size?: TagSize;
|
|
8
|
-
readonly startElement?: React.ReactNode;
|
|
9
|
-
readonly endElement?: React.ReactNode;
|
|
10
|
-
readonly endElementProps?: React.HTMLAttributes<HTMLSpanElement>;
|
|
11
|
-
readonly label?: string;
|
|
12
|
-
readonly onClose?: VoidFunction;
|
|
13
|
-
readonly closable?: boolean;
|
|
14
|
-
readonly truncated?: boolean;
|
|
15
|
-
readonly loading?: boolean;
|
|
16
|
-
readonly selected?: boolean;
|
|
17
|
-
readonly disabled?: boolean;
|
|
18
|
-
}
|
|
19
|
-
declare const Tag: React.ForwardRefExoticComponent<Omit<TagProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
20
|
-
|
|
21
|
-
export { Tag, type TagProps };
|
package/dist/tag.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type TagVariant = 'subtle' | 'clickable' | 'filter' | 'select';
|
|
4
|
-
type TagSize = 'sm' | 'md' | 'lg';
|
|
5
|
-
interface TagProps extends Omit<React.ComponentPropsWithRef<'span'>, 'size'> {
|
|
6
|
-
readonly variant?: TagVariant;
|
|
7
|
-
readonly size?: TagSize;
|
|
8
|
-
readonly startElement?: React.ReactNode;
|
|
9
|
-
readonly endElement?: React.ReactNode;
|
|
10
|
-
readonly endElementProps?: React.HTMLAttributes<HTMLSpanElement>;
|
|
11
|
-
readonly label?: string;
|
|
12
|
-
readonly onClose?: VoidFunction;
|
|
13
|
-
readonly closable?: boolean;
|
|
14
|
-
readonly truncated?: boolean;
|
|
15
|
-
readonly loading?: boolean;
|
|
16
|
-
readonly selected?: boolean;
|
|
17
|
-
readonly disabled?: boolean;
|
|
18
|
-
}
|
|
19
|
-
declare const Tag: React.ForwardRefExoticComponent<Omit<TagProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
20
|
-
|
|
21
|
-
export { Tag, type TagProps };
|
package/dist/textarea.d.cts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
|
|
3
|
-
type TextareaSize = 'xs' | 'sm' | 'md' | 'lg' | '2xl';
|
|
4
|
-
type TextareaVariant = 'outline' | 'filled' | 'unstyled';
|
|
5
|
-
interface TextareaProps extends Omit<React__default.ComponentPropsWithRef<'textarea'>, 'size'> {
|
|
6
|
-
readonly size?: TextareaSize;
|
|
7
|
-
readonly variant?: TextareaVariant;
|
|
8
|
-
}
|
|
9
|
-
declare const Textarea: React__default.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
10
|
-
|
|
11
|
-
export { Textarea, type TextareaProps };
|
package/dist/textarea.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
|
|
3
|
-
type TextareaSize = 'xs' | 'sm' | 'md' | 'lg' | '2xl';
|
|
4
|
-
type TextareaVariant = 'outline' | 'filled' | 'unstyled';
|
|
5
|
-
interface TextareaProps extends Omit<React__default.ComponentPropsWithRef<'textarea'>, 'size'> {
|
|
6
|
-
readonly size?: TextareaSize;
|
|
7
|
-
readonly variant?: TextareaVariant;
|
|
8
|
-
}
|
|
9
|
-
declare const Textarea: React__default.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
10
|
-
|
|
11
|
-
export { Textarea, type TextareaProps };
|
package/dist/toaster.d.cts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
|
|
3
|
-
interface ToastOptions {
|
|
4
|
-
readonly id?: string | number;
|
|
5
|
-
readonly title?: string;
|
|
6
|
-
readonly description?: string;
|
|
7
|
-
readonly type?: 'info' | 'warning' | 'success' | 'error' | 'loading';
|
|
8
|
-
readonly duration?: number;
|
|
9
|
-
readonly action?: {
|
|
10
|
-
readonly label: string;
|
|
11
|
-
readonly onClick: () => void;
|
|
12
|
-
};
|
|
13
|
-
readonly onStatusChange?: (details: {
|
|
14
|
-
readonly status: string;
|
|
15
|
-
}) => void;
|
|
16
|
-
}
|
|
17
|
-
declare function create(opts: ToastOptions): string | number;
|
|
18
|
-
declare function update(id: string | number, opts: ToastOptions): void;
|
|
19
|
-
declare const toaster: {
|
|
20
|
-
readonly create: typeof create;
|
|
21
|
-
readonly success: (opts: ToastOptions) => string | number;
|
|
22
|
-
readonly error: (opts: ToastOptions) => string | number;
|
|
23
|
-
readonly loading: (opts: ToastOptions) => string | number;
|
|
24
|
-
readonly update: typeof update;
|
|
25
|
-
readonly remove: (id: string | number) => string | number;
|
|
26
|
-
};
|
|
27
|
-
declare const Toaster: React__default.FC;
|
|
28
|
-
|
|
29
|
-
export { Toaster, toaster };
|
package/dist/toaster.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
|
|
3
|
-
interface ToastOptions {
|
|
4
|
-
readonly id?: string | number;
|
|
5
|
-
readonly title?: string;
|
|
6
|
-
readonly description?: string;
|
|
7
|
-
readonly type?: 'info' | 'warning' | 'success' | 'error' | 'loading';
|
|
8
|
-
readonly duration?: number;
|
|
9
|
-
readonly action?: {
|
|
10
|
-
readonly label: string;
|
|
11
|
-
readonly onClick: () => void;
|
|
12
|
-
};
|
|
13
|
-
readonly onStatusChange?: (details: {
|
|
14
|
-
readonly status: string;
|
|
15
|
-
}) => void;
|
|
16
|
-
}
|
|
17
|
-
declare function create(opts: ToastOptions): string | number;
|
|
18
|
-
declare function update(id: string | number, opts: ToastOptions): void;
|
|
19
|
-
declare const toaster: {
|
|
20
|
-
readonly create: typeof create;
|
|
21
|
-
readonly success: (opts: ToastOptions) => string | number;
|
|
22
|
-
readonly error: (opts: ToastOptions) => string | number;
|
|
23
|
-
readonly loading: (opts: ToastOptions) => string | number;
|
|
24
|
-
readonly update: typeof update;
|
|
25
|
-
readonly remove: (id: string | number) => string | number;
|
|
26
|
-
};
|
|
27
|
-
declare const Toaster: React__default.FC;
|
|
28
|
-
|
|
29
|
-
export { Toaster, toaster };
|
package/dist/tooltip.d.cts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface TooltipProps {
|
|
4
|
-
selected?: boolean;
|
|
5
|
-
showArrow?: boolean;
|
|
6
|
-
portalled?: boolean;
|
|
7
|
-
portalRef?: React.RefObject<HTMLElement>;
|
|
8
|
-
content: React.ReactNode;
|
|
9
|
-
contentProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
10
|
-
triggerProps?: React.HTMLAttributes<HTMLButtonElement>;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
disableOnMobile?: boolean;
|
|
13
|
-
children?: React.ReactNode;
|
|
14
|
-
variant?: string;
|
|
15
|
-
open?: boolean;
|
|
16
|
-
defaultOpen?: boolean;
|
|
17
|
-
onOpenChange?: (details: {
|
|
18
|
-
open: boolean;
|
|
19
|
-
}) => void;
|
|
20
|
-
closeDelay?: number;
|
|
21
|
-
openDelay?: number;
|
|
22
|
-
interactive?: boolean;
|
|
23
|
-
lazyMount?: boolean;
|
|
24
|
-
unmountOnExit?: boolean;
|
|
25
|
-
positioning?: {
|
|
26
|
-
placement?: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
27
|
-
overflowPadding?: number;
|
|
28
|
-
offset?: {
|
|
29
|
-
mainAxis?: number;
|
|
30
|
-
crossAxis?: number;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
closeOnClick?: boolean;
|
|
34
|
-
closeOnPointerDown?: boolean;
|
|
35
|
-
}
|
|
36
|
-
declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
|
|
38
|
-
export { Tooltip, type TooltipProps };
|
package/dist/tooltip.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface TooltipProps {
|
|
4
|
-
selected?: boolean;
|
|
5
|
-
showArrow?: boolean;
|
|
6
|
-
portalled?: boolean;
|
|
7
|
-
portalRef?: React.RefObject<HTMLElement>;
|
|
8
|
-
content: React.ReactNode;
|
|
9
|
-
contentProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
10
|
-
triggerProps?: React.HTMLAttributes<HTMLButtonElement>;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
disableOnMobile?: boolean;
|
|
13
|
-
children?: React.ReactNode;
|
|
14
|
-
variant?: string;
|
|
15
|
-
open?: boolean;
|
|
16
|
-
defaultOpen?: boolean;
|
|
17
|
-
onOpenChange?: (details: {
|
|
18
|
-
open: boolean;
|
|
19
|
-
}) => void;
|
|
20
|
-
closeDelay?: number;
|
|
21
|
-
openDelay?: number;
|
|
22
|
-
interactive?: boolean;
|
|
23
|
-
lazyMount?: boolean;
|
|
24
|
-
unmountOnExit?: boolean;
|
|
25
|
-
positioning?: {
|
|
26
|
-
placement?: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
27
|
-
overflowPadding?: number;
|
|
28
|
-
offset?: {
|
|
29
|
-
mainAxis?: number;
|
|
30
|
-
crossAxis?: number;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
closeOnClick?: boolean;
|
|
34
|
-
closeOnPointerDown?: boolean;
|
|
35
|
-
}
|
|
36
|
-
declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
|
|
38
|
-
export { Tooltip, type TooltipProps };
|