@homebound/beam 2.410.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/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[]): 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
- onDragStart?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
5498
- onDragEnd?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
5499
- onDrop?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
5500
- onDragEnter?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
5501
- onDragOver?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
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.
@@ -7703,6 +7723,31 @@ declare function useQueryState<V extends string = string>(name: string, initialV
7703
7723
  type UseSessionStorage<T> = [T, (value: T) => void];
7704
7724
  declare function useSessionStorage<T>(key: string, defaultValue: T): UseSessionStorage<T>;
7705
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
+
7706
7751
  type Sizes = "sm" | "md" | "lg";
7707
7752
  type LoadingSkeletonProps = {
7708
7753
  rows?: number;
@@ -7751,9 +7796,10 @@ type GridTableLayoutProps<F extends Record<string, unknown>, R extends Kinded, X
7751
7796
  secondaryAction?: ActionButtonProps;
7752
7797
  tertiaryAction?: ActionButtonProps;
7753
7798
  hideEditColumns?: boolean;
7799
+ totalCount?: number;
7754
7800
  };
7755
7801
  /**
7756
- * A layout component that combines a table with a header, actions buttons and filters.
7802
+ * A layout component that combines a table with a header, actions buttons, filters, and pagination.
7757
7803
  *
7758
7804
  * This component can render either a `GridTable` or wrapped `QueryTable` based on the provided props:
7759
7805
  *
@@ -7777,21 +7823,33 @@ type GridTableLayoutProps<F extends Record<string, unknown>, R extends Kinded, X
7777
7823
  * }}
7778
7824
  * />
7779
7825
  * ```
7826
+ *
7827
+ * Pagination is rendered when `totalCount` is provided. Use `layoutState.page` for server query variables.
7780
7828
  */
7781
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;
7782
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
+ };
7783
7838
  /**
7784
- * A wrapper around standard filter, grouping and search state hooks.
7839
+ * A wrapper around standard filter, grouping, search, and pagination state hooks.
7785
7840
  * * `client` search will use the built-in grid table search functionality.
7786
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.
7787
7843
  */
