@dub/ui 0.2.22 → 0.2.23
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/charts/index.d.ts +15 -3
- package/dist/charts/index.mjs +1 -1
- package/dist/chunk-24SPS4WN.mjs +2 -0
- package/dist/chunk-2YBLJVB6.mjs +2 -0
- package/dist/chunk-46WLFPMH.mjs +2 -0
- package/dist/chunk-4AV6FAIE.mjs +2 -0
- package/dist/chunk-4OT2N5UX.mjs +2 -0
- package/dist/chunk-4VVS47D3.mjs +2 -0
- package/dist/chunk-53MJBDSX.mjs +2 -0
- package/dist/chunk-53TMPLIG.mjs +2 -0
- package/dist/chunk-7UPAYZHN.mjs +2 -0
- package/dist/chunk-ABSIL3FB.mjs +2 -0
- package/dist/chunk-B6X6Y4Z4.mjs +2 -0
- package/dist/chunk-BBZCNOG7.mjs +2 -0
- package/dist/chunk-BEH4ZOED.mjs +2 -0
- package/dist/chunk-BFY2URQ5.mjs +2 -0
- package/dist/chunk-CZJFGG7G.mjs +2 -0
- package/dist/chunk-F6CU2GGS.mjs +2 -0
- package/dist/chunk-HMBXLDSH.mjs +2 -0
- package/dist/chunk-I5JX5PNF.mjs +2 -0
- package/dist/chunk-IP6T6ZUX.mjs +2 -0
- package/dist/chunk-JKYVYQGC.mjs +2 -0
- package/dist/chunk-K3BXLH2D.mjs +2 -0
- package/dist/chunk-K5IGEUVI.mjs +2 -0
- package/dist/chunk-KR7TQ55L.mjs +2 -0
- package/dist/chunk-KVI6KYHD.mjs +2 -0
- package/dist/chunk-LQRBYEWQ.mjs +2 -0
- package/dist/chunk-OWNJTMNY.mjs +2 -0
- package/dist/chunk-OZCAG6AS.mjs +2 -0
- package/dist/chunk-QVISZFX2.mjs +2 -0
- package/dist/chunk-RAU6FFKC.mjs +2 -0
- package/dist/chunk-RDQDJERJ.mjs +2 -0
- package/dist/chunk-RK5PFGFA.mjs +2 -0
- package/dist/chunk-S3MOHBAU.mjs +2 -0
- package/dist/chunk-S7BVDLYG.mjs +2 -0
- package/dist/chunk-TKYWI6GE.mjs +2 -0
- package/dist/chunk-TXOE2JB5.mjs +2 -0
- package/dist/chunk-TYKFSFAV.mjs +2 -0
- package/dist/chunk-UMVELMNH.mjs +2 -0
- package/dist/chunk-VA5FYSBE.mjs +2 -0
- package/dist/chunk-VJNSFBOV.mjs +2 -0
- package/dist/chunk-VZGC3L4E.mjs +2 -0
- package/dist/chunk-W2FRZO5F.mjs +2 -0
- package/dist/chunk-WYLDJVPX.mjs +2 -0
- package/dist/chunk-XFVW2VLE.mjs +2 -0
- package/dist/chunk-YM5B3WSN.mjs +2 -0
- package/dist/chunk-ZC672SSR.mjs +2 -0
- package/dist/chunk-ZH4HNUUF.mjs +2 -0
- package/dist/chunk-ZVSAO7SD.mjs +2 -0
- package/dist/icons/index.d.ts +15 -1
- package/dist/icons/index.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +35 -15
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,8 @@ import Autoplay from 'embla-carousel-autoplay';
|
|
|
9
9
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
10
10
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
11
11
|
import { Icon, GlobePointer, SatelliteDish, Flag6, InputSearch, Page2, Gift, Hyperlink, Raycast, Typescript, Book2Fill, FeatherFill, Twitter } from './icons/index.js';
|
|
12
|
-
export { Africa, Airtm, Amazon, Apple, ArrowBoldUp, ArrowRight, ArrowTrendUp, ArrowTurnLeft, ArrowTurnRight2, ArrowUpRight, ArrowsOppositeDirectionY, Asia, BadgeCheck, Blog, Bolt, BoltFill, Book2, Book2Fill, Book2Small, BookOpen, Books2, BoxArchive, BulletList, BulletListFill, Calendar6, CalendarDays, CalendarIcon, CalendarRefresh, CardAmex, CardDiscover, CardMastercard, CardVisa, Cards, CaretUpFill, CashApp, ChartActivity2, ChartLine, ChatGPT, Check, Check2, CheckboxCheckedFill, CheckboxUnchecked, CircleCheck, CircleCheckFill, CircleDollar, CircleDotted, CircleHalfDottedCheck, CircleHalfDottedClock, CircleInfo, CirclePlay, CirclePlayFill, CircleQuestion, CircleWarning, CircleXmark, Circles, Circles3, CloudUpload, Code, ColorPalette2, ConnectedDots, ConnectedDots4, ConnectedDotsFill, Connections3, Copy, CreditCard, Crosshairs3, Crown, CrownSmall, Cube, CubeSettings, CubeSettingsFill, CurrencyDollar, CursorRays, DatabaseKey, Desktop, DiamondTurnRight, Dots, Download, DubCraftedShield, Duplicate, EarthPosition, EnvelopeArrowRight, Europe, ExpandingArrow, Eye, EyeSlash, Facebook, FeatherFill, Figma, FileZip2, Filter2, FilterBars, Flag2, Flag6, FlagWavy, Folder, Folder5, GamingConsole, Gauge6, Gear, Gear2, Gear3, Gem, Gift, GiftFill, GitHubEnhanced, Github, Globe, Globe2, GlobePointer, GlobeSearch, Go, Google, GoogleEnhanced, GreekTemple, GridIcon, GridLayoutRows, GridPlus, Headset, HeadsetFill, HeartFill, HexadecagonStar, Hyperlink, Icon, Icosahedron, Incognito, InputPassword, InputSearch, InvoiceDollar, Key, LayoutSidebar, License, LinesY, Link4, LinkBroken, LinkedIn, LoadingCircle, LoadingDots, LoadingSpinner, LocationPin, Magic, Magnifier, MapPosition, MatrixLines, Menu3, MessageSmile, MobilePhone, MoneyBill2, MoneyBills2, NorthAmerica, Note, NucleoPhoto, Oceania, OfficeBuilding, Page2, Paintbrush, Palette2, Payoneer, Paypal, Pen2, PenWriting, PercentageArrowDown, Photo, Php, Plug2, Plus, Post, Prisma, ProductHunt, Pyramid, Python, QRCode, Raycast, Receipt2, ReferredVia, Refresh2, Robot, Ruby, SatelliteDish, ScanText, Scribble, ShieldAlert, ShieldCheck, ShieldKeyhole, ShieldSlash, Shuffle, Sliders, SortOrder, SouthAmerica, Sparkle3, Spotify, SquareChart, SquareLayoutGrid6, SquareXmark, Stars2, StripeLink, Success, TV, TableIcon, TableRows2, Tablet, Tag, Tags, Tick, Tinybird, Toggle2Fill, Trash, Twitter, Typescript, Unsplash, User, UserCheck, UserCrown, Users, Users2, Users6, UsersSettings, Venmo, Versions2, Watch, Webhook, Window, WindowSearch, WindowSettings, Xmark, YouTube } from './icons/index.js';
|
|
12
|
+
export { Africa, Airtm, Amazon, Apple, ArrowBoldUp, ArrowRight, ArrowTrendUp, ArrowTurnLeft, ArrowTurnRight2, ArrowUpRight, ArrowsOppositeDirectionY, Asia, BadgeCheck, Blog, Bolt, BoltFill, Book2, Book2Fill, Book2Small, BookOpen, Books2, BoxArchive, BulletList, BulletListFill, Calendar6, CalendarDays, CalendarIcon, CalendarRefresh, CardAmex, CardDiscover, CardMastercard, CardVisa, Cards, CaretUpFill, CashApp, ChartActivity2, ChartLine, ChatGPT, Check, Check2, CheckboxCheckedFill, CheckboxUnchecked, CircleCheck, CircleCheckFill, CircleDollar, CircleDotted, CircleHalfDottedCheck, CircleHalfDottedClock, CircleInfo, CirclePlay, CirclePlayFill, CircleQuestion, CircleWarning, CircleXmark, Circles, Circles3, CloudUpload, Code, ColorPalette2, ConnectedDots, ConnectedDots4, ConnectedDotsFill, Connections3, Copy, CreditCard, Crosshairs3, Crown, CrownSmall, Cube, CubeSettings, CubeSettingsFill, CurrencyDollar, CursorRays, DatabaseKey, Desktop, DiamondTurnRight, Discount, Dots, Download, DubCraftedShield, Duplicate, EarthPosition, EnvelopeArrowRight, Europe, ExpandingArrow, Eye, EyeSlash, Facebook, FeatherFill, Figma, FileZip2, Filter2, FilterBars, Flag2, Flag6, FlagWavy, Folder, Folder5, FolderBookmark, FolderLock, FolderPlus, FolderShield, GamingConsole, Gauge6, Gear, Gear2, Gear3, Gem, Gift, GiftFill, GitHubEnhanced, Github, Globe, Globe2, GlobePointer, GlobeSearch, Go, Google, GoogleEnhanced, GreekTemple, GridIcon, GridLayoutRows, GridPlus, Headset, HeadsetFill, HeartFill, HexadecagonStar, Hyperlink, Icon, Icosahedron, Incognito, InputPassword, InputSearch, InvoiceDollar, Key, LayoutSidebar, License, LinesY, Link4, LinkBroken, LinkedIn, LoadingCircle, LoadingDots, LoadingSpinner, LocationPin, LockFill, Magic, Magnifier, MapPosition, MatrixLines, Menu3, MessageSmile, MobilePhone, MoneyBill, MoneyBill2, MoneyBills2, NorthAmerica, Note, NucleoPhoto, Oceania, OfficeBuilding, Page2, Paintbrush, Palette2, Payoneer, Paypal, Pen2, PenWriting, PercentageArrowDown, Photo, Php, Plug2, Plus, Post, Prisma, ProductHunt, Pyramid, Python, QRCode, Raycast, Receipt2, ReferredVia, Refresh2, Robot, Ruby, SatelliteDish, ScanText, Scribble, ShieldAlert, ShieldCheck, ShieldKeyhole, ShieldSlash, Shuffle, Sliders, SortOrder, SouthAmerica, Sparkle3, Spotify, SquareChart, SquareLayoutGrid6, SquareXmark, Stars2, StripeLink, Success, TV, TableIcon, TableRows2, Tablet, Tag, Tags, Tick, Tinybird, Toggle2Fill, Trash, Twitter, Typescript, Unsplash, User, UserCheck, UserCrown, Users, Users2, Users6, UsersSettings, Venmo, Versions2, Watch, Webhook, Window, WindowSearch, WindowSettings, Xmark, YouTube } from './icons/index.js';
|
|
13
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
13
14
|
import { DayPickerSingleProps, DayPickerRangeProps, Matcher } from 'react-day-picker';
|
|
14
15
|
export { Matcher } from 'react-day-picker';
|
|
15
16
|
import { Locale } from 'date-fns';
|
|
@@ -17,7 +18,7 @@ import { LucideIcon } from 'lucide-react';
|
|
|
17
18
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
18
19
|
import { Drawer, ContentProps } from 'vaul';
|
|
19
20
|
import * as _tanstack_react_table from '@tanstack/react-table';
|
|
20
|
-
import { PaginationState as PaginationState$1, Table as Table$1, ColumnDef, Cell, VisibilityState, ColumnPinningState, Row, RowSelectionState } from '@tanstack/react-table';
|
|
21
|
+
import { PaginationState as PaginationState$1, Table as Table$1, ColumnDef, Cell, VisibilityState, ColumnPinningState, Row, ColumnResizeMode, RowSelectionState } from '@tanstack/react-table';
|
|
21
22
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
22
23
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
23
24
|
import Cookies from 'js-cookie';
|
|
@@ -56,7 +57,7 @@ declare function TokenAvatar({ id, className, }: {
|
|
|
56
57
|
}): react_jsx_runtime.JSX.Element;
|
|
57
58
|
|
|
58
59
|
declare const badgeVariants: (props?: ({
|
|
59
|
-
variant?: "black" | "blue" | "gray" | "violet" | "default" | "sky" | "neutral" | "blueGradient" | "rainbow" | null | undefined;
|
|
60
|
+
variant?: "black" | "blue" | "gray" | "green" | "violet" | "default" | "sky" | "neutral" | "blueGradient" | "rainbow" | null | undefined;
|
|
60
61
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
61
62
|
interface BadgeProps$1 extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
62
63
|
}
|
|
@@ -68,6 +69,7 @@ declare const buttonVariants: (props?: ({
|
|
|
68
69
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
69
70
|
text?: ReactNode | string;
|
|
70
71
|
textWrapperClassName?: string;
|
|
72
|
+
shortcutClassName?: string;
|
|
71
73
|
loading?: boolean;
|
|
72
74
|
icon?: ReactNode;
|
|
73
75
|
shortcut?: string;
|
|
@@ -86,11 +88,12 @@ type CardListProps = PropsWithChildren<{
|
|
|
86
88
|
}> & VariantProps<typeof cardListVariants>;
|
|
87
89
|
declare function CardList$1({ variant, loading, className, children, }: CardListProps): react_jsx_runtime.JSX.Element;
|
|
88
90
|
|
|
89
|
-
declare function CardListCard({ outerClassName, innerClassName, children, onClick, hoverStateEnabled, }: PropsWithChildren<{
|
|
91
|
+
declare function CardListCard({ outerClassName, innerClassName, children, onClick, hoverStateEnabled, banner, }: PropsWithChildren<{
|
|
90
92
|
outerClassName?: string;
|
|
91
93
|
innerClassName?: string;
|
|
92
94
|
onClick?: () => void;
|
|
93
95
|
hoverStateEnabled?: boolean;
|
|
96
|
+
banner?: React.ReactNode;
|
|
94
97
|
}>): react_jsx_runtime.JSX.Element;
|
|
95
98
|
|
|
96
99
|
declare const CardList: typeof CardList$1 & {
|
|
@@ -167,18 +170,21 @@ type PopoverProps = PropsWithChildren<{
|
|
|
167
170
|
setOpenPopover: (open: boolean) => void;
|
|
168
171
|
mobileOnly?: boolean;
|
|
169
172
|
popoverContentClassName?: string;
|
|
173
|
+
onOpenAutoFocus?: PopoverPrimitive.PopoverContentProps["onOpenAutoFocus"];
|
|
170
174
|
collisionBoundary?: Element | Element[];
|
|
171
175
|
sticky?: "partial" | "always";
|
|
172
176
|
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
173
177
|
onWheel?: WheelEventHandler;
|
|
174
178
|
}>;
|
|
175
|
-
declare function Popover({ children, content, align, side, openPopover, setOpenPopover, mobileOnly, popoverContentClassName, collisionBoundary, sticky, onEscapeKeyDown, onWheel, }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
179
|
+
declare function Popover({ children, content, align, side, openPopover, setOpenPopover, mobileOnly, popoverContentClassName, onOpenAutoFocus, collisionBoundary, sticky, onEscapeKeyDown, onWheel, }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
176
180
|
|
|
177
181
|
type ComboboxOption<TMeta = any> = {
|
|
178
|
-
label: string;
|
|
182
|
+
label: string | ReactNode;
|
|
179
183
|
value: string;
|
|
180
184
|
icon?: Icon | ReactNode;
|
|
185
|
+
disabledTooltip?: ReactNode;
|
|
181
186
|
meta?: TMeta;
|
|
187
|
+
separatorAfter?: boolean;
|
|
182
188
|
};
|
|
183
189
|
type ComboboxProps<TMultiple extends boolean | undefined, TMeta extends any> = PropsWithChildren<{
|
|
184
190
|
multiple?: TMultiple;
|
|
@@ -193,18 +199,19 @@ type ComboboxProps<TMultiple extends boolean | undefined, TMeta extends any> = P
|
|
|
193
199
|
onCreate?: (search: string) => Promise<boolean>;
|
|
194
200
|
buttonProps?: ButtonProps;
|
|
195
201
|
shortcutHint?: string;
|
|
196
|
-
caret?: boolean;
|
|
202
|
+
caret?: boolean | ReactNode;
|
|
197
203
|
side?: PopoverProps["side"];
|
|
198
204
|
open?: boolean;
|
|
199
205
|
onOpenChange?: (open: boolean) => void;
|
|
200
206
|
onSearchChange?: (search: string) => void;
|
|
201
207
|
shouldFilter?: boolean;
|
|
208
|
+
inputRight?: ReactNode;
|
|
202
209
|
inputClassName?: string;
|
|
203
210
|
optionRight?: (option: ComboboxOption) => ReactNode;
|
|
204
211
|
optionClassName?: string;
|
|
205
212
|
matchTriggerWidth?: boolean;
|
|
206
213
|
}>;
|
|
207
|
-
declare function Combobox({ multiple, selected: selectedProp, setSelected, options, icon: Icon, placeholder, searchPlaceholder, emptyState, createLabel, onCreate, buttonProps, shortcutHint, caret, side, open, onOpenChange, onSearchChange, shouldFilter, inputClassName, optionRight, optionClassName, matchTriggerWidth, children, }: ComboboxProps<boolean | undefined, any>): react_jsx_runtime.JSX.Element;
|
|
214
|
+
declare function Combobox({ multiple, selected: selectedProp, setSelected, options, icon: Icon, placeholder, searchPlaceholder, emptyState, createLabel, onCreate, buttonProps, shortcutHint, caret, side, open, onOpenChange, onSearchChange, shouldFilter, inputRight, inputClassName, optionRight, optionClassName, matchTriggerWidth, children, }: ComboboxProps<boolean | undefined, any>): react_jsx_runtime.JSX.Element;
|
|
208
215
|
|
|
209
216
|
type OmitKeys<T, K extends keyof T> = {
|
|
210
217
|
[P in keyof T as P extends K ? never : P]: T[P];
|
|
@@ -311,10 +318,12 @@ type FileUploadReadFileProps = {
|
|
|
311
318
|
}) => void;
|
|
312
319
|
};
|
|
313
320
|
type FileUploadProps = FileUploadReadFileProps & {
|
|
321
|
+
id?: string;
|
|
314
322
|
accept: AcceptedFileFormats;
|
|
315
323
|
className?: string;
|
|
316
324
|
iconClassName?: string;
|
|
317
325
|
previewClassName?: string;
|
|
326
|
+
icon?: Icon;
|
|
318
327
|
/**
|
|
319
328
|
* Custom preview component to display instead of the default
|
|
320
329
|
*/
|
|
@@ -356,7 +365,7 @@ type FileUploadProps = FileUploadReadFileProps & {
|
|
|
356
365
|
accessibilityLabel?: string;
|
|
357
366
|
disabled?: boolean;
|
|
358
367
|
} & VariantProps<typeof imageUploadVariants>;
|
|
359
|
-
declare function FileUpload({ readFile, onChange, variant, className, iconClassName, previewClassName, customPreview, accept, imageSrc, loading, clickToUpload, showHoverOverlay, content, maxFileSizeMB, targetResolution, accessibilityLabel, disabled, }: FileUploadProps): react_jsx_runtime.JSX.Element;
|
|
368
|
+
declare function FileUpload({ id, readFile, onChange, variant, className, iconClassName, previewClassName, icon: Icon, customPreview, accept, imageSrc, loading, clickToUpload, showHoverOverlay, content, maxFileSizeMB, targetResolution, accessibilityLabel, disabled, }: FileUploadProps): react_jsx_runtime.JSX.Element;
|
|
360
369
|
|
|
361
370
|
type FilterIcon = LucideIcon | ReactNode | ComponentType<SVGProps<SVGSVGElement>>;
|
|
362
371
|
type Filter$1 = {
|
|
@@ -446,6 +455,7 @@ interface InputSelectItemProps {
|
|
|
446
455
|
id: string;
|
|
447
456
|
value: string;
|
|
448
457
|
color?: string;
|
|
458
|
+
icon?: ReactNode;
|
|
449
459
|
image?: string;
|
|
450
460
|
disabled?: boolean;
|
|
451
461
|
label?: string;
|
|
@@ -537,7 +547,7 @@ declare function Switch({ fn, id, trackDimensions, thumbDimensions, thumbTransla
|
|
|
537
547
|
disabledTooltip?: string | ReactNode;
|
|
538
548
|
}): react_jsx_runtime.JSX.Element;
|
|
539
549
|
|
|
540
|
-
type
|
|
550
|
+
type BaseTableProps<T> = {
|
|
541
551
|
columns: ColumnDef<T, any>[];
|
|
542
552
|
data: T[];
|
|
543
553
|
loading?: boolean;
|
|
@@ -557,6 +567,8 @@ type UseTableProps<T> = {
|
|
|
557
567
|
columnPinning?: ColumnPinningState;
|
|
558
568
|
resourceName?: (plural: boolean) => string;
|
|
559
569
|
onRowClick?: (row: Row<T>, e: MouseEvent) => void;
|
|
570
|
+
enableColumnResizing?: boolean;
|
|
571
|
+
columnResizeMode?: ColumnResizeMode;
|
|
560
572
|
getRowId?: (row: T) => string;
|
|
561
573
|
onRowSelectionChange?: (rows: Row<T>[]) => void;
|
|
562
574
|
selectedRows?: RowSelectionState;
|
|
@@ -565,7 +577,8 @@ type UseTableProps<T> = {
|
|
|
565
577
|
scrollWrapperClassName?: string;
|
|
566
578
|
thClassName?: string | ((columnId: string) => string);
|
|
567
579
|
tdClassName?: string | ((columnId: string) => string);
|
|
568
|
-
}
|
|
580
|
+
};
|
|
581
|
+
type UseTableProps<T> = BaseTableProps<T> & ({
|
|
569
582
|
pagination?: PaginationState$1;
|
|
570
583
|
onPaginationChange?: Dispatch<SetStateAction<PaginationState$1>>;
|
|
571
584
|
rowCount: number;
|
|
@@ -574,13 +587,19 @@ type UseTableProps<T> = {
|
|
|
574
587
|
onPaginationChange?: never;
|
|
575
588
|
rowCount?: never;
|
|
576
589
|
});
|
|
577
|
-
type TableProps<T> =
|
|
590
|
+
type TableProps<T> = BaseTableProps<T> & PropsWithChildren<{
|
|
578
591
|
table: Table$1<T>;
|
|
579
|
-
}
|
|
592
|
+
}> & ({
|
|
593
|
+
pagination?: PaginationState$1;
|
|
594
|
+
rowCount: number;
|
|
595
|
+
} | {
|
|
596
|
+
pagination?: never;
|
|
597
|
+
rowCount?: never;
|
|
598
|
+
});
|
|
580
599
|
declare function useTable<T extends any>(props: UseTableProps<T>): TableProps<T> & {
|
|
581
600
|
table: Table$1<T>;
|
|
582
601
|
};
|
|
583
|
-
declare function Table<T>({ columns, data, loading, error, emptyState, cellRight, sortBy, sortOrder, onSortChange, sortableColumns, className, containerClassName, scrollWrapperClassName, thClassName, tdClassName, table, pagination, resourceName, onRowClick, rowCount, children, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
602
|
+
declare function Table<T>({ columns, data, loading, error, emptyState, cellRight, sortBy, sortOrder, onSortChange, sortableColumns, className, containerClassName, scrollWrapperClassName, thClassName, tdClassName, table, pagination, resourceName, onRowClick, rowCount, children, enableColumnResizing, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
584
603
|
|
|
585
604
|
declare function useTablePagination({ pageSize, page, onPageChange, }: {
|
|
586
605
|
pageSize: number;
|
|
@@ -790,7 +809,8 @@ declare function useRouterStuff(): {
|
|
|
790
809
|
arrayDelimiter?: string | undefined;
|
|
791
810
|
}) => string | undefined;
|
|
792
811
|
getQueryString: (kv?: Record<string, any>, opts?: {
|
|
793
|
-
|
|
812
|
+
include?: string[];
|
|
813
|
+
exclude?: string[];
|
|
794
814
|
}) => string;
|
|
795
815
|
};
|
|
796
816
|
|