@homebound/beam 3.85.0 → 3.86.0

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
@@ -4163,7 +4163,7 @@ declare class CssBuilder<T extends Properties, S extends StyleKind = "buildtime"
4163
4163
  fontFamily(value: Properties["fontFamily"]): CssBuilder<T & {
4164
4164
  fontFamily: csstype.Property.FontFamily | undefined;
4165
4165
  }, S>;
4166
- /** Sets `width: "min(100%, calc(var(--beam-layout-viewport-width, 100vw) - var(--beam-side-nav-layout-width, 0px)))"; left: "var(--beam-side-nav-layout-width, 0px)"; position: "sticky"`. */
4166
+ /** Sets `width: "min(100%, calc(calc(var(--beam-layout-viewport-width, 100vw) - var(--beam-side-nav-layout-width, 0px)) - 2 * var(--beam-layout-content-padding-x, 0px)))"; left: "calc(var(--beam-side-nav-layout-width, 0px) + var(--beam-layout-content-padding-x, 0px))"; position: "sticky"`. */
4167
4167
  get layoutContainer(): CssBuilder<T & {
4168
4168
  width: csstype.Property.Width<string | 0> | undefined;
4169
4169
  } & {
@@ -7177,6 +7177,282 @@ interface AccordionListProps {
7177
7177
  }
7178
7178
  declare function AccordionList(props: AccordionListProps): JSX.Element;
7179
7179
 
7180
+ interface GridTableCollapseToggleProps extends Pick<IconButtonProps, "compact"> {
7181
+ row: GridDataRow<any>;
7182
+ }
7183
+ /** Provides a chevron icons to collapse/un-collapse for parent/child tables. */
7184
+ declare function CollapseToggle(props: GridTableCollapseToggleProps): JSX.Element | null;
7185
+
7186
+ type EditColumnsButtonProps<R extends Kinded> = {
7187
+ columns: GridColumn<R>[];
7188
+ api: GridTableApi<R>;
7189
+ defaultOpen?: boolean;
7190
+ } & Pick<OverlayTriggerProps, "placement" | "disabled" | "tooltip">;
7191
+ declare function EditColumnsButton<R extends Kinded>(props: EditColumnsButtonProps<R>): JSX.Element;
7192
+
7193
+ type PinToggleProps = {
7194
+ rowId: string;
7195
+ };
7196
+ /**
7197
+ * Provides a pin icon to pin/unpin a row to the top of the table at runtime.
7198
+ *
7199
+ * The pinned row is hoisted into a sticky pinned section that stays visible while the body scrolls.
7200
+ */
7201
+ declare function PinToggle({ rowId }: PinToggleProps): JSX.Element;
7202
+
7203
+ interface SelectToggleProps {
7204
+ id: string;
7205
+ disabled?: boolean | ReactNode;
7206
+ }
7207
+ /** Provides a checkbox to show/drive this row's selected state. */
7208
+ declare function SelectToggle({ id, disabled }: SelectToggleProps): JSX.Element;
7209
+
7210
+ type SortHeaderProps = {
7211
+ content: string;
7212
+ xss?: Properties;
7213
+ iconOnLeft?: boolean;
7214
+ sortKey: string;
7215
+ tooltipEl?: ReactNode;
7216
+ };
7217
+ /**
7218
+ * Wraps column header names with up/down sorting icons.
7219
+ *
7220
+ * GridTable will use this automatically if the header content is just a text string.
7221
+ *
7222
+ * Alternatively, callers can also:
7223
+ *
7224
+ * - Instantiate this SortHeader directly with some customizations in `xss`, or
7225
+ * - Write their own component that uses `GridSortContext` to access the column's
7226
+ * current sort state + `toggleSort` function
7227
+ */
7228
+ declare function SortHeader(props: SortHeaderProps): JSX.Element;
7229
+
7230
+ type TableView = "list" | "card";
7231
+ type ViewToggleButtonProps = {
7232
+ view: TableView;
7233
+ onChange: (view: TableView) => void;
7234
+ defaultOpen?: boolean;
7235
+ };
7236
+ declare function ViewToggleButton({ view, onChange, defaultOpen }: ViewToggleButtonProps): JSX.Element;
7237
+
7238
+ /**
7239
+ * Calculates an array of sizes for each of our columns.
7240
+ *
7241
+ * We originally supported CSS grid-template-column definitions which allowed fancier,
7242
+ * dynamic/content-based widths, but have eventually dropped it mainly due to:
7243
+ *
7244
+ * 1. In virtual tables, a) the table never has all of the rows in DOM at a single time,
7245
+ * so any "content-based" widths will change as you scroll the table, which is weird, and
7246
+ * b) a sticky header and rows are put in different DOM parent elements by react-virtuoso,
7247
+ * so wouldn't arrive at the same "content-based" widths.
7248
+ *
7249
+ * 2. Using CSS grid but still have a row-level div for hover/focus targeting required
7250
+ * a "fake" `display: contents` div that couldn't have actually any styles applied to it.
7251
+ *
7252
+ * So we've just got with essentially fixed/deterministic widths, i.e. `px` or `percent` or
7253
+ * `fr`.
7254
+ *
7255
+ * Disclaimer that we roll our own `fr` b/c we're not in CSS grid anymore.
7256
+ */
7257
+ declare function useSetupColumnSizes<R extends Kinded>(style: GridStyle, columns: GridColumnWithId<R>[], resizeRef: MutableRefObject<HTMLElement | null>, expandedColumnIds: string[], visibleColumnsStorageKey: string | undefined, disableColumnResizing: boolean, inDocumentScrollLayout: boolean): {
7258
+ columnSizes: string[];
7259
+ /** Container width from the resize probe (unchanged when content expands). */
7260
+ tableWidth: number | undefined;
7261
+ /** Row width required by column defs; only expands beyond probe in document-scroll layouts. */
7262
+ contentWidth: number | undefined;
7263
+ resizedWidths: ResizedWidths;
7264
+ setResizedWidth: (columnId: string, width: number) => void;
7265
+ setResizedWidths: (widths: ResizedWidths | ((prev: ResizedWidths) => ResizedWidths)) => void;
7266
+ resetColumnWidths: () => void;
7267
+ };
7268
+
7269
+ /** Provides default styling for a GridColumn representing a Date. */
7270
+ declare function column<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
7271
+ /** Provides default styling for a GridColumn representing a Date. */
7272
+ declare function dateColumn<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
7273
+ /**
7274
+ * Provides default styling for a GridColumn representing a Numeric value (Price, percentage, PO #, etc.). */
7275
+ declare function numericColumn<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
7276
+ /** Provides default styling for a GridColumn representing an Action. */
7277
+ declare function actionColumn<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
7278
+ /**
7279
+ * Provides default styling for a GridColumn containing a checkbox.
7280
+ *
7281
+ * We allow either no `columnDef` at all, or a partial column def (i.e. to say a Totals row should
7282
+ * not have a `SelectToggle`, b/c we can provide the default behavior a `SelectToggle` for basically
7283
+ * all rows.
7284
+ */
7285
+ declare function selectColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
7286
+ /**
7287
+ * Provides default styling for a GridColumn containing a collapse icon.
7288
+ *
7289
+ * We allow either no `columnDef` at all, or a partial column def (i.e. to say a Totals row should
7290
+ * not have a `CollapseToggle`, b/c we can provide the default behavior a `CollapseToggle` for basically
7291
+ * all rows.
7292
+ */
7293
+ declare function collapseColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
7294
+ /**
7295
+ * Provides a GridColumn containing a {@link PinToggle} to pin/unpin rows to the top at runtime.
7296
+ *
7297
+ * Like `selectColumn`/`collapseColumn`, this accepts no `columnDef` or a partial one. The toggle is
7298
+ * rendered for data rows by default; header/totals/expandableHeader get an `emptyCell` since there's
7299
+ * no "pin all" concept and reserved rows aren't pinnable.
7300
+ *
7301
+ * Note: pinning a parent row hoists only that row into the sticky pinned section — its children stay in place.
7302
+ */
7303
+ declare function pinColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
7304
+ declare const layoutGutterLeftColumnId = "beamLayoutGutterLeft";
7305
+ declare const layoutGutterRightColumnId = "beamLayoutGutterRight";
7306
+ /** True for columns that display row data (not action controls or layout gutters). */
7307
+ declare function isContentColumn(column: Pick<GridColumn<Kinded>, "isAction" | "isLayoutGutter">): boolean;
7308
+ /** Prepends and appends layout gutter columns for document-scroll table alignment. */
7309
+ declare function withColumnGutters<T extends Kinded>(columns: GridColumn<T>[]): GridColumn<T>[];
7310
+ declare function parseWidthToPx(widthStr: string | undefined, tableWidth: number | undefined): number | null;
7311
+ /** Sum resolved column sizes in px; returns null when any size is still a calc() expression. */
7312
+ declare function sumColumnSizesPx(columnSizes: string[], tableWidth: number | undefined): number | null;
7313
+ /** Table content width from column defs; may exceed the probe when %/mw columns require it. */
7314
+ declare function resolveTableContentWidth(tableWidth: number | undefined, columnSizes: string[], minWidthPx?: number): number | undefined;
7315
+ /**
7316
+ * Calculates column widths using a flexible `calc()` definition that allows for consistent column alignment without the use of `<table />`, CSS Grid, etc layouts.
7317
+ * Enforces only fixed-sized units (% and px)
7318
+ */
7319
+ declare function calcColumnSizes<R extends Kinded>(columns: GridColumnWithId<R>[], tableWidth: number | undefined, tableMinWidthPx: number | undefined, expandedColumnIds: string[], resizedWidths?: ResizedWidths): string[];
7320
+ type ColumnLayoutResult = {
7321
+ columnSizes: string[];
7322
+ /** Row width required by column defs; equals probe width when no expansion (or legacy path). */
7323
+ contentWidth: number | undefined;
7324
+ };
7325
+ /** Size columns for a measured container; resolves content width when in a document-scroll layout. */
7326
+ declare function calcColumnLayout<R extends Kinded>(columns: GridColumnWithId<R>[], probeWidth: number | undefined, tableMinWidthPx: number | undefined, expandedColumnIds: string[], resizedWidths: ResizedWidths | undefined, inDocumentScrollLayout: boolean): ColumnLayoutResult;
7327
+ /** Assign column ids if missing. */
7328
+ declare function assignDefaultColumnIds<T extends Kinded>(columns: GridColumn<T>[]): GridColumnWithId<T>[];
7329
+ declare const generateColumnId: (columnIndex: number) => string;
7330
+ declare function dragHandleColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
7331
+
7332
+ /**
7333
+ * A helper for making `Row` type aliases of simple/flat tables that are just header + data.
7334
+ *
7335
+ * Unlike `SimpleHeaderAndDataOf`, we keep `T` in a separate `data`, which is useful
7336
+ * when rows are mobx proxies and we need proxy accesses to happen within the column
7337
+ * rendering.
7338
+ */
7339
+ type SimpleHeaderAndData<T> = {
7340
+ kind: "header";
7341
+ } | {
7342
+ kind: "data";
7343
+ data: T;
7344
+ id: string;
7345
+ };
7346
+ /** A const for a marker header row. */
7347
+ declare const simpleHeader: {
7348
+ kind: "header";
7349
+ id: string;
7350
+ data: undefined;
7351
+ };
7352
+ /** Like `simpleRows` but for `SimpleHeaderAndData`. */
7353
+ declare function simpleDataRows<R extends SimpleHeaderAndData<D>, D>(data?: Array<D & {
7354
+ id: string;
7355
+ }> | undefined): GridDataRow<R>[];
7356
+
7357
+ declare function sortRows<R extends Kinded>(columns: GridColumnWithId<R>[], rows: GridDataRow<R>[], sortState: SortState, caseSensitive: boolean): GridDataRow<R>[];
7358
+ /** Creates a comparator for two GridDataRows based on the current sortState. */
7359
+ declare function sortFn<R extends Kinded>(columns: GridColumnWithId<R>[], sortState: SortState, caseSensitive: boolean): (a: GridDataRow<R>, b: GridDataRow<R>) => number;
7360
+ declare function ensureClientSideSortValueIsSortable(sortOn: SortOn, isHeader: boolean, column: GridColumnWithId<any>, idx: number, maybeContent: ReactNode | GridCellContent): void;
7361
+
7362
+ /** If a column def return just string text for a given row, apply some default styling. */
7363
+ declare function toContent(maybeContent: ReactNode | GridCellContent, isHeader: boolean, canSortColumn: boolean, isClientSideSorting: boolean, style: GridStyle, as: RenderAs, alignment: GridCellAlignment, column: GridColumnWithId<any>, isExpandableHeader: boolean, isExpandable: boolean, minStickyLeftOffset: number, isKeptSelectedRow: boolean): ReactNode;
7364
+ declare function isGridCellContent(content: ReactNode | GridCellContent): content is GridCellContent;
7365
+ type DragData<R extends Kinded> = {
7366
+ rowRenderRef: React.RefObject<HTMLTableRowElement>;
7367
+ onDragStart?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
7368
+ onDragEnd?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
7369
+ onDrop?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
7370
+ onDragEnter?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
7371
+ onDragOver?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
7372
+ };
7373
+ /** Return the content for a given column def applied to a given row. */
7374
+ declare function applyRowFn<R extends Kinded>(column: GridColumnWithId<R>, row: GridDataRow<R>, api: GridRowApi<R>, level: number, expanded: boolean, dragData?: DragData<R>): ReactNode | GridCellContent;
7375
+ declare const ASC: "ASC";
7376
+ declare const DESC: "DESC";
7377
+ declare const emptyCell: GridCellContent;
7378
+ declare function getFirstOrLastCellCss<R extends Kinded>(style: GridStyle, columnIndex: number, columns: GridColumnWithId<R>[], colspan?: number): Properties;
7379
+ declare function getColumnBorderCss(border: GridColumnBorder | undefined, style: GridStyle): Properties;
7380
+ /** A heuristic to detect the result of `React.createElement` / i.e. JSX. */
7381
+ declare function isJSX(content: any): boolean;
7382
+ declare function getAlignment(column: GridColumnWithId<any>, maybeContent: ReactNode | GridCellContent): GridCellAlignment;
7383
+ declare function getJustification(column: GridColumnWithId<any>, maybeContent: ReactNode | GridCellContent, as: RenderAs, alignment: GridCellAlignment): Pick<Properties, never> & {
7384
+ textAlign: csstype.Property.TextAlign | undefined;
7385
+ } & {
7386
+ readonly __kind: "buildtime";
7387
+ };
7388
+ declare function matchesFilter(maybeContent: ReactNode | GridCellContent, filter: string): boolean;
7389
+ declare const HEADER = "header";
7390
+ declare const TOTALS = "totals";
7391
+ /** Tables expandable columns get an extra header. */
7392
+ declare const EXPANDABLE_HEADER = "expandableHeader";
7393
+ declare const KEPT_GROUP = "keptGroup";
7394
+ declare const reservedRowKinds: string[];
7395
+ /** Loads an array from sessionStorage, if it exists, or `undefined`. */
7396
+ declare function loadArrayOrUndefined(key: string): any;
7397
+ declare function insertAtIndex<T>(array: Array<T>, element: T, index: number): Array<T>;
7398
+ declare function isCursorBelowMidpoint(target: HTMLElement, clientY: number): boolean;
7399
+ declare function recursivelyGetContainingRow<R extends Kinded>(rowId: string, rowArray: GridDataRow<R>[], parent?: GridDataRow<R>): {
7400
+ array: GridDataRow<R>[];
7401
+ parent: GridDataRow<R> | undefined;
7402
+ } | undefined;
7403
+ declare function getTableRefWidthStyles(isVirtual: boolean, inDocumentScrollLayout?: boolean): Pick<Properties, never> & {
7404
+ width: csstype.Property.Width<string | 0> | undefined;
7405
+ } & {
7406
+ readonly __kind: "buildtime";
7407
+ };
7408
+
7409
+ declare function visit(rows: GridDataRow<any>[], fn: (row: GridDataRow<any>) => void): void;
7410
+
7411
+ type Sizes = "sm" | "md" | "lg";
7412
+ type LoadingSkeletonProps = {
7413
+ rows?: number;
7414
+ columns?: number;
7415
+ size?: Sizes;
7416
+ randomizeWidths?: boolean;
7417
+ };
7418
+ declare function LoadingSkeleton({ rows, columns, size, randomizeWidths }: LoadingSkeletonProps): JSX.Element;
7419
+
7420
+ type QueryResult<QData> = {
7421
+ loading: boolean;
7422
+ error?: {
7423
+ message: string;
7424
+ };
7425
+ data?: QData;
7426
+ };
7427
+
7428
+ /** Shared action button props used across layout header and panel components. */
7429
+ type ActionButtonProps = Pick<ButtonProps, "onClick" | "label" | "disabled" | "tooltip" | "icon">;
7430
+ type OmittedTableProps = "filter" | "stickyHeader" | "style" | "rows";
7431
+ type BaseTableProps<R extends Kinded, X extends Only<GridTableXss, X>> = Omit<GridTableProps<R, X>, OmittedTableProps>;
7432
+ type GridTablePropsWithRows<R extends Kinded, X extends Only<GridTableXss, X>> = BaseTableProps<R, X> & {
7433
+ rows: GridTableProps<R, X>["rows"];
7434
+ query?: never;
7435
+ createRows?: never;
7436
+ style?: GridStyle | GridStyleDef;
7437
+ };
7438
+ type BaseQueryTableProps<R extends Kinded, X extends Only<GridTableXss, X>, QData> = BaseTableProps<R, X> & {
7439
+ query: QueryResult<QData>;
7440
+ createRows: (data: QData | undefined) => GridDataRow<R>[];
7441
+ rows?: never;
7442
+ style?: GridStyle | GridStyleDef;
7443
+ };
7444
+ declare function isGridTableProps<R extends Kinded, X extends Only<GridTableXss, X>, Q extends {
7445
+ rows?: never;
7446
+ }>(props: GridTablePropsWithRows<R, X> | Q): props is GridTablePropsWithRows<R, X>;
7447
+
7448
+ type AiBannerProps = {
7449
+ title: string;
7450
+ message?: ReactNode;
7451
+ primaryAction?: ActionButtonProps;
7452
+ secondaryAction?: ActionButtonProps;
7453
+ };
7454
+ declare function AiBanner(props: AiBannerProps): JSX.Element;
7455
+
7180
7456
  type AiLoaderProps<X> = {
7181
7457
  inc?: number;
7182
7458
  /** Accessible name for the indicator, defaults to "Loading". */
@@ -7215,6 +7491,15 @@ type AiPanelProps = {
7215
7491
  */
7216
7492
  declare function AiPanel(props: AiPanelProps): JSX.Element;
7217
7493
 
7494
+ type AiSlimBannerProps = {
7495
+ title: string;
7496
+ action?: ActionButtonProps;
7497
+ };
7498
+ /**
7499
+ * A one-line AI notice, for sitting inline above the content it's about.
7500
+ */
7501
+ declare function AiSlimBanner(props: AiSlimBannerProps): JSX.Element;
7502
+
7218
7503
  /** A single nav link. String `label` only; see `NavLinkProps.label` (ReactNode) for the wider API. */
7219
7504
  type AppNavLink = Pick<NavLinkProps, "icon" | "onClick" | "active" | "disabled" | "openInNew" | "iconOnly"> & {
7220
7505
  label: string;
@@ -8704,6 +8989,10 @@ type ContentHeaderProps<X = ContentHeaderXss> = {
8704
8989
  * table), wrap both in a shared container sized with `min-width: fit-content` (truss: `mw("fit-content")`)
8705
8990
  * so the containing block grows to match the full scrollable width — the same technique `GridTable`
8706
8991
  * uses internally for its own sticky columns (`src/components/Table/GridTable.tsx`).
8992
+ *
8993
+ * Apply horizontal inset via `xss` when the header should align with padded body content; omit for
8994
+ * full-bleed within the page column. `layoutContainer` honors `--beam-layout-content-padding-x`
8995
+ * from padded ancestors (e.g. {@link CenteredLayout}).
8707
8996
  */
8708
8997
  declare function ContentHeader<X extends Only<ContentHeaderXss, X>>(props: ContentHeaderProps<X>): JSX.Element | null;
8709
8998
 
@@ -9017,387 +9306,119 @@ declare function BoundSelectAndTextField<O, V extends Value, X extends Only<Text
9017
9306
  declare function BoundSelectAndTextField<O extends HasIdAndName<V>, V extends Value, X extends Only<TextFieldXss, X>>(props: Omit<BoundSelectAndTextFieldProps<O, V, X>, "selectFieldProps"> & {
9018
9307
  selectFieldProps: Optional<CompoundSelectFieldProps<O, V>, "getOptionValue" | "getOptionLabel">;
9019
9308
  }): JSX.Element;
9020
- type CompoundSelectFieldProps<O, V extends Value> = Omit<BoundSelectFieldProps<O, V>, "compact">;
9021
- type CompoundTextFieldProps<X> = Omit<BoundTextFieldProps<X>, "compact">;
9022
-
9023
- interface FormHeadingProps {
9024
- title: string;
9025
- xss?: Xss<Margin>;
9026
- isFirst?: boolean;
9027
- }
9028
- declare function FormHeading(props: FormHeadingProps): JSX.Element;
9029
- declare namespace FormHeading {
9030
- var isFormHeading: boolean;
9031
- }
9032
-
9033
- type FormWidth =
9034
- /** 320px. */
9035
- "sm"
9036
- /** 480px, works well in a small, single-stack form. */
9037
- | "md"
9038
- /** 550px, works well for showing side-by-side/double-stack fields. */
9039
- | "lg"
9040
- /** 100%, works well for showing full width fields, or deferring to the parent width. */
9041
- | "full";
9042
- type FormLinesProps = {
9043
- /** Let the user interleave group-less lines and grouped lines. */
9044
- children: ReactNode;
9045
- width?: FormWidth;
9046
- /** Increment property (e.g. 1 = 8px). Defines space between form fields */
9047
- gap?: number;
9048
- } & Pick<PresentationFieldProps, "labelStyle" | "labelLeftFieldWidth" | "labelSuffix" | "compact">;
9049
- /**
9050
- * Applies standard Form layout/size/spacing between lines.
9051
- *
9052
- * Lines can either be individual form fields, or a group of form fields
9053
- * (see the `FieldGroup` component), where they will be laid out side-by-side.
9054
- */
9055
- declare function FormLines(props: FormLinesProps): JSX.Element;
9056
- /** Draws a line between form lines. */
9057
- declare function FormDivider(): JSX.Element;
9058
- /** Groups multiple fields side-by-side. */
9059
- declare function FieldGroup(props: {
9060
- /** The legend/title for this group. */
9061
- title?: string;
9062
- children: JSX.Element[];
9063
- /** An array of widths for each child, if a number we use `fr` units. */
9064
- widths?: Array<number | string>;
9065
- }): JSX.Element;
9066
-
9067
- type FormSectionChildBase = Omit<FormSectionProps, "childSections">;
9068
- /** A single, non-draggable entry in a `FormSection`'s `childSections` — never itself nests further children. */
9069
- type PlainFormSectionChild = FormSectionChildBase & {
9070
- id?: string;
9071
- orderField?: never;
9072
- };
9073
- /**
9074
- * A single, draggable entry in a `FormSection`'s `childSections`. `orderField` drives both draggability
9075
- * and sort order; `id` is required so drag/keyboard reordering can track this entry.
9076
- */
9077
- type ReorderableFormSectionChild = FormSectionChildBase & {
9078
- id: string;
9079
- orderField: FieldState<number | null | undefined>;
9080
- };
9081
-
9082
- /**
9083
- * An action in a `FormSection`/`FormSectionLayout` title row — a `Button`, or an icon-only `IconButton` via `kind: "icon"`.
9084
- * Uses `kind` rather than `type` since `ButtonProps` already has its own `type` (button/submit/reset).
9085
- */
9086
- type FormSectionAction = ({
9087
- kind?: "default";
9088
- } & ButtonProps) | ({
9089
- kind: "icon";
9090
- } & Omit<IconButtonProps, "variant">);
9091
- type FormSectionProps = {
9092
- title: string;
9093
- description?: ReactNode;
9094
- actions?: FormSectionAction[];
9095
- fields?: ReactNode;
9096
- childSections?: PlainFormSectionChild[] | ReorderableFormSectionChild[];
9097
- };
9098
- declare function FormSection$1(props: FormSectionProps): JSX.Element;
9099
-
9100
- type StaticFieldProps = {
9101
- label: ReactNode;
9102
- value?: string;
9103
- children?: ReactNode;
9104
- labelStyle?: PresentationFieldProps["labelStyle"];
9105
- };
9106
- declare function StaticField(props: StaticFieldProps): JSX.Element;
9107
-
9108
- type SubmitButtonProps<T> = Omit<ButtonProps, "label"> & {
9109
- label?: ButtonProps["label"];
9110
- form: ObjectState<T>;
9111
- };
9112
- /** Provides a Button that will auto-disable if `formState` is invalid. */
9113
- declare function SubmitButton<T>(props: SubmitButtonProps<T>): JSX.Element;
9114
-
9115
- type SidebarContentProps = {
9116
- icon: IconKey;
9117
- render: () => ReactNode;
9118
- };
9119
- type RightSidebarProps = {
9120
- content: SidebarContentProps[];
9121
- headerHeightPx: number;
9122
- };
9123
- /** Exporting this value allows layout components to coordinate responsive column sizing
9124
- * while avoiding layout shift when the sidebar is opened */
9125
- declare const RIGHT_SIDEBAR_MIN_WIDTH = "250px";
9126
- declare function RightSidebar({ content, headerHeightPx }: RightSidebarProps): JSX.Element;
9127
-
9128
- type HeaderBreadcrumb = {
9129
- href: string;
9130
- label: string;
9131
- right?: ReactNode;
9132
- };
9133
-
9134
- interface GridTableCollapseToggleProps extends Pick<IconButtonProps, "compact"> {
9135
- row: GridDataRow<any>;
9136
- }
9137
- /** Provides a chevron icons to collapse/un-collapse for parent/child tables. */
9138
- declare function CollapseToggle(props: GridTableCollapseToggleProps): JSX.Element | null;
9139
-
9140
- type EditColumnsButtonProps<R extends Kinded> = {
9141
- columns: GridColumn<R>[];
9142
- api: GridTableApi<R>;
9143
- defaultOpen?: boolean;
9144
- } & Pick<OverlayTriggerProps, "placement" | "disabled" | "tooltip">;
9145
- declare function EditColumnsButton<R extends Kinded>(props: EditColumnsButtonProps<R>): JSX.Element;
9146
-
9147
- type PinToggleProps = {
9148
- rowId: string;
9149
- };
9150
- /**
9151
- * Provides a pin icon to pin/unpin a row to the top of the table at runtime.
9152
- *
9153
- * The pinned row is hoisted into a sticky pinned section that stays visible while the body scrolls.
9154
- */
9155
- declare function PinToggle({ rowId }: PinToggleProps): JSX.Element;
9156
-
9157
- interface SelectToggleProps {
9158
- id: string;
9159
- disabled?: boolean | ReactNode;
9160
- }
9161
- /** Provides a checkbox to show/drive this row's selected state. */
9162
- declare function SelectToggle({ id, disabled }: SelectToggleProps): JSX.Element;
9163
-
9164
- type SortHeaderProps = {
9165
- content: string;
9166
- xss?: Properties;
9167
- iconOnLeft?: boolean;
9168
- sortKey: string;
9169
- tooltipEl?: ReactNode;
9170
- };
9171
- /**
9172
- * Wraps column header names with up/down sorting icons.
9173
- *
9174
- * GridTable will use this automatically if the header content is just a text string.
9175
- *
9176
- * Alternatively, callers can also:
9177
- *
9178
- * - Instantiate this SortHeader directly with some customizations in `xss`, or
9179
- * - Write their own component that uses `GridSortContext` to access the column's
9180
- * current sort state + `toggleSort` function
9181
- */
9182
- declare function SortHeader(props: SortHeaderProps): JSX.Element;
9183
-
9184
- type TableView = "list" | "card";
9185
- type ViewToggleButtonProps = {
9186
- view: TableView;
9187
- onChange: (view: TableView) => void;
9188
- defaultOpen?: boolean;
9189
- };
9190
- declare function ViewToggleButton({ view, onChange, defaultOpen }: ViewToggleButtonProps): JSX.Element;
9191
-
9192
- /**
9193
- * Calculates an array of sizes for each of our columns.
9194
- *
9195
- * We originally supported CSS grid-template-column definitions which allowed fancier,
9196
- * dynamic/content-based widths, but have eventually dropped it mainly due to:
9197
- *
9198
- * 1. In virtual tables, a) the table never has all of the rows in DOM at a single time,
9199
- * so any "content-based" widths will change as you scroll the table, which is weird, and
9200
- * b) a sticky header and rows are put in different DOM parent elements by react-virtuoso,
9201
- * so wouldn't arrive at the same "content-based" widths.
9202
- *
9203
- * 2. Using CSS grid but still have a row-level div for hover/focus targeting required
9204
- * a "fake" `display: contents` div that couldn't have actually any styles applied to it.
9205
- *
9206
- * So we've just got with essentially fixed/deterministic widths, i.e. `px` or `percent` or
9207
- * `fr`.
9208
- *
9209
- * Disclaimer that we roll our own `fr` b/c we're not in CSS grid anymore.
9210
- */
9211
- declare function useSetupColumnSizes<R extends Kinded>(style: GridStyle, columns: GridColumnWithId<R>[], resizeRef: MutableRefObject<HTMLElement | null>, expandedColumnIds: string[], visibleColumnsStorageKey: string | undefined, disableColumnResizing: boolean, inDocumentScrollLayout: boolean): {
9212
- columnSizes: string[];
9213
- /** Container width from the resize probe (unchanged when content expands). */
9214
- tableWidth: number | undefined;
9215
- /** Row width required by column defs; only expands beyond probe in document-scroll layouts. */
9216
- contentWidth: number | undefined;
9217
- resizedWidths: ResizedWidths;
9218
- setResizedWidth: (columnId: string, width: number) => void;
9219
- setResizedWidths: (widths: ResizedWidths | ((prev: ResizedWidths) => ResizedWidths)) => void;
9220
- resetColumnWidths: () => void;
9221
- };
9309
+ type CompoundSelectFieldProps<O, V extends Value> = Omit<BoundSelectFieldProps<O, V>, "compact">;
9310
+ type CompoundTextFieldProps<X> = Omit<BoundTextFieldProps<X>, "compact">;
9222
9311
 
9223
- /** Provides default styling for a GridColumn representing a Date. */
9224
- declare function column<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
9225
- /** Provides default styling for a GridColumn representing a Date. */
9226
- declare function dateColumn<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
9227
- /**
9228
- * Provides default styling for a GridColumn representing a Numeric value (Price, percentage, PO #, etc.). */
9229
- declare function numericColumn<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
9230
- /** Provides default styling for a GridColumn representing an Action. */
9231
- declare function actionColumn<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
9232
- /**
9233
- * Provides default styling for a GridColumn containing a checkbox.
9234
- *
9235
- * We allow either no `columnDef` at all, or a partial column def (i.e. to say a Totals row should
9236
- * not have a `SelectToggle`, b/c we can provide the default behavior a `SelectToggle` for basically
9237
- * all rows.
9238
- */
9239
- declare function selectColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
9240
- /**
9241
- * Provides default styling for a GridColumn containing a collapse icon.
9242
- *
9243
- * We allow either no `columnDef` at all, or a partial column def (i.e. to say a Totals row should
9244
- * not have a `CollapseToggle`, b/c we can provide the default behavior a `CollapseToggle` for basically
9245
- * all rows.
9246
- */
9247
- declare function collapseColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
9312
+ interface FormHeadingProps {
9313
+ title: string;
9314
+ xss?: Xss<Margin>;
9315
+ isFirst?: boolean;
9316
+ }
9317
+ declare function FormHeading(props: FormHeadingProps): JSX.Element;
9318
+ declare namespace FormHeading {
9319
+ var isFormHeading: boolean;
9320
+ }
9321
+
9322
+ type FormWidth =
9323
+ /** 320px. */
9324
+ "sm"
9325
+ /** 480px, works well in a small, single-stack form. */
9326
+ | "md"
9327
+ /** 550px, works well for showing side-by-side/double-stack fields. */
9328
+ | "lg"
9329
+ /** 100%, works well for showing full width fields, or deferring to the parent width. */
9330
+ | "full";
9331
+ type FormLinesProps = {
9332
+ /** Let the user interleave group-less lines and grouped lines. */
9333
+ children: ReactNode;
9334
+ width?: FormWidth;
9335
+ /** Increment property (e.g. 1 = 8px). Defines space between form fields */
9336
+ gap?: number;
9337
+ } & Pick<PresentationFieldProps, "labelStyle" | "labelLeftFieldWidth" | "labelSuffix" | "compact">;
9248
9338
  /**
9249
- * Provides a GridColumn containing a {@link PinToggle} to pin/unpin rows to the top at runtime.
9250
- *
9251
- * Like `selectColumn`/`collapseColumn`, this accepts no `columnDef` or a partial one. The toggle is
9252
- * rendered for data rows by default; header/totals/expandableHeader get an `emptyCell` since there's
9253
- * no "pin all" concept and reserved rows aren't pinnable.
9339
+ * Applies standard Form layout/size/spacing between lines.
9254
9340
  *
9255
- * Note: pinning a parent row hoists only that row into the sticky pinned section — its children stay in place.
9341
+ * Lines can either be individual form fields, or a group of form fields
9342
+ * (see the `FieldGroup` component), where they will be laid out side-by-side.
9256
9343
  */
9257
- declare function pinColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
9258
- declare const layoutGutterLeftColumnId = "beamLayoutGutterLeft";
9259
- declare const layoutGutterRightColumnId = "beamLayoutGutterRight";
9260
- /** True for columns that display row data (not action controls or layout gutters). */
9261
- declare function isContentColumn(column: Pick<GridColumn<Kinded>, "isAction" | "isLayoutGutter">): boolean;
9262
- /** Prepends and appends layout gutter columns for document-scroll table alignment. */
9263
- declare function withColumnGutters<T extends Kinded>(columns: GridColumn<T>[]): GridColumn<T>[];
9264
- declare function parseWidthToPx(widthStr: string | undefined, tableWidth: number | undefined): number | null;
9265
- /** Sum resolved column sizes in px; returns null when any size is still a calc() expression. */
9266
- declare function sumColumnSizesPx(columnSizes: string[], tableWidth: number | undefined): number | null;
9267
- /** Table content width: at least the measured container and a self-consistent width for literal % columns. */
9268
- declare function resolveTableContentWidth(tableWidth: number | undefined, columnSizes: string[], minWidthPx?: number): number | undefined;
9344
+ declare function FormLines(props: FormLinesProps): JSX.Element;
9345
+ /** Draws a line between form lines. */
9346
+ declare function FormDivider(): JSX.Element;
9347
+ /** Groups multiple fields side-by-side. */
9348
+ declare function FieldGroup(props: {
9349
+ /** The legend/title for this group. */
9350
+ title?: string;
9351
+ children: JSX.Element[];
9352
+ /** An array of widths for each child, if a number we use `fr` units. */
9353
+ widths?: Array<number | string>;
9354
+ }): JSX.Element;
9355
+
9356
+ type FormSectionChildBase = Omit<FormSectionProps, "childSections">;
9357
+ /** A single, non-draggable entry in a `FormSection`'s `childSections` — never itself nests further children. */
9358
+ type PlainFormSectionChild = FormSectionChildBase & {
9359
+ id?: string;
9360
+ orderField?: never;
9361
+ };
9269
9362
  /**
9270
- * Calculates column widths using a flexible `calc()` definition that allows for consistent column alignment without the use of `<table />`, CSS Grid, etc layouts.
9271
- * Enforces only fixed-sized units (% and px)
9363
+ * A single, draggable entry in a `FormSection`'s `childSections`. `orderField` drives both draggability
9364
+ * and sort order; `id` is required so drag/keyboard reordering can track this entry.
9272
9365
  */
9273
- declare function calcColumnSizes<R extends Kinded>(columns: GridColumnWithId<R>[], tableWidth: number | undefined, tableMinWidthPx: number | undefined, expandedColumnIds: string[], resizedWidths?: ResizedWidths): string[];
9274
- type ColumnLayoutResult = {
9275
- columnSizes: string[];
9276
- /** Row width required by column defs; equals probe width when no expansion (or legacy path). */
9277
- contentWidth: number | undefined;
9366
+ type ReorderableFormSectionChild = FormSectionChildBase & {
9367
+ id: string;
9368
+ orderField: FieldState<number | null | undefined>;
9278
9369
  };
9279
- /** Size columns for a measured container; resolves content width when in a document-scroll layout. */
9280
- declare function calcColumnLayout<R extends Kinded>(columns: GridColumnWithId<R>[], probeWidth: number | undefined, tableMinWidthPx: number | undefined, expandedColumnIds: string[], resizedWidths: ResizedWidths | undefined, inDocumentScrollLayout: boolean): ColumnLayoutResult;
9281
- /** Assign column ids if missing. */
9282
- declare function assignDefaultColumnIds<T extends Kinded>(columns: GridColumn<T>[]): GridColumnWithId<T>[];
9283
- declare const generateColumnId: (columnIndex: number) => string;
9284
- declare function dragHandleColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
9285
9370
 
9286
9371
  /**
9287
- * A helper for making `Row` type aliases of simple/flat tables that are just header + data.
9288
- *
9289
- * Unlike `SimpleHeaderAndDataOf`, we keep `T` in a separate `data`, which is useful
9290
- * when rows are mobx proxies and we need proxy accesses to happen within the column
9291
- * rendering.
9372
+ * An action in a `FormSection`/`FormSectionLayout` title row — a `Button`, or an icon-only `IconButton` via `kind: "icon"`.
9373
+ * Uses `kind` rather than `type` since `ButtonProps` already has its own `type` (button/submit/reset).
9292
9374
  */
9293
- type SimpleHeaderAndData<T> = {
9294
- kind: "header";
9295
- } | {
9296
- kind: "data";
9297
- data: T;
9298
- id: string;
9299
- };
9300
- /** A const for a marker header row. */
9301
- declare const simpleHeader: {
9302
- kind: "header";
9303
- id: string;
9304
- data: undefined;
9375
+ type FormSectionAction = ({
9376
+ kind?: "default";
9377
+ } & ButtonProps) | ({
9378
+ kind: "icon";
9379
+ } & Omit<IconButtonProps, "variant">);
9380
+ type FormSectionProps = {
9381
+ title: string;
9382
+ description?: ReactNode;
9383
+ actions?: FormSectionAction[];
9384
+ fields?: ReactNode;
9385
+ childSections?: PlainFormSectionChild[] | ReorderableFormSectionChild[];
9305
9386
  };
9306
- /** Like `simpleRows` but for `SimpleHeaderAndData`. */
9307
- declare function simpleDataRows<R extends SimpleHeaderAndData<D>, D>(data?: Array<D & {
9308
- id: string;
9309
- }> | undefined): GridDataRow<R>[];
9310
-
9311
- declare function sortRows<R extends Kinded>(columns: GridColumnWithId<R>[], rows: GridDataRow<R>[], sortState: SortState, caseSensitive: boolean): GridDataRow<R>[];
9312
- /** Creates a comparator for two GridDataRows based on the current sortState. */
9313
- declare function sortFn<R extends Kinded>(columns: GridColumnWithId<R>[], sortState: SortState, caseSensitive: boolean): (a: GridDataRow<R>, b: GridDataRow<R>) => number;
9314
- declare function ensureClientSideSortValueIsSortable(sortOn: SortOn, isHeader: boolean, column: GridColumnWithId<any>, idx: number, maybeContent: ReactNode | GridCellContent): void;
9387
+ declare function FormSection$1(props: FormSectionProps): JSX.Element;
9315
9388
 
9316
- /** If a column def return just string text for a given row, apply some default styling. */
9317
- declare function toContent(maybeContent: ReactNode | GridCellContent, isHeader: boolean, canSortColumn: boolean, isClientSideSorting: boolean, style: GridStyle, as: RenderAs, alignment: GridCellAlignment, column: GridColumnWithId<any>, isExpandableHeader: boolean, isExpandable: boolean, minStickyLeftOffset: number, isKeptSelectedRow: boolean): ReactNode;
9318
- declare function isGridCellContent(content: ReactNode | GridCellContent): content is GridCellContent;
9319
- type DragData<R extends Kinded> = {
9320
- rowRenderRef: React.RefObject<HTMLTableRowElement>;
9321
- onDragStart?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
9322
- onDragEnd?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
9323
- onDrop?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
9324
- onDragEnter?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
9325
- onDragOver?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
9326
- };
9327
- /** Return the content for a given column def applied to a given row. */
9328
- declare function applyRowFn<R extends Kinded>(column: GridColumnWithId<R>, row: GridDataRow<R>, api: GridRowApi<R>, level: number, expanded: boolean, dragData?: DragData<R>): ReactNode | GridCellContent;
9329
- declare const ASC: "ASC";
9330
- declare const DESC: "DESC";
9331
- declare const emptyCell: GridCellContent;
9332
- declare function getFirstOrLastCellCss<R extends Kinded>(style: GridStyle, columnIndex: number, columns: GridColumnWithId<R>[], colspan?: number): Properties;
9333
- declare function getColumnBorderCss(border: GridColumnBorder | undefined, style: GridStyle): Properties;
9334
- /** A heuristic to detect the result of `React.createElement` / i.e. JSX. */
9335
- declare function isJSX(content: any): boolean;
9336
- declare function getAlignment(column: GridColumnWithId<any>, maybeContent: ReactNode | GridCellContent): GridCellAlignment;
9337
- declare function getJustification(column: GridColumnWithId<any>, maybeContent: ReactNode | GridCellContent, as: RenderAs, alignment: GridCellAlignment): Pick<Properties, never> & {
9338
- textAlign: csstype.Property.TextAlign | undefined;
9339
- } & {
9340
- readonly __kind: "buildtime";
9341
- };
9342
- declare function matchesFilter(maybeContent: ReactNode | GridCellContent, filter: string): boolean;
9343
- declare const HEADER = "header";
9344
- declare const TOTALS = "totals";
9345
- /** Tables expandable columns get an extra header. */
9346
- declare const EXPANDABLE_HEADER = "expandableHeader";
9347
- declare const KEPT_GROUP = "keptGroup";
9348
- declare const reservedRowKinds: string[];
9349
- /** Loads an array from sessionStorage, if it exists, or `undefined`. */
9350
- declare function loadArrayOrUndefined(key: string): any;
9351
- declare function insertAtIndex<T>(array: Array<T>, element: T, index: number): Array<T>;
9352
- declare function isCursorBelowMidpoint(target: HTMLElement, clientY: number): boolean;
9353
- declare function recursivelyGetContainingRow<R extends Kinded>(rowId: string, rowArray: GridDataRow<R>[], parent?: GridDataRow<R>): {
9354
- array: GridDataRow<R>[];
9355
- parent: GridDataRow<R> | undefined;
9356
- } | undefined;
9357
- declare function getTableRefWidthStyles(isVirtual: boolean, inDocumentScrollLayout?: boolean): Pick<Properties, never> & {
9358
- width: csstype.Property.Width<string | 0> | undefined;
9359
- } & {
9360
- readonly __kind: "buildtime";
9389
+ type StaticFieldProps = {
9390
+ label: ReactNode;
9391
+ value?: string;
9392
+ children?: ReactNode;
9393
+ labelStyle?: PresentationFieldProps["labelStyle"];
9361
9394
  };
9395
+ declare function StaticField(props: StaticFieldProps): JSX.Element;
9362
9396
 
9363
- declare function visit(rows: GridDataRow<any>[], fn: (row: GridDataRow<any>) => void): void;
9364
-
9365
- type Sizes = "sm" | "md" | "lg";
9366
- type LoadingSkeletonProps = {
9367
- rows?: number;
9368
- columns?: number;
9369
- size?: Sizes;
9370
- randomizeWidths?: boolean;
9397
+ type SubmitButtonProps<T> = Omit<ButtonProps, "label"> & {
9398
+ label?: ButtonProps["label"];
9399
+ form: ObjectState<T>;
9371
9400
  };
9372
- declare function LoadingSkeleton({ rows, columns, size, randomizeWidths }: LoadingSkeletonProps): JSX.Element;
9401
+ /** Provides a Button that will auto-disable if `formState` is invalid. */
9402
+ declare function SubmitButton<T>(props: SubmitButtonProps<T>): JSX.Element;
9373
9403
 
9374
- type QueryResult<QData> = {
9375
- loading: boolean;
9376
- error?: {
9377
- message: string;
9378
- };
9379
- data?: QData;
9404
+ type SidebarContentProps = {
9405
+ icon: IconKey;
9406
+ render: () => ReactNode;
9380
9407
  };
9381
-
9382
- /** Shared action button props used across layout header and panel components. */
9383
- type ActionButtonProps = Pick<ButtonProps, "onClick" | "label" | "disabled" | "tooltip" | "icon">;
9384
- type OmittedTableProps = "filter" | "stickyHeader" | "style" | "rows";
9385
- type BaseTableProps<R extends Kinded, X extends Only<GridTableXss, X>> = Omit<GridTableProps<R, X>, OmittedTableProps>;
9386
- type GridTablePropsWithRows<R extends Kinded, X extends Only<GridTableXss, X>> = BaseTableProps<R, X> & {
9387
- rows: GridTableProps<R, X>["rows"];
9388
- query?: never;
9389
- createRows?: never;
9390
- style?: GridStyle | GridStyleDef;
9408
+ type RightSidebarProps = {
9409
+ content: SidebarContentProps[];
9410
+ headerHeightPx: number;
9391
9411
  };
9392
- type BaseQueryTableProps<R extends Kinded, X extends Only<GridTableXss, X>, QData> = BaseTableProps<R, X> & {
9393
- query: QueryResult<QData>;
9394
- createRows: (data: QData | undefined) => GridDataRow<R>[];
9395
- rows?: never;
9396
- style?: GridStyle | GridStyleDef;
9412
+ /** Exporting this value allows layout components to coordinate responsive column sizing
9413
+ * while avoiding layout shift when the sidebar is opened */
9414
+ declare const RIGHT_SIDEBAR_MIN_WIDTH = "250px";
9415
+ declare function RightSidebar({ content, headerHeightPx }: RightSidebarProps): JSX.Element;
9416
+
9417
+ type HeaderBreadcrumb = {
9418
+ href: string;
9419
+ label: string;
9420
+ right?: ReactNode;
9397
9421
  };
9398
- declare function isGridTableProps<R extends Kinded, X extends Only<GridTableXss, X>, Q extends {
9399
- rows?: never;
9400
- }>(props: GridTablePropsWithRows<R, X> | Q): props is GridTablePropsWithRows<R, X>;
9401
9422
 
9402
9423
  type FormSection<F> = {
9403
9424
  title?: string;
@@ -10296,17 +10317,13 @@ declare function useSideNavLayoutContext(): SideNavLayoutContextProps;
10296
10317
  /** Internal: returns true if a `SideNavLayoutProvider` exists above. */
10297
10318
  declare function useHasSideNavLayoutProvider(): boolean;
10298
10319
 
10299
- declare const centeredMaxWidthPx: {
10300
- readonly sm: 768;
10301
- readonly lg: 1440;
10302
- };
10303
- type CenteredLayoutSize = keyof typeof centeredMaxWidthPx;
10320
+ type CenteredLayoutSize = "sm" | "lg";
10304
10321
  type CenteredLayoutProps = {
10305
- /** `sm` = 720px content (768 outer); `lg` = 1440px outer (1392 content at md+). */
10322
+ /** `sm` = 720px content (768px shell max); `lg` = 1392px content (1440px shell max). Horizontal padding 12px / 24px from `md`. */
10306
10323
  size: CenteredLayoutSize;
10307
10324
  children?: ReactNode;
10308
10325
  };
10309
- /** Centered body-width shell. Nest inside page-header / workflow children — see `docs/layouts.md`. */
10326
+ /** Centered body-width shell. Nest inside page-header layout / workflow layout children — see `docs/layouts.md`. */
10310
10327
  declare function CenteredLayout(props: CenteredLayoutProps): JSX.Element;
10311
10328
 
10312
10329
  type EnvironmentBannerLayoutProps = {
@@ -10369,6 +10386,11 @@ declare const beamLayoutViewportWidthVar = "--beam-layout-viewport-width";
10369
10386
  declare const beamLayoutViewportHeightVar = "--beam-layout-viewport-height";
10370
10387
  /** Side nav rail width (px) for horizontal sticky offsets. */
10371
10388
  declare const beamSideNavLayoutWidthVar = "--beam-side-nav-layout-width";
10389
+ /**
10390
+ * Horizontal inset from a padded ancestor (e.g. {@link CenteredLayout}). `0px` when unset.
10391
+ * `layoutContainer` subtracts this from chrome width and adds it to `left`.
10392
+ */
10393
+ declare const beamLayoutContentPaddingXVar = "--beam-layout-content-padding-x";
10372
10394
  /** Table actions toolbar height (px) while pinned in document-scroll layouts. */
10373
10395
  declare const beamTableActionsHeightVar = "--beam-table-actions-height";
10374
10396
  /**
@@ -10395,6 +10417,10 @@ declare const beamWorkflowLayoutFooterHeightVar = "--beam-workflow-layout-footer
10395
10417
  declare function documentScrollChromeLeft(): string;
10396
10418
  /** `width` for document-scroll sticky chrome spanning the visible viewport beside the side nav. */
10397
10419
  declare function documentScrollChromeWidth(): string;
10420
+ /** `left` for `layoutContainer` when inside a padded ancestor (e.g. {@link CenteredLayout}); chrome left when the padding var is unset. */
10421
+ declare function documentScrollContentLeft(): string;
10422
+ /** `width` for `layoutContainer` when inside a padded ancestor (e.g. {@link CenteredLayout}); chrome width when the padding var is unset. */
10423
+ declare function documentScrollContentWidth(): string;
10398
10424
  /** `height` for a fixed document-scroll right pane from the sticky table-header offset to the viewport bottom. */
10399
10425
  declare function documentScrollRightPaneHeight(): string;
10400
10426
  /**
@@ -10526,4 +10552,4 @@ declare const zIndices: {
10526
10552
  };
10527
10553
  type ZIndex = (typeof zIndices)[keyof typeof zIndices];
10528
10554
 
10529
- export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, type ActionButtonProps, AiLoader, type AiLoaderProps, AiLoadingPanel, type AiLoadingPanelProps, AiPanel, type AiPanelProps, type AppEnvironment, type AppNavGroup, type AppNavItem, type AppNavLink, type AppNavSection, type AppNavSectionItem, 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 BaseQueryTableProps, type BaseTableProps, type BeamButtonProps, type BeamColor, type BeamFocusableProps, BeamLogo, BeamProvider, type BeamTextFieldProps, BlueprintAiLogo, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectCardGroupField, type BoundMultiSelectCardGroupFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectCardGroupField, type BoundSelectCardGroupFieldProps, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breadcrumb, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBadgeSlot, type CardBadgeTag, type CardDataBlockSlot, type CardEyebrowSlot, type CardProgressSlot, type CardProps, type CardSlot, type CardStatusSlot, type CardTag, type CardTitleSlot, type CardType, CenteredLayout, type CenteredLayoutProps, type CenteredLayoutSize, 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, type ColumnLayoutResult, type CompanionConfig, type CompanionContent, type CompanionPosition, ConfirmCloseModal, ContentHeader, type ContentHeaderProps, type ContentStack, ContrastScope, Copy, CountBadge, type CountBadgeProps, Css, CssReset, type CssSetVarKeys, type CssSetVarScalar, type CssSetVarValue, DESC, DateField, type DateFieldFormat, type DateFieldMode, type DateFieldProps, type DateFilterValue, type DateMatcher, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type DefinedFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, DocumentScrollRightPaneLayout, type DocumentScrollRightPaneLayoutProps, type DocumentTitleConfig, DocumentTitleProvider, type DragData, EXPANDABLE_HEADER, EditColumnsButton, EnvironmentBanner, EnvironmentBannerLayout, type EnvironmentBannerLayoutProps, type EnvironmentBannerProps, type EnvironmentFaviconUrls, ErrorMessage, FieldGroup, type Filter, type FilterDefs, type FilterImpls, FilterModal, _Filters as Filters, type FixedSort, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, FormSection$1 as FormSection, type FormSectionAction, type FormSectionConfig, FormSectionLayout, type FormSectionLayoutProps, type FormSectionProps, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowCompanion, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableEmptyState, type GridTableEmptyStateProps, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTablePropsWithRows, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, type HeaderAction, HelperText, HomeboundLogo, Icon, IconButton, type IconButtonProps, type IconButtonVariant, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type ImpersonatedUser, type InfiniteScroll, type InlineStyle, type InputStylePalette, JumpLink, type JumpLinkProps, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type LogoSizeProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectCardGroup, type MultiSelectCardGroupProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NavLinkProps, type NavLinkVariant, Navbar, NavbarLayout, type NavbarLayoutProps, type NavbarProps, type NavbarUser, 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, PageHeaderLayout, type PageHeaderLayoutProps, type PageNumberAndSize, type PageSettings, Pagination, Palette, PinToggle, type Placement, type PlainDate, type PlainFormSectionChild, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, type ReorderableFormSectionChild, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, 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, RuntimeCss, type RuntimeStyles, SIDE_NAV_LAYOUT_STATE_STORAGE_KEY, ScrollShadows, ScrollableContent, ScrollableFooter, ScrollableParent, type SelectCardGridGroupItemOption, SelectCardGroup, type SelectCardGroupItemOption, type SelectCardGroupProps, type SelectCardLayout, type SelectCardListGroupItemOption, type SelectCardView, SelectField, type SelectFieldProps, SelectToggle, type SelectedFilterLabelValue, type SelectedState, SideNav, SideNavLayout, type SideNavLayoutContextProps, type SideNavLayoutProps, SideNavLayoutProvider, type SideNavLayoutState, type SideNavProps, type SidePanelProps, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, StepperTab, type StepperTabProps, StepperTabs, type StepperTabsProps, type StepperTabsStep, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableReviewLayout, type TableReviewLayoutProps, TableState, TableStateContext, type TableView, Tabs, TabsWithContent, Tag, TagGroup, type TagGroupItem, type TagGroupProps, type TagProps, type TagType, type TagVariant, type TagXss, 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, Tokens, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, ViewToggleButton, WorkflowLayout, type WorkflowLayoutProps, type WorkflowLayoutStep, type Xss, type ZIndex, actionColumn, applyRowFn, assignDefaultColumnIds, bannerAndNavbarChromeTop, beamEnvironmentBannerLayoutHeightVar, beamFloatingRightOffsetVar, beamLayoutViewportHeightVar, beamLayoutViewportWidthVar, beamNavbarLayoutHeightVar, beamPageHeaderLayoutHeightVar, beamRightPaneWidthVar, beamSideNavLayoutWidthVar, beamTableActionsHeightVar, beamWorkflowLayoutFooterHeightVar, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundMultiSelectCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectCardGroupField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnLayout, calcColumnSizes, cardBadgeSlot, cardDataBlockSlot, cardEyebrowSlot, cardProgressSlot, cardStatusSlot, cardStyle, cardTitleSlot, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, contrastDataTheme, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultDocumentScrollRightPaneWidth, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, documentScrollChromeLeft, documentScrollChromeWidth, documentScrollRightPaneHeight, documentScrollRightPaneWidth, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, environmentBannerSizePx, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getActiveFilterCount, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getFloatingBottomOffset, getFloatingRightOffset, getJustification, getNavLinkStyles, getTableRefWidthStyles, getTableStyles, headerContentPaddingX, headerRenderFn, hoverStyles, increment, insertAtIndex, isContentColumn, isCursorBelowMidpoint, isGridCellContent, isGridTableProps, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, joinDocumentTitleSegments, layoutGutterLeftColumnId, layoutGutterRightColumnId, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeCssVar, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, pageContentGutterPx, pageContentPaddingX, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pinColumn, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveGridTableLayoutStyle, resolveTableContentWidth, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, setDefaultStyle, setEnvironmentFavicon, setGridTableDefaults, setRunningInJest, shouldShowEnvironmentBanner, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, stickyNavAndHeaderOffset, stickyTableHeaderOffset, sumColumnSizesPx, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBodyBackgroundColor, useBreakpoint, useComputed, useContentOverflow, useContrastScope, useDnDGridItem, type useDnDGridItemProps, useDocumentTitle, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHasSideNavLayoutProvider, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSideNavLayoutContext, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, withColumnGutters, zIndices };
10555
+ export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, type ActionButtonProps, AiBanner, type AiBannerProps, AiLoader, type AiLoaderProps, AiLoadingPanel, type AiLoadingPanelProps, AiPanel, type AiPanelProps, AiSlimBanner, type AiSlimBannerProps, type AppEnvironment, type AppNavGroup, type AppNavItem, type AppNavLink, type AppNavSection, type AppNavSectionItem, 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 BaseQueryTableProps, type BaseTableProps, type BeamButtonProps, type BeamColor, type BeamFocusableProps, BeamLogo, BeamProvider, type BeamTextFieldProps, BlueprintAiLogo, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectCardGroupField, type BoundMultiSelectCardGroupFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectCardGroupField, type BoundSelectCardGroupFieldProps, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breadcrumb, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBadgeSlot, type CardBadgeTag, type CardDataBlockSlot, type CardEyebrowSlot, type CardProgressSlot, type CardProps, type CardSlot, type CardStatusSlot, type CardTag, type CardTitleSlot, type CardType, CenteredLayout, type CenteredLayoutProps, type CenteredLayoutSize, 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, type ColumnLayoutResult, type CompanionConfig, type CompanionContent, type CompanionPosition, ConfirmCloseModal, ContentHeader, type ContentHeaderProps, type ContentStack, ContrastScope, Copy, CountBadge, type CountBadgeProps, Css, CssReset, type CssSetVarKeys, type CssSetVarScalar, type CssSetVarValue, DESC, DateField, type DateFieldFormat, type DateFieldMode, type DateFieldProps, type DateFilterValue, type DateMatcher, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type DefinedFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, DocumentScrollRightPaneLayout, type DocumentScrollRightPaneLayoutProps, type DocumentTitleConfig, DocumentTitleProvider, type DragData, EXPANDABLE_HEADER, EditColumnsButton, EnvironmentBanner, EnvironmentBannerLayout, type EnvironmentBannerLayoutProps, type EnvironmentBannerProps, type EnvironmentFaviconUrls, ErrorMessage, FieldGroup, type Filter, type FilterDefs, type FilterImpls, FilterModal, _Filters as Filters, type FixedSort, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, FormSection$1 as FormSection, type FormSectionAction, type FormSectionConfig, FormSectionLayout, type FormSectionLayoutProps, type FormSectionProps, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowCompanion, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableEmptyState, type GridTableEmptyStateProps, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTablePropsWithRows, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, type HeaderAction, HelperText, HomeboundLogo, Icon, IconButton, type IconButtonProps, type IconButtonVariant, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type ImpersonatedUser, type InfiniteScroll, type InlineStyle, type InputStylePalette, JumpLink, type JumpLinkProps, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type LogoSizeProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectCardGroup, type MultiSelectCardGroupProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NavLinkProps, type NavLinkVariant, Navbar, NavbarLayout, type NavbarLayoutProps, type NavbarProps, type NavbarUser, 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, PageHeaderLayout, type PageHeaderLayoutProps, type PageNumberAndSize, type PageSettings, Pagination, Palette, PinToggle, type Placement, type PlainDate, type PlainFormSectionChild, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, type ReorderableFormSectionChild, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, 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, RuntimeCss, type RuntimeStyles, SIDE_NAV_LAYOUT_STATE_STORAGE_KEY, ScrollShadows, ScrollableContent, ScrollableFooter, ScrollableParent, type SelectCardGridGroupItemOption, SelectCardGroup, type SelectCardGroupItemOption, type SelectCardGroupProps, type SelectCardLayout, type SelectCardListGroupItemOption, type SelectCardView, SelectField, type SelectFieldProps, SelectToggle, type SelectedFilterLabelValue, type SelectedState, SideNav, SideNavLayout, type SideNavLayoutContextProps, type SideNavLayoutProps, SideNavLayoutProvider, type SideNavLayoutState, type SideNavProps, type SidePanelProps, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, StepperTab, type StepperTabProps, StepperTabs, type StepperTabsProps, type StepperTabsStep, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableReviewLayout, type TableReviewLayoutProps, TableState, TableStateContext, type TableView, Tabs, TabsWithContent, Tag, TagGroup, type TagGroupItem, type TagGroupProps, type TagProps, type TagType, type TagVariant, type TagXss, 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, Tokens, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, ViewToggleButton, WorkflowLayout, type WorkflowLayoutProps, type WorkflowLayoutStep, type Xss, type ZIndex, actionColumn, applyRowFn, assignDefaultColumnIds, bannerAndNavbarChromeTop, beamEnvironmentBannerLayoutHeightVar, beamFloatingRightOffsetVar, beamLayoutContentPaddingXVar, beamLayoutViewportHeightVar, beamLayoutViewportWidthVar, beamNavbarLayoutHeightVar, beamPageHeaderLayoutHeightVar, beamRightPaneWidthVar, beamSideNavLayoutWidthVar, beamTableActionsHeightVar, beamWorkflowLayoutFooterHeightVar, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundMultiSelectCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectCardGroupField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnLayout, calcColumnSizes, cardBadgeSlot, cardDataBlockSlot, cardEyebrowSlot, cardProgressSlot, cardStatusSlot, cardStyle, cardTitleSlot, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, contrastDataTheme, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultDocumentScrollRightPaneWidth, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, documentScrollChromeLeft, documentScrollChromeWidth, documentScrollContentLeft, documentScrollContentWidth, documentScrollRightPaneHeight, documentScrollRightPaneWidth, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, environmentBannerSizePx, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getActiveFilterCount, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getFloatingBottomOffset, getFloatingRightOffset, getJustification, getNavLinkStyles, getTableRefWidthStyles, getTableStyles, headerContentPaddingX, headerRenderFn, hoverStyles, increment, insertAtIndex, isContentColumn, isCursorBelowMidpoint, isGridCellContent, isGridTableProps, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, joinDocumentTitleSegments, layoutGutterLeftColumnId, layoutGutterRightColumnId, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeCssVar, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, pageContentGutterPx, pageContentPaddingX, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pinColumn, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveGridTableLayoutStyle, resolveTableContentWidth, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, setDefaultStyle, setEnvironmentFavicon, setGridTableDefaults, setRunningInJest, shouldShowEnvironmentBanner, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, stickyNavAndHeaderOffset, stickyTableHeaderOffset, sumColumnSizesPx, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBodyBackgroundColor, useBreakpoint, useComputed, useContentOverflow, useContrastScope, useDnDGridItem, type useDnDGridItemProps, useDocumentTitle, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHasSideNavLayoutProvider, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSideNavLayoutContext, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, withColumnGutters, zIndices };