@kodiak-finance/orderly-ui 2.8.14-prerelease.0 → 2.8.14
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.d.mts +2 -52
- package/dist/index.d.ts +2 -52
- package/dist/index.js +216 -220
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -3758,7 +3758,6 @@ type Column<RecordType extends unknown = any> = {
|
|
|
3758
3758
|
dataIndex: string;
|
|
3759
3759
|
className?: string | ((record: RecordType, index: number) => string);
|
|
3760
3760
|
align?: "left" | "center" | "right";
|
|
3761
|
-
exportable?: boolean;
|
|
3762
3761
|
onSort?: boolean | ((r1: RecordType, r2: RecordType, sortOrder?: SortOrder) => number);
|
|
3763
3762
|
multiSort?: {
|
|
3764
3763
|
fields: MultiSortField[];
|
|
@@ -4316,58 +4315,9 @@ declare module "@tanstack/react-table" {
|
|
|
4316
4315
|
}
|
|
4317
4316
|
declare const DownloadFeature: TableFeature<any>;
|
|
4318
4317
|
|
|
4319
|
-
/**
|
|
4320
|
-
* CSV Export Service
|
|
4321
|
-
* Platform-agnostic utilities for CSV export
|
|
4322
|
-
* Used by both DataTable (desktop) and mobile ListView components
|
|
4323
|
-
*/
|
|
4324
|
-
interface CSVColumn {
|
|
4325
|
-
title: string;
|
|
4326
|
-
plantTextTitle?: string;
|
|
4327
|
-
dataIndex?: string;
|
|
4328
|
-
renderPlantText?: (value: any, record: any, index: number) => any;
|
|
4329
|
-
hidden?: boolean;
|
|
4330
|
-
type?: string;
|
|
4331
|
-
}
|
|
4332
|
-
interface CSVExportOptions {
|
|
4333
|
-
columns: CSVColumn[];
|
|
4334
|
-
dataSource: any[];
|
|
4335
|
-
filename?: string;
|
|
4336
|
-
}
|
|
4337
|
-
/**
|
|
4338
|
-
* Converts raw data to CSV format
|
|
4339
|
-
* @param columns - Column definitions with formatting functions
|
|
4340
|
-
* @param dataSource - Array of data records
|
|
4341
|
-
* @returns Array of CSV rows (header + data rows)
|
|
4342
|
-
*/
|
|
4343
|
-
declare const generateCSVData: (columns: CSVColumn[], dataSource: any[]) => any[][];
|
|
4344
|
-
/**
|
|
4345
|
-
* Generates CSV content string from data
|
|
4346
|
-
* @param data - Array of CSV rows
|
|
4347
|
-
* @returns CSV formatted string
|
|
4348
|
-
*/
|
|
4349
|
-
declare const generateCSVContent: (data: any[][]) => string;
|
|
4350
|
-
/**
|
|
4351
|
-
* Triggers browser download of CSV file
|
|
4352
|
-
* @param csvContent - CSV formatted string
|
|
4353
|
-
* @param filename - Name of the file to download
|
|
4354
|
-
*/
|
|
4355
|
-
declare const downloadCSVFile: (csvContent: string, filename?: string) => void;
|
|
4356
|
-
/**
|
|
4357
|
-
* Complete CSV export flow
|
|
4358
|
-
* @param options - Export options with columns and dataSource
|
|
4359
|
-
*/
|
|
4360
|
-
declare const exportToCSV: (options: CSVExportOptions) => void;
|
|
4361
|
-
|
|
4362
|
-
type index$1_CSVColumn = CSVColumn;
|
|
4363
|
-
type index$1_CSVExportOptions = CSVExportOptions;
|
|
4364
4318
|
declare const index$1_DownloadFeature: typeof DownloadFeature;
|
|
4365
|
-
declare const index$1_downloadCSVFile: typeof downloadCSVFile;
|
|
4366
|
-
declare const index$1_exportToCSV: typeof exportToCSV;
|
|
4367
|
-
declare const index$1_generateCSVContent: typeof generateCSVContent;
|
|
4368
|
-
declare const index$1_generateCSVData: typeof generateCSVData;
|
|
4369
4319
|
declare namespace index$1 {
|
|
4370
|
-
export {
|
|
4320
|
+
export { index$1_DownloadFeature as DownloadFeature };
|
|
4371
4321
|
}
|
|
4372
4322
|
|
|
4373
4323
|
declare const scrollAreaVariants: tailwind_variants.TVReturnType<{
|
|
@@ -8716,4 +8666,4 @@ type ScrollIndicatorProps = {
|
|
|
8716
8666
|
};
|
|
8717
8667
|
declare const ScrollIndicator: FC<ScrollIndicatorProps>;
|
|
8718
8668
|
|
|
8719
|
-
export { ActionSheet, type ActionSheetItem, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, BarChartIcon, type BaseActionSheetItem, type BaseIconProps, BattleIcon, Box, type BoxProps, Button, type ButtonProps,
|
|
8669
|
+
export { ActionSheet, type ActionSheetItem, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, 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, type InputWithTooltipProps, LeaderboardActiveIcon, LeaderboardInactiveIcon, LeftNavVaultsIcon, ListView, type Locale, LocaleContext, LocaleProvider, Logo, type LogoProps, MarketsActiveIcon, MarketsInactiveIcon, Marquee, type MarqueeProps, 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 TabPanelProps, type TableCellContext, 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, VaultsIcon, VectorIcon, WalletIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, formatAddress, gradientTextVariants, index$2 as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, startViewTransition, statisticVariants, textVariants, tv, useLocale, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen };
|
package/dist/index.d.ts
CHANGED
|
@@ -3758,7 +3758,6 @@ type Column<RecordType extends unknown = any> = {
|
|
|
3758
3758
|
dataIndex: string;
|
|
3759
3759
|
className?: string | ((record: RecordType, index: number) => string);
|
|
3760
3760
|
align?: "left" | "center" | "right";
|
|
3761
|
-
exportable?: boolean;
|
|
3762
3761
|
onSort?: boolean | ((r1: RecordType, r2: RecordType, sortOrder?: SortOrder) => number);
|
|
3763
3762
|
multiSort?: {
|
|
3764
3763
|
fields: MultiSortField[];
|
|
@@ -4316,58 +4315,9 @@ declare module "@tanstack/react-table" {
|
|
|
4316
4315
|
}
|
|
4317
4316
|
declare const DownloadFeature: TableFeature<any>;
|
|
4318
4317
|
|
|
4319
|
-
/**
|
|
4320
|
-
* CSV Export Service
|
|
4321
|
-
* Platform-agnostic utilities for CSV export
|
|
4322
|
-
* Used by both DataTable (desktop) and mobile ListView components
|
|
4323
|
-
*/
|
|
4324
|
-
interface CSVColumn {
|
|
4325
|
-
title: string;
|
|
4326
|
-
plantTextTitle?: string;
|
|
4327
|
-
dataIndex?: string;
|
|
4328
|
-
renderPlantText?: (value: any, record: any, index: number) => any;
|
|
4329
|
-
hidden?: boolean;
|
|
4330
|
-
type?: string;
|
|
4331
|
-
}
|
|
4332
|
-
interface CSVExportOptions {
|
|
4333
|
-
columns: CSVColumn[];
|
|
4334
|
-
dataSource: any[];
|
|
4335
|
-
filename?: string;
|
|
4336
|
-
}
|
|
4337
|
-
/**
|
|
4338
|
-
* Converts raw data to CSV format
|
|
4339
|
-
* @param columns - Column definitions with formatting functions
|
|
4340
|
-
* @param dataSource - Array of data records
|
|
4341
|
-
* @returns Array of CSV rows (header + data rows)
|
|
4342
|
-
*/
|
|
4343
|
-
declare const generateCSVData: (columns: CSVColumn[], dataSource: any[]) => any[][];
|
|
4344
|
-
/**
|
|
4345
|
-
* Generates CSV content string from data
|
|
4346
|
-
* @param data - Array of CSV rows
|
|
4347
|
-
* @returns CSV formatted string
|
|
4348
|
-
*/
|
|
4349
|
-
declare const generateCSVContent: (data: any[][]) => string;
|
|
4350
|
-
/**
|
|
4351
|
-
* Triggers browser download of CSV file
|
|
4352
|
-
* @param csvContent - CSV formatted string
|
|
4353
|
-
* @param filename - Name of the file to download
|
|
4354
|
-
*/
|
|
4355
|
-
declare const downloadCSVFile: (csvContent: string, filename?: string) => void;
|
|
4356
|
-
/**
|
|
4357
|
-
* Complete CSV export flow
|
|
4358
|
-
* @param options - Export options with columns and dataSource
|
|
4359
|
-
*/
|
|
4360
|
-
declare const exportToCSV: (options: CSVExportOptions) => void;
|
|
4361
|
-
|
|
4362
|
-
type index$1_CSVColumn = CSVColumn;
|
|
4363
|
-
type index$1_CSVExportOptions = CSVExportOptions;
|
|
4364
4318
|
declare const index$1_DownloadFeature: typeof DownloadFeature;
|
|
4365
|
-
declare const index$1_downloadCSVFile: typeof downloadCSVFile;
|
|
4366
|
-
declare const index$1_exportToCSV: typeof exportToCSV;
|
|
4367
|
-
declare const index$1_generateCSVContent: typeof generateCSVContent;
|
|
4368
|
-
declare const index$1_generateCSVData: typeof generateCSVData;
|
|
4369
4319
|
declare namespace index$1 {
|
|
4370
|
-
export {
|
|
4320
|
+
export { index$1_DownloadFeature as DownloadFeature };
|
|
4371
4321
|
}
|
|
4372
4322
|
|
|
4373
4323
|
declare const scrollAreaVariants: tailwind_variants.TVReturnType<{
|
|
@@ -8716,4 +8666,4 @@ type ScrollIndicatorProps = {
|
|
|
8716
8666
|
};
|
|
8717
8667
|
declare const ScrollIndicator: FC<ScrollIndicatorProps>;
|
|
8718
8668
|
|
|
8719
|
-
export { ActionSheet, type ActionSheetItem, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, BarChartIcon, type BaseActionSheetItem, type BaseIconProps, BattleIcon, Box, type BoxProps, Button, type ButtonProps,
|
|
8669
|
+
export { ActionSheet, type ActionSheetItem, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, 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, type InputWithTooltipProps, LeaderboardActiveIcon, LeaderboardInactiveIcon, LeftNavVaultsIcon, ListView, type Locale, LocaleContext, LocaleProvider, Logo, type LogoProps, MarketsActiveIcon, MarketsInactiveIcon, Marquee, type MarqueeProps, 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 TabPanelProps, type TableCellContext, 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, VaultsIcon, VectorIcon, WalletIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, formatAddress, gradientTextVariants, index$2 as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, startViewTransition, statisticVariants, textVariants, tv, useLocale, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen };
|