@orderly.network/ui 2.5.3-alpha.0 → 2.5.3
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.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +7 -16
- package/dist/index.d.ts +7 -16
- package/dist/index.js +142 -143
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -6200,6 +6200,8 @@ type TabPanelProps = {
|
|
|
6200
6200
|
title: string | React__default.ReactNode;
|
|
6201
6201
|
icon?: React__default.ReactElement;
|
|
6202
6202
|
testid?: string;
|
|
6203
|
+
className?: string;
|
|
6204
|
+
style?: React__default.CSSProperties;
|
|
6203
6205
|
};
|
|
6204
6206
|
declare const TabPanel: FC<PropsWithChildren<TabPanelProps>>;
|
|
6205
6207
|
|
|
@@ -7429,13 +7431,13 @@ declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitiv
|
|
|
7429
7431
|
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
7430
7432
|
declare const CollapsibleContent: FC<CollapsiblePrimitive.CollapsibleContentProps>;
|
|
7431
7433
|
|
|
7432
|
-
interface Props$
|
|
7434
|
+
interface Props$1 {
|
|
7433
7435
|
header: ReactNode;
|
|
7434
7436
|
headerClassName?: string;
|
|
7435
7437
|
itemKey: string;
|
|
7436
7438
|
disabled?: boolean;
|
|
7437
7439
|
}
|
|
7438
|
-
declare const Panel: FC<PropsWithChildren<Props$
|
|
7440
|
+
declare const Panel: FC<PropsWithChildren<Props$1>>;
|
|
7439
7441
|
|
|
7440
7442
|
declare const CollapseRoot: FC<PropsWithChildren<{
|
|
7441
7443
|
activeKey?: string;
|
|
@@ -8424,22 +8426,11 @@ type OrderlyThemeProviderProps = {
|
|
|
8424
8426
|
declare const useOrderlyTheme: () => OrderlyThemeContextState;
|
|
8425
8427
|
declare const OrderlyThemeProvider: React__default.FC<PropsWithChildren<OrderlyThemeProviderProps>>;
|
|
8426
8428
|
|
|
8427
|
-
type Props
|
|
8429
|
+
type Props = {
|
|
8428
8430
|
value: boolean | (() => boolean);
|
|
8429
8431
|
left?: ReactNode;
|
|
8430
8432
|
};
|
|
8431
|
-
declare const Either: FC<PropsWithChildren<Props
|
|
8432
|
-
|
|
8433
|
-
type CaseProps<Props = {}> = {
|
|
8434
|
-
[key: string | number]: ReactElement<Props>;
|
|
8435
|
-
} | ((value: any) => ReactElement<Props>);
|
|
8436
|
-
type ValueTypes = string | number | (() => any);
|
|
8437
|
-
type Props<Props = {}> = {
|
|
8438
|
-
value: ValueTypes;
|
|
8439
|
-
case: CaseProps<Props>;
|
|
8440
|
-
default: ReactElement;
|
|
8441
|
-
} & Props & ComponentPropsWithout<"div", "value" | "case" | "default">;
|
|
8442
|
-
declare const Match: <T>(props: Props<T>) => react_jsx_runtime.JSX.Element | undefined;
|
|
8433
|
+
declare const Either: FC<PropsWithChildren<Props>>;
|
|
8443
8434
|
|
|
8444
8435
|
/**
|
|
8445
8436
|
* capitalize the first letter
|
|
@@ -8580,4 +8571,4 @@ type ScrollIndicatorProps = {
|
|
|
8580
8571
|
};
|
|
8581
8572
|
declare const ScrollIndicator: FC<ScrollIndicatorProps>;
|
|
8582
8573
|
|
|
8583
|
-
export { ActionSheet, type ActionSheetItem, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, BarChartIcon, type BaseActionSheetItem, type BaseIconProps, BattleIcon, Box, type BoxProps, Button, type ButtonProps, Calendar, CalendarIcon, CalendarMinusIcon, Card, CardBase, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, ChainIcon, type ChainSelectProps, CheckIcon, CheckSquareEmptyIcon, Checkbox, CheckedCircleFillIcon, CheckedSquareFillIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleOutlinedIcon, CloseCircleFillIcon, CloseIcon, CloseSquareFillIcon, Collapse, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type ColumnFixed, ConfirmDialog, type ConfirmProps, CopyIcon, DataFilter, type DataFilterItem, DataTable, type DataTableClassNames, type DataTableProps, DatePicker, type DatePickerProps, Dialog, type DialogAction, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuTrigger, EVMAvatar, EditIcon, Either, EmptyDataState, EmptyStateIcon, EsOrderlyIcon, ExclamationFillIcon, type ExtensionPosition, ExtensionPositionEnum, ExtensionSlot, EyeCloseIcon, EyeIcon, FeeTierIcon, Flex, type FlexProps, Grid, HoverCard, HoverCardContent, type HoverCardProps, HoverCardRoot, HoverCardTrigger, Icon, type IconType, InfoCircleIcon, Input, InputAdditional, type InputFormatter, type InputFormatterOptions, type InputProps, LeaderboardActiveIcon, LeaderboardInactiveIcon, ListView, type Locale, LocaleContext, LocaleProvider, Logo, type LogoProps, MarketsActiveIcon, MarketsInactiveIcon,
|
|
8574
|
+
export { ActionSheet, type ActionSheetItem, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, BarChartIcon, type BaseActionSheetItem, type BaseIconProps, BattleIcon, Box, type BoxProps, Button, type ButtonProps, Calendar, CalendarIcon, CalendarMinusIcon, Card, CardBase, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, ChainIcon, type ChainSelectProps, CheckIcon, CheckSquareEmptyIcon, Checkbox, CheckedCircleFillIcon, CheckedSquareFillIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleOutlinedIcon, CloseCircleFillIcon, CloseIcon, CloseSquareFillIcon, Collapse, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type ColumnFixed, ConfirmDialog, type ConfirmProps, CopyIcon, DataFilter, type DataFilterItem, DataTable, type DataTableClassNames, type DataTableProps, DatePicker, type DatePickerProps, Dialog, type DialogAction, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuTrigger, EVMAvatar, EditIcon, Either, EmptyDataState, EmptyStateIcon, EsOrderlyIcon, ExclamationFillIcon, type ExtensionPosition, ExtensionPositionEnum, ExtensionSlot, EyeCloseIcon, EyeIcon, FeeTierIcon, Flex, type FlexProps, Grid, HoverCard, HoverCardContent, type HoverCardProps, HoverCardRoot, HoverCardTrigger, Icon, type IconType, InfoCircleIcon, Input, InputAdditional, type InputFormatter, type InputFormatterOptions, type InputProps, LeaderboardActiveIcon, LeaderboardInactiveIcon, ListView, type Locale, LocaleContext, LocaleProvider, Logo, type LogoProps, MarketsActiveIcon, MarketsInactiveIcon, type MenuItem, ModalContext, type ModalHocProps, ModalIdContext, ModalProvider, type MultiFieldSort, type MultiSortField, MultiSortHeader, type MultiSortHeaderProps, type NumeralProps, index as OUITailwind, OrderlyIcon, OrderlyThemeProvider, type OrderlyThemeProviderProps, PaginationItems, type PaginationMeta, PeopleIcon, PersonIcon, Picker, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, PortfolioActiveIcon, PortfolioInactiveIcon, QuestionFillIcon, ReduceIcon, RefreshIcon, ScrollArea, ScrollBar, ScrollIndicator, type ScrollIndicatorProps, Select, SelectItem, type SelectOption, type SelectProps, ServerFillIcon, SettingFillIcon, SettingIcon, ShareIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleDialog, SimpleDialogFooter, type SimpleDialogFooterProps, type SimpleDialogProps, SimpleDropdownMenu, SimpleSheet, type SizeType, Slider, type SliderMarks, type SortOrder, SortingAscIcon, SortingDescIcon, SortingIcon, Spinner, type SpinnerProps, SquareOutlinedIcon, Statistic, StatisticLabel, SwapHorizIcon, Switch, TabPanel, type TableCellFormatter, type TableCellPlainTextRenderer, type TableCellRenderer, index$1 as TableFeatures, type TableSort, Tabs, TabsBase, TabsContent, TabsList, TabsTrigger, Text, TextField, type TextFieldProps, type TextProps, type TextType, ThrottledButton, ToastTile, Toaster, TokenIcon, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, TraderMobileIcon, TradingActiveIcon, TradingIcon, TradingInactiveIcon, TradingLeftNavIcon, TradingRewardsIcon, TriggerDialog, type TriggerDialogProps, VectorIcon, WalletIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, formatAddress, gradientTextVariants, index$2 as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, statisticVariants, textVariants, tv, useLocale, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen };
|
package/dist/index.d.ts
CHANGED
|
@@ -6200,6 +6200,8 @@ type TabPanelProps = {
|
|
|
6200
6200
|
title: string | React__default.ReactNode;
|
|
6201
6201
|
icon?: React__default.ReactElement;
|
|
6202
6202
|
testid?: string;
|
|
6203
|
+
className?: string;
|
|
6204
|
+
style?: React__default.CSSProperties;
|
|
6203
6205
|
};
|
|
6204
6206
|
declare const TabPanel: FC<PropsWithChildren<TabPanelProps>>;
|
|
6205
6207
|
|
|
@@ -7429,13 +7431,13 @@ declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitiv
|
|
|
7429
7431
|
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
7430
7432
|
declare const CollapsibleContent: FC<CollapsiblePrimitive.CollapsibleContentProps>;
|
|
7431
7433
|
|
|
7432
|
-
interface Props$
|
|
7434
|
+
interface Props$1 {
|
|
7433
7435
|
header: ReactNode;
|
|
7434
7436
|
headerClassName?: string;
|
|
7435
7437
|
itemKey: string;
|
|
7436
7438
|
disabled?: boolean;
|
|
7437
7439
|
}
|
|
7438
|
-
declare const Panel: FC<PropsWithChildren<Props$
|
|
7440
|
+
declare const Panel: FC<PropsWithChildren<Props$1>>;
|
|
7439
7441
|
|
|
7440
7442
|
declare const CollapseRoot: FC<PropsWithChildren<{
|
|
7441
7443
|
activeKey?: string;
|
|
@@ -8424,22 +8426,11 @@ type OrderlyThemeProviderProps = {
|
|
|
8424
8426
|
declare const useOrderlyTheme: () => OrderlyThemeContextState;
|
|
8425
8427
|
declare const OrderlyThemeProvider: React__default.FC<PropsWithChildren<OrderlyThemeProviderProps>>;
|
|
8426
8428
|
|
|
8427
|
-
type Props
|
|
8429
|
+
type Props = {
|
|
8428
8430
|
value: boolean | (() => boolean);
|
|
8429
8431
|
left?: ReactNode;
|
|
8430
8432
|
};
|
|
8431
|
-
declare const Either: FC<PropsWithChildren<Props
|
|
8432
|
-
|
|
8433
|
-
type CaseProps<Props = {}> = {
|
|
8434
|
-
[key: string | number]: ReactElement<Props>;
|
|
8435
|
-
} | ((value: any) => ReactElement<Props>);
|
|
8436
|
-
type ValueTypes = string | number | (() => any);
|
|
8437
|
-
type Props<Props = {}> = {
|
|
8438
|
-
value: ValueTypes;
|
|
8439
|
-
case: CaseProps<Props>;
|
|
8440
|
-
default: ReactElement;
|
|
8441
|
-
} & Props & ComponentPropsWithout<"div", "value" | "case" | "default">;
|
|
8442
|
-
declare const Match: <T>(props: Props<T>) => react_jsx_runtime.JSX.Element | undefined;
|
|
8433
|
+
declare const Either: FC<PropsWithChildren<Props>>;
|
|
8443
8434
|
|
|
8444
8435
|
/**
|
|
8445
8436
|
* capitalize the first letter
|
|
@@ -8580,4 +8571,4 @@ type ScrollIndicatorProps = {
|
|
|
8580
8571
|
};
|
|
8581
8572
|
declare const ScrollIndicator: FC<ScrollIndicatorProps>;
|
|
8582
8573
|
|
|
8583
|
-
export { ActionSheet, type ActionSheetItem, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, BarChartIcon, type BaseActionSheetItem, type BaseIconProps, BattleIcon, Box, type BoxProps, Button, type ButtonProps, Calendar, CalendarIcon, CalendarMinusIcon, Card, CardBase, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, ChainIcon, type ChainSelectProps, CheckIcon, CheckSquareEmptyIcon, Checkbox, CheckedCircleFillIcon, CheckedSquareFillIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleOutlinedIcon, CloseCircleFillIcon, CloseIcon, CloseSquareFillIcon, Collapse, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type ColumnFixed, ConfirmDialog, type ConfirmProps, CopyIcon, DataFilter, type DataFilterItem, DataTable, type DataTableClassNames, type DataTableProps, DatePicker, type DatePickerProps, Dialog, type DialogAction, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuTrigger, EVMAvatar, EditIcon, Either, EmptyDataState, EmptyStateIcon, EsOrderlyIcon, ExclamationFillIcon, type ExtensionPosition, ExtensionPositionEnum, ExtensionSlot, EyeCloseIcon, EyeIcon, FeeTierIcon, Flex, type FlexProps, Grid, HoverCard, HoverCardContent, type HoverCardProps, HoverCardRoot, HoverCardTrigger, Icon, type IconType, InfoCircleIcon, Input, InputAdditional, type InputFormatter, type InputFormatterOptions, type InputProps, LeaderboardActiveIcon, LeaderboardInactiveIcon, ListView, type Locale, LocaleContext, LocaleProvider, Logo, type LogoProps, MarketsActiveIcon, MarketsInactiveIcon,
|
|
8574
|
+
export { ActionSheet, type ActionSheetItem, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, BarChartIcon, type BaseActionSheetItem, type BaseIconProps, BattleIcon, Box, type BoxProps, Button, type ButtonProps, Calendar, CalendarIcon, CalendarMinusIcon, Card, CardBase, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, ChainIcon, type ChainSelectProps, CheckIcon, CheckSquareEmptyIcon, Checkbox, CheckedCircleFillIcon, CheckedSquareFillIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleOutlinedIcon, CloseCircleFillIcon, CloseIcon, CloseSquareFillIcon, Collapse, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type ColumnFixed, ConfirmDialog, type ConfirmProps, CopyIcon, DataFilter, type DataFilterItem, DataTable, type DataTableClassNames, type DataTableProps, DatePicker, type DatePickerProps, Dialog, type DialogAction, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuTrigger, EVMAvatar, EditIcon, Either, EmptyDataState, EmptyStateIcon, EsOrderlyIcon, ExclamationFillIcon, type ExtensionPosition, ExtensionPositionEnum, ExtensionSlot, EyeCloseIcon, EyeIcon, FeeTierIcon, Flex, type FlexProps, Grid, HoverCard, HoverCardContent, type HoverCardProps, HoverCardRoot, HoverCardTrigger, Icon, type IconType, InfoCircleIcon, Input, InputAdditional, type InputFormatter, type InputFormatterOptions, type InputProps, LeaderboardActiveIcon, LeaderboardInactiveIcon, ListView, type Locale, LocaleContext, LocaleProvider, Logo, type LogoProps, MarketsActiveIcon, MarketsInactiveIcon, type MenuItem, ModalContext, type ModalHocProps, ModalIdContext, ModalProvider, type MultiFieldSort, type MultiSortField, MultiSortHeader, type MultiSortHeaderProps, type NumeralProps, index as OUITailwind, OrderlyIcon, OrderlyThemeProvider, type OrderlyThemeProviderProps, PaginationItems, type PaginationMeta, PeopleIcon, PersonIcon, Picker, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, PortfolioActiveIcon, PortfolioInactiveIcon, QuestionFillIcon, ReduceIcon, RefreshIcon, ScrollArea, ScrollBar, ScrollIndicator, type ScrollIndicatorProps, Select, SelectItem, type SelectOption, type SelectProps, ServerFillIcon, SettingFillIcon, SettingIcon, ShareIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleDialog, SimpleDialogFooter, type SimpleDialogFooterProps, type SimpleDialogProps, SimpleDropdownMenu, SimpleSheet, type SizeType, Slider, type SliderMarks, type SortOrder, SortingAscIcon, SortingDescIcon, SortingIcon, Spinner, type SpinnerProps, SquareOutlinedIcon, Statistic, StatisticLabel, SwapHorizIcon, Switch, TabPanel, type TableCellFormatter, type TableCellPlainTextRenderer, type TableCellRenderer, index$1 as TableFeatures, type TableSort, Tabs, TabsBase, TabsContent, TabsList, TabsTrigger, Text, TextField, type TextFieldProps, type TextProps, type TextType, ThrottledButton, ToastTile, Toaster, TokenIcon, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, TraderMobileIcon, TradingActiveIcon, TradingIcon, TradingInactiveIcon, TradingLeftNavIcon, TradingRewardsIcon, TriggerDialog, type TriggerDialogProps, VectorIcon, WalletIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, formatAddress, gradientTextVariants, index$2 as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, statisticVariants, textVariants, tv, useLocale, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen };
|