@homebound/beam 4.11.3 → 4.11.5

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
@@ -5843,7 +5843,7 @@ type GridStyleDef = {
5843
5843
  bordered?: boolean;
5844
5844
  /** Whether to show a hover effect on rows. Defaults to true */
5845
5845
  rowHover?: boolean;
5846
- /** Defines the vertical alignment of the content of the cells for the whole table (not including the 'header' rows). Defaults to `center` */
5846
+ /** Vertical alignment of body cell content (not headers). Defaults to `top` for flexible rows and `center` for fixed rows. */
5847
5847
  vAlign?: "top" | "center" | "bottom";
5848
5848
  /** Defines the Typography for the table body's cells (not the header). This only applies to rows that are not nested/grouped */
5849
5849
  cellTypography?: Typography;
@@ -5881,9 +5881,9 @@ declare const cardStyle: GridStyle;
5881
5881
  type InputStylePalette = "success" | "warning" | "caution" | "info";
5882
5882
  interface PresentationFieldProps {
5883
5883
  numberAlignment?: "left" | "right";
5884
- /** Sets the label position or visibility. Defaults to "above" */
5885
- labelStyle?: "inline" | "hidden" | "above" | "left";
5886
- /** Defines the width property of the input field wrapper when using `labelStyle="left"`. */
5884
+ /** Sets the label position or visibility. Defaults to "above"; "left" is deprecated. */
5885
+ labelStyle?: "inline" | "hidden" | "above" | /** @deprecated Use "above"; left labels are being retired. */ "left";
5886
+ /** @deprecated Defines the width property of the input field wrapper when using the deprecated `labelStyle="left"`. */
5887
5887
  labelLeftFieldWidth?: number | string;
5888
5888
  labelSuffix?: LabelSuffixStyle;
5889
5889
  borderless?: boolean;
package/dist/index.d.ts CHANGED
@@ -5843,7 +5843,7 @@ type GridStyleDef = {
5843
5843
  bordered?: boolean;
5844
5844
  /** Whether to show a hover effect on rows. Defaults to true */
5845
5845
  rowHover?: boolean;
5846
- /** Defines the vertical alignment of the content of the cells for the whole table (not including the 'header' rows). Defaults to `center` */
5846
+ /** Vertical alignment of body cell content (not headers). Defaults to `top` for flexible rows and `center` for fixed rows. */
5847
5847
  vAlign?: "top" | "center" | "bottom";
5848
5848
  /** Defines the Typography for the table body's cells (not the header). This only applies to rows that are not nested/grouped */
5849
5849
  cellTypography?: Typography;
@@ -5881,9 +5881,9 @@ declare const cardStyle: GridStyle;
5881
5881
  type InputStylePalette = "success" | "warning" | "caution" | "info";
5882
5882
  interface PresentationFieldProps {
5883
5883
  numberAlignment?: "left" | "right";
5884
- /** Sets the label position or visibility. Defaults to "above" */
5885
- labelStyle?: "inline" | "hidden" | "above" | "left";
5886
- /** Defines the width property of the input field wrapper when using `labelStyle="left"`. */
5884
+ /** Sets the label position or visibility. Defaults to "above"; "left" is deprecated. */
5885
+ labelStyle?: "inline" | "hidden" | "above" | /** @deprecated Use "above"; left labels are being retired. */ "left";
5886
+ /** @deprecated Defines the width property of the input field wrapper when using the deprecated `labelStyle="left"`. */
5887
5887
  labelLeftFieldWidth?: number | string;
5888
5888
  labelSuffix?: LabelSuffixStyle;
5889
5889
  borderless?: boolean;
package/dist/index.js CHANGED
@@ -8867,7 +8867,7 @@ function memoizedTableStyles() {
8867
8867
  cellHighlight = false,
8868
8868
  allWhite = false,
8869
8869
  bordered = false,
8870
- vAlign = "center",
8870
+ vAlign = rowHeight === "fixed" ? "center" : "top",
8871
8871
  cellTypography = "xs",
8872
8872
  highlightOnHover = true,
8873
8873
  roundedHeader = true
@@ -11130,7 +11130,7 @@ function TextFieldBase(props) {
11130
11130
  ] })
11131
11131
  ] }),
11132
11132
  labelStyle === "left" && (originalBelow || alwaysShowHelperText || !compound && !inputProps.disabled && !inputProps.readOnly && (errorMsg && !errorInTooltip || helperText)) && // Reduces the margin between the error/helper text and input field
11133
- /* @__PURE__ */ jsxs20("div", { className: "mt_neg8px", children: [
11133
+ /* @__PURE__ */ jsxs20("div", { className: "mt_neg8px ml_50", children: [
11134
11134
  originalBelow && /* @__PURE__ */ jsx36(OriginalValue, { originalValue: originalBelow, ...tid.originalValue }),
11135
11135
  showErrorAndHelper && /* @__PURE__ */ jsxs20(Fragment13, { children: [
11136
11136
  errorMsg && !errorInTooltip && /* @__PURE__ */ jsx36(ErrorMessage, { id: errorMessageId, errorMsg, hidden: hideErrorMessage, ...tid.errorMsg }),