@homebound/beam 3.0.2 → 3.0.4

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.cjs CHANGED
@@ -143,7 +143,7 @@ __export(index_exports, {
143
143
  RightPaneProvider: () => RightPaneProvider,
144
144
  RightSidebar: () => RightSidebar,
145
145
  Row: () => Row,
146
- RuntimeStyle: () => import_runtime2.RuntimeStyle,
146
+ RuntimeCss: () => RuntimeCss,
147
147
  ScrollShadows: () => ScrollShadows,
148
148
  ScrollableContent: () => ScrollableContent,
149
149
  ScrollableParent: () => ScrollableParent,
@@ -305,7 +305,7 @@ __export(index_exports, {
305
305
  useResponsiveGridItem: () => useResponsiveGridItem,
306
306
  useRightPane: () => useRightPane,
307
307
  useRightPaneContext: () => useRightPaneContext,
308
- useRuntimeStyle: () => import_runtime2.useRuntimeStyle,
308
+ useRuntimeStyle: () => useRuntimeStyle,
309
309
  useScrollableParent: () => useScrollableParent,
310
310
  useSessionStorage: () => useSessionStorage,
311
311
  useSetupColumnSizes: () => useSetupColumnSizes,
@@ -322,7 +322,6 @@ module.exports = __toCommonJS(index_exports);
322
322
 
323
323
  // src/Css.ts
324
324
  var import_runtime = require("@homebound/truss/runtime");
325
- var import_runtime2 = require("@homebound/truss/runtime");
326
325
  var CssBuilder = class _CssBuilder {
327
326
  constructor(opts) {
328
327
  this.opts = opts;
@@ -4178,12 +4177,20 @@ var CssBuilder = class _CssBuilder {
4178
4177
  return this;
4179
4178
  }
4180
4179
  const newRules = typeof propOrStyles === "string" ? { [propOrStyles]: value } : propOrStyles;
4180
+ if (typeof propOrStyles !== "string" && newRules.$css) {
4181
+ throw new Error("add() received a Css expression \u2014 use with() to compose Css expressions");
4182
+ }
4181
4183
  const rules = this.selector ? { ...this.rules, [this.selector]: { ...this.rules[this.selector], ...newRules } } : { ...this.rules, ...newRules };
4182
4184
  return this.newCss({ rules });
4183
4185
  }
4184
- /** Inline a partial style hash, skipping any undefined values. */
4185
- addCss(props) {
4186
- return this.add(omitUndefinedValues(props));
4186
+ with(cssProp) {
4187
+ if (!this.enabled) {
4188
+ return this;
4189
+ }
4190
+ const { $css, ...rest } = cssProp;
4191
+ const filtered = omitUndefinedValues(rest);
4192
+ const rules = this.selector ? { ...this.rules, [this.selector]: { ...this.rules[this.selector], ...filtered } } : { ...this.rules, ...filtered };
4193
+ return this.newCss({ rules });
4187
4194
  }
4188
4195
  /** Marker for the build-time transform to append a raw className. */
4189
4196
  className(className) {
@@ -4317,6 +4324,16 @@ var Css = new CssBuilder({
4317
4324
  elseApplied: false,
4318
4325
  runtimeError: void 0
4319
4326
  });
4327
+ var RuntimeCss = new CssBuilder({
4328
+ rules: {},
4329
+ enabled: true,
4330
+ selector: void 0,
4331
+ elseApplied: false,
4332
+ runtimeError: void 0
4333
+ });
4334
+ function useRuntimeStyle(css2) {
4335
+ (0, import_runtime.useRuntimeStyle)(css2);
4336
+ }
4320
4337
  var Breakpoints = /* @__PURE__ */ ((Breakpoints2) => {
4321
4338
  Breakpoints2["print"] = "@media print";
4322
4339
  Breakpoints2["sm"] = "@media screen and (max-width: 599px)";
@@ -4531,7 +4548,7 @@ function pluralize(count, noun, pluralNoun) {
4531
4548
  }
4532
4549
 
4533
4550
  // src/components/Tooltip.tsx
4534
- var import_runtime3 = require("@homebound/truss/runtime");
4551
+ var import_runtime2 = require("@homebound/truss/runtime");
4535
4552
  var import_jsx_runtime2 = require("react/jsx-runtime");
4536
4553
  var gapCrossingDelay = 100;
4537
4554
  function Tooltip(props) {
@@ -4610,7 +4627,7 @@ function Popper(props) {
4610
4627
  }],
4611
4628
  placement
4612
4629
  });
4613
- return (0, import_react_dom.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { ref: popperRef, ...attributes.popper, ...ariaProps, onMouseEnter, onMouseLeave, ...(0, import_runtime3.mergeProps)(void 0, styles.popper, {
4630
+ return (0, import_react_dom.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { ref: popperRef, ...attributes.popper, ...ariaProps, onMouseEnter, onMouseLeave, ...(0, import_runtime2.mergeProps)(void 0, styles.popper, {
4614
4631
  ...{
4615
4632
  maxWidth: "maxw_320px",
4616
4633
  backgroundColor: ["bgColor_var", {
@@ -4644,7 +4661,7 @@ function resolveTooltip(disabled, tooltip, readOnly) {
4644
4661
  }
4645
4662
 
4646
4663
  // src/components/Icon.tsx
4647
- var import_runtime4 = require("@homebound/truss/runtime");
4664
+ var import_runtime3 = require("@homebound/truss/runtime");
4648
4665
  var import_jsx_runtime3 = require("react/jsx-runtime");
4649
4666
  var Icon = import_react4.default.memo((props) => {
4650
4667
  const {
@@ -4660,7 +4677,7 @@ var Icon = import_react4.default.memo((props) => {
4660
4677
  return maybeTooltip({
4661
4678
  title: tooltip,
4662
4679
  placement: "top",
4663
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": true, width: size, height: size, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...(0, import_runtime4.trussProps)({
4680
+ children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": true, width: size, height: size, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...(0, import_runtime3.trussProps)({
4664
4681
  ...{
4665
4682
  fill: ["fill_var", {
4666
4683
  "--fill": color
@@ -5158,7 +5175,7 @@ function usePresentationContext() {
5158
5175
  }
5159
5176
 
5160
5177
  // src/components/Chip.tsx
5161
- var import_runtime5 = require("@homebound/truss/runtime");
5178
+ var import_runtime4 = require("@homebound/truss/runtime");
5162
5179
  var import_jsx_runtime5 = require("react/jsx-runtime");
5163
5180
  var ChipTypes = {
5164
5181
  caution: "caution",
@@ -5191,7 +5208,7 @@ function Chip(props) {
5191
5208
  return maybeTooltip({
5192
5209
  title,
5193
5210
  placement: "bottom",
5194
- children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { ...(0, import_runtime5.trussProps)(styles), ...tid, children: [
5211
+ children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { ...(0, import_runtime4.trussProps)(styles), ...tid, children: [
5195
5212
  icon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Icon, { icon, inc: 2, xss: {
5196
5213
  flexShrink: "fs0"
5197
5214
  } }),
@@ -5253,7 +5270,7 @@ var pyHeight = (compact) => compact ? 2 : 4;
5253
5270
  var minhPx = (compact) => compact ? 20 : 24;
5254
5271
 
5255
5272
  // src/components/Chips.tsx
5256
- var import_runtime6 = require("@homebound/truss/runtime");
5273
+ var import_runtime5 = require("@homebound/truss/runtime");
5257
5274
  var import_jsx_runtime6 = require("react/jsx-runtime");
5258
5275
  function Chips(props) {
5259
5276
  const {
@@ -5265,7 +5282,7 @@ function Chips(props) {
5265
5282
  xss = {},
5266
5283
  wrap = presentationWrap
5267
5284
  } = props;
5268
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { ...(0, import_runtime6.trussProps)({
5285
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { ...(0, import_runtime5.trussProps)({
5269
5286
  ...{
5270
5287
  display: "df",
5271
5288
  alignItems: "aifs",
@@ -5273,7 +5290,7 @@ function Chips(props) {
5273
5290
  whiteSpace: "whiteSpace_normal"
5274
5291
  },
5275
5292
  ...wrap !== false ? {
5276
- flexWrap: "flexWrap_wrap"
5293
+ flexWrap: "fww"
5277
5294
  } : {},
5278
5295
  ...xss
5279
5296
  }), children: values.map((value, i) => {
@@ -5299,7 +5316,7 @@ var import_react_dom2 = require("react-dom");
5299
5316
 
5300
5317
  // src/components/Layout/ScrollableParent.tsx
5301
5318
  var import_react7 = require("react");
5302
- var import_runtime7 = require("@homebound/truss/runtime");
5319
+ var import_runtime6 = require("@homebound/truss/runtime");
5303
5320
  var import_jsx_runtime7 = require("react/jsx-runtime");
5304
5321
  var __maybeInc = (inc) => {
5305
5322
  return typeof inc === "string" ? inc : `${inc * 8}px`;
@@ -5339,7 +5356,7 @@ function ScrollableParent(props) {
5339
5356
  (0, import_react7.useEffect)(() => {
5340
5357
  scrollableRef.current.appendChild(scrollableEl);
5341
5358
  }, [scrollableEl]);
5342
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ScrollableParentContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Tag2, { ...(0, import_runtime7.trussProps)({
5359
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ScrollableParentContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Tag2, { ...(0, import_runtime6.trussProps)({
5343
5360
  ...{
5344
5361
  minHeight: "mh0",
5345
5362
  minWidth: "mw0",
@@ -5349,7 +5366,7 @@ function ScrollableParent(props) {
5349
5366
  },
5350
5367
  ...xss
5351
5368
  }), children: [
5352
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { ...(0, import_runtime7.trussProps)({
5369
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { ...(0, import_runtime6.trussProps)({
5353
5370
  ...{
5354
5371
  paddingLeft: ["pl_var", {
5355
5372
  "--paddingLeft": __maybeInc(context.paddingLeft)
@@ -5374,7 +5391,7 @@ function useScrollableParent() {
5374
5391
  }
5375
5392
 
5376
5393
  // src/components/Layout/ScrollableContent.tsx
5377
- var import_runtime8 = require("@homebound/truss/runtime");
5394
+ var import_runtime7 = require("@homebound/truss/runtime");
5378
5395
  var import_jsx_runtime8 = require("react/jsx-runtime");
5379
5396
  var __maybeInc2 = (inc) => {
5380
5397
  return typeof inc === "string" ? inc : `${inc * 8}px`;
@@ -5402,7 +5419,7 @@ function ScrollableContent(props) {
5402
5419
  }
5403
5420
  const showBottomSpacer = !omitBottomPadding && !virtualized;
5404
5421
  const virtualizedScrollParent = virtualized ? scrollableEl.parentElement : null;
5405
- return (0, import_react_dom2.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(VirtualizedScrollParentContext.Provider, { value: virtualizedScrollParent, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { ...(0, import_runtime8.trussProps)({
5422
+ return (0, import_react_dom2.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(VirtualizedScrollParentContext.Provider, { value: virtualizedScrollParent, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { ...(0, import_runtime7.trussProps)({
5406
5423
  ...{
5407
5424
  height: "h100",
5408
5425
  paddingRight: ["pr_var", {
@@ -5430,7 +5447,7 @@ function useVirtualizedScrollParent() {
5430
5447
  }
5431
5448
 
5432
5449
  // src/components/Loader.tsx
5433
- var import_runtime9 = require("@homebound/truss/runtime");
5450
+ var import_runtime8 = require("@homebound/truss/runtime");
5434
5451
  var import_jsx_runtime9 = require("react/jsx-runtime");
5435
5452
  function Loader({
5436
5453
  size = "lg",
@@ -5438,7 +5455,7 @@ function Loader({
5438
5455
  }) {
5439
5456
  const [dimensions, borderSize] = sizeToPixels[size];
5440
5457
  const [bgColor, spinnerColor] = contrast ? ["rgba(141, 141, 141, 1)" /* Gray600 */, "rgba(236, 235, 235, 1)" /* Gray200 */] : ["rgba(255,255,255,1)" /* White */, "rgba(29, 78, 216, 1)" /* Blue700 */];
5441
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { "aria-label": "Loading", ...(0, import_runtime9.trussProps)({
5458
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { "aria-label": "Loading", ...(0, import_runtime8.trussProps)({
5442
5459
  borderRadius: "br100",
5443
5460
  borderStyle: "bss",
5444
5461
  borderWidth: ["bw_var", {
@@ -5594,7 +5611,7 @@ function getButtonOrLink(content, onClick, attrs, openInNew = false, downloadLin
5594
5611
  }
5595
5612
 
5596
5613
  // src/components/IconButton.tsx
5597
- var import_runtime10 = require("@homebound/truss/runtime");
5614
+ var import_runtime9 = require("@homebound/truss/runtime");
5598
5615
  var import_jsx_runtime11 = require("react/jsx-runtime");
5599
5616
  function IconButton(props) {
5600
5617
  const {
@@ -5666,7 +5683,7 @@ function IconButton(props) {
5666
5683
  ...focusProps,
5667
5684
  ...hoverProps,
5668
5685
  ref,
5669
- ...(0, import_runtime10.mergeProps)(typeof onPress === "string" ? navLink : void 0, void 0, styles),
5686
+ ...(0, import_runtime9.mergeProps)(typeof onPress === "string" ? navLink : void 0, void 0, styles),
5670
5687
  "aria-label": label
5671
5688
  };
5672
5689
  const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { icon, color: color || (isDisabled ? "rgba(201, 201, 201, 1)" /* Gray400 */ : circle && (isHovered || active || isFocusVisible) ? defaultIconColor : iconColor), bgColor, inc: compact ? 2 : circle ? 2.5 : inc });
@@ -5740,7 +5757,7 @@ var activeStyles = {
5740
5757
 
5741
5758
  // src/components/Table/components/ExpandableHeader.tsx
5742
5759
  var import_react18 = require("react");
5743
- var import_runtime11 = require("@homebound/truss/runtime");
5760
+ var import_runtime10 = require("@homebound/truss/runtime");
5744
5761
 
5745
5762
  // src/hooks/useBreakpoint.tsx
5746
5763
  var import_fast_deep_equal = __toESM(require("fast-deep-equal"), 1);
@@ -5965,7 +5982,7 @@ function ExpandableHeader(props) {
5965
5982
  hoverProps,
5966
5983
  isHovered
5967
5984
  } = useHover2({});
5968
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("button", { ...hoverProps, ...(0, import_runtime11.trussProps)({
5985
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("button", { ...hoverProps, ...(0, import_runtime10.trussProps)({
5969
5986
  display: "df",
5970
5987
  fontWeight: "fw4",
5971
5988
  fontSize: "fz_12px",
@@ -5996,7 +6013,7 @@ function ExpandableHeader(props) {
5996
6013
  }
5997
6014
  tableState.toggleExpandedColumn(column2.id);
5998
6015
  }, "data-testid": "expandableColumn", children: [
5999
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { ...(0, import_runtime11.trussProps)({
6016
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { ...(0, import_runtime10.trussProps)({
6000
6017
  display: "df",
6001
6018
  alignItems: "aic",
6002
6019
  ...applyStickyStyles ? {
@@ -6018,7 +6035,7 @@ function ExpandableHeader(props) {
6018
6035
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "tal oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2", children: title }),
6019
6036
  tooltipEl
6020
6037
  ] }),
6021
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { ...(0, import_runtime11.trussProps)({
6038
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { ...(0, import_runtime10.trussProps)({
6022
6039
  ...applyStickyStyles ? {
6023
6040
  position: "sticky",
6024
6041
  right: "right_12px",
@@ -6032,7 +6049,7 @@ function ExpandableHeader(props) {
6032
6049
 
6033
6050
  // src/components/Table/components/SortHeader.tsx
6034
6051
  var import_react19 = require("react");
6035
- var import_runtime12 = require("@homebound/truss/runtime");
6052
+ var import_runtime11 = require("@homebound/truss/runtime");
6036
6053
  var import_jsx_runtime13 = require("react/jsx-runtime");
6037
6054
  function SortHeader(props) {
6038
6055
  const {
@@ -6068,7 +6085,7 @@ function SortHeader(props) {
6068
6085
  } : {}
6069
6086
  }
6070
6087
  }, inc: 2, ...tid.icon }) });
6071
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { ...tid, ...(0, import_runtime12.trussProps)({
6088
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { ...tid, ...(0, import_runtime11.trussProps)({
6072
6089
  ...{
6073
6090
  display: "df",
6074
6091
  alignItems: "aic",
@@ -6086,7 +6103,7 @@ function SortHeader(props) {
6086
6103
  }
6087
6104
 
6088
6105
  // src/components/Table/utils/utils.tsx
6089
- var import_runtime13 = require("@homebound/truss/runtime");
6106
+ var import_runtime12 = require("@homebound/truss/runtime");
6090
6107
  var import_jsx_runtime14 = require("react/jsx-runtime");
6091
6108
  function toContent(maybeContent, isHeader, canSortColumn, isClientSideSorting, style, as, alignment, column2, isExpandableHeader, isExpandable, minStickyLeftOffset, isKeptSelectedRow) {
6092
6109
  if (isKeptSelectedRow && column2.id === "beamCollapseColumn") {
@@ -6100,7 +6117,7 @@ function toContent(maybeContent, isHeader, canSortColumn, isClientSideSorting, s
6100
6117
  }
6101
6118
  const tooltip = isGridCellContent(maybeContent) ? maybeContent.tooltip : void 0;
6102
6119
  const tooltipEl = tooltip ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "fs0 ml_4px", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { icon: "infoCircle", tooltip, inc: 2, color: "rgba(141, 141, 141, 1)" /* Gray600 */ }) }) : null;
6103
- content = isGridCellContent(maybeContent) && !!maybeContent.onClick ? getButtonOrLink(content, maybeContent.onClick, (0, import_runtime13.trussProps)({
6120
+ content = isGridCellContent(maybeContent) && !!maybeContent.onClick ? getButtonOrLink(content, maybeContent.onClick, (0, import_runtime12.trussProps)({
6104
6121
  maxWidth: "maxw100",
6105
6122
  color: "blue700",
6106
6123
  textAlign: "ta_inherit",
@@ -6335,7 +6352,7 @@ var import_react_day_picker3 = require("react-day-picker");
6335
6352
  // src/components/internal/DatePicker/Day.tsx
6336
6353
  var import_react21 = require("react");
6337
6354
  var import_react_day_picker = require("react-day-picker");
6338
- var import_runtime14 = require("@homebound/truss/runtime");
6355
+ var import_runtime13 = require("@homebound/truss/runtime");
6339
6356
  var import_jsx_runtime16 = require("react/jsx-runtime");
6340
6357
  function Day(props) {
6341
6358
  const tid = useTestIds(props, "datePickerDay");
@@ -6369,7 +6386,7 @@ function Day(props) {
6369
6386
  } = activeModifiers;
6370
6387
  const showRangeStyles = !(range_end === true && range_start === true);
6371
6388
  const showActiveStyles = !disabled;
6372
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("button", { ...otherProps, ref: buttonRef, type: "button", ...(0, import_runtime14.mergeProps)("beam-day-button", void 0, {
6389
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("button", { ...otherProps, ref: buttonRef, type: "button", ...(0, import_runtime13.mergeProps)("beam-day-button", void 0, {
6373
6390
  position: "relative",
6374
6391
  paddingBottom: "pb_4px",
6375
6392
  outline: "outline0",
@@ -6381,7 +6398,7 @@ function Day(props) {
6381
6398
  }, ...disabled && {
6382
6399
  "data-disabled": ""
6383
6400
  }, ...tid, children: [
6384
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { ...(0, import_runtime14.trussProps)({
6401
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { ...(0, import_runtime13.trussProps)({
6385
6402
  ...{
6386
6403
  overflow: "oh",
6387
6404
  color: "gray900",
@@ -6406,7 +6423,7 @@ function Day(props) {
6406
6423
  color: "gray500"
6407
6424
  }
6408
6425
  }), children: [
6409
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { ...(0, import_runtime14.trussProps)({
6426
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { ...(0, import_runtime13.trussProps)({
6410
6427
  marginTop: ["mt_var", {
6411
6428
  "--marginTop": `${-2}px`
6412
6429
  }]
@@ -6414,7 +6431,7 @@ function Day(props) {
6414
6431
  indicatorDot && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
6415
6432
  "div",
6416
6433
  {
6417
- ...(0, import_runtime14.trussProps)({
6434
+ ...(0, import_runtime13.trussProps)({
6418
6435
  position: "absolute",
6419
6436
  bottom: "bottom_4px",
6420
6437
  width: "w_4px",
@@ -6429,7 +6446,7 @@ function Day(props) {
6429
6446
  }
6430
6447
  )
6431
6448
  ] }),
6432
- showRangeStyles && range_start && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { ...(0, import_runtime14.trussProps)({
6449
+ showRangeStyles && range_start && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { ...(0, import_runtime13.trussProps)({
6433
6450
  ...rangeBaseStyles,
6434
6451
  ...{
6435
6452
  right: ["right_var", {
@@ -6438,7 +6455,7 @@ function Day(props) {
6438
6455
  width: "w_8px"
6439
6456
  }
6440
6457
  }) }),
6441
- showRangeStyles && range_end && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { ...(0, import_runtime14.trussProps)({
6458
+ showRangeStyles && range_end && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { ...(0, import_runtime13.trussProps)({
6442
6459
  ...rangeBaseStyles,
6443
6460
  ...{
6444
6461
  width: "w_8px",
@@ -6447,7 +6464,7 @@ function Day(props) {
6447
6464
  }]
6448
6465
  }
6449
6466
  }) }),
6450
- showRangeStyles && range_middle && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { ...(0, import_runtime14.trussProps)({
6467
+ showRangeStyles && range_middle && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { ...(0, import_runtime13.trussProps)({
6451
6468
  ...rangeBaseStyles,
6452
6469
  ...{
6453
6470
  left: ["left_var", {
@@ -6594,7 +6611,7 @@ var import_react_stately2 = require("react-stately");
6594
6611
 
6595
6612
  // src/components/internal/MenuSection.tsx
6596
6613
  var import_react_aria4 = require("react-aria");
6597
- var import_runtime15 = require("@homebound/truss/runtime");
6614
+ var import_runtime14 = require("@homebound/truss/runtime");
6598
6615
  var import_jsx_runtime22 = require("react/jsx-runtime");
6599
6616
  function MenuSectionImpl(props) {
6600
6617
  const {
@@ -6616,7 +6633,7 @@ function MenuSectionImpl(props) {
6616
6633
  const tid = useTestIds(props);
6617
6634
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
6618
6635
  isPersistentSection && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("li", { ...separatorProps, className: "bts_solid btw_1px bcGray200" }),
6619
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("li", { ...itemProps, ...(0, import_runtime15.trussProps)({
6636
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("li", { ...itemProps, ...(0, import_runtime14.trussProps)({
6620
6637
  color: "gray900",
6621
6638
  ...!isPersistentSection ? {
6622
6639
  overflow: "oa"
@@ -6629,7 +6646,7 @@ function MenuSectionImpl(props) {
6629
6646
  }
6630
6647
 
6631
6648
  // src/components/internal/Menu.tsx
6632
- var import_runtime24 = require("@homebound/truss/runtime");
6649
+ var import_runtime23 = require("@homebound/truss/runtime");
6633
6650
 
6634
6651
  // src/inputs/internal/MenuSearchField.tsx
6635
6652
  var import_textfield = require("@react-aria/textfield");
@@ -6640,7 +6657,7 @@ var import_react26 = require("react");
6640
6657
  var import_react_aria8 = require("react-aria");
6641
6658
 
6642
6659
  // src/components/HelperText.tsx
6643
- var import_runtime16 = require("@homebound/truss/runtime");
6660
+ var import_runtime15 = require("@homebound/truss/runtime");
6644
6661
  var import_jsx_runtime23 = require("react/jsx-runtime");
6645
6662
  function HelperText(props) {
6646
6663
  const {
@@ -6648,7 +6665,7 @@ function HelperText(props) {
6648
6665
  contrast = false,
6649
6666
  ...others
6650
6667
  } = props;
6651
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { ...(0, import_runtime16.trussProps)({
6668
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { ...(0, import_runtime15.trussProps)({
6652
6669
  color: "gray700",
6653
6670
  fontWeight: "fw4",
6654
6671
  fontSize: "fz_12px",
@@ -6663,7 +6680,7 @@ function HelperText(props) {
6663
6680
  // src/components/Label.tsx
6664
6681
  var import_react22 = __toESM(require("react"), 1);
6665
6682
  var import_react_aria5 = require("react-aria");
6666
- var import_runtime17 = require("@homebound/truss/runtime");
6683
+ var import_runtime16 = require("@homebound/truss/runtime");
6667
6684
  var import_jsx_runtime24 = require("react/jsx-runtime");
6668
6685
  function LabelComponent(props) {
6669
6686
  const {
@@ -6677,7 +6694,7 @@ function LabelComponent(props) {
6677
6694
  xss,
6678
6695
  ...others
6679
6696
  } = props;
6680
- const labelEl = /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("label", { ...labelProps, ...others, ...(0, import_runtime17.trussProps)({
6697
+ const labelEl = /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("label", { ...labelProps, ...others, ...(0, import_runtime16.trussProps)({
6681
6698
  ...{
6682
6699
  display: "dif",
6683
6700
  alignItems: "aic",
@@ -6712,7 +6729,7 @@ function InlineLabel({
6712
6729
  multiline = false,
6713
6730
  ...others
6714
6731
  }) {
6715
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("label", { ...labelProps, ...others, ...(0, import_runtime17.trussProps)({
6732
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("label", { ...labelProps, ...others, ...(0, import_runtime16.trussProps)({
6716
6733
  fontWeight: "fw4",
6717
6734
  fontSize: "fz_14px",
6718
6735
  lineHeight: "lh_20px",
@@ -6745,11 +6762,11 @@ function CssReset() {
6745
6762
  }
6746
6763
 
6747
6764
  // src/components/Table/components/cell.tsx
6748
- var import_runtime18 = require("@homebound/truss/runtime");
6765
+ var import_runtime17 = require("@homebound/truss/runtime");
6749
6766
  var import_jsx_runtime25 = require("react/jsx-runtime");
6750
6767
  var defaultRenderFn = (as, colSpan) => (key, css2, content, row, rowStyle, classNames, onClick, tooltip) => {
6751
6768
  const Cell = as === "table" ? "td" : "div";
6752
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Cell, { ...(0, import_runtime18.mergeProps)(classNames, void 0, {
6769
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Cell, { ...(0, import_runtime17.mergeProps)(classNames, void 0, {
6753
6770
  ...css2,
6754
6771
  ...{
6755
6772
  cursor: "cursor_default"
@@ -6760,7 +6777,7 @@ var defaultRenderFn = (as, colSpan) => (key, css2, content, row, rowStyle, class
6760
6777
  };
6761
6778
  var headerRenderFn = (column2, as, colSpan) => (key, css2, content, row, rowStyle, classNames, onClick, tooltip) => {
6762
6779
  const Cell = as === "table" ? "th" : "div";
6763
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Cell, { ...(0, import_runtime18.mergeProps)(classNames, void 0, {
6780
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Cell, { ...(0, import_runtime17.mergeProps)(classNames, void 0, {
6764
6781
  ...css2
6765
6782
  }), ...as === "table" && {
6766
6783
  colSpan
@@ -6769,15 +6786,15 @@ var headerRenderFn = (column2, as, colSpan) => (key, css2, content, row, rowStyl
6769
6786
  var rowLinkRenderFn = (as, colSpan) => (key, css2, content, row, rowStyle, classNames, onClick, tooltip) => {
6770
6787
  const to = rowStyle.rowLink(row);
6771
6788
  if (as === "table") {
6772
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { ...(0, import_runtime18.mergeProps)(classNames, void 0, {
6789
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { ...(0, import_runtime17.mergeProps)(classNames, void 0, {
6773
6790
  ...css2
6774
- }), colSpan, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_router_dom2.Link, { to, ...(0, import_runtime18.mergeProps)(navLink, void 0, {
6791
+ }), colSpan, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_router_dom2.Link, { to, ...(0, import_runtime17.mergeProps)(navLink, void 0, {
6775
6792
  textDecoration: "tdn",
6776
6793
  color: "color_unset",
6777
6794
  display: "db"
6778
6795
  }), children: content }) }, key);
6779
6796
  }
6780
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_router_dom2.Link, { to, ...(0, import_runtime18.mergeProps)(`${navLink} ${classNames}`, void 0, {
6797
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_router_dom2.Link, { to, ...(0, import_runtime17.mergeProps)(`${navLink} ${classNames}`, void 0, {
6781
6798
  ...{
6782
6799
  textDecoration: "tdn",
6783
6800
  color: "color_unset"
@@ -6787,7 +6804,7 @@ var rowLinkRenderFn = (as, colSpan) => (key, css2, content, row, rowStyle, class
6787
6804
  };
6788
6805
  var rowClickRenderFn = (as, api, colSpan) => (key, css2, content, row, rowStyle, classNames, onClick, tooltip) => {
6789
6806
  const Cell = as === "table" ? "td" : "div";
6790
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Cell, { ...(0, import_runtime18.mergeProps)(classNames, void 0, {
6807
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Cell, { ...(0, import_runtime17.mergeProps)(classNames, void 0, {
6791
6808
  ...css2
6792
6809
  }), onClick: (e) => {
6793
6810
  rowStyle.onClick(row, api);
@@ -6799,7 +6816,7 @@ var rowClickRenderFn = (as, api, colSpan) => (key, css2, content, row, rowStyle,
6799
6816
 
6800
6817
  // src/components/Table/components/ColumnResizeHandle.tsx
6801
6818
  var import_react23 = require("react");
6802
- var import_runtime19 = require("@homebound/truss/runtime");
6819
+ var import_runtime18 = require("@homebound/truss/runtime");
6803
6820
  var import_jsx_runtime26 = require("react/jsx-runtime");
6804
6821
  function findScrollableParent(element) {
6805
6822
  if (!element) return null;
@@ -6964,7 +6981,7 @@ function ColumnResizeHandle({
6964
6981
  };
6965
6982
  }, []);
6966
6983
  return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
6967
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { ref: handleRef, onMouseDown: handleMouseDown, onMouseEnter: () => setIsHovering(true), onMouseLeave: () => !isDragging && setIsHovering(false), ...(0, import_runtime19.trussProps)({
6984
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { ref: handleRef, onMouseDown: handleMouseDown, onMouseEnter: () => setIsHovering(true), onMouseLeave: () => !isDragging && setIsHovering(false), ...(0, import_runtime18.trussProps)({
6968
6985
  position: "absolute",
6969
6986
  top: "top0",
6970
6987
  bottom: "bottom0",
@@ -6980,7 +6997,7 @@ function ColumnResizeHandle({
6980
6997
  backgroundColor: "h_bgGray700 h_bgGray700"
6981
6998
  } : {}
6982
6999
  }), ...tid.handle, "data-column-id": columnId, "data-column-index": columnIndex }),
6983
- isDragging && guideLineX !== null && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { ...(0, import_runtime19.trussProps)({
7000
+ isDragging && guideLineX !== null && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { ...(0, import_runtime18.trussProps)({
6984
7001
  position: "fixed",
6985
7002
  top: ["top_var", {
6986
7003
  "--top": `${guideLineTop}px`
@@ -7002,7 +7019,7 @@ function ColumnResizeHandle({
7002
7019
 
7003
7020
  // src/components/Table/components/KeptGroupRow.tsx
7004
7021
  var import_react24 = require("react");
7005
- var import_runtime20 = require("@homebound/truss/runtime");
7022
+ var import_runtime19 = require("@homebound/truss/runtime");
7006
7023
  var import_jsx_runtime27 = require("react/jsx-runtime");
7007
7024
  var __maybeInc3 = (inc) => {
7008
7025
  return typeof inc === "string" ? inc : `${inc * 8}px`;
@@ -7021,7 +7038,7 @@ function KeptGroupRow(props) {
7021
7038
  tableState
7022
7039
  } = (0, import_react24.useContext)(TableStateContext);
7023
7040
  const numHiddenSelectedRows = useComputed(() => tableState.keptRows.length, [tableState]);
7024
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(CellTag, { ...(0, import_runtime20.trussProps)({
7041
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(CellTag, { ...(0, import_runtime19.trussProps)({
7025
7042
  ...style.cellCss,
7026
7043
  ...style.betweenRowsCss,
7027
7044
  ...isLastBodyRow && style.lastRowCellCss,
@@ -7819,7 +7836,7 @@ function canClientSideSort(value) {
7819
7836
 
7820
7837
  // src/components/Table/components/Row.tsx
7821
7838
  var import_use_debounce2 = require("use-debounce");
7822
- var import_runtime21 = require("@homebound/truss/runtime");
7839
+ var import_runtime20 = require("@homebound/truss/runtime");
7823
7840
  var import_jsx_runtime28 = require("react/jsx-runtime");
7824
7841
  var __maybeInc4 = (inc) => {
7825
7842
  return typeof inc === "string" ? inc : `${inc * 8}px`;
@@ -7987,7 +8004,7 @@ function RowImpl(props) {
7987
8004
  const ref = (0, import_react25.useRef)(null);
7988
8005
  const dragOverCallback = (0, import_react25.useCallback)((row2, evt) => onDragOver?.(row2, evt), [onDragOver]);
7989
8006
  const onDragOverDebounced = (0, import_use_debounce2.useDebouncedCallback)(dragOverCallback, 100);
7990
- const RowContent = () => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(RowTag, { ...(0, import_runtime21.mergeProps)(BorderHoverParent, void 0, rowCss), ...others, "data-gridrow": true, ...getCount(row.id), ref, children: isKeptGroupRow ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(KeptGroupRow, { as, style, columnSizes, row, colSpan: columns.length, isLastBodyRow }) : columns.map((column2, columnIndex) => {
8007
+ const RowContent = () => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(RowTag, { ...(0, import_runtime20.mergeProps)(BorderHoverParent, void 0, rowCss), ...others, "data-gridrow": true, ...getCount(row.id), ref, children: isKeptGroupRow ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(KeptGroupRow, { as, style, columnSizes, row, colSpan: columns.length, isLastBodyRow }) : columns.map((column2, columnIndex) => {
7991
8008
  const maybeExpandedColumn = expandColumnHidden ? columns[columnIndex - 1] : column2;
7992
8009
  const isExpanded = tableState.isExpandedColumn(maybeExpandedColumn.id);
7993
8010
  if (column2.hideOnExpand && isExpanded) {
@@ -8152,7 +8169,7 @@ function RowImpl(props) {
8152
8169
  const currentSizeStr = columnSizes[columnIndex];
8153
8170
  const minWidthPx = column2.mw ? parseInt(column2.mw.replace("px", ""), 10) : 100;
8154
8171
  const currentWidthPx = parseWidthToPx(currentSizeStr, void 0) ?? resizedWidths?.[column2.id] ?? minWidthPx;
8155
- const cellElementWithHandle = import_react25.default.cloneElement(cellElement, (0, import_react_aria6.mergeProps)(cellElement.props, (0, import_runtime21.trussProps)({
8172
+ const cellElementWithHandle = import_react25.default.cloneElement(cellElement, (0, import_react_aria6.mergeProps)(cellElement.props, (0, import_runtime20.trussProps)({
8156
8173
  ...!maybeSticky && {
8157
8174
  position: "relative"
8158
8175
  }
@@ -8169,7 +8186,7 @@ function RowImpl(props) {
8169
8186
  return row.draggable ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
8170
8187
  "div",
8171
8188
  {
8172
- ...(0, import_runtime21.trussProps)(containerCss),
8189
+ ...(0, import_runtime20.trussProps)(containerCss),
8173
8190
  onDrop: (evt) => onDrop?.(row, evt),
8174
8191
  onDragEnter: (evt) => onDragEnter?.(row, evt),
8175
8192
  onDragOver: (evt) => {
@@ -8204,7 +8221,7 @@ function useLabelSuffix(required, readOnly) {
8204
8221
 
8205
8222
  // src/inputs/ErrorMessage.tsx
8206
8223
  var import_react_aria7 = require("react-aria");
8207
- var import_runtime22 = require("@homebound/truss/runtime");
8224
+ var import_runtime21 = require("@homebound/truss/runtime");
8208
8225
  var import_jsx_runtime29 = require("react/jsx-runtime");
8209
8226
  function ErrorMessage(props) {
8210
8227
  const {
@@ -8214,7 +8231,7 @@ function ErrorMessage(props) {
8214
8231
  hidden = false,
8215
8232
  ...others
8216
8233
  } = props;
8217
- const errorEl = errorMsg ? /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { ...(0, import_runtime22.trussProps)({
8234
+ const errorEl = errorMsg ? /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { ...(0, import_runtime21.trussProps)({
8218
8235
  color: "red600",
8219
8236
  fontWeight: "fw4",
8220
8237
  fontSize: "fz_14px",
@@ -8237,7 +8254,7 @@ function getFieldWidth(fullWidth) {
8237
8254
  }
8238
8255
 
8239
8256
  // src/inputs/TextFieldBase.tsx
8240
- var import_runtime23 = require("@homebound/truss/runtime");
8257
+ var import_runtime22 = require("@homebound/truss/runtime");
8241
8258
  var import_jsx_runtime30 = require("react/jsx-runtime");
8242
8259
  var __maybeInc5 = (inc) => {
8243
8260
  return typeof inc === "string" ? inc : `${inc * 8}px`;
@@ -8617,12 +8634,12 @@ function TextFieldBase(props) {
8617
8634
  ...xss
8618
8635
  };
8619
8636
  return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_jsx_runtime30.Fragment, { children: [
8620
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { ...(0, import_runtime23.trussProps)(fieldStyles.container), ...groupProps, ...focusWithinProps, children: [
8637
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { ...(0, import_runtime22.trussProps)(fieldStyles.container), ...groupProps, ...focusWithinProps, children: [
8621
8638
  label && labelStyle !== "inline" && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Label, { labelProps, hidden: labelStyle === "hidden" || compound, label, inline: labelStyle !== "above", suffix: labelSuffix, contrast, ...tid.label }),
8622
8639
  maybeTooltip({
8623
8640
  title: tooltip,
8624
8641
  placement: "top",
8625
- children: inputProps.readOnly ? /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { ...(0, import_runtime23.mergeProps)(BorderHoverChild, void 0, {
8642
+ children: inputProps.readOnly ? /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { ...(0, import_runtime22.mergeProps)(BorderHoverChild, void 0, {
8626
8643
  // Use input wrapper to get common styles, but then we need to override some
8627
8644
  ...fieldStyles.inputWrapperReadOnly,
8628
8645
  ...multiline ? {
@@ -8646,7 +8663,7 @@ function TextFieldBase(props) {
8646
8663
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
8647
8664
  "div",
8648
8665
  {
8649
- ...(0, import_runtime23.mergeProps)(BorderHoverChild, void 0, {
8666
+ ...(0, import_runtime22.mergeProps)(BorderHoverChild, void 0, {
8650
8667
  ...fieldStyles.inputWrapper,
8651
8668
  ...inputProps.disabled ? fieldStyles.disabled : {},
8652
8669
  ...showFocus ? fieldStyles.focus : {},
@@ -8674,7 +8691,7 @@ function TextFieldBase(props) {
8674
8691
  {
8675
8692
  tabIndex: -1,
8676
8693
  ...tid.unfocusedPlaceholderContainer,
8677
- ...(0, import_runtime23.trussProps)({
8694
+ ...(0, import_runtime22.trussProps)({
8678
8695
  ...{
8679
8696
  display: "df",
8680
8697
  alignSelf: "asc",
@@ -8702,7 +8719,7 @@ function TextFieldBase(props) {
8702
8719
  children: unfocusedPlaceholder
8703
8720
  }
8704
8721
  ),
8705
- multiline ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("textarea", { ...fieldElementProps, ...errorMessageProps, ref: fieldRef, rows: 1, ...(0, import_runtime23.trussProps)(fieldElementCss), ...tid }) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("input", { ...fieldElementProps, ...errorMessageProps, ref: fieldRef, ...(0, import_runtime23.trussProps)(fieldElementCss), ...tid }),
8722
+ multiline ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("textarea", { ...fieldElementProps, ...errorMessageProps, ref: fieldRef, rows: 1, ...(0, import_runtime22.trussProps)(fieldElementCss), ...tid }) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("input", { ...fieldElementProps, ...errorMessageProps, ref: fieldRef, ...(0, import_runtime22.trussProps)(fieldElementCss), ...tid }),
8706
8723
  isFocused && clearable && onChange && inputProps.value && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(IconButton, { icon: "xCircle", color: "rgba(100, 100, 100, 1)" /* Gray700 */, onClick: () => {
8707
8724
  onChange(void 0);
8708
8725
  fieldRef.current?.focus();
@@ -8719,7 +8736,7 @@ function TextFieldBase(props) {
8719
8736
  ] })
8720
8737
  ] }),
8721
8738
  labelStyle === "left" && (alwaysShowHelperText || !compound && !inputProps.disabled && !inputProps.readOnly && (errorMsg && !errorInTooltip || helperText)) && // Reduces the margin between the error/helper text and input field
8722
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { ...(0, import_runtime23.trussProps)({
8739
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { ...(0, import_runtime22.trussProps)({
8723
8740
  marginTop: ["mt_var", {
8724
8741
  "--marginTop": `${-8}px`
8725
8742
  }]
@@ -8846,7 +8863,7 @@ function Menu(props) {
8846
8863
  label: "items",
8847
8864
  items
8848
8865
  }), [items]);
8849
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react_aria9.FocusScope, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { ...(0, import_runtime24.trussProps)({
8866
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react_aria9.FocusScope, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { ...(0, import_runtime23.trussProps)({
8850
8867
  // Using `max-height: inherit` allows us to take advantage of the height set on the overlay container,
8851
8868
  // which updates based on the available space for the overlay within the viewport
8852
8869
  ...{
@@ -8883,7 +8900,7 @@ var import_react_router_dom3 = require("react-router-dom");
8883
8900
 
8884
8901
  // src/components/Avatar/Avatar.tsx
8885
8902
  var import_react29 = require("react");
8886
- var import_runtime25 = require("@homebound/truss/runtime");
8903
+ var import_runtime24 = require("@homebound/truss/runtime");
8887
8904
  var import_jsx_runtime33 = require("react/jsx-runtime");
8888
8905
  var __typography4 = {
8889
8906
  xs2: {
@@ -8966,7 +8983,7 @@ function Avatar({
8966
8983
  }],
8967
8984
  overflow: "oh"
8968
8985
  };
8969
- const img = showFallback ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { ...(0, import_runtime25.trussProps)({
8986
+ const img = showFallback ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { ...(0, import_runtime24.trussProps)({
8970
8987
  ...styles,
8971
8988
  ...{
8972
8989
  ...__typography4[sizeToFallbackTypeScale[size]] ?? {},
@@ -8976,13 +8993,13 @@ function Avatar({
8976
8993
  alignItems: "aic",
8977
8994
  justifyContent: "jcc"
8978
8995
  }
8979
- }), ...tid, children: name ? nameToInitials(name) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { icon: "userCircle", inc: sizeToIconInc[size] }) }) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("img", { src, alt: name, ...(0, import_runtime25.trussProps)({
8996
+ }), ...tid, children: name ? nameToInitials(name) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { icon: "userCircle", inc: sizeToIconInc[size] }) }) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("img", { src, alt: name, ...(0, import_runtime24.trussProps)({
8980
8997
  ...styles,
8981
8998
  ...{
8982
8999
  objectFit: "objectCover"
8983
9000
  }
8984
9001
  }), onError: () => setShowFallback(true), loading: "lazy", ...tid });
8985
- return showName && name ? /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { ...(0, import_runtime25.trussProps)({
9002
+ return showName && name ? /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { ...(0, import_runtime24.trussProps)({
8986
9003
  display: "dif",
8987
9004
  alignItems: "aic",
8988
9005
  gap: "gap1",
@@ -8991,7 +9008,7 @@ function Avatar({
8991
9008
  } : {}
8992
9009
  }), children: [
8993
9010
  img,
8994
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { ...(0, import_runtime25.trussProps)({
9011
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { ...(0, import_runtime24.trussProps)({
8995
9012
  ...__typography4[sizeToTypeScale[size]] ?? {}
8996
9013
  }), children: name })
8997
9014
  ] }) : maybeTooltip({
@@ -9031,7 +9048,7 @@ function nameToInitials(name) {
9031
9048
  // src/components/Avatar/AvatarButton.tsx
9032
9049
  var import_react30 = require("react");
9033
9050
  var import_react_aria10 = require("react-aria");
9034
- var import_runtime26 = require("@homebound/truss/runtime");
9051
+ var import_runtime25 = require("@homebound/truss/runtime");
9035
9052
  var import_jsx_runtime34 = require("react/jsx-runtime");
9036
9053
  function AvatarButton(props) {
9037
9054
  const {
@@ -9087,11 +9104,11 @@ function AvatarButton(props) {
9087
9104
  ...focusProps,
9088
9105
  ...hoverProps,
9089
9106
  ref,
9090
- ...(0, import_runtime26.mergeProps)(typeof onPress === "string" ? navLink : void 0, void 0, styles)
9107
+ ...(0, import_runtime25.mergeProps)(typeof onPress === "string" ? navLink : void 0, void 0, styles)
9091
9108
  };
9092
9109
  const content = /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
9093
9110
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Avatar, { ...avatarProps, ...tid, disableTooltip: true }),
9094
- isPressed && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { ...(0, import_runtime26.trussProps)(pressedOverlayCss) })
9111
+ isPressed && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { ...(0, import_runtime25.trussProps)(pressedOverlayCss) })
9095
9112
  ] });
9096
9113
  return maybeTooltip({
9097
9114
  // Default the tooltip to the avatar's name, if defined.
@@ -9142,7 +9159,7 @@ var import_react_aria13 = require("react-aria");
9142
9159
  // src/components/Button.tsx
9143
9160
  var import_react31 = require("react");
9144
9161
  var import_react_aria11 = require("react-aria");
9145
- var import_runtime27 = require("@homebound/truss/runtime");
9162
+ var import_runtime26 = require("@homebound/truss/runtime");
9146
9163
  var import_jsx_runtime35 = require("react/jsx-runtime");
9147
9164
  function Button(props) {
9148
9165
  const {
@@ -9219,7 +9236,7 @@ function Button(props) {
9219
9236
  ...buttonProps,
9220
9237
  ...focusProps,
9221
9238
  ...hoverProps,
9222
- ...(0, import_runtime27.mergeProps)(asLink ? navLink : void 0, void 0, {
9239
+ ...(0, import_runtime26.mergeProps)(asLink ? navLink : void 0, void 0, {
9223
9240
  ...{
9224
9241
  fontWeight: "fw6",
9225
9242
  fontSize: "fz_14px",
@@ -9624,7 +9641,7 @@ var iconStyles = {
9624
9641
  // src/components/NavLink.tsx
9625
9642
  var import_react32 = require("react");
9626
9643
  var import_react_aria12 = require("react-aria");
9627
- var import_runtime28 = require("@homebound/truss/runtime");
9644
+ var import_runtime27 = require("@homebound/truss/runtime");
9628
9645
  var import_jsx_runtime36 = require("react/jsx-runtime");
9629
9646
  function NavLink(props) {
9630
9647
  const {
@@ -9680,7 +9697,7 @@ function NavLink(props) {
9680
9697
  tabIndex: isDisabled ? -1 : 0,
9681
9698
  /** aria-current represents the current page within a set of pages */
9682
9699
  "aria-current": active ? "page" : void 0,
9683
- ...(0, import_runtime28.trussProps)({
9700
+ ...(0, import_runtime27.trussProps)({
9684
9701
  ...baseStyles5,
9685
9702
  ...active && activeStyles4,
9686
9703
  ...isDisabled && disabledStyles4,
@@ -9839,7 +9856,14 @@ function OverlayTrigger(props) {
9839
9856
  isOpen: state.isOpen,
9840
9857
  onClose: state.close,
9841
9858
  placement: placement ? `bottom ${placement}` : "bottom left",
9842
- offset: showActiveBorder ? 4 : void 0
9859
+ offset: showActiveBorder ? 4 : void 0,
9860
+ // Prevents a react-aria ResizeObserver loop that prevents full scrollability in menus
9861
+ // that scroll when the trigger is inside a virtual GridTable with nested
9862
+ // scroll containers (e.g. stepper + layout + virtuoso), and the trigger is far
9863
+ // enough from the viewport edge that the calculated maxHeight differs significantly
9864
+ // This is a very specific set of circumstances that have appeared w/in blueprint
9865
+ // after we upgraded truss to v2
9866
+ maxHeight: window.visualViewport?.height ?? window.innerHeight
9843
9867
  });
9844
9868
  const tid = useTestIds(props, isTextButton(trigger) ? defaultTestId(labelOr(trigger, "overlayTrigger")) : isNavLinkButton(trigger) ? defaultTestId(trigger.navLabel) : isIconButton(trigger) ? trigger.icon : trigger.name);
9845
9869
  return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "dib lineHeight_0", children: [
@@ -9891,7 +9915,7 @@ function ButtonModal(props) {
9891
9915
  }
9892
9916
 
9893
9917
  // src/components/Avatar/AvatarGroup.tsx
9894
- var import_runtime29 = require("@homebound/truss/runtime");
9918
+ var import_runtime28 = require("@homebound/truss/runtime");
9895
9919
  var import_jsx_runtime40 = require("react/jsx-runtime");
9896
9920
  function AvatarGroup(props) {
9897
9921
  const {
@@ -9902,7 +9926,7 @@ function AvatarGroup(props) {
9902
9926
  const visibleAvatars = avatars.slice(0, maxVisibleAvatars);
9903
9927
  const menuAvatars = avatars.slice(maxVisibleAvatars);
9904
9928
  return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "df aic gap1 fw6 fz_12px lh_16px", children: [
9905
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "df aic", children: visibleAvatars.map((avatar, idx) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { ...(0, import_runtime29.trussProps)({
9929
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "df aic", children: visibleAvatars.map((avatar, idx) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { ...(0, import_runtime28.trussProps)({
9906
9930
  borderRadius: "br100",
9907
9931
  borderStyle: "bss",
9908
9932
  borderWidth: "borderWidth_3px",
@@ -9916,7 +9940,7 @@ function AvatarGroup(props) {
9916
9940
  menuAvatars.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ButtonModal, { trigger: {
9917
9941
  label: `+ ${menuAvatars.length} more`,
9918
9942
  variant: "text"
9919
- }, hideEndAdornment: true, content: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { ...(0, import_runtime29.trussProps)({
9943
+ }, hideEndAdornment: true, content: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { ...(0, import_runtime28.trussProps)({
9920
9944
  display: "df",
9921
9945
  flexDirection: "fdc",
9922
9946
  gap: "gap1",
@@ -9943,7 +9967,7 @@ var sizeToOverlap = {
9943
9967
  };
9944
9968
 
9945
9969
  // src/components/internal/MenuItem.tsx
9946
- var import_runtime30 = require("@homebound/truss/runtime");
9970
+ var import_runtime29 = require("@homebound/truss/runtime");
9947
9971
  var import_jsx_runtime41 = require("react/jsx-runtime");
9948
9972
  function MenuItemImpl(props) {
9949
9973
  const {
@@ -9990,7 +10014,7 @@ function MenuItemImpl(props) {
9990
10014
  },
9991
10015
  onClose
9992
10016
  }, state, ref);
9993
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("li", { ...menuItemProps, ...hoverProps, ref, ...(0, import_runtime30.trussProps)({
10017
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("li", { ...menuItemProps, ...hoverProps, ref, ...(0, import_runtime29.trussProps)({
9994
10018
  ...{
9995
10019
  display: "df",
9996
10020
  alignItems: "aic",
@@ -10068,7 +10092,7 @@ function maybeWrapInLink(onClick, content, disabled) {
10068
10092
  if (disabled || typeof onClick !== "string") {
10069
10093
  return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_jsx_runtime41.Fragment, { children: content });
10070
10094
  }
10071
- return isAbsoluteUrl(onClick) ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("a", { href: onClick, target: "_blank", rel: "noopener noreferrer", ...(0, import_runtime30.mergeProps)("navLink", void 0, {
10095
+ return isAbsoluteUrl(onClick) ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("a", { href: onClick, target: "_blank", rel: "noopener noreferrer", ...(0, import_runtime29.mergeProps)("navLink", void 0, {
10072
10096
  display: "df",
10073
10097
  alignItems: "aic",
10074
10098
  justifyContent: "jcsb",
@@ -10115,12 +10139,12 @@ function Popover(props) {
10115
10139
  var import_react46 = require("react");
10116
10140
  var import_react_aria27 = require("react-aria");
10117
10141
  var import_react_stately6 = require("react-stately");
10118
- var import_runtime42 = require("@homebound/truss/runtime");
10142
+ var import_runtime41 = require("@homebound/truss/runtime");
10119
10143
 
10120
10144
  // src/inputs/internal/ComboBoxInput.tsx
10121
10145
  var import_react45 = require("react");
10122
10146
  var import_react_aria26 = require("react-aria");
10123
- var import_runtime41 = require("@homebound/truss/runtime");
10147
+ var import_runtime40 = require("@homebound/truss/runtime");
10124
10148
 
10125
10149
  // src/inputs/hooks/useGrowingTextField.tsx
10126
10150
  var import_utils32 = require("@react-aria/utils");
@@ -10186,12 +10210,12 @@ function useGrowingTextField({ inputRef, inputWrapRef, value, disabled, maxLines
10186
10210
  var import_react44 = __toESM(require("react"), 1);
10187
10211
  var import_react_aria25 = require("react-aria");
10188
10212
  var import_react_stately5 = require("react-stately");
10189
- var import_runtime40 = require("@homebound/truss/runtime");
10213
+ var import_runtime39 = require("@homebound/truss/runtime");
10190
10214
 
10191
10215
  // src/inputs/internal/ListBox.tsx
10192
10216
  var import_react43 = require("react");
10193
10217
  var import_react_aria24 = require("react-aria");
10194
- var import_runtime39 = require("@homebound/truss/runtime");
10218
+ var import_runtime38 = require("@homebound/truss/runtime");
10195
10219
 
10196
10220
  // src/inputs/internal/constants.ts
10197
10221
  var persistentItemHeight = 42;
@@ -10199,7 +10223,7 @@ var sectionSeparatorHeight = 1;
10199
10223
 
10200
10224
  // src/inputs/internal/ListBoxSection.tsx
10201
10225
  var import_react_aria23 = require("react-aria");
10202
- var import_runtime38 = require("@homebound/truss/runtime");
10226
+ var import_runtime37 = require("@homebound/truss/runtime");
10203
10227
 
10204
10228
  // src/inputs/internal/Option.tsx
10205
10229
  var import_react39 = require("react");
@@ -10214,7 +10238,7 @@ var import_react_stately4 = require("react-stately");
10214
10238
  // src/inputs/ChipTextField.tsx
10215
10239
  var import_react37 = require("react");
10216
10240
  var import_react_aria18 = require("react-aria");
10217
- var import_runtime31 = require("@homebound/truss/runtime");
10241
+ var import_runtime30 = require("@homebound/truss/runtime");
10218
10242
  var import_jsx_runtime43 = require("react/jsx-runtime");
10219
10243
  function ChipTextField(props) {
10220
10244
  const {
@@ -10274,7 +10298,7 @@ function ChipTextField(props) {
10274
10298
  target.innerHTML = target.textContent?.replace(/[A\n\r]/g, " ") ?? "";
10275
10299
  }
10276
10300
  onChange(target.textContent ?? "");
10277
- }, ...focusProps, ...(0, import_runtime31.trussProps)({
10301
+ }, ...focusProps, ...(0, import_runtime30.trussProps)({
10278
10302
  ...chipBaseStyles(fieldProps?.compact),
10279
10303
  ...{
10280
10304
  minWidth: "mw_32px",
@@ -10287,7 +10311,7 @@ function ChipTextField(props) {
10287
10311
  }
10288
10312
 
10289
10313
  // src/inputs/internal/ListBoxChip.tsx
10290
- var import_runtime32 = require("@homebound/truss/runtime");
10314
+ var import_runtime31 = require("@homebound/truss/runtime");
10291
10315
  var import_jsx_runtime44 = require("react/jsx-runtime");
10292
10316
  function ListBoxChip({
10293
10317
  label
@@ -10295,7 +10319,7 @@ function ListBoxChip({
10295
10319
  const {
10296
10320
  fieldProps
10297
10321
  } = usePresentationContext();
10298
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { ...(0, import_runtime32.trussProps)({
10322
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { ...(0, import_runtime31.trussProps)({
10299
10323
  ...chipBaseStyles(fieldProps?.compact),
10300
10324
  ...{
10301
10325
  whiteSpace: "wsnw",
@@ -10356,7 +10380,7 @@ function defaultOptionLabel(opt) {
10356
10380
  }
10357
10381
 
10358
10382
  // src/inputs/ChipSelectField.tsx
10359
- var import_runtime33 = require("@homebound/truss/runtime");
10383
+ var import_runtime32 = require("@homebound/truss/runtime");
10360
10384
  var import_jsx_runtime45 = require("react/jsx-runtime");
10361
10385
  function ChipSelectField(props) {
10362
10386
  const firstRender = (0, import_react38.useRef)(true);
@@ -10534,7 +10558,7 @@ function ChipSelectField(props) {
10534
10558
  maybeTooltip({
10535
10559
  title: resolveTooltip(disabled),
10536
10560
  placement: "top",
10537
- children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { ref: wrapperRef, ...(0, import_runtime33.trussProps)({
10561
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { ref: wrapperRef, ...(0, import_runtime32.trussProps)({
10538
10562
  ...chipStyles,
10539
10563
  ...{
10540
10564
  position: "relative",
@@ -10552,7 +10576,7 @@ function ChipSelectField(props) {
10552
10576
  } : {}
10553
10577
  }), children: [
10554
10578
  /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Label, { label, labelProps, hidden: true, ...tid.label }),
10555
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("button", { ...(0, import_react_aria19.mergeProps)(focusProps, buttonProps), ref: buttonRef, ...(0, import_runtime33.trussProps)({
10579
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("button", { ...(0, import_react_aria19.mergeProps)(focusProps, buttonProps), ref: buttonRef, ...(0, import_runtime32.trussProps)({
10556
10580
  ...{
10557
10581
  textAlign: "tal",
10558
10582
  borderRadius: "br16",
@@ -10568,7 +10592,7 @@ function ChipSelectField(props) {
10568
10592
  },
10569
10593
  ...isDisabled ? chipDisabledStyles : chipHoverOnlyStyles
10570
10594
  }), title: state.selectedItem ? state.selectedItem.textValue : placeholder, ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { ...valueProps, className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_1 wbba", children: state.selectedItem ? state.selectedItem.textValue : placeholder }) }),
10571
- showClearButton && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("button", { ...clearFocusProps, ...(0, import_runtime33.trussProps)({
10595
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("button", { ...clearFocusProps, ...(0, import_runtime32.trussProps)({
10572
10596
  ...{
10573
10597
  paddingRight: "pr_4px",
10574
10598
  borderRadius: "borderRadius_0_16px_16px_0",
@@ -10614,7 +10638,7 @@ function CreateNewField(props) {
10614
10638
  }
10615
10639
 
10616
10640
  // src/inputs/internal/Option.tsx
10617
- var import_runtime34 = require("@homebound/truss/runtime");
10641
+ var import_runtime33 = require("@homebound/truss/runtime");
10618
10642
  var import_jsx_runtime46 = require("react/jsx-runtime");
10619
10643
  function Option(props) {
10620
10644
  const {
@@ -10668,7 +10692,7 @@ function Option(props) {
10668
10692
  return maybeTooltip({
10669
10693
  title: disabledReason,
10670
10694
  placement: "right",
10671
- children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("li", { ...(0, import_react_aria20.mergeProps)(optionProps, hoverProps), "data-label": item.textValue, ref, ...(0, import_runtime34.trussProps)({
10695
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("li", { ...(0, import_react_aria20.mergeProps)(optionProps, hoverProps), "data-label": item.textValue, ref, ...(0, import_runtime33.trussProps)({
10672
10696
  ...{
10673
10697
  display: "df",
10674
10698
  alignItems: "aic",
@@ -10707,7 +10731,7 @@ var import_react42 = require("react");
10707
10731
  var import_react_virtuoso = require("react-virtuoso");
10708
10732
 
10709
10733
  // src/inputs/internal/LoadingDots.tsx
10710
- var import_runtime35 = require("@homebound/truss/runtime");
10734
+ var import_runtime34 = require("@homebound/truss/runtime");
10711
10735
  var import_jsx_runtime47 = require("react/jsx-runtime");
10712
10736
  function LoadingDots({
10713
10737
  contrast
@@ -10729,19 +10753,19 @@ function LoadingDots({
10729
10753
  };
10730
10754
  const tid = useTestIds({});
10731
10755
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "pt2 pb2 df jcc", ...tid.loadingDots, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { "aria-label": "Loading", className: "df gap_4px", children: [
10732
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { ...(0, import_runtime35.trussProps)({
10756
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { ...(0, import_runtime34.trussProps)({
10733
10757
  ...dotCss,
10734
10758
  ...{
10735
10759
  animationDelay: "animationDelay_0ms"
10736
10760
  }
10737
10761
  }) }),
10738
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { ...(0, import_runtime35.trussProps)({
10762
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { ...(0, import_runtime34.trussProps)({
10739
10763
  ...dotCss,
10740
10764
  ...{
10741
10765
  animationDelay: "animationDelay_300ms"
10742
10766
  }
10743
10767
  }) }),
10744
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { ...(0, import_runtime35.trussProps)({
10768
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { ...(0, import_runtime34.trussProps)({
10745
10769
  ...dotCss,
10746
10770
  ...{
10747
10771
  animationDelay: "animationDelay_600ms"
@@ -10757,7 +10781,7 @@ var import_react_aria22 = require("react-aria");
10757
10781
  // src/inputs/CheckboxBase.tsx
10758
10782
  var import_react40 = require("react");
10759
10783
  var import_react_aria21 = require("react-aria");
10760
- var import_runtime36 = require("@homebound/truss/runtime");
10784
+ var import_runtime35 = require("@homebound/truss/runtime");
10761
10785
  var import_jsx_runtime48 = require("react/jsx-runtime");
10762
10786
  function CheckboxBase(props) {
10763
10787
  const {
@@ -10785,7 +10809,7 @@ function CheckboxBase(props) {
10785
10809
  return maybeTooltip({
10786
10810
  title: tooltip,
10787
10811
  placement: "top",
10788
- children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Tag2, { ...(0, import_runtime36.trussProps)({
10812
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Tag2, { ...(0, import_runtime35.trussProps)({
10789
10813
  display: "df",
10790
10814
  cursor: "cursorPointer",
10791
10815
  position: "relative",
@@ -10801,17 +10825,17 @@ function CheckboxBase(props) {
10801
10825
  /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(StyledCheckbox, { ...props, isFocusVisible, ...tid }),
10802
10826
  !checkboxOnly && // Use a mtPx(-2) to better align the label with the checkbox.
10803
10827
  // Not using align-items: center as the checkbox would align with all content below, where we really want it to stay only aligned with the label
10804
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { ...(0, import_runtime36.trussProps)({
10828
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { ...(0, import_runtime35.trussProps)({
10805
10829
  marginLeft: "ml1",
10806
10830
  marginTop: ["mt_var", {
10807
10831
  "--marginTop": `${-2}px`
10808
10832
  }]
10809
10833
  }), children: [
10810
- label && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { ...(0, import_runtime36.trussProps)({
10834
+ label && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { ...(0, import_runtime35.trussProps)({
10811
10835
  ...labelStyles,
10812
10836
  ...isDisabled && disabledColor
10813
10837
  }), children: label }),
10814
- description && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { ...(0, import_runtime36.trussProps)({
10838
+ description && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { ...(0, import_runtime35.trussProps)({
10815
10839
  ...descStyles,
10816
10840
  ...isDisabled && disabledColor
10817
10841
  }), children: description }),
@@ -10893,7 +10917,7 @@ function StyledCheckbox(props) {
10893
10917
  });
10894
10918
  const markIcon = isIndeterminate ? dashSmall : isSelected ? checkmarkSmall : "";
10895
10919
  const tid = useTestIds(props);
10896
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { ...hoverProps, ...(0, import_runtime36.trussProps)({
10920
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { ...hoverProps, ...(0, import_runtime35.trussProps)({
10897
10921
  ...baseStyles2,
10898
10922
  ...(isSelected && !isDisabled || isIndeterminate) && filledBoxStyles,
10899
10923
  ...(isSelected && !isDisabled || isIndeterminate) && isHovered && filledBoxHoverStyles,
@@ -10903,11 +10927,11 @@ function StyledCheckbox(props) {
10903
10927
  ...isHovered && hoverBorderStyles
10904
10928
  }), "aria-hidden": "true", "data-checked": isSelected ? true : isIndeterminate ? "mixed" : false, ...tid.checkbox, children: markIcon });
10905
10929
  }
10906
- var checkmarkSmall = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("svg", { width: "16", height: "16", ...(0, import_runtime36.trussProps)(markSvgStyles), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("path", { d: "M6.66669 10.3907L4.47135 8.19533L3.52869 9.138L6.66669 12.276L13.138 5.80467L12.1954 4.862L6.66669 10.3907Z", fill: "rgba(255,255,255,1)" /* White */ }) });
10907
- var dashSmall = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("svg", { width: "16", height: "16", ...(0, import_runtime36.trussProps)(markSvgStyles), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("rect", { x: "4", y: "7.5", width: "8", height: "1.35", fill: "rgba(255,255,255,1)" /* White */ }) });
10930
+ var checkmarkSmall = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("svg", { width: "16", height: "16", ...(0, import_runtime35.trussProps)(markSvgStyles), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("path", { d: "M6.66669 10.3907L4.47135 8.19533L3.52869 9.138L6.66669 12.276L13.138 5.80467L12.1954 4.862L6.66669 10.3907Z", fill: "rgba(255,255,255,1)" /* White */ }) });
10931
+ var dashSmall = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("svg", { width: "16", height: "16", ...(0, import_runtime35.trussProps)(markSvgStyles), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("rect", { x: "4", y: "7.5", width: "8", height: "1.35", fill: "rgba(255,255,255,1)" /* White */ }) });
10908
10932
 
10909
10933
  // src/inputs/TreeSelectField/TreeOption.tsx
10910
- var import_runtime37 = require("@homebound/truss/runtime");
10934
+ var import_runtime36 = require("@homebound/truss/runtime");
10911
10935
  var import_jsx_runtime49 = require("react/jsx-runtime");
10912
10936
  function TreeOption(props) {
10913
10937
  const {
@@ -10967,7 +10991,7 @@ function TreeOption(props) {
10967
10991
  }]
10968
10992
  }
10969
10993
  };
10970
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("li", { ...hoverProps, ...(0, import_runtime37.trussProps)({
10994
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("li", { ...hoverProps, ...(0, import_runtime36.trussProps)({
10971
10995
  ...{
10972
10996
  display: "df",
10973
10997
  alignItems: "aic",
@@ -11150,11 +11174,11 @@ function ListBoxSection(props) {
11150
11174
  const childNodes = [...section.childNodes];
11151
11175
  return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
11152
11176
  isPersistentSection && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("li", { ...separatorProps, className: "bts_solid btw_1px bcGray200" }),
11153
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("li", { ...itemProps, ...(0, import_runtime38.trussProps)({
11177
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("li", { ...itemProps, ...(0, import_runtime37.trussProps)({
11154
11178
  ...!isPersistentSection ? {
11155
11179
  overflow: "oa"
11156
11180
  } : {}
11157
- }), children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("ul", { ...(0, import_runtime38.trussProps)({
11181
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("ul", { ...(0, import_runtime37.trussProps)({
11158
11182
  padding: "p_0",
11159
11183
  margin: "m_0",
11160
11184
  listStyle: "lis_none",
@@ -11230,7 +11254,7 @@ function ListBox(props) {
11230
11254
  // eslint-disable-next-line react-hooks/exhaustive-deps
11231
11255
  [state.selectionManager.selectedKeys.size]
11232
11256
  );
11233
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { ...(0, import_runtime39.trussProps)({
11257
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { ...(0, import_runtime38.trussProps)({
11234
11258
  backgroundColor: "bgWhite",
11235
11259
  borderRadius: "br4",
11236
11260
  width: "w100",
@@ -11666,7 +11690,7 @@ function TreeSelectFieldBase(props) {
11666
11690
  minWidth: 320
11667
11691
  };
11668
11692
  const fieldMaxWidth = getFieldWidth(fullWidth);
11669
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { ...(0, import_runtime40.trussProps)({
11693
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { ...(0, import_runtime39.trussProps)({
11670
11694
  display: "df",
11671
11695
  flexDirection: "fdc",
11672
11696
  width: "w100",
@@ -11761,7 +11785,7 @@ function ComboBoxInput(props) {
11761
11785
  });
11762
11786
  return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(TextFieldBase, { ...otherProps, ...multilineProps, unfocusedPlaceholder: showChipSelection && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Chips, { compact: otherProps.compact, values: chipLabels, wrap: allowWrap }), inputRef, inputWrapRef, errorMsg, contrast, xss: otherProps.labelStyle !== "inline" && !inputProps.readOnly ? {
11763
11787
  fontWeight: "fw5"
11764
- } : {}, startAdornment: showNumSelection && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Tooltip, { title: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SelectedOptionBullets, { labels: chipLabels }), children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(CountBadge, { count: isTree ? selectedOptionsLabels?.length ?? 0 : state.selectionManager.selectedKeys.size, "data-testid": "selectedOptionsCount" }) }) || showFieldDecoration && fieldDecoration(selectedOptions[0]), endAdornment: !inputProps.readOnly && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("button", { ...buttonProps, disabled: inputProps.disabled, ref: buttonRef, ...(0, import_runtime41.trussProps)({
11788
+ } : void 0, startAdornment: showNumSelection && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Tooltip, { title: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SelectedOptionBullets, { labels: chipLabels }), children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(CountBadge, { count: isTree ? selectedOptionsLabels?.length ?? 0 : state.selectionManager.selectedKeys.size, "data-testid": "selectedOptionsCount" }) }) || showFieldDecoration && fieldDecoration(selectedOptions[0]), endAdornment: !inputProps.readOnly && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("button", { ...buttonProps, disabled: inputProps.disabled, ref: buttonRef, ...(0, import_runtime40.trussProps)({
11765
11789
  ...{
11766
11790
  borderRadius: "br4",
11767
11791
  outline: "outline0",
@@ -12095,7 +12119,7 @@ function ComboBoxBase(props) {
12095
12119
  minWidth: 200
12096
12120
  };
12097
12121
  const fieldMaxWidth = getFieldWidth(fullWidth);
12098
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { ...(0, import_runtime42.trussProps)({
12122
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { ...(0, import_runtime41.trussProps)({
12099
12123
  display: "df",
12100
12124
  flexDirection: "fdc",
12101
12125
  width: "w100",
@@ -12319,7 +12343,7 @@ function Checkbox(props) {
12319
12343
  var import_react49 = require("react");
12320
12344
  var import_react_aria30 = require("react-aria");
12321
12345
  var import_react_stately9 = require("react-stately");
12322
- var import_runtime43 = require("@homebound/truss/runtime");
12346
+ var import_runtime42 = require("@homebound/truss/runtime");
12323
12347
  var import_jsx_runtime59 = require("react/jsx-runtime");
12324
12348
  function CheckboxGroup(props) {
12325
12349
  const {
@@ -12347,18 +12371,18 @@ function CheckboxGroup(props) {
12347
12371
  } = (0, import_react_aria30.useCheckboxGroup)(props, state);
12348
12372
  const tid = useTestIds(props);
12349
12373
  const labelSuffix = useLabelSuffix(required, false);
12350
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { ...groupProps, ...(0, import_runtime43.trussProps)({
12374
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { ...groupProps, ...(0, import_runtime42.trussProps)({
12351
12375
  ...labelStyle === "left" ? {
12352
12376
  display: "df",
12353
12377
  flexDirection: "fdr"
12354
12378
  } : {}
12355
12379
  }), onBlur, onFocus, ...tid, children: [
12356
- labelStyle !== "hidden" && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { ...(0, import_runtime43.trussProps)({
12380
+ labelStyle !== "hidden" && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { ...(0, import_runtime42.trussProps)({
12357
12381
  ...labelStyle === "left" ? {
12358
12382
  width: "w50"
12359
12383
  } : {}
12360
12384
  }), children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Label, { label, ...labelProps, ...tid.label, suffix: labelSuffix }) }),
12361
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { ...(0, import_runtime43.trussProps)({
12385
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { ...(0, import_runtime42.trussProps)({
12362
12386
  display: "dg",
12363
12387
  gridTemplateColumns: ["gtc_var", {
12364
12388
  "--gridTemplateColumns": `repeat(${columns}, auto)`
@@ -12494,7 +12518,7 @@ function isValidDate(d) {
12494
12518
  }
12495
12519
 
12496
12520
  // src/inputs/DateFields/DateFieldBase.tsx
12497
- var import_runtime44 = require("@homebound/truss/runtime");
12521
+ var import_runtime43 = require("@homebound/truss/runtime");
12498
12522
  var import_jsx_runtime61 = require("react/jsx-runtime");
12499
12523
  function DateFieldBase(props) {
12500
12524
  const {
@@ -12637,7 +12661,7 @@ function DateFieldBase(props) {
12637
12661
  setInputValue("");
12638
12662
  onChange(void 0);
12639
12663
  } }) });
12640
- const calendarButton = /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("button", { ref: buttonRef, ...buttonProps, disabled: isDisabled, ...(0, import_runtime44.trussProps)({
12664
+ const calendarButton = /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("button", { ref: buttonRef, ...buttonProps, disabled: isDisabled, ...(0, import_runtime43.trussProps)({
12641
12665
  ...isDisabled ? {
12642
12666
  cursor: "cursorNotAllowed"
12643
12667
  } : {}
@@ -12724,7 +12748,7 @@ function DateRangeField(props) {
12724
12748
  var import_react52 = require("react");
12725
12749
  var import_react_aria32 = require("react-aria");
12726
12750
  var import_react_stately11 = require("react-stately");
12727
- var import_runtime45 = require("@homebound/truss/runtime");
12751
+ var import_runtime44 = require("@homebound/truss/runtime");
12728
12752
  var import_jsx_runtime65 = require("react/jsx-runtime");
12729
12753
  function IconCard(props) {
12730
12754
  const {
@@ -12766,10 +12790,10 @@ function IconCard(props) {
12766
12790
  return maybeTooltip({
12767
12791
  title: resolveTooltip(isDisabled, tooltip),
12768
12792
  placement: "top",
12769
- children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("button", { ...(0, import_runtime45.trussProps)(styles), ...hoverProps, onClick: toggleState.toggle, disabled: isDisabled, ...tid, children: [
12793
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("button", { ...(0, import_runtime44.trussProps)(styles), ...hoverProps, onClick: toggleState.toggle, disabled: isDisabled, ...tid, children: [
12770
12794
  /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react_aria32.VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("input", { ref, ...inputProps, ...tid.value }) }),
12771
12795
  /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Icon, { icon, inc: 4, color: isDisabled ? "rgba(221, 220, 220, 1)" /* Gray300 */ : "rgba(36, 36, 36, 1)" /* Gray900 */ }),
12772
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { ...(0, import_runtime45.trussProps)({
12796
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { ...(0, import_runtime44.trussProps)({
12773
12797
  fontWeight: "fw4",
12774
12798
  fontSize: "fz_12px",
12775
12799
  lineHeight: "lh_16px",
@@ -12814,7 +12838,7 @@ var iconCardStylesHover = {
12814
12838
 
12815
12839
  // src/inputs/MultiLineSelectField.tsx
12816
12840
  var import_react53 = require("react");
12817
- var import_runtime46 = require("@homebound/truss/runtime");
12841
+ var import_runtime45 = require("@homebound/truss/runtime");
12818
12842
  var import_jsx_runtime66 = require("react/jsx-runtime");
12819
12843
  function MultiLineSelectField(props) {
12820
12844
  const {
@@ -12829,18 +12853,18 @@ function MultiLineSelectField(props) {
12829
12853
  const tid = useTestIds(props, "");
12830
12854
  const [isDisplayed, setIsDisplayed] = (0, import_react53.useState)(true);
12831
12855
  const currentOptions = options.filter((o) => !values.includes(getOptionValue(o)));
12832
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { ...(0, import_runtime46.trussProps)({
12856
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { ...(0, import_runtime45.trussProps)({
12833
12857
  marginTop: "mt1",
12834
12858
  ...labelStyle === "left" ? {
12835
12859
  display: "df"
12836
12860
  } : {}
12837
12861
  }), children: [
12838
- labelStyle !== "hidden" && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { ...(0, import_runtime46.trussProps)({
12862
+ labelStyle !== "hidden" && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { ...(0, import_runtime45.trussProps)({
12839
12863
  ...labelStyle === "left" ? {
12840
12864
  width: "w50"
12841
12865
  } : {}
12842
12866
  }), children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Label, { ...tid.label, label: props.label }) }),
12843
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { ...(0, import_runtime46.trussProps)({
12867
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { ...(0, import_runtime45.trussProps)({
12844
12868
  ...labelStyle === "left" ? {
12845
12869
  width: "w50"
12846
12870
  } : {}
@@ -13073,7 +13097,7 @@ function formatValue(value, factor, numFractionDigits, numIntegerDigits, positiv
13073
13097
  var import_react55 = require("react");
13074
13098
  var import_react_aria34 = require("react-aria");
13075
13099
  var import_react_stately13 = require("react-stately");
13076
- var import_runtime47 = require("@homebound/truss/runtime");
13100
+ var import_runtime46 = require("@homebound/truss/runtime");
13077
13101
  var import_jsx_runtime69 = require("react/jsx-runtime");
13078
13102
  var nextNameId = 0;
13079
13103
  function RadioGroupField(props) {
@@ -13106,7 +13130,7 @@ function RadioGroupField(props) {
13106
13130
  }, state);
13107
13131
  return (
13108
13132
  // default styling to position `<Label />` above.
13109
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { ...(0, import_runtime47.trussProps)({
13133
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { ...(0, import_runtime46.trussProps)({
13110
13134
  display: "df",
13111
13135
  flexDirection: "fdc",
13112
13136
  gap: "gap1",
@@ -13166,7 +13190,7 @@ function Radio(props) {
13166
13190
  } = (0, import_react_aria34.useHover)({
13167
13191
  isDisabled: disabled
13168
13192
  });
13169
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("label", { ...(0, import_runtime47.trussProps)({
13193
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("label", { ...(0, import_runtime46.trussProps)({
13170
13194
  display: "df",
13171
13195
  cursor: "cursorPointer",
13172
13196
  marginBottom: "mb1",
@@ -13179,7 +13203,7 @@ function Radio(props) {
13179
13203
  {
13180
13204
  type: "radio",
13181
13205
  ref,
13182
- ...(0, import_runtime47.trussProps)({
13206
+ ...(0, import_runtime46.trussProps)({
13183
13207
  ...radioReset,
13184
13208
  ...radioDefault,
13185
13209
  ...!disabled && state.selectedValue === value ? radioChecked : radioUnchecked,
@@ -13200,7 +13224,7 @@ function Radio(props) {
13200
13224
  }
13201
13225
  ),
13202
13226
  /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { children: [
13203
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { id: labelId, ...(0, import_runtime47.trussProps)({
13227
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { id: labelId, ...(0, import_runtime46.trussProps)({
13204
13228
  fontWeight: "fw4",
13205
13229
  fontSize: "fz_14px",
13206
13230
  lineHeight: "lh_20px",
@@ -13211,7 +13235,7 @@ function Radio(props) {
13211
13235
  }), ...description ? {
13212
13236
  "aria-describedby": descriptionId
13213
13237
  } : {}, children: label }),
13214
- description && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { id: descriptionId, ...(0, import_runtime47.trussProps)({
13238
+ description && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { id: descriptionId, ...(0, import_runtime46.trussProps)({
13215
13239
  fontWeight: "fw4",
13216
13240
  fontSize: "fz_14px",
13217
13241
  lineHeight: "lh_20px",
@@ -13354,7 +13378,7 @@ var import_tributejs = __toESM(require("tributejs"), 1);
13354
13378
  var import_tribute = require("tributejs/dist/tribute.css");
13355
13379
  var import_trix = require("trix/dist/trix");
13356
13380
  var import_trix2 = require("trix/dist/trix.css");
13357
- var import_runtime48 = require("@homebound/truss/runtime");
13381
+ var import_runtime47 = require("@homebound/truss/runtime");
13358
13382
  var import_jsx_runtime71 = require("react/jsx-runtime");
13359
13383
  var RichTextField = withTestMock(RichTextFieldImpl, RichTextFieldMock);
13360
13384
  function RichTextFieldImpl(props) {
@@ -13434,7 +13458,7 @@ function RichTextFieldImpl(props) {
13434
13458
  autoFocus
13435
13459
  } = props;
13436
13460
  if (!readOnly) {
13437
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { ...(0, import_runtime48.trussProps)({
13461
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { ...(0, import_runtime47.trussProps)({
13438
13462
  width: "w100",
13439
13463
  ...!fullWidth ? {
13440
13464
  maxWidth: "maxw_550px"
@@ -13457,7 +13481,7 @@ function RichTextFieldImpl(props) {
13457
13481
  ] })
13458
13482
  ] });
13459
13483
  } else {
13460
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { ...(0, import_runtime48.trussProps)({
13484
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { ...(0, import_runtime47.trussProps)({
13461
13485
  width: "w100",
13462
13486
  ...!fullWidth ? {
13463
13487
  maxWidth: "maxw_550px"
@@ -13531,7 +13555,7 @@ function SelectField(props) {
13531
13555
  // src/inputs/Switch.tsx
13532
13556
  var import_react59 = require("react");
13533
13557
  var import_react_aria35 = require("react-aria");
13534
- var import_runtime49 = require("@homebound/truss/runtime");
13558
+ var import_runtime48 = require("@homebound/truss/runtime");
13535
13559
  var import_jsx_runtime73 = require("react/jsx-runtime");
13536
13560
  var __maybeInc6 = (inc) => {
13537
13561
  return typeof inc === "string" ? inc : `${inc * 8}px`;
@@ -13581,7 +13605,7 @@ function Switch(props) {
13581
13605
  const isHovered = __storyState?.hovered ?? isHoveredFromEvents;
13582
13606
  const tooltip = resolveTooltip(disabled, props.tooltip);
13583
13607
  const tid = useTestIds(otherProps, label);
13584
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("label", { ...hoverProps, ...(0, import_runtime49.trussProps)({
13608
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("label", { ...hoverProps, ...(0, import_runtime48.trussProps)({
13585
13609
  ...{
13586
13610
  position: "relative",
13587
13611
  cursor: "cursorPointer",
@@ -13624,13 +13648,13 @@ function Switch(props) {
13624
13648
  color: "gray900"
13625
13649
  } : {}
13626
13650
  }, inline: labelStyle === "left" || labelStyle === "filter" }) }),
13627
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { ...(0, import_runtime49.trussProps)({
13651
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { ...(0, import_runtime48.trussProps)({
13628
13652
  ...labelStyle === "left" ? {
13629
13653
  width: ["w_var", {
13630
13654
  "--width": __maybeInc6(labelLeftFieldWidth)
13631
13655
  }]
13632
13656
  } : {}
13633
- }), children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { "aria-hidden": "true", ...(0, import_runtime49.trussProps)({
13657
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { "aria-hidden": "true", ...(0, import_runtime48.trussProps)({
13634
13658
  ...{
13635
13659
  width: ["w_var", {
13636
13660
  "--width": `${toggleWidth(compact)}px`
@@ -13652,7 +13676,7 @@ function Switch(props) {
13652
13676
  backgroundColor: "bgBlue700"
13653
13677
  },
13654
13678
  ...isSelected && isHovered && switchSelectedHoverStyles
13655
- }), children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { ...(0, import_runtime49.trussProps)({
13679
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { ...(0, import_runtime48.trussProps)({
13656
13680
  ...switchCircleDefaultStyles(compact),
13657
13681
  ...isDisabled && {
13658
13682
  backgroundColor: "bgGray100"
@@ -13838,7 +13862,7 @@ function TextField(props) {
13838
13862
  var import_react62 = require("react");
13839
13863
  var import_react_aria38 = require("react-aria");
13840
13864
  var import_react_stately14 = require("react-stately");
13841
- var import_runtime50 = require("@homebound/truss/runtime");
13865
+ var import_runtime49 = require("@homebound/truss/runtime");
13842
13866
  var import_jsx_runtime76 = require("react/jsx-runtime");
13843
13867
  function ToggleButton(props) {
13844
13868
  const {
@@ -13903,7 +13927,7 @@ function ToggleButton(props) {
13903
13927
  ...focusProps,
13904
13928
  ...hoverProps,
13905
13929
  ...pressProps,
13906
- ...(0, import_runtime50.trussProps)({
13930
+ ...(0, import_runtime49.trussProps)({
13907
13931
  ...{
13908
13932
  borderRadius: "br4",
13909
13933
  display: "dif",
@@ -13959,7 +13983,7 @@ var togglePressStyles = {
13959
13983
  var import_react63 = require("react");
13960
13984
  var import_react_aria39 = require("react-aria");
13961
13985
  var import_react_stately15 = require("react-stately");
13962
- var import_runtime51 = require("@homebound/truss/runtime");
13986
+ var import_runtime50 = require("@homebound/truss/runtime");
13963
13987
  var import_jsx_runtime77 = require("react/jsx-runtime");
13964
13988
  var __maybeInc7 = (inc) => {
13965
13989
  return typeof inc === "string" ? inc : `${inc * 8}px`;
@@ -13991,7 +14015,7 @@ function ToggleChipGroup(props) {
13991
14015
  } = (0, import_react_aria39.useCheckboxGroup)(props, state);
13992
14016
  const tid = useTestIds(props, "toggleChip");
13993
14017
  const labelSuffix = useLabelSuffix(required, false);
13994
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { ...groupProps, ...(0, import_runtime51.trussProps)({
14018
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { ...groupProps, ...(0, import_runtime50.trussProps)({
13995
14019
  position: "relative",
13996
14020
  display: "df",
13997
14021
  flexDirection: "fdc",
@@ -14003,7 +14027,7 @@ function ToggleChipGroup(props) {
14003
14027
  } : {}
14004
14028
  }), children: [
14005
14029
  /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Label, { label, ...labelProps, hidden: labelStyle === "hidden", inline: labelStyle !== "above", suffix: labelSuffix }),
14006
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { ...(0, import_runtime51.trussProps)({
14030
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { ...(0, import_runtime50.trussProps)({
14007
14031
  display: "df",
14008
14032
  gap: "gap1",
14009
14033
  flexWrap: "flexWrap_wrap",
@@ -14068,7 +14092,7 @@ function ToggleChip2(props) {
14068
14092
  return maybeTooltip({
14069
14093
  title: tooltip,
14070
14094
  placement: "top",
14071
- children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("label", { ...(0, import_runtime51.trussProps)({
14095
+ children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("label", { ...(0, import_runtime50.trussProps)({
14072
14096
  ...{
14073
14097
  position: "relative",
14074
14098
  display: "dif",
@@ -15350,7 +15374,7 @@ function useRenderCount() {
15350
15374
  }
15351
15375
 
15352
15376
  // src/components/Table/GridTable.tsx
15353
- var import_runtime52 = require("@homebound/truss/runtime");
15377
+ var import_runtime51 = require("@homebound/truss/runtime");
15354
15378
  var import_jsx_runtime80 = require("react/jsx-runtime");
15355
15379
  var runningInJest = false;
15356
15380
  function setRunningInJest() {
@@ -15622,7 +15646,7 @@ function GridTable(props) {
15622
15646
  tableContainerRef
15623
15647
  }), [tableState, tableContainerRef]);
15624
15648
  return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(TableStateContext.Provider, { value: rowStateContext, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(PresentationProvider, { fieldProps, wrap: style?.presentationSettings?.wrap, children: [
15625
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ref: resizeRef, ...(0, import_runtime52.trussProps)(getTableRefWidthStyles(as === "virtual")) }),
15649
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ref: resizeRef, ...(0, import_runtime51.trussProps)(getTableRefWidthStyles(as === "virtual")) }),
15626
15650
  renders[_as](style, id, columns, visibleDataRows, keptSelectedRows, firstRowMessage, stickyHeader, xss, virtuosoRef, virtuosoRangeRef, tableHeadRows, stickyOffset, infiniteScroll, tableContainerRef, persistScrollPosition)
15627
15651
  ] }) });
15628
15652
  }
@@ -15632,7 +15656,7 @@ var renders = {
15632
15656
  virtual: renderVirtual
15633
15657
  };
15634
15658
  function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, firstRowMessage, stickyHeader, xss, _virtuosoRef, _virtuosoRangeRef, tableHeadRows, stickyOffset, _infiniteScroll, tableContainerRef, _persistScrollPosition) {
15635
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { ref: tableContainerRef, ...(0, import_runtime52.trussProps)({
15659
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { ref: tableContainerRef, ...(0, import_runtime51.trussProps)({
15636
15660
  // Use `fit-content` to ensure the width of the table takes up the full width of its content.
15637
15661
  // Otherwise, the table's width would be that of its container, which may not be as wide as the table itself.
15638
15662
  // In cases where we have sticky columns on a very wide table, then the container which the columns "stick" to (which is the table),
@@ -15648,7 +15672,7 @@ function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, firstR
15648
15672
  } : {},
15649
15673
  ...xss
15650
15674
  }), "data-testid": id, children: [
15651
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ...(0, import_runtime52.trussProps)({
15675
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ...(0, import_runtime51.trussProps)({
15652
15676
  ...stickyHeader ? {
15653
15677
  position: "sticky",
15654
15678
  top: ["top_var", {
@@ -15661,7 +15685,7 @@ function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, firstR
15661
15685
  }), children: tableHeadRows }),
15662
15686
  /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { children: [
15663
15687
  keptSelectedRows,
15664
- firstRowMessage && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ...(0, import_runtime52.trussProps)({
15688
+ firstRowMessage && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ...(0, import_runtime51.trussProps)({
15665
15689
  ...keptSelectedRows.length === 0 && style.firstBodyRowCss,
15666
15690
  ...style.firstRowMessageCss,
15667
15691
  ...visibleDataRows.length === 0 && style.lastRowCss,
@@ -15674,7 +15698,7 @@ function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, firstR
15674
15698
  ] });
15675
15699
  }
15676
15700
  function renderTable(style, id, columns, visibleDataRows, keptSelectedRows, firstRowMessage, stickyHeader, xss, _virtuosoRef, _virtuosoRangeRef, tableHeadRows, stickyOffset, _infiniteScroll, tableContainerRef, _persistScrollPosition) {
15677
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("table", { ref: tableContainerRef, ...(0, import_runtime52.trussProps)({
15701
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("table", { ref: tableContainerRef, ...(0, import_runtime51.trussProps)({
15678
15702
  ...{
15679
15703
  width: "w100",
15680
15704
  borderCollapse: "borderCollapse_separate",
@@ -15688,7 +15712,7 @@ function renderTable(style, id, columns, visibleDataRows, keptSelectedRows, firs
15688
15712
  } : {},
15689
15713
  ...xss
15690
15714
  }), "data-testid": id, children: [
15691
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("thead", { ...(0, import_runtime52.trussProps)({
15715
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("thead", { ...(0, import_runtime51.trussProps)({
15692
15716
  ...stickyHeader ? {
15693
15717
  position: "sticky",
15694
15718
  top: ["top_var", {
@@ -15701,11 +15725,11 @@ function renderTable(style, id, columns, visibleDataRows, keptSelectedRows, firs
15701
15725
  }), children: tableHeadRows }),
15702
15726
  /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("tbody", { children: [
15703
15727
  keptSelectedRows,
15704
- firstRowMessage && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("tr", { ...(0, import_runtime52.trussProps)({
15728
+ firstRowMessage && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("tr", { ...(0, import_runtime51.trussProps)({
15705
15729
  ...tableRowPrintBreakCss,
15706
15730
  ...keptSelectedRows.length === 0 && style.firstBodyRowCss,
15707
15731
  ...visibleDataRows.length === 0 && style.lastRowCss
15708
- }), children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("td", { colSpan: columns.length, ...(0, import_runtime52.trussProps)({
15732
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("td", { colSpan: columns.length, ...(0, import_runtime51.trussProps)({
15709
15733
  ...style.betweenRowsCss,
15710
15734
  ...style.firstRowMessageCss,
15711
15735
  ...visibleDataRows.length === 0 && style.lastRowCellCss,
@@ -15748,7 +15772,7 @@ function renderVirtual(style, id, columns, visibleDataRows, keptSelectedRows, fi
15748
15772
  } })),
15749
15773
  List: VirtualRoot(style, columns, id, xss),
15750
15774
  Footer: () => {
15751
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ...(0, import_runtime52.trussProps)({
15775
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ...(0, import_runtime51.trussProps)({
15752
15776
  ...style.virtualFooterPaddingBottomPx !== void 0 ? {
15753
15777
  paddingBottom: ["pb_var", {
15754
15778
  "--paddingBottom": `${style.virtualFooterPaddingBottomPx ?? 0}px`
@@ -15771,11 +15795,11 @@ function renderVirtual(style, id, columns, visibleDataRows, keptSelectedRows, fi
15771
15795
  if (index === 0) {
15772
15796
  return (
15773
15797
  // Ensure the fallback message is the same width as the table
15774
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ...(0, import_runtime52.trussProps)({
15798
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ...(0, import_runtime51.trussProps)({
15775
15799
  ...getTableRefWidthStyles(true),
15776
15800
  ...keptSelectedRows.length === 0 && style.firstBodyRowCss,
15777
15801
  ...visibleDataRows.length === 0 && style.lastRowCss
15778
- }), children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ...(0, import_runtime52.trussProps)({
15802
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ...(0, import_runtime51.trussProps)({
15779
15803
  ...style.firstRowMessageCss,
15780
15804
  ...visibleDataRows.length === 0 && style.lastRowCellCss,
15781
15805
  ...visibleDataRows.length === 0 && style.lastRowFirstCellCss,
@@ -15820,7 +15844,7 @@ var VirtualRoot = (0, import_memoize_one.default)((gs, _columns, id, xss) => {
15820
15844
  style,
15821
15845
  children
15822
15846
  }, ref) {
15823
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ref, ...(0, import_runtime52.mergeProps)(void 0, style, {
15847
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { ref, ...(0, import_runtime51.mergeProps)(void 0, style, {
15824
15848
  ...gs.rootCss,
15825
15849
  ...gs.minWidthPx ? {
15826
15850
  minWidth: ["mw_var", {
@@ -15836,7 +15860,7 @@ var VirtualRoot = (0, import_memoize_one.default)((gs, _columns, id, xss) => {
15836
15860
  });
15837
15861
 
15838
15862
  // src/components/ToggleChip.tsx
15839
- var import_runtime53 = require("@homebound/truss/runtime");
15863
+ var import_runtime52 = require("@homebound/truss/runtime");
15840
15864
  var import_jsx_runtime81 = require("react/jsx-runtime");
15841
15865
  function ToggleChip(props) {
15842
15866
  const {
@@ -15855,7 +15879,7 @@ function ToggleChip(props) {
15855
15879
  } = useHover2({});
15856
15880
  const compact = fieldProps?.compact;
15857
15881
  const tid = useTestIds(props, "chip");
15858
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("button", { type: "button", ...(0, import_runtime53.trussProps)({
15882
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("button", { type: "button", ...(0, import_runtime52.trussProps)({
15859
15883
  ...chipBaseStyles(compact),
15860
15884
  ...isHovered && !disabled && chipHoverStyles,
15861
15885
  // Use a lower right-padding to get closer to the `X` circle when clearable, i.e. not disabled
@@ -15871,7 +15895,7 @@ function ToggleChip(props) {
15871
15895
  ...xss
15872
15896
  }), disabled, onClick, ...hoverProps, ...tid, children: [
15873
15897
  icon && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: "fs0", ...tid.icon, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Icon, { icon, color: "rgba(36, 36, 36, 1)" /* Gray900 */, inc: 2 }) }),
15874
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { ...(0, import_runtime53.trussProps)({
15898
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { ...(0, import_runtime52.trussProps)({
15875
15899
  textAlign: "tal",
15876
15900
  overflow: "oh",
15877
15901
  display: "d_negwebkit_box",
@@ -15883,7 +15907,7 @@ function ToggleChip(props) {
15883
15907
  paddingRight: "pr0"
15884
15908
  } : {}
15885
15909
  }), title: text, children: text }),
15886
- !disabled && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { ...(0, import_runtime53.trussProps)({
15910
+ !disabled && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { ...(0, import_runtime52.trussProps)({
15887
15911
  ...{
15888
15912
  flexShrink: "fs0",
15889
15913
  borderRadius: "br16",
@@ -15905,7 +15929,7 @@ var chipDisabledStyles = {
15905
15929
  };
15906
15930
 
15907
15931
  // src/components/ToggleChips.tsx
15908
- var import_runtime54 = require("@homebound/truss/runtime");
15932
+ var import_runtime53 = require("@homebound/truss/runtime");
15909
15933
  var import_jsx_runtime82 = require("react/jsx-runtime");
15910
15934
  function ToggleChips(props) {
15911
15935
  const {
@@ -15915,7 +15939,7 @@ function ToggleChips(props) {
15915
15939
  xss
15916
15940
  } = props;
15917
15941
  const tid = useTestIds(props, "toggleChips");
15918
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { ...(0, import_runtime54.trussProps)({
15942
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { ...(0, import_runtime53.trussProps)({
15919
15943
  ...{
15920
15944
  display: "df",
15921
15945
  flexWrap: "flexWrap_wrap",
@@ -15929,7 +15953,7 @@ function ToggleChips(props) {
15929
15953
  var import_utils69 = require("@react-aria/utils");
15930
15954
  var import_react73 = require("react");
15931
15955
  var import_react_aria40 = require("react-aria");
15932
- var import_runtime55 = require("@homebound/truss/runtime");
15956
+ var import_runtime54 = require("@homebound/truss/runtime");
15933
15957
  var import_jsx_runtime83 = require("react/jsx-runtime");
15934
15958
  var __maybeInc8 = (inc) => {
15935
15959
  return typeof inc === "string" ? inc : `${inc * 8}px`;
@@ -16029,7 +16053,7 @@ function Accordion(props) {
16029
16053
  },
16030
16054
  ...xss
16031
16055
  }), [compact, disabled, isFocusVisible, titleOnClick, xss]);
16032
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { ...tid.container, ...(0, import_runtime55.trussProps)({
16056
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { ...tid.container, ...(0, import_runtime54.trussProps)({
16033
16057
  ...{
16034
16058
  borderColor: "bcGray300",
16035
16059
  ...topBorder ? {
@@ -16048,13 +16072,13 @@ function Accordion(props) {
16048
16072
  } : {}
16049
16073
  }), children: [
16050
16074
  titleOnClick ? /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { ...focusProps, "aria-controls": id, "aria-expanded": expanded, className: "df", children: [
16051
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("button", { ...tid.title, disabled, ...(0, import_runtime55.trussProps)({
16075
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("button", { ...tid.title, disabled, ...(0, import_runtime54.trussProps)({
16052
16076
  ...touchableStyle,
16053
16077
  ...{
16054
16078
  flexGrow: "fg1"
16055
16079
  }
16056
16080
  }), onClick: titleOnClick, children: title }),
16057
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("button", { ...tid.toggle, disabled, ...(0, import_runtime55.trussProps)({
16081
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("button", { ...tid.toggle, disabled, ...(0, import_runtime54.trussProps)({
16058
16082
  ...touchableStyle,
16059
16083
  ...{
16060
16084
  paddingLeft: "pl2",
@@ -16066,7 +16090,7 @@ function Accordion(props) {
16066
16090
  } : {}
16067
16091
  }
16068
16092
  }), onClick: toggle, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(RotatingChevronIcon, { expanded }) })
16069
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("button", { ...tid.title, ...focusProps, "aria-controls": id, "aria-expanded": expanded, disabled, ...(0, import_runtime55.trussProps)({
16093
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("button", { ...tid.title, ...focusProps, "aria-controls": id, "aria-expanded": expanded, disabled, ...(0, import_runtime54.trussProps)({
16070
16094
  ...{
16071
16095
  width: "w100"
16072
16096
  },
@@ -16075,13 +16099,13 @@ function Accordion(props) {
16075
16099
  /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { className: "fg1 tal", children: title }),
16076
16100
  /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(RotatingChevronIcon, { expanded })
16077
16101
  ] }),
16078
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { ...tid.details, id, "aria-hidden": !expanded, ...(0, import_runtime55.trussProps)({
16102
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { ...tid.details, id, "aria-hidden": !expanded, ...(0, import_runtime54.trussProps)({
16079
16103
  overflow: "oh",
16080
16104
  height: ["h_var", {
16081
16105
  "--height": __maybeInc8(contentHeight)
16082
16106
  }],
16083
16107
  transition: "transition_height_250ms_ease_in_out"
16084
- }), children: expanded && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { ...(0, import_runtime55.trussProps)({
16108
+ }), children: expanded && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { ...(0, import_runtime54.trussProps)({
16085
16109
  paddingLeft: "pl2",
16086
16110
  paddingRight: "pr2",
16087
16111
  paddingBottom: "pb2",
@@ -16096,7 +16120,7 @@ function Accordion(props) {
16096
16120
  ] });
16097
16121
  }
16098
16122
  function RotatingChevronIcon(props) {
16099
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { ...(0, import_runtime55.trussProps)({
16123
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { ...(0, import_runtime54.trussProps)({
16100
16124
  flexShrink: "fs0",
16101
16125
  transition: "transition_transform_250ms_linear",
16102
16126
  transform: ["transform_var", {
@@ -16196,7 +16220,7 @@ function Indicator({
16196
16220
  }
16197
16221
 
16198
16222
  // src/components/Banner.tsx
16199
- var import_runtime56 = require("@homebound/truss/runtime");
16223
+ var import_runtime55 = require("@homebound/truss/runtime");
16200
16224
  var import_jsx_runtime86 = require("react/jsx-runtime");
16201
16225
  function Banner(props) {
16202
16226
  const {
@@ -16207,7 +16231,7 @@ function Banner(props) {
16207
16231
  ...others
16208
16232
  } = props;
16209
16233
  const tid = useTestIds(others, "banner");
16210
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { ...(0, import_runtime56.trussProps)({
16234
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { ...(0, import_runtime55.trussProps)({
16211
16235
  ...variantStyles2[type],
16212
16236
  ...{
16213
16237
  display: "df",
@@ -16331,7 +16355,7 @@ function useModal() {
16331
16355
  }
16332
16356
 
16333
16357
  // src/components/Modal/Modal.tsx
16334
- var import_runtime57 = require("@homebound/truss/runtime");
16358
+ var import_runtime56 = require("@homebound/truss/runtime");
16335
16359
  var import_jsx_runtime88 = require("react/jsx-runtime");
16336
16360
  function Modal(props) {
16337
16361
  const {
@@ -16412,7 +16436,7 @@ function Modal(props) {
16412
16436
  // eslint-disable-next-line react-hooks/exhaustive-deps
16413
16437
  [modalBodyRef, modalFooterRef, modalHeaderRef]
16414
16438
  );
16415
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_aria41.OverlayContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(AutoSaveStatusProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "fixed tp_0 bot_0 l_0 r_0 df aic jcc bgc_rgba_36_36_36_0_6 z4", ...underlayProps, ...testId.underlay, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_aria41.FocusScope, { contain: true, restoreFocus: true, autoFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { ...(0, import_runtime57.trussProps)({
16439
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_aria41.OverlayContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(AutoSaveStatusProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "fixed tp_0 bot_0 l_0 r_0 df aic jcc bgc_rgba_36_36_36_0_6 z4", ...underlayProps, ...testId.underlay, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_aria41.FocusScope, { contain: true, restoreFocus: true, autoFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { ...(0, import_runtime56.trussProps)({
16416
16440
  borderRadius: "br24",
16417
16441
  backgroundColor: "bgWhite",
16418
16442
  boxShadow: "bshModal",
@@ -16438,7 +16462,7 @@ function Modal(props) {
16438
16462
  borderRadius: "br0"
16439
16463
  } : {}
16440
16464
  }), ref, ...overlayProps, ...dialogProps, ...modalProps, ...testId, children: [
16441
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("header", { ...(0, import_runtime57.trussProps)({
16465
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("header", { ...(0, import_runtime56.trussProps)({
16442
16466
  display: "df",
16443
16467
  flexDirection: "fdrr",
16444
16468
  paddingTop: "pt3",
@@ -16455,7 +16479,7 @@ function Modal(props) {
16455
16479
  /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "fs0 pl1", children: allowClosing && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(IconButton, { icon: "x", onClick: closeModal, ...testId.titleClose }) }),
16456
16480
  /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("h1", { className: "fg1 fw6 fz_30px lh_36px gray900", ref: modalHeaderRef, ...titleProps, ...testId.title })
16457
16481
  ] }),
16458
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("main", { ref: modalBodyRef, ...(0, import_runtime57.trussProps)({
16482
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("main", { ref: modalBodyRef, ...(0, import_runtime56.trussProps)({
16459
16483
  flexGrow: "fg1",
16460
16484
  overflowY: "oya",
16461
16485
  ...hasScroll ? {
@@ -16488,7 +16512,7 @@ function ModalBody({
16488
16512
  const testId = useTestIds({}, testIdPrefix);
16489
16513
  return (0, import_react_dom3.createPortal)(
16490
16514
  // If `virtualized`, then we are expecting the `children` will handle their own scrollbar, so have the overflow hidden and adjust padding
16491
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { ...(0, import_runtime57.trussProps)({
16515
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { ...(0, import_runtime56.trussProps)({
16492
16516
  height: "h100",
16493
16517
  ...virtualized ? {
16494
16518
  overflow: "oh",
@@ -16509,7 +16533,7 @@ function ModalFooter({
16509
16533
  modalFooterDiv
16510
16534
  } = useBeamContext();
16511
16535
  const testId = useTestIds({}, testIdPrefix);
16512
- return (0, import_react_dom3.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { ...(0, import_runtime57.trussProps)({
16536
+ return (0, import_react_dom3.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { ...(0, import_runtime56.trussProps)({
16513
16537
  ...{
16514
16538
  paddingTop: "pt3",
16515
16539
  paddingBottom: "pb3",
@@ -16544,7 +16568,7 @@ function getSize(size) {
16544
16568
  var import_react79 = require("react");
16545
16569
 
16546
16570
  // src/components/Snackbar/SnackbarNotice.tsx
16547
- var import_runtime58 = require("@homebound/truss/runtime");
16571
+ var import_runtime57 = require("@homebound/truss/runtime");
16548
16572
  var import_jsx_runtime89 = require("react/jsx-runtime");
16549
16573
  function SnackbarNotice(props) {
16550
16574
  const {
@@ -16562,7 +16586,7 @@ function SnackbarNotice(props) {
16562
16586
  /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
16563
16587
  "span",
16564
16588
  {
16565
- ...(0, import_runtime58.trussProps)({
16589
+ ...(0, import_runtime57.trussProps)({
16566
16590
  overflow: "oh",
16567
16591
  display: "d_negwebkit_box",
16568
16592
  WebkitBoxOrient: "wbo_vertical",
@@ -16583,7 +16607,7 @@ function SnackbarNotice(props) {
16583
16607
  }
16584
16608
  ),
16585
16609
  (action || !reallyHideClose) && /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("span", { className: "fs0 df aic", children: [
16586
- action && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { ...(0, import_runtime58.trussProps)({
16610
+ action && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { ...(0, import_runtime57.trussProps)({
16587
16611
  textTransform: "ttu",
16588
16612
  fontWeight: "fw4",
16589
16613
  fontSize: "fz_14px",
@@ -16621,7 +16645,7 @@ var typeToIcon2 = {
16621
16645
  };
16622
16646
 
16623
16647
  // src/components/Snackbar/Snackbar.tsx
16624
- var import_runtime59 = require("@homebound/truss/runtime");
16648
+ var import_runtime58 = require("@homebound/truss/runtime");
16625
16649
  var import_jsx_runtime90 = require("react/jsx-runtime");
16626
16650
  function Snackbar({
16627
16651
  notices,
@@ -16632,7 +16656,7 @@ function Snackbar({
16632
16656
  "div",
16633
16657
  {
16634
16658
  ...tid.snackbarWrapper,
16635
- ...(0, import_runtime59.trussProps)({
16659
+ ...(0, import_runtime58.trussProps)({
16636
16660
  position: "fixed",
16637
16661
  zIndex: "z9999",
16638
16662
  bottom: ["bottom_var", {
@@ -16683,7 +16707,7 @@ var SuperDrawerWidth = /* @__PURE__ */ ((SuperDrawerWidth2) => {
16683
16707
  })(SuperDrawerWidth || {});
16684
16708
 
16685
16709
  // src/components/SuperDrawer/SuperDrawer.tsx
16686
- var import_runtime60 = require("@homebound/truss/runtime");
16710
+ var import_runtime59 = require("@homebound/truss/runtime");
16687
16711
  var import_jsx_runtime92 = require("react/jsx-runtime");
16688
16712
  var import_react81 = require("react");
16689
16713
  function SuperDrawer() {
@@ -16745,7 +16769,7 @@ function SuperDrawer() {
16745
16769
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
16746
16770
  import_framer_motion.motion.aside,
16747
16771
  {
16748
- ...(0, import_runtime60.trussProps)({
16772
+ ...(0, import_runtime59.trussProps)({
16749
16773
  backgroundColor: "bgWhite",
16750
16774
  height: "h100",
16751
16775
  maxWidth: ["maxw_var", {
@@ -17046,7 +17070,7 @@ var import_mobx_react8 = require("mobx-react");
17046
17070
  // src/inputs/IconCardGroup.tsx
17047
17071
  var import_react82 = require("react");
17048
17072
  var import_react_aria42 = require("react-aria");
17049
- var import_runtime61 = require("@homebound/truss/runtime");
17073
+ var import_runtime60 = require("@homebound/truss/runtime");
17050
17074
  var import_jsx_runtime99 = require("react/jsx-runtime");
17051
17075
  function IconCardGroup(props) {
17052
17076
  const {
@@ -17093,7 +17117,7 @@ function IconCardGroup(props) {
17093
17117
  ...fieldPropsAria
17094
17118
  });
17095
17119
  return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { ...groupProps, children: [
17096
- labelStyle !== "hidden" && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { ...(0, import_runtime61.trussProps)({
17120
+ labelStyle !== "hidden" && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { ...(0, import_runtime60.trussProps)({
17097
17121
  ...labelStyle === "left" ? {
17098
17122
  width: "w50"
17099
17123
  } : {}
@@ -17639,7 +17663,7 @@ function BoundTreeSelectField(props) {
17639
17663
 
17640
17664
  // src/forms/FormLines.tsx
17641
17665
  var import_react83 = require("react");
17642
- var import_runtime62 = require("@homebound/truss/runtime");
17666
+ var import_runtime61 = require("@homebound/truss/runtime");
17643
17667
  var import_jsx_runtime113 = require("react/jsx-runtime");
17644
17668
  var __maybeInc9 = (inc) => {
17645
17669
  return typeof inc === "string" ? inc : `${inc * 8}px`;
@@ -17675,7 +17699,7 @@ function FormLines(props) {
17675
17699
  fullWidth: true
17676
17700
  } : {}
17677
17701
  };
17678
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(PresentationProvider, { fieldProps: newFieldProps, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { ...(0, import_runtime62.trussProps)({
17702
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(PresentationProvider, { fieldProps: newFieldProps, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { ...(0, import_runtime61.trussProps)({
17679
17703
  display: "df",
17680
17704
  flexDirection: "fdc",
17681
17705
  gap: ["gap_var", {
@@ -17711,7 +17735,7 @@ function FieldGroup(props) {
17711
17735
  const width2 = widths2[i] || 1;
17712
17736
  return typeof width2 === `number` ? `${width2}fr` : width2;
17713
17737
  }).join(" ");
17714
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { ...(0, import_runtime62.trussProps)({
17738
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { ...(0, import_runtime61.trussProps)({
17715
17739
  display: "dg",
17716
17740
  gap: "gap2",
17717
17741
  gridTemplateColumns: ["gtc_var", {
@@ -17727,7 +17751,7 @@ var sizes = {
17727
17751
  };
17728
17752
 
17729
17753
  // src/forms/BoundForm.tsx
17730
- var import_runtime63 = require("@homebound/truss/runtime");
17754
+ var import_runtime62 = require("@homebound/truss/runtime");
17731
17755
  var import_jsx_runtime114 = require("react/jsx-runtime");
17732
17756
  var import_react85 = require("react");
17733
17757
  var reactNodePrefix = "reactNode";
@@ -17782,7 +17806,7 @@ function FormRow({
17782
17806
  component,
17783
17807
  key,
17784
17808
  minWidth
17785
- }) => /* @__PURE__ */ (0, import_react85.createElement)("div", { ...(0, import_runtime63.trussProps)({
17809
+ }) => /* @__PURE__ */ (0, import_react85.createElement)("div", { ...(0, import_runtime62.trussProps)({
17786
17810
  minWidth: ["mw_var", {
17787
17811
  "--minWidth": minWidth
17788
17812
  }],
@@ -17900,7 +17924,7 @@ function boundTreeSelectField(props) {
17900
17924
 
17901
17925
  // src/components/internal/CompoundField.tsx
17902
17926
  var import_react86 = require("react");
17903
- var import_runtime64 = require("@homebound/truss/runtime");
17927
+ var import_runtime63 = require("@homebound/truss/runtime");
17904
17928
  var import_jsx_runtime115 = require("react/jsx-runtime");
17905
17929
  function CompoundField({
17906
17930
  children
@@ -17934,7 +17958,7 @@ function CompoundField({
17934
17958
  setHasFocusWithin(false);
17935
17959
  }
17936
17960
  return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("div", { className: "df", onFocusCapture, onBlurCapture, children: [
17937
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { ...(0, import_runtime64.trussProps)({
17961
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { ...(0, import_runtime63.trussProps)({
17938
17962
  ...commonStyles,
17939
17963
  ...{
17940
17964
  borderLeftStyle: "bls_solid",
@@ -17947,7 +17971,7 @@ function CompoundField({
17947
17971
  }), children: (0, import_react86.cloneElement)(children[0], {
17948
17972
  internalProps
17949
17973
  }) }),
17950
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { ...(0, import_runtime64.trussProps)({
17974
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { ...(0, import_runtime63.trussProps)({
17951
17975
  ...{
17952
17976
  width: "w_1px",
17953
17977
  flex: "fn",
@@ -17957,7 +17981,7 @@ function CompoundField({
17957
17981
  backgroundColor: "bgBlue700"
17958
17982
  }
17959
17983
  }) }),
17960
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { ...(0, import_runtime64.trussProps)({
17984
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { ...(0, import_runtime63.trussProps)({
17961
17985
  ...commonStyles,
17962
17986
  ...{
17963
17987
  flexGrow: "fg1",
@@ -18001,7 +18025,7 @@ function BoundSelectAndTextField(props) {
18001
18025
  }
18002
18026
 
18003
18027
  // src/forms/FormHeading.tsx
18004
- var import_runtime65 = require("@homebound/truss/runtime");
18028
+ var import_runtime64 = require("@homebound/truss/runtime");
18005
18029
  var import_jsx_runtime117 = (
18006
18030
  // Add space before the heading, but only if it's not first.
18007
18031
  require("react/jsx-runtime")
@@ -18013,7 +18037,7 @@ function FormHeading(props) {
18013
18037
  isFirst = false,
18014
18038
  ...others
18015
18039
  } = props;
18016
- return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("h3", { ...(0, import_runtime65.trussProps)({
18040
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("h3", { ...(0, import_runtime64.trussProps)({
18017
18041
  ...{
18018
18042
  fontWeight: "fw4",
18019
18043
  fontSize: "fz_16px",
@@ -18029,7 +18053,7 @@ FormHeading.isFormHeading = true;
18029
18053
 
18030
18054
  // src/forms/StaticField.tsx
18031
18055
  var import_utils101 = require("@react-aria/utils");
18032
- var import_runtime66 = require("@homebound/truss/runtime");
18056
+ var import_runtime65 = require("@homebound/truss/runtime");
18033
18057
  var import_jsx_runtime118 = require("react/jsx-runtime");
18034
18058
  function StaticField(props) {
18035
18059
  const {
@@ -18043,7 +18067,7 @@ function StaticField(props) {
18043
18067
  } = props;
18044
18068
  const tid = useTestIds(props, typeof label === "string" ? defaultTestId(label) : "staticField");
18045
18069
  const id = (0, import_utils101.useId)();
18046
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { ...(0, import_runtime66.trussProps)({
18070
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { ...(0, import_runtime65.trussProps)({
18047
18071
  ...labelStyle === "left" ? {
18048
18072
  display: "df",
18049
18073
  justifyContent: "jcsb",
@@ -18051,7 +18075,7 @@ function StaticField(props) {
18051
18075
  } : {}
18052
18076
  }), ...tid.container, children: [
18053
18077
  /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "db fw4 fz_14px lh_20px gray700 mb_4px", htmlFor: id, ...tid.label, children: label }),
18054
- /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { id, ...(0, import_runtime66.trussProps)({
18078
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { id, ...(0, import_runtime65.trussProps)({
18055
18079
  fontWeight: "fw4",
18056
18080
  fontSize: "fz_14px",
18057
18081
  lineHeight: "lh_20px",
@@ -18099,7 +18123,7 @@ var import_use_debounce6 = require("use-debounce");
18099
18123
  // src/components/RightSidebar.tsx
18100
18124
  var import_framer_motion2 = require("framer-motion");
18101
18125
  var import_react87 = require("react");
18102
- var import_runtime67 = require("@homebound/truss/runtime");
18126
+ var import_runtime66 = require("@homebound/truss/runtime");
18103
18127
  var import_jsx_runtime120 = require("react/jsx-runtime");
18104
18128
  var RIGHT_SIDEBAR_MIN_WIDTH = "250px";
18105
18129
  function RightSidebar({
@@ -18139,7 +18163,7 @@ function RightSidebar({
18139
18163
  duration: 0.2
18140
18164
  },
18141
18165
  x: "100%"
18142
- }, ...(0, import_runtime67.trussProps)({
18166
+ }, ...(0, import_runtime66.trussProps)({
18143
18167
  width: "w100",
18144
18168
  minWidth: ["mw_var", {
18145
18169
  "--minWidth": RIGHT_SIDEBAR_MIN_WIDTH
@@ -18153,7 +18177,7 @@ function RightSidebar({
18153
18177
  paddingRight: "pr3"
18154
18178
  }), children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_jsx_runtime120.Fragment, { children: [
18155
18179
  /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "sticky top0 bgWhite", children: [
18156
- /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { ...(0, import_runtime67.trussProps)({
18180
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { ...(0, import_runtime66.trussProps)({
18157
18181
  position: "absolute",
18158
18182
  left: ["left_var", {
18159
18183
  "--left": `${-24}px`
@@ -18224,7 +18248,7 @@ function Toast() {
18224
18248
  // src/components/Layout/PageHeaderBreadcrumbs.tsx
18225
18249
  var import_react89 = require("react");
18226
18250
  var import_react_router_dom4 = require("react-router-dom");
18227
- var import_runtime68 = require("@homebound/truss/runtime");
18251
+ var import_runtime67 = require("@homebound/truss/runtime");
18228
18252
  var import_jsx_runtime123 = (
18229
18253
  // Adding index to key to prevent rendering issues when multiple items have the same label
18230
18254
  require("react/jsx-runtime")
@@ -18238,7 +18262,7 @@ function PageHeaderBreadcrumbs({
18238
18262
  function renderBreadcrumb(bc, index, hideDivisor) {
18239
18263
  return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_react89.Fragment, { children: [
18240
18264
  index > 0 && !hideDivisor && /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { className: "fw6 fz_14px lh_20px gray700 ml1 mr1 mt_2px mb_2px", children: "/" }),
18241
- /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_react_router_dom4.Link, { to: bc.href, ...(0, import_runtime68.mergeProps)("navLink", void 0, {
18265
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_react_router_dom4.Link, { to: bc.href, ...(0, import_runtime67.mergeProps)("navLink", void 0, {
18242
18266
  fontWeight: "fw6",
18243
18267
  fontSize: "fz_14px",
18244
18268
  lineHeight: "lh_20px",
@@ -18256,7 +18280,7 @@ function PageHeaderBreadcrumbs({
18256
18280
  }
18257
18281
 
18258
18282
  // src/components/Layout/FormPageLayout.tsx
18259
- var import_runtime69 = require("@homebound/truss/runtime");
18283
+ var import_runtime68 = require("@homebound/truss/runtime");
18260
18284
  var import_jsx_runtime124 = require("react/jsx-runtime");
18261
18285
  var headerHeightPx = 120;
18262
18286
  var maxContentWidthPx = 1600;
@@ -18279,7 +18303,7 @@ function FormPageLayoutComponent(props) {
18279
18303
  // since this layout will be replacing most superdrawers/sidebars, we keep the listing mounted below to preserve the users's
18280
18304
  // scroll position & filters
18281
18305
  // Adding "align-items: start" allows "position: sticky" to work within a grid for the sidebars
18282
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { className: "fixed top0 bottom0 left0 right0 z_1000 oya bgWhite df jcc aifs", ...tids, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)("div", { ...(0, import_runtime69.trussProps)({
18306
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { className: "fixed top0 bottom0 left0 right0 z_1000 oya bgWhite df jcc aifs", ...tids, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)("div", { ...(0, import_runtime68.trussProps)({
18283
18307
  width: "w100",
18284
18308
  maxWidth: ["maxw_var", {
18285
18309
  "--maxWidth": `${maxContentWidthPx}px`
@@ -18295,7 +18319,7 @@ function FormPageLayoutComponent(props) {
18295
18319
  /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(PageHeader, { ...props, ...tids.pageHeader }),
18296
18320
  /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(LeftNav, { sectionsWithRefs, ...tids }),
18297
18321
  /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(FormSections, { sectionsWithRefs, formState, ...tids }),
18298
- rightSideBar && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("aside", { ...(0, import_runtime69.trussProps)({
18322
+ rightSideBar && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("aside", { ...(0, import_runtime68.trussProps)({
18299
18323
  gridRow: "gr_2",
18300
18324
  gridColumn: "gc_3_4",
18301
18325
  position: "sticky",
@@ -18320,7 +18344,7 @@ function PageHeader(props) {
18320
18344
  notice
18321
18345
  } = useToastContext();
18322
18346
  const tids = useTestIds(props);
18323
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)("header", { ...(0, import_runtime69.trussProps)({
18347
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)("header", { ...(0, import_runtime68.trussProps)({
18324
18348
  gridRow: "gr_1",
18325
18349
  gridColumn: "gc_1_4",
18326
18350
  position: "sticky",
@@ -18354,7 +18378,7 @@ function FormSections(props) {
18354
18378
  } = props;
18355
18379
  const tids = useTestIds(props);
18356
18380
  const bottomPaddingPx = sectionsWithRefs.length > 1 ? 200 : 0;
18357
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("article", { ...(0, import_runtime69.trussProps)({
18381
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("article", { ...(0, import_runtime68.trussProps)({
18358
18382
  gridRow: "gr_2",
18359
18383
  gridColumn: "gc_2_3",
18360
18384
  paddingBottom: ["pb_var", {
@@ -18372,7 +18396,7 @@ function FormSections(props) {
18372
18396
  {
18373
18397
  id: sectionKey,
18374
18398
  ref,
18375
- ...(0, import_runtime69.trussProps)({
18399
+ ...(0, import_runtime68.trussProps)({
18376
18400
  display: "dg",
18377
18401
  gridTemplateColumns: "gtc_50px_1fr",
18378
18402
  gridTemplateRows: "gtr_auto",
@@ -18403,7 +18427,7 @@ function LeftNav(props) {
18403
18427
  section
18404
18428
  }) => !!section.title), [sectionsWithRefs]);
18405
18429
  const activeSection = useActiveSection(sectionWithTitles);
18406
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("aside", { ...(0, import_runtime69.trussProps)({
18430
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("aside", { ...(0, import_runtime68.trussProps)({
18407
18431
  gridRow: "gr_2",
18408
18432
  gridColumn: "gc_1_2",
18409
18433
  position: "sticky",
@@ -18472,7 +18496,7 @@ function SectionNavLink(props) {
18472
18496
  hoverProps,
18473
18497
  isHovered
18474
18498
  } = useHover2({});
18475
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("button", { ref: buttonRef, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime69.trussProps)({
18499
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("button", { ref: buttonRef, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime68.trussProps)({
18476
18500
  ...{
18477
18501
  fontWeight: "fw6",
18478
18502
  fontSize: "fz_14px",
@@ -18547,7 +18571,7 @@ function useActiveSection(sectionsWithRefs) {
18547
18571
  }
18548
18572
 
18549
18573
  // src/components/Layout/FullBleed.tsx
18550
- var import_runtime70 = require("@homebound/truss/runtime");
18574
+ var import_runtime69 = require("@homebound/truss/runtime");
18551
18575
  var import_react91 = require("react");
18552
18576
  var __maybeInc10 = (inc) => {
18553
18577
  return typeof inc === "string" ? inc : `${inc * 8}px`;
@@ -18573,7 +18597,7 @@ function FullBleed({
18573
18597
  // ...for some reason this keeps the Layout top padding better than using
18574
18598
  // react-aria's more generic mergeProps.
18575
18599
  {
18576
- ...(0, import_runtime70.mergeProps)(
18600
+ ...(0, import_runtime69.mergeProps)(
18577
18601
  className,
18578
18602
  style,
18579
18603
  // ScrollableParent applies horizontal padding to its content column, so FullBleed
@@ -18659,7 +18683,7 @@ function isSelectionButtonMenuProps(props) {
18659
18683
  var import_react96 = require("react");
18660
18684
 
18661
18685
  // src/components/CountBadge.tsx
18662
- var import_runtime71 = require("@homebound/truss/runtime");
18686
+ var import_runtime70 = require("@homebound/truss/runtime");
18663
18687
  var import_jsx_runtime126 = require("react/jsx-runtime");
18664
18688
  function CountBadge(props) {
18665
18689
  const {
@@ -18671,7 +18695,7 @@ function CountBadge(props) {
18671
18695
  } = props;
18672
18696
  const tid = useTestIds(otherProps, "countBadge");
18673
18697
  if (hideIfZero && count === 0) return null;
18674
- return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)("span", { ...tid, ...(0, import_runtime71.trussProps)({
18698
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)("span", { ...tid, ...(0, import_runtime70.trussProps)({
18675
18699
  ...{
18676
18700
  height: ["sq_var", {
18677
18701
  "--height": `${count > 100 ? 18 : 16}px`
@@ -19072,7 +19096,7 @@ function OpenModal(props) {
19072
19096
  }
19073
19097
 
19074
19098
  // src/components/Filters/FilterModal.tsx
19075
- var import_runtime72 = require("@homebound/truss/runtime");
19099
+ var import_runtime71 = require("@homebound/truss/runtime");
19076
19100
  var import_jsx_runtime136 = require("react/jsx-runtime");
19077
19101
  function FilterModal(props) {
19078
19102
  const {
@@ -19109,7 +19133,7 @@ function ModalFilterItem({
19109
19133
  label,
19110
19134
  children
19111
19135
  }) {
19112
- return /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)("div", { ...(0, import_runtime72.trussProps)({
19136
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)("div", { ...(0, import_runtime71.trussProps)({
19113
19137
  marginBottom: "mb4",
19114
19138
  ...!label ? {
19115
19139
  borderTopStyle: "bts_solid",
@@ -19118,7 +19142,7 @@ function ModalFilterItem({
19118
19142
  } : {}
19119
19143
  }), children: [
19120
19144
  label && /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("h2", { className: "fw4 fz_16px lh_24px mb2", children: label }),
19121
- /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("div", { ...(0, import_runtime72.trussProps)({
19145
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("div", { ...(0, import_runtime71.trussProps)({
19122
19146
  ...!label ? {
19123
19147
  paddingTop: "pt3"
19124
19148
  } : {}
@@ -19128,7 +19152,7 @@ function ModalFilterItem({
19128
19152
 
19129
19153
  // src/components/Filters/Filters.tsx
19130
19154
  var import_react95 = require("react");
19131
- var import_runtime73 = require("@homebound/truss/runtime");
19155
+ var import_runtime72 = require("@homebound/truss/runtime");
19132
19156
  var import_jsx_runtime137 = require("react/jsx-runtime");
19133
19157
  function Filters(props) {
19134
19158
  const {
@@ -19152,7 +19176,7 @@ function Filters(props) {
19152
19176
  }, [numberOfInlineFilters, vertical, filterDefs]);
19153
19177
  const numModalFilters = safeKeys(modalFilters).filter((fk) => filter[fk] !== void 0).length;
19154
19178
  const maybeGroupByField = groupBy ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(SelectField, { label: "Group by", labelStyle: !vertical ? "inline" : "above", sizeToContent: !vertical, options: groupBy.options, getOptionValue: (o) => o.id, getOptionLabel: (o) => o.name, value: groupBy.value, onSelect: (g) => g && groupBy.setValue(g) }) }) : null;
19155
- return /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)("div", { ...(0, import_runtime73.trussProps)({
19179
+ return /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)("div", { ...(0, import_runtime72.trussProps)({
19156
19180
  ...vertical ? {
19157
19181
  display: "df",
19158
19182
  flexDirection: "fdc",
@@ -19403,7 +19427,7 @@ function EditColumnsButton(props) {
19403
19427
  }
19404
19428
 
19405
19429
  // src/components/Table/TableActions.tsx
19406
- var import_runtime74 = require("@homebound/truss/runtime");
19430
+ var import_runtime73 = require("@homebound/truss/runtime");
19407
19431
  var import_jsx_runtime142 = require("react/jsx-runtime");
19408
19432
  function TableActions(props) {
19409
19433
  const {
@@ -19411,7 +19435,7 @@ function TableActions(props) {
19411
19435
  children,
19412
19436
  right
19413
19437
  } = props;
19414
- return /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("div", { ...(0, import_runtime74.trussProps)({
19438
+ return /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("div", { ...(0, import_runtime73.trussProps)({
19415
19439
  ...{
19416
19440
  display: "df",
19417
19441
  gap: "gap1",
@@ -19434,7 +19458,7 @@ var import_use_query_params3 = require("use-query-params");
19434
19458
  var import_react98 = require("react");
19435
19459
 
19436
19460
  // src/components/LoadingSkeleton.tsx
19437
- var import_runtime75 = require("@homebound/truss/runtime");
19461
+ var import_runtime74 = require("@homebound/truss/runtime");
19438
19462
  var import_jsx_runtime143 = require("react/jsx-runtime");
19439
19463
  function LoadingSkeleton({
19440
19464
  rows = 1,
@@ -19448,7 +19472,7 @@ function LoadingSkeleton({
19448
19472
  const rowHeight = sizeToPixels2[size];
19449
19473
  const rowCells = (rowNumber) => {
19450
19474
  const flexGrowForCell = randomizeWidths ? getRandomizedFlexBasisByRowIndex(rowNumber) : 1;
19451
- return cellArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime143.jsx)("div", { ...(0, import_runtime75.trussProps)({
19475
+ return cellArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime143.jsx)("div", { ...(0, import_runtime74.trussProps)({
19452
19476
  borderRadius: "br4",
19453
19477
  animation: "animation_pulse_2s_cubic_bezier_0_4_0_0_6_1_infinite",
19454
19478
  flexGrow: ["flexGrow_var", {
@@ -19460,7 +19484,7 @@ function LoadingSkeleton({
19460
19484
  } : {}
19461
19485
  }) }, `row-${rowNumber}-cell-${i}`));
19462
19486
  };
19463
- return /* @__PURE__ */ (0, import_jsx_runtime143.jsx)("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime143.jsx)("div", { ...(0, import_runtime75.trussProps)({
19487
+ return /* @__PURE__ */ (0, import_jsx_runtime143.jsx)("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime143.jsx)("div", { ...(0, import_runtime74.trussProps)({
19464
19488
  display: "df",
19465
19489
  gap: "gap1",
19466
19490
  marginBottom: "mb1",
@@ -19501,7 +19525,7 @@ function LoadingTable(props) {
19501
19525
  }
19502
19526
 
19503
19527
  // src/components/Layout/GridTableLayout/GridTableLayout.tsx
19504
- var import_runtime76 = require("@homebound/truss/runtime");
19528
+ var import_runtime75 = require("@homebound/truss/runtime");
19505
19529
  var import_jsx_runtime145 = require("react/jsx-runtime");
19506
19530
  function isGridTableProps(props) {
19507
19531
  return "rows" in props;
@@ -19635,7 +19659,7 @@ function Header2(props) {
19635
19659
  actionMenu
19636
19660
  } = props;
19637
19661
  const tids = useTestIds(props);
19638
- return /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(FullBleed, { children: /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)("header", { ...(0, import_runtime76.trussProps)({
19662
+ return /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(FullBleed, { children: /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)("header", { ...(0, import_runtime75.trussProps)({
19639
19663
  ...{
19640
19664
  paddingTop: "pt3",
19641
19665
  paddingBottom: "pb3",
@@ -19733,7 +19757,7 @@ function useRightPaneContext() {
19733
19757
  // src/components/Layout/RightPaneLayout/RightPaneLayout.tsx
19734
19758
  var import_framer_motion3 = require("framer-motion");
19735
19759
  var import_react101 = require("react");
19736
- var import_runtime77 = require("@homebound/truss/runtime");
19760
+ var import_runtime76 = require("@homebound/truss/runtime");
19737
19761
  var import_jsx_runtime148 = require("react/jsx-runtime");
19738
19762
  var __maybeInc11 = (inc) => {
19739
19763
  return typeof inc === "string" ? inc : `${inc * 8}px`;
@@ -19753,7 +19777,7 @@ function RightPaneLayout(props) {
19753
19777
  } = useRightPaneContext();
19754
19778
  (0, import_react101.useEffect)(() => closePane, [closePane]);
19755
19779
  return /* @__PURE__ */ (0, import_jsx_runtime148.jsx)("div", { className: "h100 df oxh", children: /* @__PURE__ */ (0, import_jsx_runtime148.jsxs)(import_jsx_runtime148.Fragment, { children: [
19756
- /* @__PURE__ */ (0, import_jsx_runtime148.jsx)("div", { ...(0, import_runtime77.trussProps)({
19780
+ /* @__PURE__ */ (0, import_jsx_runtime148.jsx)("div", { ...(0, import_runtime76.trussProps)({
19757
19781
  ...{
19758
19782
  width: ["w_var", {
19759
19783
  "--width": __maybeInc11(`calc(100% - ${paneWidth + 24}px)`)
@@ -19778,7 +19802,7 @@ function RightPaneLayout(props) {
19778
19802
  } : {}
19779
19803
  }
19780
19804
  }), children }),
19781
- /* @__PURE__ */ (0, import_jsx_runtime148.jsxs)("div", { ...(0, import_runtime77.trussProps)({
19805
+ /* @__PURE__ */ (0, import_jsx_runtime148.jsxs)("div", { ...(0, import_runtime76.trussProps)({
19782
19806
  position: "relative",
19783
19807
  ...!!defaultPaneContent ? {
19784
19808
  width: ["w_var", {
@@ -19786,7 +19810,7 @@ function RightPaneLayout(props) {
19786
19810
  }]
19787
19811
  } : {}
19788
19812
  }), children: [
19789
- defaultPaneContent && /* @__PURE__ */ (0, import_jsx_runtime148.jsx)("div", { ...(0, import_runtime77.trussProps)({
19813
+ defaultPaneContent && /* @__PURE__ */ (0, import_jsx_runtime148.jsx)("div", { ...(0, import_runtime76.trussProps)({
19790
19814
  height: "h100",
19791
19815
  width: ["w_var", {
19792
19816
  "--width": `${paneWidth}px`
@@ -19804,7 +19828,7 @@ function RightPaneLayout(props) {
19804
19828
  {
19805
19829
  layout: "position",
19806
19830
  "data-testid": "rightPaneContent",
19807
- ...(0, import_runtime77.trussProps)({
19831
+ ...(0, import_runtime76.trussProps)({
19808
19832
  backgroundColor: ["bgColor_var", {
19809
19833
  "--backgroundColor": paneBgColor
19810
19834
  }],
@@ -19950,7 +19974,7 @@ function ButtonDatePicker(props) {
19950
19974
  // src/components/ButtonGroup.tsx
19951
19975
  var import_react104 = require("react");
19952
19976
  var import_react_aria48 = require("react-aria");
19953
- var import_runtime78 = require("@homebound/truss/runtime");
19977
+ var import_runtime77 = require("@homebound/truss/runtime");
19954
19978
  var import_jsx_runtime151 = (
19955
19979
  // Disable the button if the ButtonGroup is disabled or if the current button is disabled.
19956
19980
  require("react/jsx-runtime")
@@ -19964,7 +19988,7 @@ function ButtonGroup(props) {
19964
19988
  const tid = useTestIds(props, "buttonGroup");
19965
19989
  return (
19966
19990
  // Adding `line-height: 0` prevent inheriting line-heights that might throw off sizing within the button group.
19967
- /* @__PURE__ */ (0, import_jsx_runtime151.jsx)("div", { ...tid, ...(0, import_runtime78.trussProps)({
19991
+ /* @__PURE__ */ (0, import_jsx_runtime151.jsx)("div", { ...tid, ...(0, import_runtime77.trussProps)({
19968
19992
  ...{
19969
19993
  display: "df",
19970
19994
  lineHeight: "lh_0"
@@ -20010,10 +20034,10 @@ function GroupButton(props) {
20010
20034
  isHovered
20011
20035
  } = (0, import_react_aria48.useHover)(ariaProps);
20012
20036
  const tid = useTestIds(props);
20013
- return /* @__PURE__ */ (0, import_jsx_runtime151.jsx)("span", { ...(0, import_runtime78.trussProps)(getButtonStyles2(isFirst, isLast)), children: maybeTooltip({
20037
+ return /* @__PURE__ */ (0, import_jsx_runtime151.jsx)("span", { ...(0, import_runtime77.trussProps)(getButtonStyles2(isFirst, isLast)), children: maybeTooltip({
20014
20038
  title: resolveTooltip(disabled, tooltip),
20015
20039
  placement: "top",
20016
- children: /* @__PURE__ */ (0, import_jsx_runtime151.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime78.trussProps)({
20040
+ children: /* @__PURE__ */ (0, import_jsx_runtime151.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime77.trussProps)({
20017
20041
  ...{
20018
20042
  fontWeight: "fw6",
20019
20043
  fontSize: "fz_14px",
@@ -20120,7 +20144,7 @@ var import_react_aria49 = require("react-aria");
20120
20144
  // src/components/Tag.tsx
20121
20145
  var import_utils118 = require("@react-aria/utils");
20122
20146
  var import_react105 = require("react");
20123
- var import_runtime79 = require("@homebound/truss/runtime");
20147
+ var import_runtime78 = require("@homebound/truss/runtime");
20124
20148
  var import_jsx_runtime152 = require("react/jsx-runtime");
20125
20149
  function Tag(props) {
20126
20150
  const {
@@ -20144,7 +20168,7 @@ function Tag(props) {
20144
20168
  });
20145
20169
  return maybeTooltip({
20146
20170
  title: !preventTooltip && showTooltip ? text : void 0,
20147
- children: /* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("span", { ...tid, ...(0, import_runtime79.trussProps)({
20171
+ children: /* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("span", { ...tid, ...(0, import_runtime78.trussProps)({
20148
20172
  ...{
20149
20173
  display: "dif",
20150
20174
  fontWeight: "fw6",
@@ -20194,7 +20218,7 @@ function getStyles(type) {
20194
20218
  }
20195
20219
 
20196
20220
  // src/components/Card.tsx
20197
- var import_runtime80 = require("@homebound/truss/runtime");
20221
+ var import_runtime79 = require("@homebound/truss/runtime");
20198
20222
  var import_jsx_runtime153 = require("react/jsx-runtime");
20199
20223
  function Card(props) {
20200
20224
  const {
@@ -20225,8 +20249,8 @@ function Card(props) {
20225
20249
  ...isHovered && cardHoverStyles,
20226
20250
  ...isDisabled && disabledStyles3
20227
20251
  }), [isDisabled, isHovered, bordered, type, isList]);
20228
- return /* @__PURE__ */ (0, import_jsx_runtime153.jsxs)("div", { ...(0, import_runtime80.trussProps)(styles), ...hoverProps, ...tid, children: [
20229
- /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("div", { ...(0, import_runtime80.trussProps)({
20252
+ return /* @__PURE__ */ (0, import_jsx_runtime153.jsxs)("div", { ...(0, import_runtime79.trussProps)(styles), ...hoverProps, ...tid, children: [
20253
+ /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("div", { ...(0, import_runtime79.trussProps)({
20230
20254
  ...{
20231
20255
  height: ["h_var", {
20232
20256
  "--height": `${imgHeight}px`
@@ -20243,14 +20267,14 @@ function Card(props) {
20243
20267
  filter: "filter_brightness_1"
20244
20268
  },
20245
20269
  ...isHovered && !isList && imageHoverStyles
20246
- }), children: /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("img", { ...(0, import_runtime80.trussProps)({
20270
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("img", { ...(0, import_runtime79.trussProps)({
20247
20271
  width: "w100",
20248
20272
  height: "h100",
20249
20273
  objectFit: ["objectFit_var", {
20250
20274
  "--objectFit": imageFit
20251
20275
  }]
20252
20276
  }), src: imgSrc, alt: title, ...tid.img }) }),
20253
- isHovered && buttonMenuItems && /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("div", { ...(0, import_runtime80.trussProps)({
20277
+ isHovered && buttonMenuItems && /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("div", { ...(0, import_runtime79.trussProps)({
20254
20278
  position: "absolute",
20255
20279
  right: "right1",
20256
20280
  top: "top1",
@@ -20266,7 +20290,7 @@ function Card(props) {
20266
20290
  /* @__PURE__ */ (0, import_jsx_runtime153.jsxs)("div", { className: "df fdc aifs gap1", children: [
20267
20291
  /* @__PURE__ */ (0, import_jsx_runtime153.jsxs)("div", { children: [
20268
20292
  /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("div", { className: "fw6 fz_12px lh_16px gray700", ...tid.subtitle, children: subtitle }),
20269
- /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("div", { ...(0, import_runtime80.trussProps)({
20293
+ /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("div", { ...(0, import_runtime79.trussProps)({
20270
20294
  fontWeight: "fw6",
20271
20295
  fontSize: "fz_14px",
20272
20296
  lineHeight: "lh_20px",
@@ -20324,10 +20348,10 @@ var imageHoverStyles = {
20324
20348
  };
20325
20349
 
20326
20350
  // src/components/Copy.tsx
20327
- var import_runtime81 = require("@homebound/truss/runtime");
20351
+ var import_runtime80 = require("@homebound/truss/runtime");
20328
20352
  var import_jsx_runtime154 = require("react/jsx-runtime");
20329
20353
  function Copy(props) {
20330
- return /* @__PURE__ */ (0, import_jsx_runtime154.jsx)("div", { ...(0, import_runtime81.mergeProps)("beam-copy", void 0, {
20354
+ return /* @__PURE__ */ (0, import_jsx_runtime154.jsx)("div", { ...(0, import_runtime80.mergeProps)("beam-copy", void 0, {
20331
20355
  ...{
20332
20356
  fontWeight: "fw4",
20333
20357
  fontSize: "fz_14px",
@@ -20356,7 +20380,7 @@ function useDnDGridContext() {
20356
20380
  }
20357
20381
 
20358
20382
  // src/components/DnDGrid/DnDGrid.tsx
20359
- var import_runtime82 = require("@homebound/truss/runtime");
20383
+ var import_runtime81 = require("@homebound/truss/runtime");
20360
20384
  var import_jsx_runtime155 = require("react/jsx-runtime");
20361
20385
  function DnDGrid(props) {
20362
20386
  const {
@@ -20537,7 +20561,7 @@ function DnDGrid(props) {
20537
20561
  return /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(DnDGridContext.Provider, { value: {
20538
20562
  dragEl,
20539
20563
  onDragHandleKeyDown
20540
- }, children: /* @__PURE__ */ (0, import_jsx_runtime155.jsx)("div", { ref: gridEl, ...(0, import_runtime82.trussProps)({
20564
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime155.jsx)("div", { ref: gridEl, ...(0, import_runtime81.trussProps)({
20541
20565
  ...{
20542
20566
  containerType: "ctis",
20543
20567
  display: "dg"
@@ -20550,7 +20574,7 @@ var gridCloneKey = "dndgrid-clone";
20550
20574
 
20551
20575
  // src/components/DnDGrid/DnDGridItemHandle.tsx
20552
20576
  var import_react_aria50 = require("react-aria");
20553
- var import_runtime83 = require("@homebound/truss/runtime");
20577
+ var import_runtime82 = require("@homebound/truss/runtime");
20554
20578
  var import_jsx_runtime156 = require("react/jsx-runtime");
20555
20579
  function DnDGridItemHandle(props) {
20556
20580
  const {
@@ -20580,7 +20604,7 @@ function DnDGridItemHandle(props) {
20580
20604
  borderRadius: "br4",
20581
20605
  borderWidth: "bw1"
20582
20606
  };
20583
- return /* @__PURE__ */ (0, import_jsx_runtime156.jsx)("button", { ...(0, import_runtime83.trussProps)({
20607
+ return /* @__PURE__ */ (0, import_jsx_runtime156.jsx)("button", { ...(0, import_runtime82.trussProps)({
20584
20608
  ...compact ? iconButtonCompact2 : iconButtonNormal2,
20585
20609
  ...{
20586
20610
  cursor: "cursor_grab",
@@ -20642,7 +20666,7 @@ var gridItemDataAttribute = "data-grid-item-span";
20642
20666
  var ResponsiveGridContext = (0, import_react110.createContext)(void 0);
20643
20667
 
20644
20668
  // src/components/Grid/ResponsiveGrid.tsx
20645
- var import_runtime84 = require("@homebound/truss/runtime");
20669
+ var import_runtime83 = require("@homebound/truss/runtime");
20646
20670
  var import_jsx_runtime157 = require("react/jsx-runtime");
20647
20671
  function ResponsiveGrid(props) {
20648
20672
  const {
@@ -20663,12 +20687,12 @@ function ResponsiveGrid(props) {
20663
20687
  gap,
20664
20688
  columns
20665
20689
  }), [minColumnWidth, gap, columns]);
20666
- return /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(ResponsiveGridContext.Provider, { value: config, children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime84.trussProps)(gridStyles), children }) });
20690
+ return /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(ResponsiveGridContext.Provider, { value: config, children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime83.trussProps)(gridStyles), children }) });
20667
20691
  }
20668
20692
 
20669
20693
  // src/components/Grid/ResponsiveGridItem.tsx
20670
20694
  var import_react_aria51 = require("react-aria");
20671
- var import_runtime85 = require("@homebound/truss/runtime");
20695
+ var import_runtime84 = require("@homebound/truss/runtime");
20672
20696
  var import_jsx_runtime158 = require("react/jsx-runtime");
20673
20697
  function ResponsiveGridItem(props) {
20674
20698
  const {
@@ -20681,7 +20705,7 @@ function ResponsiveGridItem(props) {
20681
20705
  } = useResponsiveGridItem({
20682
20706
  colSpan
20683
20707
  });
20684
- return /* @__PURE__ */ (0, import_jsx_runtime158.jsx)("div", { ...(0, import_react_aria51.mergeProps)(gridItemProps, (0, import_runtime85.trussProps)(gridItemStyles)), children });
20708
+ return /* @__PURE__ */ (0, import_jsx_runtime158.jsx)("div", { ...(0, import_react_aria51.mergeProps)(gridItemProps, (0, import_runtime84.trussProps)(gridItemStyles)), children });
20685
20709
  }
20686
20710
 
20687
20711
  // src/components/Grid/useResponsiveGrid.ts
@@ -20833,7 +20857,7 @@ function HbSpinnerProvider({
20833
20857
  // src/components/MaxLines.tsx
20834
20858
  var import_utils126 = require("@react-aria/utils");
20835
20859
  var import_react115 = require("react");
20836
- var import_runtime86 = require("@homebound/truss/runtime");
20860
+ var import_runtime85 = require("@homebound/truss/runtime");
20837
20861
  var import_jsx_runtime160 = require("react/jsx-runtime");
20838
20862
  function MaxLines({
20839
20863
  maxLines,
@@ -20858,7 +20882,7 @@ function MaxLines({
20858
20882
  onResize
20859
20883
  });
20860
20884
  return /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)("div", { children: [
20861
- /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("div", { ref: elRef, ...(0, import_runtime86.trussProps)({
20885
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("div", { ref: elRef, ...(0, import_runtime85.trussProps)({
20862
20886
  ...!expanded ? {
20863
20887
  WebkitLineClamp: ["lineClamp_var", {
20864
20888
  "--WebkitLineClamp": maxLines
@@ -20876,7 +20900,7 @@ function MaxLines({
20876
20900
  // src/components/ScrollShadows.tsx
20877
20901
  var import_utils127 = require("@react-aria/utils");
20878
20902
  var import_react116 = require("react");
20879
- var import_runtime87 = require("@homebound/truss/runtime");
20903
+ var import_runtime86 = require("@homebound/truss/runtime");
20880
20904
  var import_jsx_runtime161 = require("react/jsx-runtime");
20881
20905
  function ScrollShadows(props) {
20882
20906
  const {
@@ -20965,7 +20989,7 @@ function ScrollShadows(props) {
20965
20989
  ref: scrollRef,
20966
20990
  onResize
20967
20991
  });
20968
- return /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)("div", { ...(0, import_runtime87.trussProps)({
20992
+ return /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)("div", { ...(0, import_runtime86.trussProps)({
20969
20993
  display: "df",
20970
20994
  flexDirection: ["fd_var", {
20971
20995
  "--flexDirection": !horizontal ? "column" : "row"
@@ -20981,7 +21005,7 @@ function ScrollShadows(props) {
20981
21005
  width: width2
20982
21006
  }
20983
21007
  }), ...tid, children: [
20984
- /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { ...(0, import_runtime87.trussProps)({
21008
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { ...(0, import_runtime86.trussProps)({
20985
21009
  ...startShadowStyles,
20986
21010
  ...{
20987
21011
  opacity: ["o_var", {
@@ -20989,7 +21013,7 @@ function ScrollShadows(props) {
20989
21013
  }]
20990
21014
  }
20991
21015
  }), "data-chromatic": "ignore" }),
20992
- /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { ...(0, import_runtime87.trussProps)({
21016
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { ...(0, import_runtime86.trussProps)({
20993
21017
  ...endShadowStyles,
20994
21018
  ...{
20995
21019
  opacity: ["o_var", {
@@ -20997,7 +21021,7 @@ function ScrollShadows(props) {
20997
21021
  }]
20998
21022
  }
20999
21023
  }), "data-chromatic": "ignore" }),
21000
- /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { ...(0, import_runtime87.trussProps)({
21024
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { ...(0, import_runtime86.trussProps)({
21001
21025
  ...xss,
21002
21026
  ...{
21003
21027
  overflow: "oa",
@@ -21070,7 +21094,7 @@ var snackbarId = 1;
21070
21094
  // src/components/Stepper.tsx
21071
21095
  var import_react118 = require("react");
21072
21096
  var import_react_aria52 = require("react-aria");
21073
- var import_runtime88 = require("@homebound/truss/runtime");
21097
+ var import_runtime87 = require("@homebound/truss/runtime");
21074
21098
  var import_jsx_runtime162 = require("react/jsx-runtime");
21075
21099
  var import_react119 = require("react");
21076
21100
  var __maybeInc13 = (inc) => {
@@ -21091,7 +21115,7 @@ function Stepper(props) {
21091
21115
  const minStepWidth = 100;
21092
21116
  const gap = 8;
21093
21117
  return /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)("nav", { "aria-label": "steps", className: "df fdc w100", ...tid, children: [
21094
- /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("ol", { ...(0, import_runtime88.trussProps)({
21118
+ /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("ol", { ...(0, import_runtime87.trussProps)({
21095
21119
  padding: "p_0",
21096
21120
  margin: "m_0",
21097
21121
  listStyle: "lis_none",
@@ -21101,7 +21125,7 @@ function Stepper(props) {
21101
21125
  }]
21102
21126
  }), children: steps.map((step) => {
21103
21127
  const isCurrent = currentStep === step.value;
21104
- return /* @__PURE__ */ (0, import_react119.createElement)("li", { ...(0, import_runtime88.trussProps)({
21128
+ return /* @__PURE__ */ (0, import_react119.createElement)("li", { ...(0, import_runtime87.trussProps)({
21105
21129
  display: "df",
21106
21130
  flexGrow: "fg1",
21107
21131
  flexDirection: "fdc",
@@ -21113,7 +21137,7 @@ function Stepper(props) {
21113
21137
  }]
21114
21138
  }), key: step.label, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(StepButton, { ...step, onClick: () => onChange(step.value), isCurrent, ...tid.stepButton }));
21115
21139
  }) }),
21116
- /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { ...(0, import_runtime88.trussProps)({
21140
+ /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { ...(0, import_runtime87.trussProps)({
21117
21141
  marginTop: "mt1",
21118
21142
  backgroundColor: "bgGray300",
21119
21143
  height: "h_4px",
@@ -21124,7 +21148,7 @@ function Stepper(props) {
21124
21148
  "--minWidth": `${steps.length * minStepWidth + (steps.length - 1) * gap}px`
21125
21149
  }],
21126
21150
  width: "w100"
21127
- }), children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { ...(0, import_runtime88.trussProps)({
21151
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { ...(0, import_runtime87.trussProps)({
21128
21152
  backgroundColor: "bgBlue600",
21129
21153
  transition: "transition_width_200ms",
21130
21154
  height: "h100",
@@ -21165,7 +21189,7 @@ function StepButton(props) {
21165
21189
  boxShadow: "bshFocus"
21166
21190
  };
21167
21191
  const tid = useTestIds(props, "stepButton");
21168
- return /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime88.trussProps)({
21192
+ return /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime87.trussProps)({
21169
21193
  ...{
21170
21194
  fontWeight: "fw6",
21171
21195
  fontSize: "fz_14px",
@@ -21233,7 +21257,7 @@ function StepIcon({
21233
21257
  if (state === "complete") {
21234
21258
  return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(Icon, { icon: "check" });
21235
21259
  }
21236
- return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { ...(0, import_runtime88.trussProps)({
21260
+ return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { ...(0, import_runtime87.trussProps)({
21237
21261
  width: "w_10px",
21238
21262
  height: "h_10px",
21239
21263
  borderStyle: "bss",
@@ -21248,7 +21272,7 @@ function StepIcon({
21248
21272
 
21249
21273
  // src/components/SuperDrawer/components/SuperDrawerHeader.tsx
21250
21274
  var import_react_dom5 = require("react-dom");
21251
- var import_runtime89 = require("@homebound/truss/runtime");
21275
+ var import_runtime88 = require("@homebound/truss/runtime");
21252
21276
  var import_jsx_runtime163 = require("react/jsx-runtime");
21253
21277
  function SuperDrawerHeader(props) {
21254
21278
  const {
@@ -21274,7 +21298,7 @@ function SuperDrawerHeader(props) {
21274
21298
  ] }),
21275
21299
  props.right && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { className: "fs0", children: props.right })
21276
21300
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { className: "fg1", children: props.children }),
21277
- !hideControls && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { ...(0, import_runtime89.trussProps)({
21301
+ !hideControls && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { ...(0, import_runtime88.trussProps)({
21278
21302
  flexShrink: "fs0",
21279
21303
  ...isDetail ? {
21280
21304
  visibility: "vh"
@@ -21454,7 +21478,7 @@ function canClose(canCloseCheck) {
21454
21478
  }
21455
21479
 
21456
21480
  // src/components/SuperDrawer/SuperDrawerContent.tsx
21457
- var import_runtime90 = require("@homebound/truss/runtime");
21481
+ var import_runtime89 = require("@homebound/truss/runtime");
21458
21482
  var import_jsx_runtime166 = require("react/jsx-runtime");
21459
21483
  var SuperDrawerContent = ({
21460
21484
  children,
@@ -21503,7 +21527,7 @@ var SuperDrawerContent = ({
21503
21527
  }, className: "pt2", children: children2 })
21504
21528
  ] }, "content");
21505
21529
  } else {
21506
- return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(import_framer_motion4.motion.div, { ...(0, import_runtime90.mergeProps)(void 0, {
21530
+ return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(import_framer_motion4.motion.div, { ...(0, import_runtime89.mergeProps)(void 0, {
21507
21531
  overflow: "auto"
21508
21532
  }, {
21509
21533
  paddingTop: "pt3",
@@ -21544,7 +21568,7 @@ var import_react121 = require("react");
21544
21568
  var import_react_aria53 = require("react-aria");
21545
21569
  var import_react_router2 = require("react-router");
21546
21570
  var import_react_router_dom5 = require("react-router-dom");
21547
- var import_runtime91 = require("@homebound/truss/runtime");
21571
+ var import_runtime90 = require("@homebound/truss/runtime");
21548
21572
  var import_jsx_runtime167 = require("react/jsx-runtime");
21549
21573
  function TabsWithContent(props) {
21550
21574
  const styles = hideTabs(props) ? {} : {
@@ -21577,7 +21601,7 @@ function TabContent(props) {
21577
21601
  return (
21578
21602
  // Using FullBleed to allow the tab's bgColor to extend to the edges of the <ScrollableContent /> element.
21579
21603
  // Omit the padding from `FullBleed` if the caller passes in the `paddingLeft/Right` styles.
21580
- /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...(0, import_runtime91.trussProps)(contentXss), children: isRouteTab(selectedTab) ? /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(import_react_router2.Route, { path: selectedTab.path, render: selectedTab.render }) : selectedTab.render() }) })
21604
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...(0, import_runtime90.trussProps)(contentXss), children: isRouteTab(selectedTab) ? /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(import_react_router2.Route, { path: selectedTab.path, render: selectedTab.render }) : selectedTab.render() }) })
21581
21605
  );
21582
21606
  }
21583
21607
  function Tabs(props) {
@@ -21616,7 +21640,7 @@ function Tabs(props) {
21616
21640
  setActive(selected);
21617
21641
  }
21618
21642
  }
21619
- return /* @__PURE__ */ (0, import_jsx_runtime167.jsxs)("div", { ...(0, import_runtime91.trussProps)({
21643
+ return /* @__PURE__ */ (0, import_jsx_runtime167.jsxs)("div", { ...(0, import_runtime90.trussProps)({
21620
21644
  ...{
21621
21645
  display: "df",
21622
21646
  alignItems: "aic",
@@ -21680,7 +21704,7 @@ function TabImpl(props) {
21680
21704
  role: "tab",
21681
21705
  tabIndex: active ? 0 : -1,
21682
21706
  ...others,
21683
- ...(0, import_runtime91.trussProps)({
21707
+ ...(0, import_runtime90.trussProps)({
21684
21708
  ...baseStyles5,
21685
21709
  ...active && activeStyles4,
21686
21710
  ...isDisabled && disabledStyles4,
@@ -21922,7 +21946,7 @@ function useToast() {
21922
21946
  RightPaneProvider,
21923
21947
  RightSidebar,
21924
21948
  Row,
21925
- RuntimeStyle,
21949
+ RuntimeCss,
21926
21950
  ScrollShadows,
21927
21951
  ScrollableContent,
21928
21952
  ScrollableParent,