@homebound/beam 4.14.2 → 4.14.3

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
@@ -8325,9 +8325,7 @@ type ContentHeaderProps<X = ContentHeaderXss> = {
8325
8325
  * so the containing block grows to match the full scrollable width — the same technique `GridTable`
8326
8326
  * uses internally for its own sticky columns (`src/components/Table/GridTable.tsx`).
8327
8327
  *
8328
- * Apply horizontal inset via `xss` when the header should align with padded body content; omit for
8329
- * full-bleed within the page column. `layoutContainer` honors `--beam-layout-content-padding-x`
8330
- * from padded ancestors (e.g. {@link CenteredLayout}).
8328
+ * `layoutContainer` honors `--beam-layout-content-padding-x` from padded ancestors (e.g. {@link CenteredLayout}).
8331
8329
  */
8332
8330
  declare function ContentHeader<X extends Only<ContentHeaderXss, X>>(props: ContentHeaderProps<X>): React$1.JSX.Element | null;
8333
8331
 
@@ -10139,7 +10137,7 @@ declare const layoutGutterRightColumnId = "beamLayoutGutterRight";
10139
10137
  /** True for columns that display row data (not action controls or layout gutters). */
10140
10138
  declare function isContentColumn(column: Pick<GridColumn<Kinded>, "isAction" | "isLayoutGutter">): boolean;
10141
10139
  /** Prepends and appends layout gutter columns for document-scroll table alignment. */
10142
- declare function withColumnGutters<T extends Kinded>(columns: GridColumn<T>[]): GridColumn<T>[];
10140
+ declare function withColumnGutters<T extends Kinded>(columns: GridColumn<T>[], gutterPx?: number): GridColumn<T>[];
10143
10141
  declare function parseWidthToPx(widthStr: string | undefined, tableWidth: number | undefined): number | null;
10144
10142
  /** Sum resolved column sizes in px; returns null when any size is still a calc() expression. */
10145
10143
  declare function sumColumnSizesPx(columnSizes: string[], tableWidth: number | undefined): number | null;
@@ -10989,10 +10987,11 @@ declare function FormSectionLayout(props: FormSectionLayoutProps): React$1.JSX.E
10989
10987
 
10990
10988
  /**
10991
10989
  * Empty table gutter column width. Default cell pad is 12px and gutters use `px0`, so
10992
- * gutter + cell pad = page content inset (`px3` / 24).
10990
+ * gutter + cell pad = page content inset at `mdAndUp` (24). Kept at 12 on `sm` so companion
10991
+ * chrome and first-column text stay inset from the viewport edge.
10993
10992
  */
10994
10993
  declare const pageContentGutterPx = 12;
10995
- /** Horizontal inset for page body / page header content. */
10994
+ /** Horizontal inset for page body / page header content: 12px below `md`, 24px at `mdAndUp`. */
10996
10995
  declare const pageContentPaddingX: Pick<Properties, never> & {
10997
10996
  paddingLeft: csstype.Property.PaddingLeft<string | 0> | undefined;
10998
10997
  } & {
package/dist/index.d.ts CHANGED
@@ -8325,9 +8325,7 @@ type ContentHeaderProps<X = ContentHeaderXss> = {
8325
8325
  * so the containing block grows to match the full scrollable width — the same technique `GridTable`
8326
8326
  * uses internally for its own sticky columns (`src/components/Table/GridTable.tsx`).
8327
8327
  *
8328
- * Apply horizontal inset via `xss` when the header should align with padded body content; omit for
8329
- * full-bleed within the page column. `layoutContainer` honors `--beam-layout-content-padding-x`
8330
- * from padded ancestors (e.g. {@link CenteredLayout}).
8328
+ * `layoutContainer` honors `--beam-layout-content-padding-x` from padded ancestors (e.g. {@link CenteredLayout}).
8331
8329
  */
8332
8330
  declare function ContentHeader<X extends Only<ContentHeaderXss, X>>(props: ContentHeaderProps<X>): React$1.JSX.Element | null;
8333
8331
 
@@ -10139,7 +10137,7 @@ declare const layoutGutterRightColumnId = "beamLayoutGutterRight";
10139
10137
  /** True for columns that display row data (not action controls or layout gutters). */
10140
10138
  declare function isContentColumn(column: Pick<GridColumn<Kinded>, "isAction" | "isLayoutGutter">): boolean;
10141
10139
  /** Prepends and appends layout gutter columns for document-scroll table alignment. */
10142
- declare function withColumnGutters<T extends Kinded>(columns: GridColumn<T>[]): GridColumn<T>[];
10140
+ declare function withColumnGutters<T extends Kinded>(columns: GridColumn<T>[], gutterPx?: number): GridColumn<T>[];
10143
10141
  declare function parseWidthToPx(widthStr: string | undefined, tableWidth: number | undefined): number | null;
10144
10142
  /** Sum resolved column sizes in px; returns null when any size is still a calc() expression. */
10145
10143
  declare function sumColumnSizesPx(columnSizes: string[], tableWidth: number | undefined): number | null;
@@ -10989,10 +10987,11 @@ declare function FormSectionLayout(props: FormSectionLayoutProps): React$1.JSX.E
10989
10987
 
10990
10988
  /**
10991
10989
  * Empty table gutter column width. Default cell pad is 12px and gutters use `px0`, so
10992
- * gutter + cell pad = page content inset (`px3` / 24).
10990
+ * gutter + cell pad = page content inset at `mdAndUp` (24). Kept at 12 on `sm` so companion
10991
+ * chrome and first-column text stay inset from the viewport edge.
10993
10992
  */
10994
10993
  declare const pageContentGutterPx = 12;
10995
- /** Horizontal inset for page body / page header content. */
10994
+ /** Horizontal inset for page body / page header content: 12px below `md`, 24px at `mdAndUp`. */
10996
10995
  declare const pageContentPaddingX: Pick<Properties, never> & {
10997
10996
  paddingLeft: csstype.Property.PaddingLeft<string | 0> | undefined;
10998
10997
  } & {