@luxfi/ui 7.4.4 → 7.4.5
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/package.json +2 -2
- package/src/provider.tsx +7 -0
- package/tokens.css +319 -613
- 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 -83
- package/dist/bank.d.ts +0 -83
- package/dist/button.d.cts +0 -55
- package/dist/button.d.ts +0 -55
- package/dist/checkbox.d.cts +0 -32
- package/dist/checkbox.d.ts +0 -32
- package/dist/chrome.d.cts +0 -93
- package/dist/chrome.d.ts +0 -93
- 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 -118
- package/dist/dialog.d.ts +0 -118
- 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/gui.d.cts +0 -2
- package/dist/gui.d.ts +0 -2
- package/dist/heading.d.cts +0 -10
- package/dist/heading.d.ts +0 -10
- package/dist/iam.d.cts +0 -65
- package/dist/iam.d.ts +0 -65
- package/dist/icon-button.d.cts +0 -33
- package/dist/icon-button.d.ts +0 -33
- package/dist/icons.d.cts +0 -1
- package/dist/icons.d.ts +0 -1
- package/dist/identity.d.cts +0 -64
- package/dist/identity.d.ts +0 -64
- package/dist/image.d.cts +0 -57
- package/dist/image.d.ts +0 -57
- package/dist/index.d.cts +0 -64
- package/dist/index.d.ts +0 -64
- package/dist/input-group.d.cts +0 -17
- package/dist/input-group.d.ts +0 -17
- package/dist/input.d.cts +0 -17
- package/dist/input.d.ts +0 -17
- package/dist/link.d.cts +0 -37
- package/dist/link.d.ts +0 -37
- package/dist/lux.config.d.cts +0 -433
- package/dist/lux.config.d.ts +0 -433
- package/dist/menu.d.cts +0 -84
- package/dist/menu.d.ts +0 -84
- package/dist/next.d.cts +0 -32
- package/dist/next.d.ts +0 -32
- 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 -25
- package/dist/provider.d.ts +0 -25
- 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 -13
- package/dist/textarea.d.ts +0 -13
- 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/use-narrow.d.cts +0 -12
- package/dist/use-narrow.d.ts +0 -12
- package/dist/utils.d.cts +0 -5
- package/dist/utils.d.ts +0 -5
- package/dist/vite.d.cts +0 -29
- package/dist/vite.d.ts +0 -29
- package/dist/white-label.d.cts +0 -59
- package/dist/white-label.d.ts +0 -59
package/dist/option-chain.d.cts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface OptionQuote {
|
|
4
|
-
symbol: string;
|
|
5
|
-
bid: number;
|
|
6
|
-
ask: number;
|
|
7
|
-
last: number;
|
|
8
|
-
volume: number;
|
|
9
|
-
openInterest: number;
|
|
10
|
-
iv: number;
|
|
11
|
-
delta: number;
|
|
12
|
-
gamma: number;
|
|
13
|
-
theta: number;
|
|
14
|
-
vega: number;
|
|
15
|
-
}
|
|
16
|
-
interface OptionContract {
|
|
17
|
-
symbol: string;
|
|
18
|
-
type: 'call' | 'put';
|
|
19
|
-
strike: number;
|
|
20
|
-
bid: number;
|
|
21
|
-
ask: number;
|
|
22
|
-
}
|
|
23
|
-
interface Strike {
|
|
24
|
-
strike: number;
|
|
25
|
-
call: OptionQuote | null;
|
|
26
|
-
put: OptionQuote | null;
|
|
27
|
-
}
|
|
28
|
-
interface OptionChainProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
29
|
-
readonly symbol: string;
|
|
30
|
-
readonly expiration: string;
|
|
31
|
-
readonly strikes: Strike[];
|
|
32
|
-
readonly spotPrice: number;
|
|
33
|
-
readonly onSelectContract?: (contract: OptionContract) => void;
|
|
34
|
-
}
|
|
35
|
-
declare const OptionChain: React.ForwardRefExoticComponent<OptionChainProps & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
-
|
|
37
|
-
export { OptionChain, type OptionChainProps, type OptionContract, type OptionQuote, type Strike };
|
package/dist/option-chain.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface OptionQuote {
|
|
4
|
-
symbol: string;
|
|
5
|
-
bid: number;
|
|
6
|
-
ask: number;
|
|
7
|
-
last: number;
|
|
8
|
-
volume: number;
|
|
9
|
-
openInterest: number;
|
|
10
|
-
iv: number;
|
|
11
|
-
delta: number;
|
|
12
|
-
gamma: number;
|
|
13
|
-
theta: number;
|
|
14
|
-
vega: number;
|
|
15
|
-
}
|
|
16
|
-
interface OptionContract {
|
|
17
|
-
symbol: string;
|
|
18
|
-
type: 'call' | 'put';
|
|
19
|
-
strike: number;
|
|
20
|
-
bid: number;
|
|
21
|
-
ask: number;
|
|
22
|
-
}
|
|
23
|
-
interface Strike {
|
|
24
|
-
strike: number;
|
|
25
|
-
call: OptionQuote | null;
|
|
26
|
-
put: OptionQuote | null;
|
|
27
|
-
}
|
|
28
|
-
interface OptionChainProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
29
|
-
readonly symbol: string;
|
|
30
|
-
readonly expiration: string;
|
|
31
|
-
readonly strikes: Strike[];
|
|
32
|
-
readonly spotPrice: number;
|
|
33
|
-
readonly onSelectContract?: (contract: OptionContract) => void;
|
|
34
|
-
}
|
|
35
|
-
declare const OptionChain: React.ForwardRefExoticComponent<OptionChainProps & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
-
|
|
37
|
-
export { OptionChain, type OptionChainProps, type OptionContract, type OptionQuote, type Strike };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface OptionPosition {
|
|
4
|
-
symbol: string;
|
|
5
|
-
underlying: string;
|
|
6
|
-
type: 'call' | 'put';
|
|
7
|
-
strike: number;
|
|
8
|
-
expiration: string;
|
|
9
|
-
quantity: number;
|
|
10
|
-
avgCost: number;
|
|
11
|
-
currentValue: number;
|
|
12
|
-
pnl: number;
|
|
13
|
-
pnlPercent: number;
|
|
14
|
-
greeks: {
|
|
15
|
-
delta: number;
|
|
16
|
-
gamma: number;
|
|
17
|
-
theta: number;
|
|
18
|
-
vega: number;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
interface OptionPositionCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
22
|
-
readonly position: OptionPosition;
|
|
23
|
-
readonly onClose?: (position: OptionPosition) => void;
|
|
24
|
-
readonly onExercise?: (position: OptionPosition) => void;
|
|
25
|
-
readonly onRoll?: (position: OptionPosition) => void;
|
|
26
|
-
}
|
|
27
|
-
declare const OptionPositionCard: React.ForwardRefExoticComponent<OptionPositionCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
-
|
|
29
|
-
export { type OptionPosition, OptionPositionCard, type OptionPositionCardProps };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface OptionPosition {
|
|
4
|
-
symbol: string;
|
|
5
|
-
underlying: string;
|
|
6
|
-
type: 'call' | 'put';
|
|
7
|
-
strike: number;
|
|
8
|
-
expiration: string;
|
|
9
|
-
quantity: number;
|
|
10
|
-
avgCost: number;
|
|
11
|
-
currentValue: number;
|
|
12
|
-
pnl: number;
|
|
13
|
-
pnlPercent: number;
|
|
14
|
-
greeks: {
|
|
15
|
-
delta: number;
|
|
16
|
-
gamma: number;
|
|
17
|
-
theta: number;
|
|
18
|
-
vega: number;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
interface OptionPositionCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
22
|
-
readonly position: OptionPosition;
|
|
23
|
-
readonly onClose?: (position: OptionPosition) => void;
|
|
24
|
-
readonly onExercise?: (position: OptionPosition) => void;
|
|
25
|
-
readonly onRoll?: (position: OptionPosition) => void;
|
|
26
|
-
}
|
|
27
|
-
declare const OptionPositionCard: React.ForwardRefExoticComponent<OptionPositionCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
-
|
|
29
|
-
export { type OptionPosition, OptionPositionCard, type OptionPositionCardProps };
|
package/dist/pin-input.d.cts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface PinInputProps {
|
|
4
|
-
readonly rootRef?: React.Ref<HTMLDivElement>;
|
|
5
|
-
readonly count?: number;
|
|
6
|
-
readonly inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
7
|
-
readonly attached?: boolean;
|
|
8
|
-
readonly placeholder?: string;
|
|
9
|
-
readonly value?: Array<string>;
|
|
10
|
-
readonly onValueChange?: (details: {
|
|
11
|
-
value: Array<string>;
|
|
12
|
-
}) => void;
|
|
13
|
-
readonly onValueComplete?: (details: {
|
|
14
|
-
value: Array<string>;
|
|
15
|
-
}) => void;
|
|
16
|
-
readonly disabled?: boolean;
|
|
17
|
-
readonly invalid?: boolean;
|
|
18
|
-
readonly otp?: boolean;
|
|
19
|
-
readonly name?: string;
|
|
20
|
-
readonly bgColor?: string;
|
|
21
|
-
readonly className?: string;
|
|
22
|
-
}
|
|
23
|
-
declare const PinInput: React.ForwardRefExoticComponent<PinInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
24
|
-
|
|
25
|
-
export { PinInput, type PinInputProps };
|
package/dist/pin-input.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface PinInputProps {
|
|
4
|
-
readonly rootRef?: React.Ref<HTMLDivElement>;
|
|
5
|
-
readonly count?: number;
|
|
6
|
-
readonly inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
7
|
-
readonly attached?: boolean;
|
|
8
|
-
readonly placeholder?: string;
|
|
9
|
-
readonly value?: Array<string>;
|
|
10
|
-
readonly onValueChange?: (details: {
|
|
11
|
-
value: Array<string>;
|
|
12
|
-
}) => void;
|
|
13
|
-
readonly onValueComplete?: (details: {
|
|
14
|
-
value: Array<string>;
|
|
15
|
-
}) => void;
|
|
16
|
-
readonly disabled?: boolean;
|
|
17
|
-
readonly invalid?: boolean;
|
|
18
|
-
readonly otp?: boolean;
|
|
19
|
-
readonly name?: string;
|
|
20
|
-
readonly bgColor?: string;
|
|
21
|
-
readonly className?: string;
|
|
22
|
-
}
|
|
23
|
-
declare const PinInput: React.ForwardRefExoticComponent<PinInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
24
|
-
|
|
25
|
-
export { PinInput, type PinInputProps };
|
package/dist/pnl-diagram.d.cts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { StrategyLeg } from './strategy-builder.cjs';
|
|
3
|
-
|
|
4
|
-
interface PnlDiagramProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
readonly legs: StrategyLeg[];
|
|
6
|
-
readonly spotPrice: number;
|
|
7
|
-
readonly multiplier?: number;
|
|
8
|
-
}
|
|
9
|
-
declare const PnlDiagram: React.ForwardRefExoticComponent<PnlDiagramProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
|
|
11
|
-
export { PnlDiagram, type PnlDiagramProps, StrategyLeg };
|
package/dist/pnl-diagram.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { StrategyLeg } from './strategy-builder.js';
|
|
3
|
-
|
|
4
|
-
interface PnlDiagramProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
readonly legs: StrategyLeg[];
|
|
6
|
-
readonly spotPrice: number;
|
|
7
|
-
readonly multiplier?: number;
|
|
8
|
-
}
|
|
9
|
-
declare const PnlDiagram: React.ForwardRefExoticComponent<PnlDiagramProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
|
|
11
|
-
export { PnlDiagram, type PnlDiagramProps, StrategyLeg };
|
package/dist/popover.d.cts
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface Positioning {
|
|
4
|
-
readonly placement?: string;
|
|
5
|
-
readonly offset?: {
|
|
6
|
-
readonly mainAxis?: number;
|
|
7
|
-
readonly crossAxis?: number;
|
|
8
|
-
};
|
|
9
|
-
readonly overflowPadding?: number;
|
|
10
|
-
}
|
|
11
|
-
interface PopoverRootProps {
|
|
12
|
-
readonly children?: React.ReactNode;
|
|
13
|
-
readonly open?: boolean;
|
|
14
|
-
readonly defaultOpen?: boolean;
|
|
15
|
-
/** Chakra-style callback: receives `{ open: boolean }` */
|
|
16
|
-
readonly onOpenChange?: (details: {
|
|
17
|
-
open: boolean;
|
|
18
|
-
}) => void;
|
|
19
|
-
readonly positioning?: Positioning;
|
|
20
|
-
readonly lazyMount?: boolean;
|
|
21
|
-
readonly unmountOnExit?: boolean;
|
|
22
|
-
readonly autoFocus?: boolean;
|
|
23
|
-
readonly closeOnInteractOutside?: boolean;
|
|
24
|
-
readonly modal?: boolean;
|
|
25
|
-
}
|
|
26
|
-
declare const PopoverRoot: (props: PopoverRootProps) => React.ReactElement;
|
|
27
|
-
interface PopoverTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
28
|
-
readonly asChild?: boolean;
|
|
29
|
-
}
|
|
30
|
-
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
31
|
-
interface PopoverContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
32
|
-
readonly portalled?: boolean;
|
|
33
|
-
readonly portalRef?: React.RefObject<HTMLElement>;
|
|
34
|
-
readonly w?: string | Record<string, string>;
|
|
35
|
-
readonly minW?: string;
|
|
36
|
-
readonly maxW?: string;
|
|
37
|
-
readonly paddingTop?: number | string;
|
|
38
|
-
}
|
|
39
|
-
declare const PopoverContent: React.ForwardRefExoticComponent<PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
-
interface PopoverArrowProps extends React.ComponentPropsWithoutRef<'svg'> {
|
|
41
|
-
}
|
|
42
|
-
declare const PopoverArrow: React.ForwardRefExoticComponent<PopoverArrowProps & React.RefAttributes<SVGSVGElement>>;
|
|
43
|
-
interface PopoverCloseTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
44
|
-
}
|
|
45
|
-
declare const PopoverCloseTrigger: React.ForwardRefExoticComponent<PopoverCloseTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
46
|
-
interface PopoverCloseTriggerWrapperProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
47
|
-
readonly disabled?: boolean;
|
|
48
|
-
}
|
|
49
|
-
declare const PopoverCloseTriggerWrapper: React.ForwardRefExoticComponent<PopoverCloseTriggerWrapperProps & React.RefAttributes<HTMLButtonElement>>;
|
|
50
|
-
interface PopoverBodyProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
51
|
-
readonly display?: string;
|
|
52
|
-
readonly flexDir?: string;
|
|
53
|
-
readonly rowGap?: number | string;
|
|
54
|
-
readonly px?: number | string;
|
|
55
|
-
readonly py?: number | string;
|
|
56
|
-
readonly textStyle?: string;
|
|
57
|
-
readonly alignItems?: string;
|
|
58
|
-
}
|
|
59
|
-
declare const PopoverBody: React.ForwardRefExoticComponent<PopoverBodyProps & React.RefAttributes<HTMLDivElement>>;
|
|
60
|
-
interface PopoverHeaderProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
61
|
-
}
|
|
62
|
-
declare const PopoverHeader: React.ForwardRefExoticComponent<PopoverHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
63
|
-
interface PopoverFooterProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
64
|
-
}
|
|
65
|
-
declare const PopoverFooter: React.ForwardRefExoticComponent<PopoverFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
66
|
-
interface PopoverTitleProps extends React.ComponentPropsWithoutRef<'h3'> {
|
|
67
|
-
}
|
|
68
|
-
declare const PopoverTitle: React.ForwardRefExoticComponent<PopoverTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
69
|
-
interface PopoverDescriptionProps extends React.ComponentPropsWithoutRef<'p'> {
|
|
70
|
-
}
|
|
71
|
-
declare const PopoverDescription: React.ForwardRefExoticComponent<PopoverDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
72
|
-
|
|
73
|
-
export { PopoverArrow, type PopoverArrowProps, PopoverBody, type PopoverBodyProps, PopoverCloseTrigger, type PopoverCloseTriggerProps, PopoverCloseTriggerWrapper, type PopoverCloseTriggerWrapperProps, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverFooter, type PopoverFooterProps, PopoverHeader, type PopoverHeaderProps, PopoverRoot, type PopoverRootProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps };
|
package/dist/popover.d.ts
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface Positioning {
|
|
4
|
-
readonly placement?: string;
|
|
5
|
-
readonly offset?: {
|
|
6
|
-
readonly mainAxis?: number;
|
|
7
|
-
readonly crossAxis?: number;
|
|
8
|
-
};
|
|
9
|
-
readonly overflowPadding?: number;
|
|
10
|
-
}
|
|
11
|
-
interface PopoverRootProps {
|
|
12
|
-
readonly children?: React.ReactNode;
|
|
13
|
-
readonly open?: boolean;
|
|
14
|
-
readonly defaultOpen?: boolean;
|
|
15
|
-
/** Chakra-style callback: receives `{ open: boolean }` */
|
|
16
|
-
readonly onOpenChange?: (details: {
|
|
17
|
-
open: boolean;
|
|
18
|
-
}) => void;
|
|
19
|
-
readonly positioning?: Positioning;
|
|
20
|
-
readonly lazyMount?: boolean;
|
|
21
|
-
readonly unmountOnExit?: boolean;
|
|
22
|
-
readonly autoFocus?: boolean;
|
|
23
|
-
readonly closeOnInteractOutside?: boolean;
|
|
24
|
-
readonly modal?: boolean;
|
|
25
|
-
}
|
|
26
|
-
declare const PopoverRoot: (props: PopoverRootProps) => React.ReactElement;
|
|
27
|
-
interface PopoverTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
28
|
-
readonly asChild?: boolean;
|
|
29
|
-
}
|
|
30
|
-
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
31
|
-
interface PopoverContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
32
|
-
readonly portalled?: boolean;
|
|
33
|
-
readonly portalRef?: React.RefObject<HTMLElement>;
|
|
34
|
-
readonly w?: string | Record<string, string>;
|
|
35
|
-
readonly minW?: string;
|
|
36
|
-
readonly maxW?: string;
|
|
37
|
-
readonly paddingTop?: number | string;
|
|
38
|
-
}
|
|
39
|
-
declare const PopoverContent: React.ForwardRefExoticComponent<PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
-
interface PopoverArrowProps extends React.ComponentPropsWithoutRef<'svg'> {
|
|
41
|
-
}
|
|
42
|
-
declare const PopoverArrow: React.ForwardRefExoticComponent<PopoverArrowProps & React.RefAttributes<SVGSVGElement>>;
|
|
43
|
-
interface PopoverCloseTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
44
|
-
}
|
|
45
|
-
declare const PopoverCloseTrigger: React.ForwardRefExoticComponent<PopoverCloseTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
46
|
-
interface PopoverCloseTriggerWrapperProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
47
|
-
readonly disabled?: boolean;
|
|
48
|
-
}
|
|
49
|
-
declare const PopoverCloseTriggerWrapper: React.ForwardRefExoticComponent<PopoverCloseTriggerWrapperProps & React.RefAttributes<HTMLButtonElement>>;
|
|
50
|
-
interface PopoverBodyProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
51
|
-
readonly display?: string;
|
|
52
|
-
readonly flexDir?: string;
|
|
53
|
-
readonly rowGap?: number | string;
|
|
54
|
-
readonly px?: number | string;
|
|
55
|
-
readonly py?: number | string;
|
|
56
|
-
readonly textStyle?: string;
|
|
57
|
-
readonly alignItems?: string;
|
|
58
|
-
}
|
|
59
|
-
declare const PopoverBody: React.ForwardRefExoticComponent<PopoverBodyProps & React.RefAttributes<HTMLDivElement>>;
|
|
60
|
-
interface PopoverHeaderProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
61
|
-
}
|
|
62
|
-
declare const PopoverHeader: React.ForwardRefExoticComponent<PopoverHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
63
|
-
interface PopoverFooterProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
64
|
-
}
|
|
65
|
-
declare const PopoverFooter: React.ForwardRefExoticComponent<PopoverFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
66
|
-
interface PopoverTitleProps extends React.ComponentPropsWithoutRef<'h3'> {
|
|
67
|
-
}
|
|
68
|
-
declare const PopoverTitle: React.ForwardRefExoticComponent<PopoverTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
69
|
-
interface PopoverDescriptionProps extends React.ComponentPropsWithoutRef<'p'> {
|
|
70
|
-
}
|
|
71
|
-
declare const PopoverDescription: React.ForwardRefExoticComponent<PopoverDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
72
|
-
|
|
73
|
-
export { PopoverArrow, type PopoverArrowProps, PopoverBody, type PopoverBodyProps, PopoverCloseTrigger, type PopoverCloseTriggerProps, PopoverCloseTriggerWrapper, type PopoverCloseTriggerWrapperProps, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverFooter, type PopoverFooterProps, PopoverHeader, type PopoverHeaderProps, PopoverRoot, type PopoverRootProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps };
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare const SIZE_MAP: {
|
|
4
|
-
readonly xs: {
|
|
5
|
-
readonly size: 24;
|
|
6
|
-
readonly thickness: 4;
|
|
7
|
-
readonly textClass: "text-[10px]";
|
|
8
|
-
};
|
|
9
|
-
readonly sm: {
|
|
10
|
-
readonly size: 32;
|
|
11
|
-
readonly thickness: 5;
|
|
12
|
-
readonly textClass: "text-[10px]";
|
|
13
|
-
};
|
|
14
|
-
readonly md: {
|
|
15
|
-
readonly size: 40;
|
|
16
|
-
readonly thickness: 6;
|
|
17
|
-
readonly textClass: "text-xs";
|
|
18
|
-
};
|
|
19
|
-
readonly lg: {
|
|
20
|
-
readonly size: 48;
|
|
21
|
-
readonly thickness: 7;
|
|
22
|
-
readonly textClass: "text-sm";
|
|
23
|
-
};
|
|
24
|
-
readonly xl: {
|
|
25
|
-
readonly size: 64;
|
|
26
|
-
readonly thickness: 8;
|
|
27
|
-
readonly textClass: "text-sm";
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
type Size = keyof typeof SIZE_MAP;
|
|
31
|
-
interface ProgressCircleRootProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {
|
|
32
|
-
readonly value?: number | null;
|
|
33
|
-
readonly size?: Size;
|
|
34
|
-
readonly colorPalette?: string;
|
|
35
|
-
}
|
|
36
|
-
declare const ProgressCircleRoot: React.ForwardRefExoticComponent<ProgressCircleRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
interface ProgressCircleRingProps extends Omit<React.SVGAttributes<SVGSVGElement>, 'color'> {
|
|
38
|
-
readonly trackColor?: string;
|
|
39
|
-
readonly cap?: React.SVGAttributes<SVGCircleElement>['strokeLinecap'];
|
|
40
|
-
readonly color?: string;
|
|
41
|
-
}
|
|
42
|
-
declare const ProgressCircleRing: React.ForwardRefExoticComponent<ProgressCircleRingProps & React.RefAttributes<SVGSVGElement>>;
|
|
43
|
-
interface ProgressCircleValueTextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
44
|
-
}
|
|
45
|
-
declare const ProgressCircleValueText: React.ForwardRefExoticComponent<ProgressCircleValueTextProps & React.RefAttributes<HTMLDivElement>>;
|
|
46
|
-
|
|
47
|
-
export { ProgressCircleRing, type ProgressCircleRingProps, ProgressCircleRoot, type ProgressCircleRootProps, ProgressCircleValueText, type ProgressCircleValueTextProps };
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare const SIZE_MAP: {
|
|
4
|
-
readonly xs: {
|
|
5
|
-
readonly size: 24;
|
|
6
|
-
readonly thickness: 4;
|
|
7
|
-
readonly textClass: "text-[10px]";
|
|
8
|
-
};
|
|
9
|
-
readonly sm: {
|
|
10
|
-
readonly size: 32;
|
|
11
|
-
readonly thickness: 5;
|
|
12
|
-
readonly textClass: "text-[10px]";
|
|
13
|
-
};
|
|
14
|
-
readonly md: {
|
|
15
|
-
readonly size: 40;
|
|
16
|
-
readonly thickness: 6;
|
|
17
|
-
readonly textClass: "text-xs";
|
|
18
|
-
};
|
|
19
|
-
readonly lg: {
|
|
20
|
-
readonly size: 48;
|
|
21
|
-
readonly thickness: 7;
|
|
22
|
-
readonly textClass: "text-sm";
|
|
23
|
-
};
|
|
24
|
-
readonly xl: {
|
|
25
|
-
readonly size: 64;
|
|
26
|
-
readonly thickness: 8;
|
|
27
|
-
readonly textClass: "text-sm";
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
type Size = keyof typeof SIZE_MAP;
|
|
31
|
-
interface ProgressCircleRootProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {
|
|
32
|
-
readonly value?: number | null;
|
|
33
|
-
readonly size?: Size;
|
|
34
|
-
readonly colorPalette?: string;
|
|
35
|
-
}
|
|
36
|
-
declare const ProgressCircleRoot: React.ForwardRefExoticComponent<ProgressCircleRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
interface ProgressCircleRingProps extends Omit<React.SVGAttributes<SVGSVGElement>, 'color'> {
|
|
38
|
-
readonly trackColor?: string;
|
|
39
|
-
readonly cap?: React.SVGAttributes<SVGCircleElement>['strokeLinecap'];
|
|
40
|
-
readonly color?: string;
|
|
41
|
-
}
|
|
42
|
-
declare const ProgressCircleRing: React.ForwardRefExoticComponent<ProgressCircleRingProps & React.RefAttributes<SVGSVGElement>>;
|
|
43
|
-
interface ProgressCircleValueTextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
44
|
-
}
|
|
45
|
-
declare const ProgressCircleValueText: React.ForwardRefExoticComponent<ProgressCircleValueTextProps & React.RefAttributes<HTMLDivElement>>;
|
|
46
|
-
|
|
47
|
-
export { ProgressCircleRing, type ProgressCircleRingProps, ProgressCircleRoot, type ProgressCircleRootProps, ProgressCircleValueText, type ProgressCircleValueTextProps };
|
package/dist/progress.d.cts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare const SIZE_CLASSES: {
|
|
4
|
-
readonly sm: "h-1";
|
|
5
|
-
readonly md: "h-2";
|
|
6
|
-
readonly lg: "h-3";
|
|
7
|
-
readonly xl: "h-4";
|
|
8
|
-
};
|
|
9
|
-
type Size = keyof typeof SIZE_CLASSES;
|
|
10
|
-
interface TrackProps {
|
|
11
|
-
readonly borderStartRadius?: number | string;
|
|
12
|
-
readonly borderEndRadius?: number | string;
|
|
13
|
-
readonly className?: string;
|
|
14
|
-
readonly style?: React.CSSProperties;
|
|
15
|
-
}
|
|
16
|
-
interface ProgressProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
17
|
-
readonly value?: number | null;
|
|
18
|
-
readonly min?: number;
|
|
19
|
-
readonly max?: number;
|
|
20
|
-
readonly size?: Size;
|
|
21
|
-
readonly color?: string;
|
|
22
|
-
readonly trackProps?: TrackProps;
|
|
23
|
-
readonly w?: string;
|
|
24
|
-
readonly flex?: string | number;
|
|
25
|
-
}
|
|
26
|
-
declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
-
|
|
28
|
-
export { Progress };
|
package/dist/progress.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare const SIZE_CLASSES: {
|
|
4
|
-
readonly sm: "h-1";
|
|
5
|
-
readonly md: "h-2";
|
|
6
|
-
readonly lg: "h-3";
|
|
7
|
-
readonly xl: "h-4";
|
|
8
|
-
};
|
|
9
|
-
type Size = keyof typeof SIZE_CLASSES;
|
|
10
|
-
interface TrackProps {
|
|
11
|
-
readonly borderStartRadius?: number | string;
|
|
12
|
-
readonly borderEndRadius?: number | string;
|
|
13
|
-
readonly className?: string;
|
|
14
|
-
readonly style?: React.CSSProperties;
|
|
15
|
-
}
|
|
16
|
-
interface ProgressProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
17
|
-
readonly value?: number | null;
|
|
18
|
-
readonly min?: number;
|
|
19
|
-
readonly max?: number;
|
|
20
|
-
readonly size?: Size;
|
|
21
|
-
readonly color?: string;
|
|
22
|
-
readonly trackProps?: TrackProps;
|
|
23
|
-
readonly w?: string;
|
|
24
|
-
readonly flex?: string | number;
|
|
25
|
-
}
|
|
26
|
-
declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
-
|
|
28
|
-
export { Progress };
|
package/dist/provider.d.cts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { QueryClient } from '@tanstack/react-query';
|
|
2
|
-
export { QueryClient, useInfiniteQuery, useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
import { WhiteLabel } from './white-label.cjs';
|
|
5
|
-
|
|
6
|
-
/** The white-label identity for the host this page is being served under. */
|
|
7
|
-
declare const useWhiteLabel: () => WhiteLabel;
|
|
8
|
-
interface AppProviderProps {
|
|
9
|
-
children: React__default.ReactNode;
|
|
10
|
-
queryClient?: QueryClient;
|
|
11
|
-
/**
|
|
12
|
-
* Host header value, for server rendering. Omit in the browser and the host
|
|
13
|
-
* is read from `location`. Never bake a brand into a deployment — pass the
|
|
14
|
-
* request's host and the same image serves every org.
|
|
15
|
-
*/
|
|
16
|
-
host?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Escape hatch: pin the gui child-theme row (`dark_lux` | `dark_zoo` |
|
|
19
|
-
* `dark_hanzo` | `dark_pars`). Leave unset so the theme follows the host.
|
|
20
|
-
*/
|
|
21
|
-
defaultTheme?: string;
|
|
22
|
-
}
|
|
23
|
-
declare const AppProvider: ({ children, queryClient, host, defaultTheme, }: AppProviderProps) => React__default.ReactElement;
|
|
24
|
-
|
|
25
|
-
export { AppProvider, useWhiteLabel };
|
package/dist/provider.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { QueryClient } from '@tanstack/react-query';
|
|
2
|
-
export { QueryClient, useInfiniteQuery, useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
import { WhiteLabel } from './white-label.js';
|
|
5
|
-
|
|
6
|
-
/** The white-label identity for the host this page is being served under. */
|
|
7
|
-
declare const useWhiteLabel: () => WhiteLabel;
|
|
8
|
-
interface AppProviderProps {
|
|
9
|
-
children: React__default.ReactNode;
|
|
10
|
-
queryClient?: QueryClient;
|
|
11
|
-
/**
|
|
12
|
-
* Host header value, for server rendering. Omit in the browser and the host
|
|
13
|
-
* is read from `location`. Never bake a brand into a deployment — pass the
|
|
14
|
-
* request's host and the same image serves every org.
|
|
15
|
-
*/
|
|
16
|
-
host?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Escape hatch: pin the gui child-theme row (`dark_lux` | `dark_zoo` |
|
|
19
|
-
* `dark_hanzo` | `dark_pars`). Leave unset so the theme follows the host.
|
|
20
|
-
*/
|
|
21
|
-
defaultTheme?: string;
|
|
22
|
-
}
|
|
23
|
-
declare const AppProvider: ({ children, queryClient, host, defaultTheme, }: AppProviderProps) => React__default.ReactElement;
|
|
24
|
-
|
|
25
|
-
export { AppProvider, useWhiteLabel };
|
package/dist/radio.d.cts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare const SIZE_CLASSES: {
|
|
4
|
-
readonly xs: {
|
|
5
|
-
readonly root: "gap-1.5";
|
|
6
|
-
readonly control: "h-3 w-3";
|
|
7
|
-
readonly indicator: "h-1.5 w-1.5";
|
|
8
|
-
readonly label: "text-xs";
|
|
9
|
-
};
|
|
10
|
-
readonly sm: {
|
|
11
|
-
readonly root: "gap-1.5";
|
|
12
|
-
readonly control: "h-3.5 w-3.5";
|
|
13
|
-
readonly indicator: "h-1.5 w-1.5";
|
|
14
|
-
readonly label: "text-xs";
|
|
15
|
-
};
|
|
16
|
-
readonly md: {
|
|
17
|
-
readonly root: "gap-2";
|
|
18
|
-
readonly control: "h-4 w-4";
|
|
19
|
-
readonly indicator: "h-2 w-2";
|
|
20
|
-
readonly label: "text-sm";
|
|
21
|
-
};
|
|
22
|
-
readonly lg: {
|
|
23
|
-
readonly root: "gap-2.5";
|
|
24
|
-
readonly control: "h-5 w-5";
|
|
25
|
-
readonly indicator: "h-2.5 w-2.5";
|
|
26
|
-
readonly label: "text-base";
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
type RadioSize = keyof typeof SIZE_CLASSES;
|
|
30
|
-
interface RadioGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'dir'> {
|
|
31
|
-
name?: string;
|
|
32
|
-
required?: boolean;
|
|
33
|
-
disabled?: boolean;
|
|
34
|
-
readOnly?: boolean;
|
|
35
|
-
orientation?: 'horizontal' | 'vertical';
|
|
36
|
-
loop?: boolean;
|
|
37
|
-
defaultValue?: string;
|
|
38
|
-
value?: string | null;
|
|
39
|
-
onValueChange?: (details: {
|
|
40
|
-
value: string | null;
|
|
41
|
-
}) => void;
|
|
42
|
-
size?: RadioSize;
|
|
43
|
-
}
|
|
44
|
-
declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
45
|
-
interface RadioProps extends Omit<React.ComponentPropsWithoutRef<'label'>, 'onChange'> {
|
|
46
|
-
rootRef?: React.Ref<HTMLLabelElement>;
|
|
47
|
-
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
48
|
-
value: string;
|
|
49
|
-
disabled?: boolean;
|
|
50
|
-
}
|
|
51
|
-
declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
|
|
52
|
-
|
|
53
|
-
export { Radio, RadioGroup, type RadioGroupProps, type RadioProps };
|