@homebound/beam 3.99.3 → 3.101.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/Css.json CHANGED
@@ -815,7 +815,7 @@
815
815
  "mdSb": {"kind":"static","defs":{"fontWeight":600,"fontSize":"16px","lineHeight":"24px"}},
816
816
  "lg": {"kind":"static","defs":{"fontWeight":600,"fontSize":"18px","lineHeight":"28px"}},
817
817
  "xl": {"kind":"static","defs":{"fontWeight":600,"fontSize":"20px","lineHeight":"28px"}},
818
- "xl2": {"kind":"static","defs":{"fontWeight":600,"fontSize":"30px","lineHeight":"36px"}},
818
+ "xl2": {"kind":"static","defs":{"fontWeight":600,"fontSize":"24px","lineHeight":"32px"}},
819
819
  "measure": {"kind":"static","defs":{"maxWidth":"30em"}},
820
820
  "measureWide": {"kind":"static","defs":{"maxWidth":"34em"}},
821
821
  "measureNarrow": {"kind":"static","defs":{"maxWidth":"20em"}},
package/dist/index.cjs CHANGED
@@ -3905,9 +3905,9 @@ var CssBuilder = class _CssBuilder {
3905
3905
  get xl() {
3906
3906
  return this.add("fontWeight", 600).add("fontSize", "20px").add("lineHeight", "28px");
3907
3907
  }
3908
- /** Sets `fontWeight: 600; fontSize: "30px"; lineHeight: "36px"`. */
3908
+ /** Sets `fontWeight: 600; fontSize: "24px"; lineHeight: "32px"`. */
3909
3909
  get xl2() {
3910
- return this.add("fontWeight", 600).add("fontSize", "30px").add("lineHeight", "36px");
3910
+ return this.add("fontWeight", 600).add("fontSize", "24px").add("lineHeight", "32px");
3911
3911
  }
3912
3912
  // typography
3913
3913
  /** Sets `maxWidth: "30em"`. */
@@ -7217,6 +7217,7 @@ var RowState = class {
7217
7217
  {
7218
7218
  _row: false,
7219
7219
  _data: import_mobx5.observable.ref,
7220
+ _aiMode: import_mobx5.observable.ref,
7220
7221
  isCalculatingDirectMatch: false
7221
7222
  },
7222
7223
  { name: `RowState@${row.id}` }
@@ -7246,6 +7247,7 @@ var RowState = class {
7246
7247
  * at which point this would become `"top" | "bottom"`.
7247
7248
  */
7248
7249
  pinned = false;
7250
+ _aiMode;
7249
7251
  /** Whether we are dragged over. */
7250
7252
  isDraggedOver = 0 /* None */;
7251
7253
  /**
@@ -7276,6 +7278,11 @@ var RowState = class {
7276
7278
  set row(row) {
7277
7279
  this._row = row;
7278
7280
  this._data = row.data;
7281
+ if (this._aiMode !== row.aiMode) this._aiMode = row.aiMode;
7282
+ }
7283
+ /** True when `row.aiMode` is true or its function returns true. */
7284
+ get aiMode() {
7285
+ return !!maybeApply(this._aiMode);
7279
7286
  }
7280
7287
  /**
7281
7288
  * Whether we match a client-side filter; true if no filter is in place.
@@ -9030,8 +9037,8 @@ var __typography = {
9030
9037
  },
9031
9038
  xl2: {
9032
9039
  fontWeight: "fw6",
9033
- fontSize: "fz_30px",
9034
- lineHeight: "lh_36px"
9040
+ fontSize: "fz_24px",
9041
+ lineHeight: "lh_32px"
9035
9042
  }
9036
9043
  };
9037
9044
  var insetSeparator = `inset 0 -1px 0 ${maybeCssVar("--b-surface-separator" /* SurfaceSeparator */)}`;
@@ -9508,8 +9515,8 @@ var __typography2 = {
9508
9515
  },
9509
9516
  xl2: {
9510
9517
  fontWeight: "fw6",
9511
- fontSize: "fz_30px",
9512
- lineHeight: "lh_36px"
9518
+ fontSize: "fz_24px",
9519
+ lineHeight: "lh_32px"
9513
9520
  }
9514
9521
  };
9515
9522
  function maybeApplyFunction(row, maybeFn) {
@@ -9555,7 +9562,8 @@ function RowImpl(props) {
9555
9562
  isKept: isKeptRow,
9556
9563
  isLastKeptRow,
9557
9564
  pinned,
9558
- level
9565
+ level,
9566
+ aiMode
9559
9567
  } = rs;
9560
9568
  const isHeader = row.kind === HEADER;
9561
9569
  const isTotals = row.kind === TOTALS;
@@ -9581,7 +9589,7 @@ function RowImpl(props) {
9581
9589
  paddingBottom: "pb_25px"
9582
9590
  }
9583
9591
  };
9584
- const rowHoverBg = maybeCssVar(style.rowHoverColor !== void 0 && style.rowHoverColor !== "none" ? style.rowHoverColor : "--b-surface-hover" /* SurfaceHover */);
9592
+ const rowHoverBg = maybeCssVar(aiMode && !reservedRowKinds.includes(row.kind) ? "rgba(237, 233, 254, 1)" /* Purple100 */ : style.rowHoverColor !== void 0 && style.rowHoverColor !== "none" ? style.rowHoverColor : "--b-surface-hover" /* SurfaceHover */);
9585
9593
  const rowCss = {
9586
9594
  ...!reservedRowKinds.includes(row.kind) && style.nonHeaderRowCss,
9587
9595
  ...isFirstBodyRow && style.firstBodyRowCss,
@@ -9771,6 +9779,12 @@ function RowImpl(props) {
9771
9779
  ...isLastKeptRow && style.keptLastRowCss,
9772
9780
  // Apply the blue highlight to every runtime-pinned row's cells (wins over `isActive`)
9773
9781
  ...pinned && style.pinnedRowCss,
9782
+ // AI wash wins over pinned/active; reserved kinds never get it.
9783
+ ...aiMode && !reservedRowKinds.includes(row.kind) && {
9784
+ backgroundColor: ["bgColor_var", {
9785
+ "--backgroundColor": "var(--b-ai-field-bg)"
9786
+ }]
9787
+ },
9774
9788
  // Apply cell highlight styles to active cell and hover
9775
9789
  ...{
9776
9790
  ...applyCellHighlight && isCellActive ? {
@@ -9975,8 +9989,8 @@ var __typography3 = {
9975
9989
  },
9976
9990
  xl2: {
9977
9991
  fontWeight: "fw6",
9978
- fontSize: "fz_30px",
9979
- lineHeight: "lh_36px"
9992
+ fontSize: "fz_24px",
9993
+ lineHeight: "lh_32px"
9980
9994
  }
9981
9995
  };
9982
9996
  function TextFieldBase(props) {
@@ -10662,8 +10676,8 @@ var __typography4 = {
10662
10676
  },
10663
10677
  xl2: {
10664
10678
  fontWeight: "fw6",
10665
- fontSize: "fz_30px",
10666
- lineHeight: "lh_36px"
10679
+ fontSize: "fz_24px",
10680
+ lineHeight: "lh_32px"
10667
10681
  }
10668
10682
  };
10669
10683
  function Avatar({
@@ -17853,6 +17867,7 @@ function RowGroup(props) {
17853
17867
  }
17854
17868
 
17855
17869
  // src/components/Table/components/TableCard.tsx
17870
+ var import_mobx_react2 = require("mobx-react");
17856
17871
  var import_react89 = require("react");
17857
17872
  var import_react_aria48 = require("react-aria");
17858
17873
  var import_react_router_dom4 = require("react-router-dom");
@@ -18014,7 +18029,7 @@ var import_jsx_runtime97 = require("react/jsx-runtime");
18014
18029
  var __maybeInc13 = (inc) => {
18015
18030
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
18016
18031
  };
18017
- function TableCard(props) {
18032
+ function TableCardImpl(props) {
18018
18033
  const {
18019
18034
  rs,
18020
18035
  columns,
@@ -18071,8 +18086,9 @@ function TableCard(props) {
18071
18086
  }
18072
18087
  if (!title) return null;
18073
18088
  const onClick = rowStyle?.onClick;
18074
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(TableCardView, { ...tid, imgSrc: rs.row.imgSrc ?? "", title, leftEyebrow, rightEyebrow, badge, badgeTags, status, data: dataBlocks, progress, interactiveFooter, to: rowStyle?.rowLink?.(rs.row), onClick: onClick ? () => onClick(rs.row, api) : void 0, height, imageFit });
18089
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(TableCardView, { ...tid, imgSrc: rs.row.imgSrc ?? "", title, leftEyebrow, rightEyebrow, badge, badgeTags, status, data: dataBlocks, progress, interactiveFooter, to: rowStyle?.rowLink?.(rs.row), onClick: onClick ? () => onClick(rs.row, api) : void 0, height, imageFit, aiMode: rs.aiMode });
18075
18090
  }
18091
+ var TableCard = (0, import_mobx_react2.observer)(TableCardImpl);
18076
18092
  function TableCardView(props) {
18077
18093
  const {
18078
18094
  title,
@@ -18088,7 +18104,8 @@ function TableCardView(props) {
18088
18104
  to,
18089
18105
  onClick,
18090
18106
  height = 430,
18091
- imageFit = "cover"
18107
+ imageFit = "cover",
18108
+ aiMode = false
18092
18109
  } = props;
18093
18110
  const tid = useTestIds(props, "tableCardView");
18094
18111
  const action = to || onClick;
@@ -18238,7 +18255,7 @@ function TableCardView(props) {
18238
18255
  "--borderColor": "var(--b-field-border-default)"
18239
18256
  }],
18240
18257
  backgroundColor: ["bgColor_var", {
18241
- "--backgroundColor": "var(--b-surface-raised)"
18258
+ "--backgroundColor": (0, import_runtime71.maybeCssVar)(aiMode ? "--b-ai-field-bg" /* AiFieldBg */ : "--b-surface-raised" /* SurfaceRaised */)
18242
18259
  }],
18243
18260
  height: ["h_var", {
18244
18261
  "--height": `${height}px`
@@ -20017,8 +20034,8 @@ function Modal(props) {
20017
20034
  const title = /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("h1", { ...(0, import_runtime88.trussProps)({
20018
20035
  flexGrow: "fg1",
20019
20036
  fontWeight: "fw6",
20020
- fontSize: "fz_30px",
20021
- lineHeight: "lh_36px",
20037
+ fontSize: "fz_24px",
20038
+ lineHeight: "lh_32px",
20022
20039
  ...aiMode ? {
20023
20040
  color: "purple700",
20024
20041
  backgroundImage: "aiBoldBg",
@@ -20526,7 +20543,7 @@ var import_react114 = __toESM(require("react"), 1);
20526
20543
  var import_react_aria53 = require("react-aria");
20527
20544
 
20528
20545
  // src/forms/BoundCheckboxField.tsx
20529
- var import_mobx_react2 = require("mobx-react");
20546
+ var import_mobx_react3 = require("mobx-react");
20530
20547
 
20531
20548
  // src/utils/defaultLabel.ts
20532
20549
  var import_change_case6 = require("change-case");
@@ -20547,7 +20564,7 @@ function BoundCheckboxField(props) {
20547
20564
  ...others
20548
20565
  } = props;
20549
20566
  const testId = useTestIds(props, field.key);
20550
- return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_mobx_react2.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
20567
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_mobx_react3.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
20551
20568
  Checkbox,
20552
20569
  {
20553
20570
  label,
@@ -20573,7 +20590,7 @@ function BoundCheckboxField(props) {
20573
20590
  }
20574
20591
 
20575
20592
  // src/forms/BoundCheckboxGroupField.tsx
20576
- var import_mobx_react3 = require("mobx-react");
20593
+ var import_mobx_react4 = require("mobx-react");
20577
20594
  var import_jsx_runtime124 = require("react/jsx-runtime");
20578
20595
  function BoundCheckboxGroupField(props) {
20579
20596
  const {
@@ -20585,7 +20602,7 @@ function BoundCheckboxGroupField(props) {
20585
20602
  ...others
20586
20603
  } = props;
20587
20604
  const testId = useTestIds(props, field.key);
20588
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_mobx_react3.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
20605
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_mobx_react4.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
20589
20606
  CheckboxGroup,
20590
20607
  {
20591
20608
  label,
@@ -20611,7 +20628,7 @@ function BoundCheckboxGroupField(props) {
20611
20628
  }
20612
20629
 
20613
20630
  // src/forms/BoundChipSelectField.tsx
20614
- var import_mobx_react4 = require("mobx-react");
20631
+ var import_mobx_react5 = require("mobx-react");
20615
20632
  var import_jsx_runtime125 = require("react/jsx-runtime");
20616
20633
  function BoundChipSelectField(props) {
20617
20634
  const {
@@ -20628,7 +20645,7 @@ function BoundChipSelectField(props) {
20628
20645
  ...others
20629
20646
  } = props;
20630
20647
  const testId = useTestIds(props, field.key);
20631
- return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_mobx_react4.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
20648
+ return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_mobx_react5.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
20632
20649
  ChipSelectField,
20633
20650
  {
20634
20651
  label,
@@ -20658,7 +20675,7 @@ function BoundChipSelectField(props) {
20658
20675
  }
20659
20676
 
20660
20677
  // src/forms/BoundDateField.tsx
20661
- var import_mobx_react5 = require("mobx-react");
20678
+ var import_mobx_react6 = require("mobx-react");
20662
20679
  var import_jsx_runtime126 = require("react/jsx-runtime");
20663
20680
  function BoundDateField(props) {
20664
20681
  const {
@@ -20672,7 +20689,7 @@ function BoundDateField(props) {
20672
20689
  ...others
20673
20690
  } = props;
20674
20691
  const testId = useTestIds(props, field.key);
20675
- return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_mobx_react5.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
20692
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_mobx_react6.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
20676
20693
  DateField,
20677
20694
  {
20678
20695
  label,
@@ -20703,7 +20720,7 @@ function BoundDateField(props) {
20703
20720
  }
20704
20721
 
20705
20722
  // src/forms/BoundDateRangeField.tsx
20706
- var import_mobx_react6 = require("mobx-react");
20723
+ var import_mobx_react7 = require("mobx-react");
20707
20724
  var import_jsx_runtime127 = require("react/jsx-runtime");
20708
20725
  function BoundDateRangeField(props) {
20709
20726
  const {
@@ -20717,7 +20734,7 @@ function BoundDateRangeField(props) {
20717
20734
  ...others
20718
20735
  } = props;
20719
20736
  const testId = useTestIds(props, field.key);
20720
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_mobx_react6.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
20737
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_mobx_react7.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
20721
20738
  DateRangeField,
20722
20739
  {
20723
20740
  label,
@@ -20751,7 +20768,7 @@ function BoundDateRangeField(props) {
20751
20768
  var import_react103 = require("react");
20752
20769
 
20753
20770
  // src/forms/BoundListField.tsx
20754
- var import_mobx_react7 = require("mobx-react");
20771
+ var import_mobx_react8 = require("mobx-react");
20755
20772
  var import_jsx_runtime128 = require("react/jsx-runtime");
20756
20773
  function ListField({
20757
20774
  row,
@@ -20769,7 +20786,7 @@ function ListField({
20769
20786
  const tid = useTestIds({}, "listField");
20770
20787
  const filteredRows = useComputed(() => filterDeleted ? listFieldObjectState.rows.filter((rowState) => filterDeleted(rowState)) : listFieldObjectState.rows, [filterDeleted]);
20771
20788
  const listIsValid = useComputed(() => listFieldObjectState.valid, [filteredRows]);
20772
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_mobx_react7.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("div", { className: "df fdc gap3", ...tid, children: [
20789
+ return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_mobx_react8.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("div", { className: "df fdc gap3", ...tid, children: [
20773
20790
  filteredRows.map((rowState, index) => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(ListFieldRowInputs, { rowState, rowNumber: index + 1, listFieldConfig, formState, listFieldKey }, `listFieldRowInputs-${listFieldKey}-${index}`)),
20774
20791
  /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Button, { icon: "plus", label: `Add ${listFieldConfig.name}`, onClick: () => onNew(listFieldObjectState), variant: "secondary", disabled: !listIsValid }) })
20775
20792
  ] }) });
@@ -20816,7 +20833,7 @@ function isListFieldRow(row) {
20816
20833
  }
20817
20834
 
20818
20835
  // src/forms/BoundMultiLineSelectField.tsx
20819
- var import_mobx_react8 = require("mobx-react");
20836
+ var import_mobx_react9 = require("mobx-react");
20820
20837
  var import_jsx_runtime129 = require("react/jsx-runtime");
20821
20838
  function BoundMultiLineSelectField(props) {
20822
20839
  const {
@@ -20834,7 +20851,7 @@ function BoundMultiLineSelectField(props) {
20834
20851
  ...others
20835
20852
  } = props;
20836
20853
  const testId = useTestIds(props, field.key);
20837
- return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_mobx_react8.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
20854
+ return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_mobx_react9.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
20838
20855
  MultiLineSelectField,
20839
20856
  {
20840
20857
  label,
@@ -20864,12 +20881,12 @@ function BoundMultiLineSelectField(props) {
20864
20881
  }
20865
20882
 
20866
20883
  // src/forms/BoundMultiSelectCardGroupField.tsx
20867
- var import_mobx_react9 = require("mobx-react");
20884
+ var import_mobx_react10 = require("mobx-react");
20868
20885
  var import_jsx_runtime130 = require("react/jsx-runtime");
20869
20886
  function BoundMultiSelectCardGroupField(props) {
20870
20887
  const { field, onChange = (values) => field.set(values), label = defaultLabel(field.key), ...others } = props;
20871
20888
  const testId = useTestIds(props, field.key);
20872
- return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_mobx_react9.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
20889
+ return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_mobx_react10.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
20873
20890
  MultiSelectCardGroup,
20874
20891
  {
20875
20892
  ...others,
@@ -20886,7 +20903,7 @@ function BoundMultiSelectCardGroupField(props) {
20886
20903
  }
20887
20904
 
20888
20905
  // src/forms/BoundMultiSelectField.tsx
20889
- var import_mobx_react10 = require("mobx-react");
20906
+ var import_mobx_react11 = require("mobx-react");
20890
20907
  var import_jsx_runtime131 = require("react/jsx-runtime");
20891
20908
  function BoundMultiSelectField(props) {
20892
20909
  const {
@@ -20904,7 +20921,7 @@ function BoundMultiSelectField(props) {
20904
20921
  ...others
20905
20922
  } = props;
20906
20923
  const testId = useTestIds(props, field.key);
20907
- return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_mobx_react10.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
20924
+ return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_mobx_react11.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
20908
20925
  MultiSelectField,
20909
20926
  {
20910
20927
  label,
@@ -20934,7 +20951,7 @@ function BoundMultiSelectField(props) {
20934
20951
  }
20935
20952
 
20936
20953
  // src/forms/BoundNumberField.tsx
20937
- var import_mobx_react11 = require("mobx-react");
20954
+ var import_mobx_react12 = require("mobx-react");
20938
20955
  var import_jsx_runtime132 = require("react/jsx-runtime");
20939
20956
  function BoundNumberField(props) {
20940
20957
  const {
@@ -20949,7 +20966,7 @@ function BoundNumberField(props) {
20949
20966
  ...others
20950
20967
  } = props;
20951
20968
  const testId = useTestIds(props, label || field.key);
20952
- return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_mobx_react11.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(
20969
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_mobx_react12.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(
20953
20970
  NumberField,
20954
20971
  {
20955
20972
  label,
@@ -20978,7 +20995,7 @@ function BoundNumberField(props) {
20978
20995
  }
20979
20996
 
20980
20997
  // src/forms/BoundRadioGroupField.tsx
20981
- var import_mobx_react12 = require("mobx-react");
20998
+ var import_mobx_react13 = require("mobx-react");
20982
20999
  var import_jsx_runtime133 = require("react/jsx-runtime");
20983
21000
  function BoundRadioGroupField(props) {
20984
21001
  const {
@@ -20990,7 +21007,7 @@ function BoundRadioGroupField(props) {
20990
21007
  ...others
20991
21008
  } = props;
20992
21009
  const testId = useTestIds(props, field.key);
20993
- return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_mobx_react12.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
21010
+ return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_mobx_react13.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
20994
21011
  RadioGroupField,
20995
21012
  {
20996
21013
  label,
@@ -21016,7 +21033,7 @@ function BoundRadioGroupField(props) {
21016
21033
  }
21017
21034
 
21018
21035
  // src/forms/BoundRichTextField.tsx
21019
- var import_mobx_react13 = require("mobx-react");
21036
+ var import_mobx_react14 = require("mobx-react");
21020
21037
  var import_jsx_runtime134 = require("react/jsx-runtime");
21021
21038
  function BoundRichTextField(props) {
21022
21039
  const {
@@ -21029,7 +21046,7 @@ function BoundRichTextField(props) {
21029
21046
  ...others
21030
21047
  } = props;
21031
21048
  const testId = useTestIds(props, field.key);
21032
- return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_mobx_react13.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
21049
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_mobx_react14.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
21033
21050
  RichTextField,
21034
21051
  {
21035
21052
  label,
@@ -21051,12 +21068,12 @@ function BoundRichTextField(props) {
21051
21068
  }
21052
21069
 
21053
21070
  // src/forms/BoundSelectCardGroupField.tsx
21054
- var import_mobx_react14 = require("mobx-react");
21071
+ var import_mobx_react15 = require("mobx-react");
21055
21072
  var import_jsx_runtime135 = require("react/jsx-runtime");
21056
21073
  function BoundSelectCardGroupField(props) {
21057
21074
  const { field, onChange = (value) => field.set(value), label = defaultLabel(field.key), ...others } = props;
21058
21075
  const testId = useTestIds(props, field.key);
21059
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_mobx_react14.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(
21076
+ return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_mobx_react15.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(
21060
21077
  SelectCardGroup,
21061
21078
  {
21062
21079
  ...others,
@@ -21073,7 +21090,7 @@ function BoundSelectCardGroupField(props) {
21073
21090
  }
21074
21091
 
21075
21092
  // src/forms/BoundSelectField.tsx
21076
- var import_mobx_react15 = require("mobx-react");
21093
+ var import_mobx_react16 = require("mobx-react");
21077
21094
  var import_jsx_runtime136 = require("react/jsx-runtime");
21078
21095
  function BoundSelectField(props) {
21079
21096
  const {
@@ -21089,7 +21106,7 @@ function BoundSelectField(props) {
21089
21106
  ...others
21090
21107
  } = props;
21091
21108
  const testId = useTestIds(props, field.key);
21092
- return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_mobx_react15.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
21109
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_mobx_react16.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
21093
21110
  SelectField,
21094
21111
  {
21095
21112
  label,
@@ -21119,7 +21136,7 @@ function BoundSelectField(props) {
21119
21136
  }
21120
21137
 
21121
21138
  // src/forms/BoundSwitchField.tsx
21122
- var import_mobx_react16 = require("mobx-react");
21139
+ var import_mobx_react17 = require("mobx-react");
21123
21140
  var import_jsx_runtime137 = require("react/jsx-runtime");
21124
21141
  function BoundSwitchField(props) {
21125
21142
  const {
@@ -21131,7 +21148,7 @@ function BoundSwitchField(props) {
21131
21148
  ...others
21132
21149
  } = props;
21133
21150
  const testId = useTestIds(props, field.key);
21134
- return /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_mobx_react16.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
21151
+ return /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_mobx_react17.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
21135
21152
  Switch,
21136
21153
  {
21137
21154
  label,
@@ -21149,7 +21166,7 @@ function BoundSwitchField(props) {
21149
21166
  }
21150
21167
 
21151
21168
  // src/forms/BoundTextAreaField.tsx
21152
- var import_mobx_react17 = require("mobx-react");
21169
+ var import_mobx_react18 = require("mobx-react");
21153
21170
  var import_jsx_runtime138 = require("react/jsx-runtime");
21154
21171
  function BoundTextAreaField(props) {
21155
21172
  const {
@@ -21163,7 +21180,7 @@ function BoundTextAreaField(props) {
21163
21180
  ...others
21164
21181
  } = props;
21165
21182
  const testId = useTestIds(props, field.key);
21166
- return /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(import_mobx_react17.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(
21183
+ return /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(import_mobx_react18.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(
21167
21184
  TextAreaField,
21168
21185
  {
21169
21186
  label,
@@ -21191,7 +21208,7 @@ function BoundTextAreaField(props) {
21191
21208
  }
21192
21209
 
21193
21210
  // src/forms/BoundTextField.tsx
21194
- var import_mobx_react18 = require("mobx-react");
21211
+ var import_mobx_react19 = require("mobx-react");
21195
21212
  var import_jsx_runtime139 = require("react/jsx-runtime");
21196
21213
  function BoundTextField(props) {
21197
21214
  const {
@@ -21205,7 +21222,7 @@ function BoundTextField(props) {
21205
21222
  ...others
21206
21223
  } = props;
21207
21224
  const testId = useTestIds(props, field.key);
21208
- return /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(import_mobx_react18.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
21225
+ return /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(import_mobx_react19.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
21209
21226
  TextField,
21210
21227
  {
21211
21228
  label,
@@ -21233,12 +21250,12 @@ function BoundTextField(props) {
21233
21250
  }
21234
21251
 
21235
21252
  // src/forms/BoundToggleChipGroupField.tsx
21236
- var import_mobx_react19 = require("mobx-react");
21253
+ var import_mobx_react20 = require("mobx-react");
21237
21254
  var import_jsx_runtime140 = require("react/jsx-runtime");
21238
21255
  function BoundToggleChipGroupField(props) {
21239
21256
  const { field, onChange = (value) => field.set(value), label = defaultLabel(field.key), ...others } = props;
21240
21257
  const testId = useTestIds(props, field.key);
21241
- return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_mobx_react19.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
21258
+ return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_mobx_react20.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
21242
21259
  ToggleChipGroup,
21243
21260
  {
21244
21261
  label,
@@ -21252,7 +21269,7 @@ function BoundToggleChipGroupField(props) {
21252
21269
  }
21253
21270
 
21254
21271
  // src/forms/BoundTreeSelectField.tsx
21255
- var import_mobx_react20 = require("mobx-react");
21272
+ var import_mobx_react21 = require("mobx-react");
21256
21273
  var import_jsx_runtime141 = require("react/jsx-runtime");
21257
21274
  function BoundTreeSelectField(props) {
21258
21275
  const {
@@ -21270,7 +21287,7 @@ function BoundTreeSelectField(props) {
21270
21287
  ...others
21271
21288
  } = props;
21272
21289
  const testId = useTestIds(props, field.key);
21273
- return /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_mobx_react20.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(
21290
+ return /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_mobx_react21.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(
21274
21291
  TreeSelectField,
21275
21292
  {
21276
21293
  label,
@@ -22318,14 +22335,14 @@ function StaticField(props) {
22318
22335
  }
22319
22336
 
22320
22337
  // src/forms/SubmitButton.tsx
22321
- var import_mobx_react21 = require("mobx-react");
22338
+ var import_mobx_react22 = require("mobx-react");
22322
22339
  var import_jsx_runtime155 = require("react/jsx-runtime");
22323
22340
  function SubmitButton(props) {
22324
22341
  const { form, disabled, onClick, label = "Submit", ...others } = props;
22325
22342
  if (typeof onClick === "string") {
22326
22343
  throw new Error("SubmitButton.onClick doesn't support strings yet");
22327
22344
  }
22328
- const state = (0, import_mobx_react21.useLocalObservable)(() => ({ clicked: false }));
22345
+ const state = (0, import_mobx_react22.useLocalObservable)(() => ({ clicked: false }));
22329
22346
  const canSubmit = useComputed(() => {
22330
22347
  return form.isNewEntity && !state.clicked ? true : form.dirty && form.valid;
22331
22348
  }, [form]);
@@ -22646,7 +22663,7 @@ function PageHeader(props) {
22646
22663
  /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)("div", { className: "pt2 pb2 pl3 pr3 df jcsb aic", children: [
22647
22664
  /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)("div", { children: [
22648
22665
  breadCrumb && /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(PageHeaderBreadcrumbs, { breadcrumb: breadCrumb }),
22649
- /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("h1", { className: "fw6 fz_30px lh_36px", ...tids.pageTitle, children: pageTitle })
22666
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("h1", { className: "fw6 fz_24px lh_32px", ...tids.pageTitle, children: pageTitle })
22650
22667
  ] }),
22651
22668
  /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)("div", { className: "df gap1", children: [
22652
22669
  tertiaryAction && /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(Button, { label: tertiaryAction.label, onClick: tertiaryAction.onClick, variant: "tertiary", disabled: tertiaryAction.disabled, tooltip: tertiaryAction.tooltip }),
@@ -22825,7 +22842,7 @@ function useActiveSection(sectionsWithRefs) {
22825
22842
  });
22826
22843
  (0, import_react114.useEffect)(() => {
22827
22844
  if (!("IntersectionObserver" in window)) return;
22828
- const observer2 = new IntersectionObserver((entries) => debouncedIntersectionCallback(entries), {
22845
+ const observer3 = new IntersectionObserver((entries) => debouncedIntersectionCallback(entries), {
22829
22846
  /**
22830
22847
  * Creating rules to determine when a section is "in view" is a real challenge given the section sizes
22831
22848
  * are unknown and will likely be mixed (optimizing for large sections makes tracking small sections
@@ -22841,7 +22858,7 @@ function useActiveSection(sectionsWithRefs) {
22841
22858
  ref
22842
22859
  }) => {
22843
22860
  if (ref.current) {
22844
- observer2.observe(ref.current);
22861
+ observer3.observe(ref.current);
22845
22862
  }
22846
22863
  });
22847
22864
  return () => {
@@ -22849,7 +22866,7 @@ function useActiveSection(sectionsWithRefs) {
22849
22866
  ref
22850
22867
  }) => {
22851
22868
  if (ref.current) {
22852
- observer2.unobserve(ref.current);
22869
+ observer3.unobserve(ref.current);
22853
22870
  }
22854
22871
  });
22855
22872
  };
@@ -24695,7 +24712,7 @@ function TableReviewLayout(props) {
24695
24712
  /* @__PURE__ */ (0, import_jsx_runtime191.jsxs)("div", { className: "df jcsb aic", children: [
24696
24713
  /* @__PURE__ */ (0, import_jsx_runtime191.jsxs)("div", { children: [
24697
24714
  breadCrumb && /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(PageHeaderBreadcrumbs, { breadcrumb: breadCrumb }),
24698
- /* @__PURE__ */ (0, import_jsx_runtime191.jsx)("h1", { className: "fw6 fz_30px lh_36px mt1 mb0", ...tid.pageTitle, children: pageTitle })
24715
+ /* @__PURE__ */ (0, import_jsx_runtime191.jsx)("h1", { className: "fw6 fz_24px lh_32px mt1 mb0", ...tid.pageTitle, children: pageTitle })
24699
24716
  ] }),
24700
24717
  /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(Button, { label: "Close", onClick: closeAction, ...tid.closeButton })
24701
24718
  ] }),
@@ -27547,7 +27564,7 @@ function SuperDrawerHeader(props) {
27547
27564
  return (0, import_react_dom8.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { className: "df aic jcsb gap3", ...tid, children: [
27548
27565
  isStructuredProps(props) ? /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { className: "df jcsb aic gap2 fg1", children: [
27549
27566
  /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { className: "fg1 df aic gap2", children: [
27550
- /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("h1", { className: "fw6 fz_30px lh_36px", children: props.title }),
27567
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("h1", { className: "fw6 fz_24px lh_32px", children: props.title }),
27551
27568
  props.left
27552
27569
  ] }),
27553
27570
  props.right && /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { className: "fs0", children: props.right })