7788
- 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, }: {
7789
7845
  persistedFilter?: UsePersistedFilterProps<F>;
7790
7846
  persistedColumns?: {
7791
7847
  storageKey: string;
7792
7848
  };
7793
7849
  search?: "client" | "server";
7794
7850
  groupBy?: Record<string, string>;
7851
+ /** Customize pagination page sizes or storage key */
7852
+ pagination?: PaginationConfig;
7795
7853
  }): {
7796
7854
  filter: F;
7797
7855
  setFilter: (filter: F) => void;
@@ -7803,6 +7861,13 @@ declare function useGridTableLayoutState<F extends Record<string, unknown>>({ pe
7803
7861
  visibleColumnIds: string[] | undefined;
7804
7862
  setVisibleColumnIds: ((value: string[] | undefined) => void) | undefined;
7805
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
+ };
7806
7871
  };
7807
7872
 
7808
7873
  /** Intended to wrap the whole application to prevent the browser's native scrolling behavior while also taking the full height of the viewport */
@@ -7949,31 +8014,6 @@ interface UseModalHook {
7949
8014
  }
7950
8015
  declare function useModal(): UseModalHook;
7951
8016
 
7952
- /**
7953
- * Page settings, either a pageNumber+pageSize or offset+limit.
7954
- *
7955
- * This component is implemented in terms of "page number + page size",
7956
- * but our backend wants offset+limit, so we accept both and translate.
7957
- */
7958
- type PageSettings = PageNumberAndSize | OffsetAndLimit;
7959
- type PageNumberAndSize = {
7960
- pageNumber: number;
7961
- pageSize: number;
7962
- };
7963
- type OffsetAndLimit = {
7964
- offset: number;
7965
- limit: number;
7966
- };
7967
- declare const defaultPage: OffsetAndLimit;
7968
- interface PaginationProps {
7969
- page: readonly [PageNumberAndSize, Dispatch<PageNumberAndSize>] | readonly [OffsetAndLimit, Dispatch<OffsetAndLimit>];
7970
- totalCount: number;
7971
- pageSizes?: number[];
7972
- }
7973
- declare function Pagination(props: PaginationProps): _emotion_react_jsx_runtime.JSX.Element;
7974
- declare function toLimitAndOffset(page: PageSettings): OffsetAndLimit;
7975
- declare function toPageNumberSize(page: PageSettings): PageNumberAndSize;
7976
-
7977
8017
  interface ScrollShadowsProps {
7978
8018
  children: ReactNode;
7979
8019
  /** Allows for styling the container */
@@ -8181,4 +8221,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
8181
8221
  */
8182
8222
  declare function defaultTestId(label: string): string;
8183
8223
 
8184
- 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, 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[]): 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
- onDragStart?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
5498
- onDragEnd?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
5499
- onDrop?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
5500
- onDragEnter?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
5501
- onDragOver?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
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.
@@ -7703,6 +7723,31 @@ declare function useQueryState<V extends string = string>(name: string, initialV
7703
7723
  type UseSessionStorage<T> = [T, (value: T) => void];
7704
7724
  declare function useSessionStorage<T>(key: string, defaultValue: T): UseSessionStorage<T>;
7705
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
+
7706
7751
  type Sizes = "sm" | "md" | "lg";
7707
7752
  type LoadingSkeletonProps = {
7708
7753
  rows?: number;
@@ -7751,9 +7796,10 @@ type GridTableLayoutProps<F extends Record<string, unknown>, R extends Kinded, X
7751
7796
  secondaryAction?: ActionButtonProps;
7752
7797
  tertiaryAction?: ActionButtonProps;
7753
7798
  hideEditColumns?: boolean;
7799
+ totalCount?: number;
7754
7800
  };
7755
7801
  /**
7756
- * A layout component that combines a table with a header, actions buttons and filters.
7802
+ * A layout component that combines a table with a header, actions buttons, filters, and pagination.
7757
7803
  *
7758
7804
  * This component can render either a `GridTable` or wrapped `QueryTable` based on the provided props:
7759
7805
  *
@@ -7777,21 +7823,33 @@ type GridTableLayoutProps<F extends Record<string, unknown>, R extends Kinded, X
7777
7823
  * }}
7778
7824
  * />
7779
7825
  * ```
7826
+ *
7827
+ * Pagination is rendered when `totalCount` is provided. Use `layoutState.page` for server query variables.
7780
7828
  */
7781
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;
7782
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
+ };
7783
7838
  /**
7784
- * A wrapper around standard filter, grouping and search state hooks.
7839
+ * A wrapper around standard filter, grouping, search, and pagination state hooks.
7785
7840
  * * `client` search will use the built-in grid table search functionality.
7786
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.
7787
7843
  */
7788
- 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, }: {
7789
7845
  persistedFilter?: UsePersistedFilterProps<F>;
7790
7846
  persistedColumns?: {
7791
7847
  storageKey: string;
7792
7848
  };
7793
7849
  search?: "client" | "server";
7794
7850
  groupBy?: Record<string, string>;
7851
+ /** Customize pagination page sizes or storage key */
7852
+ pagination?: PaginationConfig;
7795
7853
  }): {
7796
7854
  filter: F;
7797
7855
  setFilter: (filter: F) => void;
@@ -7803,6 +7861,13 @@ declare function useGridTableLayoutState<F extends Record<string, unknown>>({ pe
7803
7861
  visibleColumnIds: string[] | undefined;
7804
7862
  setVisibleColumnIds: ((value: string[] | undefined) => void) | undefined;
7805
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
+ };
7806
7871
  };
7807
7872
 
7808
7873
  /** Intended to wrap the whole application to prevent the browser's native scrolling behavior while also taking the full height of the viewport */
@@ -7949,31 +8014,6 @@ interface UseModalHook {
7949
8014
  }
7950
8015
  declare function useModal(): UseModalHook;
7951
8016
 
7952
- /**
7953
- * Page settings, either a pageNumber+pageSize or offset+limit.
7954
- *
7955
- * This component is implemented in terms of "page number + page size",
7956
- * but our backend wants offset+limit, so we accept both and translate.
7957
- */
7958
- type PageSettings = PageNumberAndSize | OffsetAndLimit;
7959
- type PageNumberAndSize = {
7960
- pageNumber: number;
7961
- pageSize: number;
7962
- };
7963
- type OffsetAndLimit = {
7964
- offset: number;
7965
- limit: number;
7966
- };
7967
- declare const defaultPage: OffsetAndLimit;
7968
- interface PaginationProps {
7969
- page: readonly [PageNumberAndSize, Dispatch<PageNumberAndSize>] | readonly [OffsetAndLimit, Dispatch<OffsetAndLimit>];
7970
- totalCount: number;
7971
- pageSizes?: number[];
7972
- }
7973
- declare function Pagination(props: PaginationProps): _emotion_react_jsx_runtime.JSX.Element;
7974
- declare function toLimitAndOffset(page: PageSettings): OffsetAndLimit;
7975
- declare function toPageNumberSize(page: PageSettings): PageNumberAndSize;
7976
-
7977
8017
  interface ScrollShadowsProps {
7978
8018
  children: ReactNode;
7979
8019
  /** Allows for styling the container */
@@ -8181,4 +8221,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
8181
8221
  */
8182
8222
  declare function defaultTestId(label: string): string;
8183
8223
 
8184
- 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, 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 };