@homebound/beam 2.409.0 → 2.411.0-alpha.1
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/README.md +4 -0
- package/dist/index.cjs +1939 -1425
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +81 -37
- package/dist/index.d.ts +81 -37
- package/dist/index.js +1906 -1393
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4489,6 +4489,8 @@ interface ChipsProps<X> {
|
|
|
4489
4489
|
/** Renders a list of `Chip`s, with wrapping & appropriate margin between each `Chip`. */
|
|
4490
4490
|
declare function Chips<X extends Only<ChipsXss, X>>(props: ChipsProps<X>): _emotion_react_jsx_runtime.JSX.Element;
|
|
4491
4491
|
|
|
4492
|
+
type ResizedWidths = Record<string, number>;
|
|
4493
|
+
|
|
4492
4494
|
type Kinded = {
|
|
4493
4495
|
kind: string;
|
|
4494
4496
|
};
|
|
@@ -4911,7 +4913,14 @@ declare function SortHeader(props: SortHeaderProps): _emotion_react_jsx_runtime.
|
|
|
4911
4913
|
*
|
|
4912
4914
|
* Disclaimer that we roll our own `fr` b/c we're not in CSS grid anymore.
|
|
4913
4915
|
*/
|
|
4914
|
-
declare function useSetupColumnSizes<R extends Kinded>(style: GridStyle, columns: GridColumnWithId<R>[], resizeRef: MutableRefObject<HTMLElement | null>, expandedColumnIds: string[]):
|
|
4916
|
+
declare function useSetupColumnSizes<R extends Kinded>(style: GridStyle, columns: GridColumnWithId<R>[], resizeRef: MutableRefObject<HTMLElement | null>, expandedColumnIds: string[], visibleColumnsStorageKey: string | undefined, disableColumnResizing: boolean): {
|
|
4917
|
+
columnSizes: string[];
|
|
4918
|
+
tableWidth: number | undefined;
|
|
4919
|
+
resizedWidths: ResizedWidths;
|
|
4920
|
+
setResizedWidth: (columnId: string, width: number) => void;
|
|
4921
|
+
setResizedWidths: (widths: ResizedWidths | ((prev: ResizedWidths) => ResizedWidths)) => void;
|
|
4922
|
+
resetColumnWidths: () => void;
|
|
4923
|
+
};
|
|
4915
4924
|
|
|
4916
4925
|
/** Provides default styling for a GridColumn representing a Date. */
|
|
4917
4926
|
declare function column<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
|
|
@@ -4938,11 +4947,12 @@ declare function selectColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T
|
|
|
4938
4947
|
* all rows.
|
|
4939
4948
|
*/
|
|
4940
4949
|
declare function collapseColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
|
|
4950
|
+
declare function parseWidthToPx(widthStr: string | undefined, tableWidth: number | undefined): number | null;
|
|
4941
4951
|
/**
|
|
4942
4952
|
* Calculates column widths using a flexible `calc()` definition that allows for consistent column alignment without the use of `<table />`, CSS Grid, etc layouts.
|
|
4943
4953
|
* Enforces only fixed-sized units (% and px)
|
|
4944
4954
|
*/
|
|
4945
|
-
declare function calcColumnSizes<R extends Kinded>(columns: GridColumnWithId<R>[], tableWidth: number | undefined, tableMinWidthPx: number | undefined, expandedColumnIds: string[]): string[];
|
|
4955
|
+
declare function calcColumnSizes<R extends Kinded>(columns: GridColumnWithId<R>[], tableWidth: number | undefined, tableMinWidthPx: number | undefined, expandedColumnIds: string[], resizedWidths?: ResizedWidths): string[];
|
|
4946
4956
|
/** Assign column ids if missing. */
|
|
4947
4957
|
declare function assignDefaultColumnIds<T extends Kinded>(columns: GridColumn<T>[]): GridColumnWithId<T>[];
|
|
4948
4958
|
declare const generateColumnId: (columnIndex: number) => string;
|
|
@@ -5267,6 +5277,7 @@ declare class TableState<R extends Kinded> {
|
|
|
5267
5277
|
/** Provides a context for rows to access their table's `TableState`. */
|
|
5268
5278
|
declare const TableStateContext: React__default.Context<{
|
|
5269
5279
|
tableState: TableState<any>;
|
|
5280
|
+
tableContainerRef?: React__default.MutableRefObject<HTMLElement | null>;
|
|
5270
5281
|
}>;
|
|
5271
5282
|
type ColumnSort = {
|
|
5272
5283
|
columnId: string;
|
|
@@ -5494,11 +5505,15 @@ interface RowProps<R extends Kinded> {
|
|
|
5494
5505
|
cellHighlight: boolean;
|
|
5495
5506
|
omitRowHover: boolean;
|
|
5496
5507
|
hasExpandableHeader: boolean;
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5508
|
+
resizedWidths: ResizedWidths;
|
|
5509
|
+
setResizedWidth: (columnId: string, width: number, columnIndex: number) => void;
|
|
5510
|
+
disableColumnResizing: boolean;
|
|
5511
|
+
calculatePreviewWidth: (columnId: string, newWidth: number, columnIndex: number) => number;
|
|
5512
|
+
onDragStart?: (row: GridDataRow<R>, event: React__default.DragEvent<HTMLElement>) => void;
|
|
5513
|
+
onDragEnd?: (row: GridDataRow<R>, event: React__default.DragEvent<HTMLElement>) => void;
|
|
5514
|
+
onDrop?: (row: GridDataRow<R>, event: React__default.DragEvent<HTMLElement>) => void;
|
|
5515
|
+
onDragEnter?: (row: GridDataRow<R>, event: React__default.DragEvent<HTMLElement>) => void;
|
|
5516
|
+
onDragOver?: (row: GridDataRow<R>, event: React__default.DragEvent<HTMLElement>) => void;
|
|
5502
5517
|
}
|
|
5503
5518
|
declare function RowImpl<R extends Kinded, S>(props: RowProps<R>): ReactElement;
|
|
5504
5519
|
/**
|
|
@@ -5604,6 +5619,7 @@ type GridTableApi<R extends Kinded> = {
|
|
|
5604
5619
|
deleteRows(ids: string[]): void;
|
|
5605
5620
|
getVisibleColumnIds(): string[];
|
|
5606
5621
|
setVisibleColumns(ids: string[]): void;
|
|
5622
|
+
resetColumnWidths(): void;
|
|
5607
5623
|
/**
|
|
5608
5624
|
* Triggers the table's current content to be downloaded as a CSV file.
|
|
5609
5625
|
*
|
|
@@ -5629,6 +5645,7 @@ declare class GridTableApiImpl<R extends Kinded> implements GridTableApi<R> {
|
|
|
5629
5645
|
virtuosoRef: MutableRefObject<VirtuosoHandle | null>;
|
|
5630
5646
|
virtuosoRangeRef: MutableRefObject<ListRange | null>;
|
|
5631
5647
|
lookup: GridRowLookup<R>;
|
|
5648
|
+
resetColumnWidthsFn?: () => void;
|
|
5632
5649
|
constructor();
|
|
5633
5650
|
/** Called once by the GridTable when it takes ownership of this api instance. */
|
|
5634
5651
|
init(persistCollapse: string | undefined, virtuosoRef: MutableRefObject<VirtuosoHandle | null>, virtuosoRangeRef: MutableRefObject<ListRange | null>): void;
|
|
@@ -5649,6 +5666,7 @@ declare class GridTableApiImpl<R extends Kinded> implements GridTableApi<R> {
|
|
|
5649
5666
|
isCollapsedRow(id: string): boolean;
|
|
5650
5667
|
setVisibleColumns(ids: string[]): void;
|
|
5651
5668
|
getVisibleColumnIds(): string[];
|
|
5669
|
+
resetColumnWidths(): void;
|
|
5652
5670
|
deleteRows(ids: string[]): void;
|
|
5653
5671
|
downloadToCsv(fileName: string): void;
|
|
5654
5672
|
copyToClipboard(): Promise<void>;
|
|
@@ -5789,6 +5807,8 @@ interface GridTableProps<R extends Kinded, X> {
|
|
|
5789
5807
|
csvPrefixRows?: string[][];
|
|
5790
5808
|
/** Drag & drop Callback. */
|
|
5791
5809
|
onRowDrop?: (draggedRow: GridDataRow<R>, droppedRow: GridDataRow<R>, indexOffset: number) => void;
|
|
5810
|
+
/** Disable column resizing functionality. Defaults to false. */
|
|
5811
|
+
disableColumnResizing?: boolean;
|
|
5792
5812
|
}
|
|
5793
5813
|
/**
|
|
5794
5814
|
* Renders data in our table layout.
|
|
@@ -6058,7 +6078,8 @@ interface SelectionButtonMenuProps extends ButtonMenuBaseProps {
|
|
|
6058
6078
|
selectedItem: string | undefined;
|
|
6059
6079
|
onChange: (key: string) => void;
|
|
6060
6080
|
}
|
|
6061
|
-
|
|
6081
|
+
type ButtonMenuProps = ButtonMenuBaseProps | SelectionButtonMenuProps;
|
|
6082
|
+
declare function ButtonMenu(props: ButtonMenuProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
6062
6083
|
type MenuItemBase = {
|
|
6063
6084
|
label: string;
|
|
6064
6085
|
/** If the `onClick` property is set as a string, then the menu item will be rendered as a link with the `onClick` value being the href */
|
|
@@ -7702,6 +7723,31 @@ declare function useQueryState<V extends string = string>(name: string, initialV
|
|
|
7702
7723
|
type UseSessionStorage<T> = [T, (value: T) => void];
|
|
7703
7724
|
declare function useSessionStorage<T>(key: string, defaultValue: T): UseSessionStorage<T>;
|
|
7704
7725
|
|
|
7726
|
+
/**
|
|
7727
|
+
* Page settings, either a pageNumber+pageSize or offset+limit.
|
|
7728
|
+
*
|
|
7729
|
+
* This component is implemented in terms of "page number + page size",
|
|
7730
|
+
* but our backend wants offset+limit, so we accept both and translate.
|
|
7731
|
+
*/
|
|
7732
|
+
type PageSettings = PageNumberAndSize | OffsetAndLimit;
|
|
7733
|
+
type PageNumberAndSize = {
|
|
7734
|
+
pageNumber: number;
|
|
7735
|
+
pageSize: number;
|
|
7736
|
+
};
|
|
7737
|
+
type OffsetAndLimit = {
|
|
7738
|
+
offset: number;
|
|
7739
|
+
limit: number;
|
|
7740
|
+
};
|
|
7741
|
+
declare const defaultPage: OffsetAndLimit;
|
|
7742
|
+
interface PaginationProps {
|
|
7743
|
+
page: readonly [PageNumberAndSize, Dispatch<PageNumberAndSize>] | readonly [OffsetAndLimit, Dispatch<OffsetAndLimit>];
|
|
7744
|
+
totalCount: number;
|
|
7745
|
+
pageSizes?: number[];
|
|
7746
|
+
}
|
|
7747
|
+
declare function Pagination(props: PaginationProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
7748
|
+
declare function toLimitAndOffset(page: PageSettings): OffsetAndLimit;
|
|
7749
|
+
declare function toPageNumberSize(page: PageSettings): PageNumberAndSize;
|
|
7750
|
+
|
|
7705
7751
|
type Sizes = "sm" | "md" | "lg";
|
|
7706
7752
|
type LoadingSkeletonProps = {
|
|
7707
7753
|
rows?: number;
|
|
@@ -7720,6 +7766,7 @@ type QueryResult<QData> = {
|
|
|
7720
7766
|
data?: QData;
|
|
7721
7767
|
};
|
|
7722
7768
|
|
|
7769
|
+
type ActionButtonMenuProps = Omit<ButtonMenuProps, "trigger">;
|
|
7723
7770
|
type ActionButtonProps = Pick<ButtonProps, "onClick" | "label" | "disabled" | "tooltip">;
|
|
7724
7771
|
type OmittedTableProps = "filter" | "stickyHeader" | "style" | "rows";
|
|
7725
7772
|
type BaseTableProps<R extends Kinded, X extends Only<GridTableXss, X>> = Omit<GridTableProps<R, X>, OmittedTableProps>;
|
|
@@ -7743,13 +7790,16 @@ type GridTableLayoutProps<F extends Record<string, unknown>, R extends Kinded, X
|
|
|
7743
7790
|
tableProps: GridTablePropsWithRows<R, X> | QueryTablePropsWithQuery<R, X, QData>;
|
|
7744
7791
|
breadcrumb?: HeaderBreadcrumb | HeaderBreadcrumb[];
|
|
7745
7792
|
layoutState?: ReturnType<typeof useGridTableLayoutState<F>>;
|
|
7793
|
+
/** Renders a ButtonMenu with "verticalDots" icon as trigger */
|
|
7794
|
+
actionMenu?: ActionButtonMenuProps;
|
|
7746
7795
|
primaryAction?: ActionButtonProps;
|
|
7747
7796
|
secondaryAction?: ActionButtonProps;
|
|
7748
7797
|
tertiaryAction?: ActionButtonProps;
|
|
7749
7798
|
hideEditColumns?: boolean;
|
|
7799
|
+
totalCount?: number;
|
|
7750
7800
|
};
|
|
7751
7801
|
/**
|
|
7752
|
-
* A layout component that combines a table with a header, actions buttons and
|
|
7802
|
+
* A layout component that combines a table with a header, actions buttons, filters, and pagination.
|
|
7753
7803
|
*
|
|
7754
7804
|
* This component can render either a `GridTable` or wrapped `QueryTable` based on the provided props:
|
|
7755
7805
|
*
|
|
@@ -7773,21 +7823,33 @@ type GridTableLayoutProps<F extends Record<string, unknown>, R extends Kinded, X
|
|
|
7773
7823
|
* }}
|
|
7774
7824
|
* />
|
|
7775
7825
|
* ```
|
|
7826
|
+
*
|
|
7827
|
+
* Pagination is rendered when `totalCount` is provided. Use `layoutState.page` for server query variables.
|
|
7776
7828
|
*/
|
|
7777
7829
|
declare function GridTableLayoutComponent<F extends Record<string, unknown>, R extends Kinded, X extends Only<GridTableXss, X>, QData>(props: GridTableLayoutProps<F, R, X, QData>): _emotion_react_jsx_runtime.JSX.Element;
|
|
7778
7830
|
declare const GridTableLayout: typeof GridTableLayoutComponent;
|
|
7831
|
+
/** Configuration for pagination in GridTableLayout */
|
|
7832
|
+
type PaginationConfig = {
|
|
7833
|
+
/** Available page size options */
|
|
7834
|
+
pageSizes?: number[];
|
|
7835
|
+
/** Storage key for persisting page size preference */
|
|
7836
|
+
storageKey?: string;
|
|
7837
|
+
};
|
|
7779
7838
|
/**
|
|
7780
|
-
* A wrapper around standard filter, grouping and
|
|
7839
|
+
* A wrapper around standard filter, grouping, search, and pagination state hooks.
|
|
7781
7840
|
* * `client` search will use the built-in grid table search functionality.
|
|
7782
7841
|
* * `server` search will return `searchString` as a debounced search string to query the server.
|
|
7842
|
+
* * Use `pagination` config to customize page sizes or storage key. Use `page` for server query variables.
|
|
7783
7843
|
*/
|
|
7784
|
-
declare function useGridTableLayoutState<F extends Record<string, unknown>>({ persistedFilter, persistedColumns, search, groupBy: maybeGroupBy, }: {
|
|
7844
|
+
declare function useGridTableLayoutState<F extends Record<string, unknown>>({ persistedFilter, persistedColumns, search, groupBy: maybeGroupBy, pagination, }: {
|
|
7785
7845
|
persistedFilter?: UsePersistedFilterProps<F>;
|
|
7786
7846
|
persistedColumns?: {
|
|
7787
7847
|
storageKey: string;
|
|
7788
7848
|
};
|
|
7789
7849
|
search?: "client" | "server";
|
|
7790
7850
|
groupBy?: Record<string, string>;
|
|
7851
|
+
/** Customize pagination page sizes or storage key */
|
|
7852
|
+
pagination?: PaginationConfig;
|
|
7791
7853
|
}): {
|
|
7792
7854
|
filter: F;
|
|
7793
7855
|
setFilter: (filter: F) => void;
|
|
@@ -7799,6 +7861,13 @@ declare function useGridTableLayoutState<F extends Record<string, unknown>>({ pe
|
|
|
7799
7861
|
visibleColumnIds: string[] | undefined;
|
|
7800
7862
|
setVisibleColumnIds: ((value: string[] | undefined) => void) | undefined;
|
|
7801
7863
|
persistedColumnsStorageKey: string | undefined;
|
|
7864
|
+
/** Current page offset/limit - use this for server query variables */
|
|
7865
|
+
page: OffsetAndLimit;
|
|
7866
|
+
/** @internal Used by GridTableLayout component */
|
|
7867
|
+
_pagination: {
|
|
7868
|
+
setPage: React__default.Dispatch<React__default.SetStateAction<OffsetAndLimit>>;
|
|
7869
|
+
pageSizes: number[];
|
|
7870
|
+
};
|
|
7802
7871
|
};
|
|
7803
7872
|
|
|
7804
7873
|
/** Intended to wrap the whole application to prevent the browser's native scrolling behavior while also taking the full height of the viewport */
|
|
@@ -7945,31 +8014,6 @@ interface UseModalHook {
|
|
|
7945
8014
|
}
|
|
7946
8015
|
declare function useModal(): UseModalHook;
|
|
7947
8016
|
|
|
7948
|
-
/**
|
|
7949
|
-
* Page settings, either a pageNumber+pageSize or offset+limit.
|
|
7950
|
-
*
|
|
7951
|
-
* This component is implemented in terms of "page number + page size",
|
|
7952
|
-
* but our backend wants offset+limit, so we accept both and translate.
|
|
7953
|
-
*/
|
|
7954
|
-
type PageSettings = PageNumberAndSize | OffsetAndLimit;
|
|
7955
|
-
type PageNumberAndSize = {
|
|
7956
|
-
pageNumber: number;
|
|
7957
|
-
pageSize: number;
|
|
7958
|
-
};
|
|
7959
|
-
type OffsetAndLimit = {
|
|
7960
|
-
offset: number;
|
|
7961
|
-
limit: number;
|
|
7962
|
-
};
|
|
7963
|
-
declare const defaultPage: OffsetAndLimit;
|
|
7964
|
-
interface PaginationProps {
|
|
7965
|
-
page: readonly [PageNumberAndSize, Dispatch<PageNumberAndSize>] | readonly [OffsetAndLimit, Dispatch<OffsetAndLimit>];
|
|
7966
|
-
totalCount: number;
|
|
7967
|
-
pageSizes?: number[];
|
|
7968
|
-
}
|
|
7969
|
-
declare function Pagination(props: PaginationProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
7970
|
-
declare function toLimitAndOffset(page: PageSettings): OffsetAndLimit;
|
|
7971
|
-
declare function toPageNumberSize(page: PageSettings): PageNumberAndSize;
|
|
7972
|
-
|
|
7973
8017
|
interface ScrollShadowsProps {
|
|
7974
8018
|
children: ReactNode;
|
|
7975
8019
|
/** Allows for styling the container */
|
|
@@ -8177,4 +8221,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
|
|
|
8177
8221
|
*/
|
|
8178
8222
|
declare function defaultTestId(label: string): string;
|
|
8179
8223
|
|
|
8180
|
-
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerProps, type BannerTypes, BaseFilter, type BeamButtonProps, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundIconCardField, type BoundIconCardFieldProps, BoundIconCardGroupField, type BoundIconCardGroupFieldProps, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardTag, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, ConfirmCloseModal, Container, type ContentStack, Copy, CountBadge, type CountBadgeProps, Css, CssReset, DESC, DateField, type DateFieldMode, type DateFieldModeTuple, type DateFieldProps, type DateFilterValue, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, type DragData, EXPANDABLE_HEADER, EditColumnsButton, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, HelperText, Icon, IconButton, type IconButtonProps, IconCard, type IconCardProps, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type InfiniteScroll, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NestedOption, type NestedOptionsOrLoad, NumberField, type NumberFieldProps, type NumberFieldType, type OffsetAndLimit, type OnRowDragEvent, type OnRowSelect, type Only, type OpenDetailOpts, type OpenInDrawerOpts, OpenModal, type OpenRightPaneOpts, type Optional, type Padding, type PageNumberAndSize, type PageSettings, Pagination, Palette, type Pin, type Placement, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, ScrollShadows, ScrollableContent, ScrollableParent, SelectField, type SelectFieldProps, SelectToggle, type SelectedState, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableState, TableStateContext, Tabs, TabsWithContent, Tag, type TagType, type TestIds, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldApi, type TextFieldInternalProps, type TextFieldProps, type TextFieldXss, Toast, ToggleButton, type ToggleButtonProps, ToggleChip, ToggleChipGroup, type ToggleChipGroupProps, type ToggleChipProps, ToggleChips, type ToggleChipsProps, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, type Xss, actionColumn, applyRowFn, assignDefaultColumnIds, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundIconCardField, boundIconCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnSizes, cardStyle, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverStyles, collapseColumn, column, condensedStyle, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, filterTestIdPrefix, formatDate, formatDateRange, formatValue, generateColumnId, getAlignment, getDateFormat, getFirstOrLastCellCss, getJustification, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, iconButtonCircleStylesHover, iconButtonContrastStylesHover, iconButtonStylesHover, iconCardStylesHover, increment, insertAtIndex, isCursorBelowMidpoint, isGridCellContent, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, listFieldPrefix, loadArrayOrUndefined, matchesFilter, maybeApplyFunction, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, persistentItemPrefix, pressedStyles, px, recursivelyGetContainingRow, reservedRowKinds, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, scrollContainerBottomPadding, selectColumn, selectedStyles, setDefaultStyle, setGridTableDefaults, setRunningInJest, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBreakpoint, useComputed, useDnDGridItem, type useDnDGridItemProps, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, visit, zIndices };
|
|
8224
|
+
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerProps, type BannerTypes, BaseFilter, type BeamButtonProps, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundIconCardField, type BoundIconCardFieldProps, BoundIconCardGroupField, type BoundIconCardGroupFieldProps, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardTag, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, ConfirmCloseModal, Container, type ContentStack, Copy, CountBadge, type CountBadgeProps, Css, CssReset, DESC, DateField, type DateFieldMode, type DateFieldModeTuple, type DateFieldProps, type DateFilterValue, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, type DragData, EXPANDABLE_HEADER, EditColumnsButton, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, HelperText, Icon, IconButton, type IconButtonProps, IconCard, type IconCardProps, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type InfiniteScroll, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NestedOption, type NestedOptionsOrLoad, NumberField, type NumberFieldProps, type NumberFieldType, type OffsetAndLimit, type OnRowDragEvent, type OnRowSelect, type Only, type OpenDetailOpts, type OpenInDrawerOpts, OpenModal, type OpenRightPaneOpts, type Optional, type Padding, type PageNumberAndSize, type PageSettings, Pagination, type PaginationConfig, Palette, type Pin, type Placement, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, ScrollShadows, ScrollableContent, ScrollableParent, SelectField, type SelectFieldProps, SelectToggle, type SelectedState, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableState, TableStateContext, Tabs, TabsWithContent, Tag, type TagType, type TestIds, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldApi, type TextFieldInternalProps, type TextFieldProps, type TextFieldXss, Toast, ToggleButton, type ToggleButtonProps, ToggleChip, ToggleChipGroup, type ToggleChipGroupProps, type ToggleChipProps, ToggleChips, type ToggleChipsProps, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, type Xss, actionColumn, applyRowFn, assignDefaultColumnIds, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundIconCardField, boundIconCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnSizes, cardStyle, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverStyles, collapseColumn, column, condensedStyle, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, filterTestIdPrefix, formatDate, formatDateRange, formatValue, generateColumnId, getAlignment, getDateFormat, getFirstOrLastCellCss, getJustification, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, iconButtonCircleStylesHover, iconButtonContrastStylesHover, iconButtonStylesHover, iconCardStylesHover, increment, insertAtIndex, isCursorBelowMidpoint, isGridCellContent, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, listFieldPrefix, loadArrayOrUndefined, matchesFilter, maybeApplyFunction, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pressedStyles, px, recursivelyGetContainingRow, reservedRowKinds, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, scrollContainerBottomPadding, selectColumn, selectedStyles, setDefaultStyle, setGridTableDefaults, setRunningInJest, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBreakpoint, useComputed, useDnDGridItem, type useDnDGridItemProps, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, visit, zIndices };
|
package/dist/index.d.ts
CHANGED
|
@@ -4489,6 +4489,8 @@ interface ChipsProps<X> {
|
|
|
4489
4489
|
/** Renders a list of `Chip`s, with wrapping & appropriate margin between each `Chip`. */
|
|
4490
4490
|
declare function Chips<X extends Only<ChipsXss, X>>(props: ChipsProps<X>): _emotion_react_jsx_runtime.JSX.Element;
|
|
4491
4491
|
|
|
4492
|
+
type ResizedWidths = Record<string, number>;
|
|
4493
|
+
|
|
4492
4494
|
type Kinded = {
|
|
4493
4495
|
kind: string;
|
|
4494
4496
|
};
|
|
@@ -4911,7 +4913,14 @@ declare function SortHeader(props: SortHeaderProps): _emotion_react_jsx_runtime.
|
|
|
4911
4913
|
*
|
|
4912
4914
|
* Disclaimer that we roll our own `fr` b/c we're not in CSS grid anymore.
|
|
4913
4915
|
*/
|
|
4914
|
-
declare function useSetupColumnSizes<R extends Kinded>(style: GridStyle, columns: GridColumnWithId<R>[], resizeRef: MutableRefObject<HTMLElement | null>, expandedColumnIds: string[]):
|
|
4916
|
+
declare function useSetupColumnSizes<R extends Kinded>(style: GridStyle, columns: GridColumnWithId<R>[], resizeRef: MutableRefObject<HTMLElement | null>, expandedColumnIds: string[], visibleColumnsStorageKey: string | undefined, disableColumnResizing: boolean): {
|
|
4917
|
+
columnSizes: string[];
|
|
4918
|
+
tableWidth: number | undefined;
|
|
4919
|
+
resizedWidths: ResizedWidths;
|
|
4920
|
+
setResizedWidth: (columnId: string, width: number) => void;
|
|
4921
|
+
setResizedWidths: (widths: ResizedWidths | ((prev: ResizedWidths) => ResizedWidths)) => void;
|
|
4922
|
+
resetColumnWidths: () => void;
|
|
4923
|
+
};
|
|
4915
4924
|
|
|
4916
4925
|
/** Provides default styling for a GridColumn representing a Date. */
|
|
4917
4926
|
declare function column<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
|
|
@@ -4938,11 +4947,12 @@ declare function selectColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T
|
|
|
4938
4947
|
* all rows.
|
|
4939
4948
|
*/
|
|
4940
4949
|
declare function collapseColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
|
|
4950
|
+
declare function parseWidthToPx(widthStr: string | undefined, tableWidth: number | undefined): number | null;
|
|
4941
4951
|
/**
|
|
4942
4952
|
* Calculates column widths using a flexible `calc()` definition that allows for consistent column alignment without the use of `<table />`, CSS Grid, etc layouts.
|
|
4943
4953
|
* Enforces only fixed-sized units (% and px)
|
|
4944
4954
|
*/
|
|
4945
|
-
declare function calcColumnSizes<R extends Kinded>(columns: GridColumnWithId<R>[], tableWidth: number | undefined, tableMinWidthPx: number | undefined, expandedColumnIds: string[]): string[];
|
|
4955
|
+
declare function calcColumnSizes<R extends Kinded>(columns: GridColumnWithId<R>[], tableWidth: number | undefined, tableMinWidthPx: number | undefined, expandedColumnIds: string[], resizedWidths?: ResizedWidths): string[];
|
|
4946
4956
|
/** Assign column ids if missing. */
|
|
4947
4957
|
declare function assignDefaultColumnIds<T extends Kinded>(columns: GridColumn<T>[]): GridColumnWithId<T>[];
|
|
4948
4958
|
declare const generateColumnId: (columnIndex: number) => string;
|
|
@@ -5267,6 +5277,7 @@ declare class TableState<R extends Kinded> {
|
|
|
5267
5277
|
/** Provides a context for rows to access their table's `TableState`. */
|
|
5268
5278
|
declare const TableStateContext: React__default.Context<{
|
|
5269
5279
|
tableState: TableState<any>;
|
|
5280
|
+
tableContainerRef?: React__default.MutableRefObject<HTMLElement | null>;
|
|
5270
5281
|
}>;
|
|
5271
5282
|
type ColumnSort = {
|
|
5272
5283
|
columnId: string;
|
|
@@ -5494,11 +5505,15 @@ interface RowProps<R extends Kinded> {
|
|
|
5494
5505
|
cellHighlight: boolean;
|
|
5495
5506
|
omitRowHover: boolean;
|
|
5496
5507
|
hasExpandableHeader: boolean;
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5508
|
+
resizedWidths: ResizedWidths;
|
|
5509
|
+
setResizedWidth: (columnId: string, width: number, columnIndex: number) => void;
|
|
5510
|
+
disableColumnResizing: boolean;
|
|
5511
|
+
calculatePreviewWidth: (columnId: string, newWidth: number, columnIndex: number) => number;
|
|
5512
|
+
onDragStart?: (row: GridDataRow<R>, event: React__default.DragEvent<HTMLElement>) => void;
|
|
5513
|
+
onDragEnd?: (row: GridDataRow<R>, event: React__default.DragEvent<HTMLElement>) => void;
|
|
5514
|
+
onDrop?: (row: GridDataRow<R>, event: React__default.DragEvent<HTMLElement>) => void;
|
|
5515
|
+
onDragEnter?: (row: GridDataRow<R>, event: React__default.DragEvent<HTMLElement>) => void;
|
|
5516
|
+
onDragOver?: (row: GridDataRow<R>, event: React__default.DragEvent<HTMLElement>) => void;
|
|
5502
5517
|
}
|
|
5503
5518
|
declare function RowImpl<R extends Kinded, S>(props: RowProps<R>): ReactElement;
|
|
5504
5519
|
/**
|
|
@@ -5604,6 +5619,7 @@ type GridTableApi<R extends Kinded> = {
|
|
|
5604
5619
|
deleteRows(ids: string[]): void;
|
|
5605
5620
|
getVisibleColumnIds(): string[];
|
|
5606
5621
|
setVisibleColumns(ids: string[]): void;
|
|
5622
|
+
resetColumnWidths(): void;
|
|
5607
5623
|
/**
|
|
5608
5624
|
* Triggers the table's current content to be downloaded as a CSV file.
|
|
5609
5625
|
*
|
|
@@ -5629,6 +5645,7 @@ declare class GridTableApiImpl<R extends Kinded> implements GridTableApi<R> {
|
|
|
5629
5645
|
virtuosoRef: MutableRefObject<VirtuosoHandle | null>;
|
|
5630
5646
|
virtuosoRangeRef: MutableRefObject<ListRange | null>;
|
|
5631
5647
|
lookup: GridRowLookup<R>;
|
|
5648
|
+
resetColumnWidthsFn?: () => void;
|
|
5632
5649
|
constructor();
|
|
5633
5650
|
/** Called once by the GridTable when it takes ownership of this api instance. */
|
|
5634
5651
|
init(persistCollapse: string | undefined, virtuosoRef: MutableRefObject<VirtuosoHandle | null>, virtuosoRangeRef: MutableRefObject<ListRange | null>): void;
|
|
@@ -5649,6 +5666,7 @@ declare class GridTableApiImpl<R extends Kinded> implements GridTableApi<R> {
|
|
|
5649
5666
|
isCollapsedRow(id: string): boolean;
|
|
5650
5667
|
setVisibleColumns(ids: string[]): void;
|
|
5651
5668
|
getVisibleColumnIds(): string[];
|
|
5669
|
+
resetColumnWidths(): void;
|
|
5652
5670
|
deleteRows(ids: string[]): void;
|
|
5653
5671
|
downloadToCsv(fileName: string): void;
|
|
5654
5672
|
copyToClipboard(): Promise<void>;
|
|
@@ -5789,6 +5807,8 @@ interface GridTableProps<R extends Kinded, X> {
|
|
|
5789
5807
|
csvPrefixRows?: string[][];
|
|
5790
5808
|
/** Drag & drop Callback. */
|
|
5791
5809
|
onRowDrop?: (draggedRow: GridDataRow<R>, droppedRow: GridDataRow<R>, indexOffset: number) => void;
|
|
5810
|
+
/** Disable column resizing functionality. Defaults to false. */
|
|
5811
|
+
disableColumnResizing?: boolean;
|
|
5792
5812
|
}
|
|
5793
5813
|
/**
|
|
5794
5814
|
* Renders data in our table layout.
|
|
@@ -6058,7 +6078,8 @@ interface SelectionButtonMenuProps extends ButtonMenuBaseProps {
|
|
|
6058
6078
|
selectedItem: string | undefined;
|
|
6059
6079
|
onChange: (key: string) => void;
|
|
6060
6080
|
}
|
|
6061
|
-
|
|
6081
|
+
type ButtonMenuProps = ButtonMenuBaseProps | SelectionButtonMenuProps;
|
|
6082
|
+
declare function ButtonMenu(props: ButtonMenuProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
6062
6083
|
type MenuItemBase = {
|
|
6063
6084
|
label: string;
|
|
6064
6085
|
/** If the `onClick` property is set as a string, then the menu item will be rendered as a link with the `onClick` value being the href */
|
|
@@ -7702,6 +7723,31 @@ declare function useQueryState<V extends string = string>(name: string, initialV
|
|
|
7702
7723
|
type UseSessionStorage<T> = [T, (value: T) => void];
|
|
7703
7724
|
declare function useSessionStorage<T>(key: string, defaultValue: T): UseSessionStorage<T>;
|
|
7704
7725
|
|
|
7726
|
+
/**
|
|
7727
|
+
* Page settings, either a pageNumber+pageSize or offset+limit.
|
|
7728
|
+
*
|
|
7729
|
+
* This component is implemented in terms of "page number + page size",
|
|
7730
|
+
* but our backend wants offset+limit, so we accept both and translate.
|
|
7731
|
+
*/
|
|
7732
|
+
type PageSettings = PageNumberAndSize | OffsetAndLimit;
|
|
7733
|
+
type PageNumberAndSize = {
|
|
7734
|
+
pageNumber: number;
|
|
7735
|
+
pageSize: number;
|
|
7736
|
+
};
|
|
7737
|
+
type OffsetAndLimit = {
|
|
7738
|
+
offset: number;
|
|
7739
|
+
limit: number;
|
|
7740
|
+
};
|
|
7741
|
+
declare const defaultPage: OffsetAndLimit;
|
|
7742
|
+
interface PaginationProps {
|
|
7743
|
+
page: readonly [PageNumberAndSize, Dispatch<PageNumberAndSize>] | readonly [OffsetAndLimit, Dispatch<OffsetAndLimit>];
|
|
7744
|
+
totalCount: number;
|
|
7745
|
+
pageSizes?: number[];
|
|
7746
|
+
}
|
|
7747
|
+
declare function Pagination(props: PaginationProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
7748
|
+
declare function toLimitAndOffset(page: PageSettings): OffsetAndLimit;
|
|
7749
|
+
declare function toPageNumberSize(page: PageSettings): PageNumberAndSize;
|
|
7750
|
+
|
|
7705
7751
|
type Sizes = "sm" | "md" | "lg";
|
|
7706
7752
|
type LoadingSkeletonProps = {
|
|
7707
7753
|
rows?: number;
|
|
@@ -7720,6 +7766,7 @@ type QueryResult<QData> = {
|
|
|
7720
7766
|
data?: QData;
|
|
7721
7767
|
};
|
|
7722
7768
|
|
|
7769
|
+
type ActionButtonMenuProps = Omit<ButtonMenuProps, "trigger">;
|
|
7723
7770
|
type ActionButtonProps = Pick<ButtonProps, "onClick" | "label" | "disabled" | "tooltip">;
|
|
7724
7771
|
type OmittedTableProps = "filter" | "stickyHeader" | "style" | "rows";
|
|
7725
7772
|
type BaseTableProps<R extends Kinded, X extends Only<GridTableXss, X>> = Omit<GridTableProps<R, X>, OmittedTableProps>;
|
|
@@ -7743,13 +7790,16 @@ type GridTableLayoutProps<F extends Record<string, unknown>, R extends Kinded, X
|
|
|
7743
7790
|
tableProps: GridTablePropsWithRows<R, X> | QueryTablePropsWithQuery<R, X, QData>;
|
|
7744
7791
|
breadcrumb?: HeaderBreadcrumb | HeaderBreadcrumb[];
|
|
7745
7792
|
layoutState?: ReturnType<typeof useGridTableLayoutState<F>>;
|
|
7793
|
+
/** Renders a ButtonMenu with "verticalDots" icon as trigger */
|
|
7794
|
+
actionMenu?: ActionButtonMenuProps;
|
|
7746
7795
|
primaryAction?: ActionButtonProps;
|
|
7747
7796
|
secondaryAction?: ActionButtonProps;
|
|
7748
7797
|
tertiaryAction?: ActionButtonProps;
|
|
7749
7798
|
hideEditColumns?: boolean;
|
|
7799
|
+
totalCount?: number;
|
|
7750
7800
|
};
|
|
7751
7801
|
/**
|
|
7752
|
-
* A layout component that combines a table with a header, actions buttons and
|
|
7802
|
+
* A layout component that combines a table with a header, actions buttons, filters, and pagination.
|
|
7753
7803
|
*
|
|
7754
7804
|
* This component can render either a `GridTable` or wrapped `QueryTable` based on the provided props:
|
|
7755
7805
|
*
|
|
@@ -7773,21 +7823,33 @@ type GridTableLayoutProps<F extends Record<string, unknown>, R extends Kinded, X
|
|
|
7773
7823
|
* }}
|
|
7774
7824
|
* />
|
|
7775
7825
|
* ```
|
|
7826
|
+
*
|
|
7827
|
+
* Pagination is rendered when `totalCount` is provided. Use `layoutState.page` for server query variables.
|
|
7776
7828
|
*/
|
|
7777
7829
|
declare function GridTableLayoutComponent<F extends Record<string, unknown>, R extends Kinded, X extends Only<GridTableXss, X>, QData>(props: GridTableLayoutProps<F, R, X, QData>): _emotion_react_jsx_runtime.JSX.Element;
|
|
7778
7830
|
declare const GridTableLayout: typeof GridTableLayoutComponent;
|
|
7831
|
+
/** Configuration for pagination in GridTableLayout */
|
|
7832
|
+
type PaginationConfig = {
|
|
7833
|
+
/** Available page size options */
|
|
7834
|
+
pageSizes?: number[];
|
|
7835
|
+
/** Storage key for persisting page size preference */
|
|
7836
|
+
storageKey?: string;
|
|
7837
|
+
};
|
|
7779
7838
|
/**
|
|
7780
|
-
* A wrapper around standard filter, grouping and
|
|
7839
|
+
* A wrapper around standard filter, grouping, search, and pagination state hooks.
|
|
7781
7840
|
* * `client` search will use the built-in grid table search functionality.
|
|
7782
7841
|
* * `server` search will return `searchString` as a debounced search string to query the server.
|
|
7842
|
+
* * Use `pagination` config to customize page sizes or storage key. Use `page` for server query variables.
|
|
7783
7843
|
*/
|
|
7784
|
-
declare function useGridTableLayoutState<F extends Record<string, unknown>>({ persistedFilter, persistedColumns, search, groupBy: maybeGroupBy, }: {
|
|
7844
|
+
declare function useGridTableLayoutState<F extends Record<string, unknown>>({ persistedFilter, persistedColumns, search, groupBy: maybeGroupBy, pagination, }: {
|
|
7785
7845
|
persistedFilter?: UsePersistedFilterProps<F>;
|
|
7786
7846
|
persistedColumns?: {
|
|
7787
7847
|
storageKey: string;
|
|
7788
7848
|
};
|
|
7789
7849
|
search?: "client" | "server";
|
|
7790
7850
|
groupBy?: Record<string, string>;
|
|
7851
|
+
/** Customize pagination page sizes or storage key */
|
|
7852
|
+
pagination?: PaginationConfig;
|
|
7791
7853
|
}): {
|
|
7792
7854
|
filter: F;
|
|
7793
7855
|
setFilter: (filter: F) => void;
|
|
@@ -7799,6 +7861,13 @@ declare function useGridTableLayoutState<F extends Record<string, unknown>>({ pe
|
|
|
7799
7861
|
visibleColumnIds: string[] | undefined;
|
|
7800
7862
|
setVisibleColumnIds: ((value: string[] | undefined) => void) | undefined;
|
|
7801
7863
|
persistedColumnsStorageKey: string | undefined;
|
|
7864
|
+
/** Current page offset/limit - use this for server query variables */
|
|
7865
|
+
page: OffsetAndLimit;
|
|
7866
|
+
/** @internal Used by GridTableLayout component */
|
|
7867
|
+
_pagination: {
|
|
7868
|
+
setPage: React__default.Dispatch<React__default.SetStateAction<OffsetAndLimit>>;
|
|
7869
|
+
pageSizes: number[];
|
|
7870
|
+
};
|
|
7802
7871
|
};
|
|
7803
7872
|
|
|
7804
7873
|
/** Intended to wrap the whole application to prevent the browser's native scrolling behavior while also taking the full height of the viewport */
|
|
@@ -7945,31 +8014,6 @@ interface UseModalHook {
|
|
|
7945
8014
|
}
|
|
7946
8015
|
declare function useModal(): UseModalHook;
|
|
7947
8016
|
|
|
7948
|
-
/**
|
|
7949
|
-
* Page settings, either a pageNumber+pageSize or offset+limit.
|
|
7950
|
-
*
|
|
7951
|
-
* This component is implemented in terms of "page number + page size",
|
|
7952
|
-
* but our backend wants offset+limit, so we accept both and translate.
|
|
7953
|
-
*/
|
|
7954
|
-
type PageSettings = PageNumberAndSize | OffsetAndLimit;
|
|
7955
|
-
type PageNumberAndSize = {
|
|
7956
|
-
pageNumber: number;
|
|
7957
|
-
pageSize: number;
|
|
7958
|
-
};
|
|
7959
|
-
type OffsetAndLimit = {
|
|
7960
|
-
offset: number;
|
|
7961
|
-
limit: number;
|
|
7962
|
-
};
|
|
7963
|
-
declare const defaultPage: OffsetAndLimit;
|
|
7964
|
-
interface PaginationProps {
|
|
7965
|
-
page: readonly [PageNumberAndSize, Dispatch<PageNumberAndSize>] | readonly [OffsetAndLimit, Dispatch<OffsetAndLimit>];
|
|
7966
|
-
totalCount: number;
|
|
7967
|
-
pageSizes?: number[];
|
|
7968
|
-
}
|
|
7969
|
-
declare function Pagination(props: PaginationProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
7970
|
-
declare function toLimitAndOffset(page: PageSettings): OffsetAndLimit;
|
|
7971
|
-
declare function toPageNumberSize(page: PageSettings): PageNumberAndSize;
|
|
7972
|
-
|
|
7973
8017
|
interface ScrollShadowsProps {
|
|
7974
8018
|
children: ReactNode;
|
|
7975
8019
|
/** Allows for styling the container */
|
|
@@ -8177,4 +8221,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
|
|
|
8177
8221
|
*/
|
|
8178
8222
|
declare function defaultTestId(label: string): string;
|
|
8179
8223
|
|
|
8180
|
-
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerProps, type BannerTypes, BaseFilter, type BeamButtonProps, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundIconCardField, type BoundIconCardFieldProps, BoundIconCardGroupField, type BoundIconCardGroupFieldProps, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardTag, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, ConfirmCloseModal, Container, type ContentStack, Copy, CountBadge, type CountBadgeProps, Css, CssReset, DESC, DateField, type DateFieldMode, type DateFieldModeTuple, type DateFieldProps, type DateFilterValue, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, type DragData, EXPANDABLE_HEADER, EditColumnsButton, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, HelperText, Icon, IconButton, type IconButtonProps, IconCard, type IconCardProps, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type InfiniteScroll, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NestedOption, type NestedOptionsOrLoad, NumberField, type NumberFieldProps, type NumberFieldType, type OffsetAndLimit, type OnRowDragEvent, type OnRowSelect, type Only, type OpenDetailOpts, type OpenInDrawerOpts, OpenModal, type OpenRightPaneOpts, type Optional, type Padding, type PageNumberAndSize, type PageSettings, Pagination, Palette, type Pin, type Placement, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, ScrollShadows, ScrollableContent, ScrollableParent, SelectField, type SelectFieldProps, SelectToggle, type SelectedState, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableState, TableStateContext, Tabs, TabsWithContent, Tag, type TagType, type TestIds, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldApi, type TextFieldInternalProps, type TextFieldProps, type TextFieldXss, Toast, ToggleButton, type ToggleButtonProps, ToggleChip, ToggleChipGroup, type ToggleChipGroupProps, type ToggleChipProps, ToggleChips, type ToggleChipsProps, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, type Xss, actionColumn, applyRowFn, assignDefaultColumnIds, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundIconCardField, boundIconCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnSizes, cardStyle, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverStyles, collapseColumn, column, condensedStyle, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, filterTestIdPrefix, formatDate, formatDateRange, formatValue, generateColumnId, getAlignment, getDateFormat, getFirstOrLastCellCss, getJustification, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, iconButtonCircleStylesHover, iconButtonContrastStylesHover, iconButtonStylesHover, iconCardStylesHover, increment, insertAtIndex, isCursorBelowMidpoint, isGridCellContent, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, listFieldPrefix, loadArrayOrUndefined, matchesFilter, maybeApplyFunction, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, persistentItemPrefix, pressedStyles, px, recursivelyGetContainingRow, reservedRowKinds, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, scrollContainerBottomPadding, selectColumn, selectedStyles, setDefaultStyle, setGridTableDefaults, setRunningInJest, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBreakpoint, useComputed, useDnDGridItem, type useDnDGridItemProps, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, visit, zIndices };
|
|
8224
|
+
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerProps, type BannerTypes, BaseFilter, type BeamButtonProps, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundIconCardField, type BoundIconCardFieldProps, BoundIconCardGroupField, type BoundIconCardGroupFieldProps, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardTag, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, ConfirmCloseModal, Container, type ContentStack, Copy, CountBadge, type CountBadgeProps, Css, CssReset, DESC, DateField, type DateFieldMode, type DateFieldModeTuple, type DateFieldProps, type DateFilterValue, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, type DragData, EXPANDABLE_HEADER, EditColumnsButton, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, HelperText, Icon, IconButton, type IconButtonProps, IconCard, type IconCardProps, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type InfiniteScroll, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NestedOption, type NestedOptionsOrLoad, NumberField, type NumberFieldProps, type NumberFieldType, type OffsetAndLimit, type OnRowDragEvent, type OnRowSelect, type Only, type OpenDetailOpts, type OpenInDrawerOpts, OpenModal, type OpenRightPaneOpts, type Optional, type Padding, type PageNumberAndSize, type PageSettings, Pagination, type PaginationConfig, Palette, type Pin, type Placement, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, ScrollShadows, ScrollableContent, ScrollableParent, SelectField, type SelectFieldProps, SelectToggle, type SelectedState, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableState, TableStateContext, Tabs, TabsWithContent, Tag, type TagType, type TestIds, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldApi, type TextFieldInternalProps, type TextFieldProps, type TextFieldXss, Toast, ToggleButton, type ToggleButtonProps, ToggleChip, ToggleChipGroup, type ToggleChipGroupProps, type ToggleChipProps, ToggleChips, type ToggleChipsProps, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, type Xss, actionColumn, applyRowFn, assignDefaultColumnIds, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundIconCardField, boundIconCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnSizes, cardStyle, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverStyles, collapseColumn, column, condensedStyle, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, filterTestIdPrefix, formatDate, formatDateRange, formatValue, generateColumnId, getAlignment, getDateFormat, getFirstOrLastCellCss, getJustification, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, iconButtonCircleStylesHover, iconButtonContrastStylesHover, iconButtonStylesHover, iconCardStylesHover, increment, insertAtIndex, isCursorBelowMidpoint, isGridCellContent, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, listFieldPrefix, loadArrayOrUndefined, matchesFilter, maybeApplyFunction, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pressedStyles, px, recursivelyGetContainingRow, reservedRowKinds, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, scrollContainerBottomPadding, selectColumn, selectedStyles, setDefaultStyle, setGridTableDefaults, setRunningInJest, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBreakpoint, useComputed, useDnDGridItem, type useDnDGridItemProps, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, visit, zIndices };
|