@homebound/beam 3.99.2 → 3.100.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
@@ -3775,7 +3775,7 @@ declare class CssBuilder<T extends Properties, S extends StyleKind = "buildtime"
3775
3775
  } & {
3776
3776
  lineHeight: csstype.Property.LineHeight<string | 0> | undefined;
3777
3777
  }, S>;
3778
- /** Sets `fontWeight: 600; fontSize: "30px"; lineHeight: "36px"`. */
3778
+ /** Sets `fontWeight: 600; fontSize: "24px"; lineHeight: "32px"`. */
3779
3779
  get xl2(): CssBuilder<T & {
3780
3780
  fontWeight: csstype.Property.FontWeight | undefined;
3781
3781
  } & {
@@ -4822,6 +4822,7 @@ type TagXss = Margin | "backgroundColor" | "color";
4822
4822
  type TagType = "info" | "update" | "warning" | "error" | "success" | "neutral" | "ai";
4823
4823
  type TagVariant = "primary" | "secondary";
4824
4824
  type TagPropsBase<X> = {
4825
+ /** Required even if using `iconOnly + preventTooltip`. In those cases an accessibility friendly message is expected */
4825
4826
  text: ReactNode;
4826
4827
  type?: TagType;
4827
4828
  /** Defaults to "primary". Secondary is intended for use in TagGroup. */
@@ -10336,7 +10337,7 @@ type Tab<V extends string = string> = {
10336
10337
  value: V;
10337
10338
  icon?: IconKey;
10338
10339
  endAdornment?: ReactNode;
10339
- /** Whether the tab's content is AI-driven, which adds AiBadge. Takes precedence over `icon` and `endAdornment`. */
10340
+ /** Whether the tab's content is AI-driven, which adds an AI tag. Takes precedence over `icon` and `endAdornment`. */
10340
10341
  aiMode?: boolean;
10341
10342
  /** Whether the Tab is disabled. If a ReactNode, it's treated as a "disabled reason" that's shown in a tooltip. */
10342
10343
  disabled?: boolean | ReactNode;
package/dist/index.d.ts CHANGED
@@ -3775,7 +3775,7 @@ declare class CssBuilder<T extends Properties, S extends StyleKind = "buildtime"
3775
3775
  } & {
3776
3776
  lineHeight: csstype.Property.LineHeight<string | 0> | undefined;
3777
3777
  }, S>;
3778
- /** Sets `fontWeight: 600; fontSize: "30px"; lineHeight: "36px"`. */
3778
+ /** Sets `fontWeight: 600; fontSize: "24px"; lineHeight: "32px"`. */
3779
3779
  get xl2(): CssBuilder<T & {
3780
3780
  fontWeight: csstype.Property.FontWeight | undefined;
3781
3781
  } & {
@@ -4822,6 +4822,7 @@ type TagXss = Margin | "backgroundColor" | "color";
4822
4822
  type TagType = "info" | "update" | "warning" | "error" | "success" | "neutral" | "ai";
4823
4823
  type TagVariant = "primary" | "secondary";
4824
4824
  type TagPropsBase<X> = {
4825
+ /** Required even if using `iconOnly + preventTooltip`. In those cases an accessibility friendly message is expected */
4825
4826
  text: ReactNode;
4826
4827
  type?: TagType;
4827
4828
  /** Defaults to "primary". Secondary is intended for use in TagGroup. */
@@ -10336,7 +10337,7 @@ type Tab<V extends string = string> = {
10336
10337
  value: V;
10337
10338
  icon?: IconKey;
10338
10339
  endAdornment?: ReactNode;
10339
- /** Whether the tab's content is AI-driven, which adds AiBadge. Takes precedence over `icon` and `endAdornment`. */
10340
+ /** Whether the tab's content is AI-driven, which adds an AI tag. Takes precedence over `icon` and `endAdornment`. */
10340
10341
  aiMode?: boolean;
10341
10342
  /** Whether the Tab is disabled. If a ReactNode, it's treated as a "disabled reason" that's shown in a tooltip. */
10342
10343
  disabled?: boolean | ReactNode;
package/dist/index.js CHANGED
@@ -3503,9 +3503,9 @@ var CssBuilder = class _CssBuilder {
3503
3503
  get xl() {
3504
3504
  return this.add("fontWeight", 600).add("fontSize", "20px").add("lineHeight", "28px");
3505
3505
  }
3506
- /** Sets `fontWeight: 600; fontSize: "30px"; lineHeight: "36px"`. */
3506
+ /** Sets `fontWeight: 600; fontSize: "24px"; lineHeight: "32px"`. */
3507
3507
  get xl2() {
3508
- return this.add("fontWeight", 600).add("fontSize", "30px").add("lineHeight", "36px");
3508
+ return this.add("fontWeight", 600).add("fontSize", "24px").add("lineHeight", "32px");
3509
3509
  }
3510
3510
  // typography
3511
3511
  /** Sets `maxWidth: "30em"`. */
@@ -8523,8 +8523,8 @@ var __typography = {
8523
8523
  },
8524
8524
  xl2: {
8525
8525
  fontWeight: "fw6",
8526
- fontSize: "fz_30px",
8527
- lineHeight: "lh_36px"
8526
+ fontSize: "fz_24px",
8527
+ lineHeight: "lh_32px"
8528
8528
  }
8529
8529
  };
8530
8530
  var insetSeparator = `inset 0 -1px 0 ${maybeCssVar("--b-surface-separator" /* SurfaceSeparator */)}`;
@@ -9001,8 +9001,8 @@ var __typography2 = {
9001
9001
  },
9002
9002
  xl2: {
9003
9003
  fontWeight: "fw6",
9004
- fontSize: "fz_30px",
9005
- lineHeight: "lh_36px"
9004
+ fontSize: "fz_24px",
9005
+ lineHeight: "lh_32px"
9006
9006
  }
9007
9007
  };
9008
9008
  function maybeApplyFunction(row, maybeFn) {
@@ -9468,8 +9468,8 @@ var __typography3 = {
9468
9468
  },
9469
9469
  xl2: {
9470
9470
  fontWeight: "fw6",
9471
- fontSize: "fz_30px",
9472
- lineHeight: "lh_36px"
9471
+ fontSize: "fz_24px",
9472
+ lineHeight: "lh_32px"
9473
9473
  }
9474
9474
  };
9475
9475
  function TextFieldBase(props) {
@@ -10155,8 +10155,8 @@ var __typography4 = {
10155
10155
  },
10156
10156
  xl2: {
10157
10157
  fontWeight: "fw6",
10158
- fontSize: "fz_30px",
10159
- lineHeight: "lh_36px"
10158
+ fontSize: "fz_24px",
10159
+ lineHeight: "lh_32px"
10160
10160
  }
10161
10161
  };
10162
10162
  function Avatar({
@@ -19510,8 +19510,8 @@ function Modal(props) {
19510
19510
  const title = /* @__PURE__ */ jsx118("h1", { ...trussProps80({
19511
19511
  flexGrow: "fg1",
19512
19512
  fontWeight: "fw6",
19513
- fontSize: "fz_30px",
19514
- lineHeight: "lh_36px",
19513
+ fontSize: "fz_24px",
19514
+ lineHeight: "lh_32px",
19515
19515
  ...aiMode ? {
19516
19516
  color: "purple700",
19517
19517
  backgroundImage: "aiBoldBg",
@@ -22139,7 +22139,7 @@ function PageHeader(props) {
22139
22139
  /* @__PURE__ */ jsxs79("div", { className: "pt2 pb2 pl3 pr3 df jcsb aic", children: [
22140
22140
  /* @__PURE__ */ jsxs79("div", { children: [
22141
22141
  breadCrumb && /* @__PURE__ */ jsx160(PageHeaderBreadcrumbs, { breadcrumb: breadCrumb }),
22142
- /* @__PURE__ */ jsx160("h1", { className: "fw6 fz_30px lh_36px", ...tids.pageTitle, children: pageTitle })
22142
+ /* @__PURE__ */ jsx160("h1", { className: "fw6 fz_24px lh_32px", ...tids.pageTitle, children: pageTitle })
22143
22143
  ] }),
22144
22144
  /* @__PURE__ */ jsxs79("div", { className: "df gap1", children: [
22145
22145
  tertiaryAction && /* @__PURE__ */ jsx160(Button, { label: tertiaryAction.label, onClick: tertiaryAction.onClick, variant: "tertiary", disabled: tertiaryAction.disabled, tooltip: tertiaryAction.tooltip }),
@@ -24188,7 +24188,7 @@ function TableReviewLayout(props) {
24188
24188
  /* @__PURE__ */ jsxs94("div", { className: "df jcsb aic", children: [
24189
24189
  /* @__PURE__ */ jsxs94("div", { children: [
24190
24190
  breadCrumb && /* @__PURE__ */ jsx191(PageHeaderBreadcrumbs, { breadcrumb: breadCrumb }),
24191
- /* @__PURE__ */ jsx191("h1", { className: "fw6 fz_30px lh_36px mt1 mb0", ...tid.pageTitle, children: pageTitle })
24191
+ /* @__PURE__ */ jsx191("h1", { className: "fw6 fz_24px lh_32px mt1 mb0", ...tid.pageTitle, children: pageTitle })
24192
24192
  ] }),
24193
24193
  /* @__PURE__ */ jsx191(Button, { label: "Close", onClick: closeAction, ...tid.closeButton })
24194
24194
  ] }),
@@ -27048,7 +27048,7 @@ function SuperDrawerHeader(props) {
27048
27048
  return createPortal8(/* @__PURE__ */ jsxs114("div", { className: "df aic jcsb gap3", ...tid, children: [
27049
27049
  isStructuredProps(props) ? /* @__PURE__ */ jsxs114("div", { className: "df jcsb aic gap2 fg1", children: [
27050
27050
  /* @__PURE__ */ jsxs114("div", { className: "fg1 df aic gap2", children: [
27051
- /* @__PURE__ */ jsx221("h1", { className: "fw6 fz_30px lh_36px", children: props.title }),
27051
+ /* @__PURE__ */ jsx221("h1", { className: "fw6 fz_24px lh_32px", children: props.title }),
27052
27052
  props.left
27053
27053
  ] }),
27054
27054
  props.right && /* @__PURE__ */ jsx221("div", { className: "fs0", children: props.right })
@@ -27479,6 +27479,7 @@ function TabImpl(props) {
27479
27479
  aiStyles
27480
27480
  } = useMemo56(() => getTabStyles(), []);
27481
27481
  const uniqueValue = uniqueTabValue(tab);
27482
+ const tid = useTestIds(others);
27482
27483
  const tabProps = {
27483
27484
  "aria-controls": `${uniqueValue}-tabPanel`,
27484
27485
  "aria-selected": active,
@@ -27505,7 +27506,7 @@ function TabImpl(props) {
27505
27506
  onClick: () => onClick(tab.value)
27506
27507
  }
27507
27508
  });
27508
- const decoration = aiMode ? /* @__PURE__ */ jsx224(AiBadge, {}) : icon ? /* @__PURE__ */ jsx224(Icon, { icon }) : endAdornment;
27509
+ const decoration = aiMode ? /* @__PURE__ */ jsx224(Tag, { text: "Tab has AI proposals ready for review", preventTooltip: true, icon: "aiStar", type: "ai", variant: "primary", iconOnly: true, ...tid.aiTag }) : icon ? /* @__PURE__ */ jsx224(Icon, { icon }) : endAdornment;
27509
27510
  const tabLabel = /* @__PURE__ */ jsxs116(Fragment50, { children: [
27510
27511
  label,
27511
27512
  decoration && /* @__PURE__ */ jsx224("span", { className: "ml1 df aic", children: decoration })