@homebound/beam 4.57.2 → 4.58.1
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 +30 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +241 -240
- package/dist/index.js.map +1 -1
- package/dist/truss.css +10 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7194,9 +7194,12 @@ function ExpandableHeader(props) {
|
|
|
7194
7194
|
pointerEvents: "pen",
|
|
7195
7195
|
...applyStickyStyles ? {
|
|
7196
7196
|
position: "sticky",
|
|
7197
|
-
left: ["left_var", {
|
|
7198
|
-
"--left": maybeCssVar8(__maybeInc3(`calc(var(${beamSideNavLayoutWidthVar}, 0px) + ${minStickyLeftOffset + 12}px)`))
|
|
7199
|
-
|
|
7197
|
+
left: ["left_var sm_left_var", {
|
|
7198
|
+
"--left": maybeCssVar8(__maybeInc3(`calc(var(${beamSideNavLayoutWidthVar}, 0px) + ${minStickyLeftOffset + 12}px)`)),
|
|
7199
|
+
"--sm_left": maybeCssVar8(__maybeInc3(`calc(var(${beamSideNavLayoutWidthVar}, 0px) + 12px)`))
|
|
7200
|
+
}]
|
|
7201
|
+
} : {},
|
|
7202
|
+
...applyStickyStyles ? {
|
|
7200
7203
|
paddingRight: "pr2",
|
|
7201
7204
|
backgroundColor: ["bgColor_var", {
|
|
7202
7205
|
"--backgroundColor": "var(--b-surface)"
|
|
@@ -10762,27 +10765,22 @@ function RowImpl(props) {
|
|
|
10762
10765
|
const renderedContent = withRowControls(content2, controlNodes, alignment, contentRowLink);
|
|
10763
10766
|
ensureClientSideSortValueIsSortable(sortOn, isHeader || isTotals || isExpandableHeader || isGroupHeader, column2, columnIndex, maybeContent);
|
|
10764
10767
|
const maybeSticky = (isGridCellContent(maybeContent) && maybeContent.sticky || column2.sticky) ?? void 0;
|
|
10768
|
+
const stickyLeft = maybeSticky === "left" ? columnIndex === 0 ? `var(${beamSideNavLayoutWidthVar}, 0px)` : `calc(var(${beamSideNavLayoutWidthVar}, 0px) + (${columnSizes.slice(0, columnIndex).join(" + ")}))` : "auto";
|
|
10769
|
+
const stickyRight = maybeSticky === "right" ? columnIndex + 1 === columnSizes.length ? `var(${beamRightPaneWidthVar}, 0px)` : `calc(var(${beamRightPaneWidthVar}, 0px) + (${columnSizes.slice(columnIndex + 1 - columnSizes.length).join(" + ")}))` : "auto";
|
|
10765
10770
|
const maybeStickyColumnStyles = maybeSticky && columnSizes ? {
|
|
10766
|
-
|
|
10767
|
-
|
|
10768
|
-
zIndex:
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
backgroundColor:
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
|
|
10775
|
-
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
|
|
10779
|
-
} : {},
|
|
10780
|
-
// Offset by the open right pane so sticky-right cells pin to the clear edge, not under it (0 when closed).
|
|
10781
|
-
...maybeSticky === "right" ? {
|
|
10782
|
-
right: ["right_var", {
|
|
10783
|
-
"--right": maybeCssVar_12(__maybeInc9(columnIndex + 1 === columnSizes.length ? `var(${beamRightPaneWidthVar}, 0px)` : `calc(var(${beamRightPaneWidthVar}, 0px) + (${columnSizes.slice(columnIndex + 1 - columnSizes.length).join(" + ")}))`))
|
|
10784
|
-
}]
|
|
10785
|
-
} : {}
|
|
10771
|
+
position: "sticky sm_relative",
|
|
10772
|
+
zIndex: ["z_var", {
|
|
10773
|
+
"--zIndex": maybeCssVar_12(zIndices.tableStickyColumn)
|
|
10774
|
+
}],
|
|
10775
|
+
backgroundColor: ["bgColor_var", {
|
|
10776
|
+
"--backgroundColor": "var(--b-surface)"
|
|
10777
|
+
}],
|
|
10778
|
+
left: ["left_var sm_l_auto", {
|
|
10779
|
+
"--left": maybeCssVar_12(__maybeInc9(stickyLeft))
|
|
10780
|
+
}],
|
|
10781
|
+
right: ["right_var sm_r_auto", {
|
|
10782
|
+
"--right": maybeCssVar_12(__maybeInc9(stickyRight))
|
|
10783
|
+
}]
|
|
10786
10784
|
} : {};
|
|
10787
10785
|
minStickyLeftOffset += maybeSticky === "left" ? parseInt(columnSizes[columnIndex].replace("px", ""), 10) : 0;
|
|
10788
10786
|
const cellId = `${row.kind}_${row.id}_${column2.id}`;
|
|
@@ -11460,7 +11458,7 @@ import { chain, mergeProps as mergeProps9, useFocusWithin, useHover as useHover5
|
|
|
11460
11458
|
// src/components/Label.tsx
|
|
11461
11459
|
import React6 from "react";
|
|
11462
11460
|
import { VisuallyHidden as VisuallyHidden3 } from "react-aria";
|
|
11463
|
-
import { trussProps as trussProps23 } from "@homebound/truss/runtime";
|
|
11461
|
+
import { trussProps as trussProps23, maybeCssVar as maybeCssVar18 } from "@homebound/truss/runtime";
|
|
11464
11462
|
import { jsx as jsx37, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
11465
11463
|
function LabelComponent(props) {
|
|
11466
11464
|
const {
|
|
@@ -11504,15 +11502,18 @@ function InlineLabel({
|
|
|
11504
11502
|
labelProps,
|
|
11505
11503
|
label,
|
|
11506
11504
|
multiline = false,
|
|
11505
|
+
disabled = false,
|
|
11507
11506
|
...others
|
|
11508
11507
|
}) {
|
|
11509
11508
|
return /* @__PURE__ */ jsxs19("label", { ...labelProps, ...others, ...trussProps23({
|
|
11510
|
-
fontWeight: "
|
|
11509
|
+
fontWeight: "fw6",
|
|
11511
11510
|
fontSize: "fz_14px",
|
|
11512
11511
|
lineHeight: "lh_20px",
|
|
11513
11512
|
whiteSpace: "wsnw",
|
|
11514
11513
|
paddingRight: "pr_4px",
|
|
11515
|
-
color: "
|
|
11514
|
+
color: ["color_var", {
|
|
11515
|
+
"--color": maybeCssVar18(disabled ? "currentColor" : "--b-on-surface" /* OnSurface */)
|
|
11516
|
+
}],
|
|
11516
11517
|
alignSelf: "asc",
|
|
11517
11518
|
...multiline ? {
|
|
11518
11519
|
alignSelf: "asfs",
|
|
@@ -11594,7 +11595,7 @@ function getFieldWidth(fullWidth) {
|
|
|
11594
11595
|
}
|
|
11595
11596
|
|
|
11596
11597
|
// src/inputs/fieldChrome.ts
|
|
11597
|
-
import { maybeCssVar as
|
|
11598
|
+
import { maybeCssVar as maybeCssVar19 } from "@homebound/truss/runtime";
|
|
11598
11599
|
var __maybeInc10 = (inc) => {
|
|
11599
11600
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
11600
11601
|
};
|
|
@@ -11707,7 +11708,7 @@ function getFieldChrome(options) {
|
|
|
11707
11708
|
flexDirection: "fdc",
|
|
11708
11709
|
width: "w100",
|
|
11709
11710
|
maxWidth: ["maxw_var", {
|
|
11710
|
-
"--maxWidth":
|
|
11711
|
+
"--maxWidth": maybeCssVar19(getFieldWidth(fullWidth))
|
|
11711
11712
|
}],
|
|
11712
11713
|
position: "relative",
|
|
11713
11714
|
...labelStyle === "left" ? {
|
|
@@ -11732,14 +11733,14 @@ function getFieldChrome(options) {
|
|
|
11732
11733
|
}],
|
|
11733
11734
|
width: "w100",
|
|
11734
11735
|
backgroundColor: ["bgColor_var", {
|
|
11735
|
-
"--backgroundColor":
|
|
11736
|
+
"--backgroundColor": maybeCssVar19(bgColor)
|
|
11736
11737
|
}],
|
|
11737
11738
|
color: ["color_var", {
|
|
11738
11739
|
"--color": "var(--b-on-surface)"
|
|
11739
11740
|
}],
|
|
11740
11741
|
...labelStyle === "left" ? {
|
|
11741
11742
|
width: ["w_var", {
|
|
11742
|
-
"--width":
|
|
11743
|
+
"--width": maybeCssVar19(__maybeInc10(labelLeftFieldWidth))
|
|
11743
11744
|
}]
|
|
11744
11745
|
} : {}
|
|
11745
11746
|
},
|
|
@@ -11767,7 +11768,7 @@ function getFieldChrome(options) {
|
|
|
11767
11768
|
} : {},
|
|
11768
11769
|
...borderOnHover && isHovered ? {
|
|
11769
11770
|
backgroundColor: ["bgColor_var", {
|
|
11770
|
-
"--backgroundColor":
|
|
11771
|
+
"--backgroundColor": maybeCssVar19(hoverBgColor)
|
|
11771
11772
|
}],
|
|
11772
11773
|
borderStyle: "bss",
|
|
11773
11774
|
borderWidth: "bw1",
|
|
@@ -11786,7 +11787,7 @@ function getFieldChrome(options) {
|
|
|
11786
11787
|
}],
|
|
11787
11788
|
...labelStyle === "left" ? {
|
|
11788
11789
|
width: ["w_var", {
|
|
11789
|
-
"--width":
|
|
11790
|
+
"--width": maybeCssVar19(__maybeInc10(labelLeftFieldWidth))
|
|
11790
11791
|
}]
|
|
11791
11792
|
} : {}
|
|
11792
11793
|
},
|
|
@@ -11795,7 +11796,7 @@ function getFieldChrome(options) {
|
|
|
11795
11796
|
},
|
|
11796
11797
|
hover: {
|
|
11797
11798
|
backgroundColor: ["bgColor_var", {
|
|
11798
|
-
"--backgroundColor":
|
|
11799
|
+
"--backgroundColor": maybeCssVar19(hoverBgColor)
|
|
11799
11800
|
}],
|
|
11800
11801
|
borderColor: ["bc_var", {
|
|
11801
11802
|
"--borderColor": "var(--b-field-border-hover)"
|
|
@@ -11806,7 +11807,7 @@ function getFieldChrome(options) {
|
|
|
11806
11807
|
"--borderColor": "var(--b-field-border-focus)"
|
|
11807
11808
|
}],
|
|
11808
11809
|
backgroundColor: ["bgColor_var", {
|
|
11809
|
-
"--backgroundColor":
|
|
11810
|
+
"--backgroundColor": maybeCssVar19(hoverBgColor)
|
|
11810
11811
|
}],
|
|
11811
11812
|
...borderOnHover ? {
|
|
11812
11813
|
borderColor: ["bc_var", {
|
|
@@ -11820,7 +11821,7 @@ function getFieldChrome(options) {
|
|
|
11820
11821
|
"--color": "var(--b-field-text-disabled)"
|
|
11821
11822
|
}],
|
|
11822
11823
|
backgroundColor: ["bgColor_var", {
|
|
11823
|
-
"--backgroundColor":
|
|
11824
|
+
"--backgroundColor": maybeCssVar19(disabledBgColor)
|
|
11824
11825
|
}]
|
|
11825
11826
|
} : {
|
|
11826
11827
|
cursor: "cur_not_allowed"
|
|
@@ -12086,7 +12087,7 @@ function TextFieldBase(props) {
|
|
|
12086
12087
|
},
|
|
12087
12088
|
...xss
|
|
12088
12089
|
}), "data-readonly": "true", "data-ai-mode": showProposal ? "true" : void 0, ...tid, children: [
|
|
12089
|
-
labelStyle === "inline" && label && /* @__PURE__ */ jsx39(InlineLabel, { multiline, labelProps, label, ...tid.label }),
|
|
12090
|
+
labelStyle === "inline" && label && /* @__PURE__ */ jsx39(InlineLabel, { multiline, labelProps, label, disabled: !!inputProps.disabled, ...tid.label }),
|
|
12090
12091
|
showProposal ? (
|
|
12091
12092
|
// Read-only renders no input at all, so both halves are drawn as text here. Checked
|
|
12092
12093
|
// before `multiline` so a read-only TextAreaField still shows the struck-through original.
|
|
@@ -12119,7 +12120,7 @@ function TextFieldBase(props) {
|
|
|
12119
12120
|
ref: inputWrapRef,
|
|
12120
12121
|
onClick: unfocusedPlaceholder ? handleUnfocusedPlaceholderClick : void 0,
|
|
12121
12122
|
children: [
|
|
12122
|
-
labelStyle === "inline" && label && /* @__PURE__ */ jsx39(InlineLabel, { multiline, labelProps, label, ...tid.label }),
|
|
12123
|
+
labelStyle === "inline" && label && /* @__PURE__ */ jsx39(InlineLabel, { multiline, labelProps, label, disabled: !!inputProps.disabled, ...tid.label }),
|
|
12123
12124
|
startAdornment && /* @__PURE__ */ jsx39("span", { className: "df aic asc fs0 br4 pr1", children: startAdornment }),
|
|
12124
12125
|
unfocusedPlaceholder && /* @__PURE__ */ jsx39(
|
|
12125
12126
|
"div",
|
|
@@ -12440,7 +12441,7 @@ var pressedOverlayCss = {
|
|
|
12440
12441
|
// src/components/Button.tsx
|
|
12441
12442
|
import { useMemo as useMemo12, useState as useState14 } from "react";
|
|
12442
12443
|
import { useButton as useButton3, useFocusRing as useFocusRing4, useHover as useHover7 } from "react-aria";
|
|
12443
|
-
import { mergeProps as mergeProps11, maybeCssVar as
|
|
12444
|
+
import { mergeProps as mergeProps11, maybeCssVar as maybeCssVar20 } from "@homebound/truss/runtime";
|
|
12444
12445
|
import { Fragment as Fragment15, jsx as jsx43, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
12445
12446
|
function Button(props) {
|
|
12446
12447
|
const {
|
|
@@ -12579,17 +12580,17 @@ var variantStyles2 = {
|
|
|
12579
12580
|
},
|
|
12580
12581
|
hoverStyles: {
|
|
12581
12582
|
backgroundImage: ["backgroundImage_var", {
|
|
12582
|
-
"--backgroundImage":
|
|
12583
|
+
"--backgroundImage": maybeCssVar20(`linear-gradient(270deg, ${"rgba(30, 64, 175, 1)" /* Blue800 */}, ${"rgba(91, 33, 182, 1)" /* Purple800 */})`)
|
|
12583
12584
|
}]
|
|
12584
12585
|
},
|
|
12585
12586
|
pressedStyles: {
|
|
12586
12587
|
backgroundImage: ["backgroundImage_var", {
|
|
12587
|
-
"--backgroundImage":
|
|
12588
|
+
"--backgroundImage": maybeCssVar20(`linear-gradient(270deg, ${"rgba(30, 58, 138, 1)" /* Blue900 */}, ${"rgba(76, 29, 149, 1)" /* Purple900 */})`)
|
|
12588
12589
|
}]
|
|
12589
12590
|
},
|
|
12590
12591
|
disabledStyles: {
|
|
12591
12592
|
backgroundImage: ["backgroundImage_var", {
|
|
12592
|
-
"--backgroundImage":
|
|
12593
|
+
"--backgroundImage": maybeCssVar20(`linear-gradient(270deg, ${"rgba(191, 219, 254, 1)" /* Blue200 */}, ${"rgba(221, 214, 254, 1)" /* Purple200 */})`)
|
|
12593
12594
|
}],
|
|
12594
12595
|
color: ["color_var", {
|
|
12595
12596
|
"--color": "var(--b-button-primary-disabled-fg)"
|
|
@@ -13648,7 +13649,7 @@ function getPrimaryStyles(type) {
|
|
|
13648
13649
|
}
|
|
13649
13650
|
|
|
13650
13651
|
// src/components/BaseCard.tsx
|
|
13651
|
-
import { trussProps as trussProps30, maybeCssVar as
|
|
13652
|
+
import { trussProps as trussProps30, maybeCssVar as maybeCssVar21 } from "@homebound/truss/runtime";
|
|
13652
13653
|
import { Fragment as Fragment17, jsx as jsx49, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
13653
13654
|
function BaseCard(props) {
|
|
13654
13655
|
const {
|
|
@@ -13700,7 +13701,7 @@ function BaseCard(props) {
|
|
|
13700
13701
|
height: "h100",
|
|
13701
13702
|
width: "w100",
|
|
13702
13703
|
objectFit: ["objectFit_var", {
|
|
13703
|
-
"--objectFit":
|
|
13704
|
+
"--objectFit": maybeCssVar21(imageFit)
|
|
13704
13705
|
}]
|
|
13705
13706
|
}), src: imgSrc, alt: imgAlt, "aria-hidden": imgAlt === "" || void 0, loading: "lazy", ...tid.image }),
|
|
13706
13707
|
tag && /* @__PURE__ */ jsx49("div", { className: "absolute top1 l_1 df", ...tid.tag, children: /* @__PURE__ */ jsx49(Tag, { ...tag }) })
|
|
@@ -13789,7 +13790,7 @@ var contentStyles = {
|
|
|
13789
13790
|
|
|
13790
13791
|
// src/components/CardBody.tsx
|
|
13791
13792
|
import { useMemo as useMemo15 } from "react";
|
|
13792
|
-
import { trussProps as trussProps31, maybeCssVar as
|
|
13793
|
+
import { trussProps as trussProps31, maybeCssVar as maybeCssVar22 } from "@homebound/truss/runtime";
|
|
13793
13794
|
import { jsx as jsx50, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
13794
13795
|
var __maybeInc11 = (inc) => {
|
|
13795
13796
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -13870,14 +13871,14 @@ function CardBody(props) {
|
|
|
13870
13871
|
height: "h_8px",
|
|
13871
13872
|
borderRadius: "br4",
|
|
13872
13873
|
backgroundColor: ["bgColor_var", {
|
|
13873
|
-
"--backgroundColor":
|
|
13874
|
+
"--backgroundColor": maybeCssVar22(aiMode ? "rgba(221, 214, 254, 1)" /* Purple200 */ : "--b-surface-subtle" /* SurfaceSubtle */)
|
|
13874
13875
|
}]
|
|
13875
13876
|
}), ...tid.progressTrack, children: /* @__PURE__ */ jsx50("div", { ...trussProps31({
|
|
13876
13877
|
height: "h100",
|
|
13877
13878
|
borderRadius: "br4",
|
|
13878
13879
|
backgroundColor: "bgBlue500",
|
|
13879
13880
|
width: ["w_var", {
|
|
13880
|
-
"--width":
|
|
13881
|
+
"--width": maybeCssVar22(__maybeInc11(`${progressValue}%`))
|
|
13881
13882
|
}]
|
|
13882
13883
|
}), ...tid.progressFill }) }),
|
|
13883
13884
|
/* @__PURE__ */ jsxs30("span", { ...tid.progressValue, children: [
|
|
@@ -13902,7 +13903,7 @@ function clampProgress(value) {
|
|
|
13902
13903
|
// src/components/Carousel.tsx
|
|
13903
13904
|
import { useResizeObserver as useResizeObserver4 } from "@react-aria/utils";
|
|
13904
13905
|
import { Children, useCallback as useCallback12, useLayoutEffect as useLayoutEffect3, useRef as useRef20, useState as useState16 } from "react";
|
|
13905
|
-
import { trussProps as trussProps32, maybeCssVar as
|
|
13906
|
+
import { trussProps as trussProps32, maybeCssVar as maybeCssVar23 } from "@homebound/truss/runtime";
|
|
13906
13907
|
import { jsx as jsx51, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
13907
13908
|
function Carousel(props) {
|
|
13908
13909
|
const {
|
|
@@ -13976,7 +13977,7 @@ function Carousel(props) {
|
|
|
13976
13977
|
marginLeft: "ml_neg4px",
|
|
13977
13978
|
scrollPaddingInline: "scpi_4px",
|
|
13978
13979
|
maskImage: ["maskImage_var", {
|
|
13979
|
-
"--maskImage":
|
|
13980
|
+
"--maskImage": maybeCssVar23(maskImage)
|
|
13980
13981
|
}]
|
|
13981
13982
|
}), ...tid.items, children: Children.map(children, (child) => /* @__PURE__ */ jsx51("div", { className: "fs0 ssa_start", children: child })) }),
|
|
13982
13983
|
/* @__PURE__ */ jsx51(ScrollButton, { direction: "forward", label: nextLabel, inc: chevronInc, visible: canScrollForward, onClick: () => scrollByPage(1), ...tid.next })
|
|
@@ -14207,7 +14208,7 @@ function GridTableEmptyState(props) {
|
|
|
14207
14208
|
}
|
|
14208
14209
|
|
|
14209
14210
|
// src/components/Table/GridTable.tsx
|
|
14210
|
-
import { trussProps as trussProps34, mergeProps as mergeProps14, maybeCssVar as
|
|
14211
|
+
import { trussProps as trussProps34, mergeProps as mergeProps14, maybeCssVar as maybeCssVar24 } from "@homebound/truss/runtime";
|
|
14211
14212
|
import { jsx as jsx54, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
14212
14213
|
import { createElement } from "react";
|
|
14213
14214
|
var __maybeInc12 = (inc) => {
|
|
@@ -14571,23 +14572,23 @@ function GridTable(props) {
|
|
|
14571
14572
|
var loadingOverlayCss = {
|
|
14572
14573
|
position: "fixed",
|
|
14573
14574
|
top: ["top_var", {
|
|
14574
|
-
"--top":
|
|
14575
|
+
"--top": maybeCssVar24(__maybeInc12(stickyTableHeaderOffset()))
|
|
14575
14576
|
}],
|
|
14576
14577
|
bottom: ["bottom_var", {
|
|
14577
|
-
"--bottom":
|
|
14578
|
+
"--bottom": maybeCssVar24(__maybeInc12(getFloatingBottomOffset()))
|
|
14578
14579
|
}],
|
|
14579
14580
|
left: ["left_var", {
|
|
14580
|
-
"--left":
|
|
14581
|
+
"--left": maybeCssVar24(__maybeInc12(documentScrollChromeLeft()))
|
|
14581
14582
|
}],
|
|
14582
14583
|
width: ["w_var", {
|
|
14583
|
-
"--width":
|
|
14584
|
+
"--width": maybeCssVar24(__maybeInc12(`calc(${documentScrollChromeWidth()} - var(${beamRightPaneWidthVar}, 0px))`))
|
|
14584
14585
|
}],
|
|
14585
14586
|
display: "df",
|
|
14586
14587
|
alignItems: "aic",
|
|
14587
14588
|
justifyContent: "jcc",
|
|
14588
14589
|
pointerEvents: "pen",
|
|
14589
14590
|
zIndex: ["z_var", {
|
|
14590
|
-
"--zIndex":
|
|
14591
|
+
"--zIndex": maybeCssVar24(zIndices.tableLoadingOverlay)
|
|
14591
14592
|
}]
|
|
14592
14593
|
};
|
|
14593
14594
|
var renders = {
|
|
@@ -14617,10 +14618,10 @@ function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, pinned
|
|
|
14617
14618
|
position: "sticky",
|
|
14618
14619
|
transition: "transitionTop",
|
|
14619
14620
|
top: ["top_var", {
|
|
14620
|
-
"--top":
|
|
14621
|
+
"--top": maybeCssVar24(__maybeInc12(stickyTableHeaderOffset(stickyOffset)))
|
|
14621
14622
|
}],
|
|
14622
14623
|
zIndex: ["z_var", {
|
|
14623
|
-
"--zIndex":
|
|
14624
|
+
"--zIndex": maybeCssVar24(zIndices.tableStickyHeader)
|
|
14624
14625
|
}]
|
|
14625
14626
|
} : {}
|
|
14626
14627
|
}), children: [
|
|
@@ -14662,10 +14663,10 @@ function renderTable(style, id, columns, visibleDataRows, keptSelectedRows, pinn
|
|
|
14662
14663
|
position: "sticky",
|
|
14663
14664
|
transition: "transitionTop",
|
|
14664
14665
|
top: ["top_var", {
|
|
14665
|
-
"--top":
|
|
14666
|
+
"--top": maybeCssVar24(__maybeInc12(stickyTableHeaderOffset(stickyOffset)))
|
|
14666
14667
|
}],
|
|
14667
14668
|
zIndex: ["z_var", {
|
|
14668
|
-
"--zIndex":
|
|
14669
|
+
"--zIndex": maybeCssVar24(zIndices.tableStickyHeader)
|
|
14669
14670
|
}]
|
|
14670
14671
|
} : {}
|
|
14671
14672
|
}), children: [
|
|
@@ -14848,7 +14849,7 @@ function CardView({
|
|
|
14848
14849
|
}), children: /* @__PURE__ */ jsx54("div", { ...trussProps34({
|
|
14849
14850
|
display: "dg",
|
|
14850
14851
|
gridTemplateColumns: ["gtc_var", {
|
|
14851
|
-
"--gridTemplateColumns":
|
|
14852
|
+
"--gridTemplateColumns": maybeCssVar24(`repeat(auto-fill, minmax(${CARD_MIN_WIDTH_PX}px, 1fr))`)
|
|
14852
14853
|
}],
|
|
14853
14854
|
justifyContent: "jcc",
|
|
14854
14855
|
gap: "g_3",
|
|
@@ -14876,7 +14877,7 @@ function CardView({
|
|
|
14876
14877
|
return /* @__PURE__ */ jsx54("div", { ref, ...mergeProps14(void 0, style, {
|
|
14877
14878
|
display: "dg",
|
|
14878
14879
|
gridTemplateColumns: ["gtc_var", {
|
|
14879
|
-
"--gridTemplateColumns":
|
|
14880
|
+
"--gridTemplateColumns": maybeCssVar24(`repeat(auto-fill, minmax(${CARD_MIN_WIDTH_PX}px, 1fr))`)
|
|
14880
14881
|
}],
|
|
14881
14882
|
justifyContent: "jcc",
|
|
14882
14883
|
gap: "g_3",
|
|
@@ -15060,7 +15061,7 @@ import { useFocusRing as useFocusRing7 } from "react-aria";
|
|
|
15060
15061
|
// src/hooks/useExpandCollapse.tsx
|
|
15061
15062
|
import { useResizeObserver as useResizeObserver5 } from "@react-aria/utils";
|
|
15062
15063
|
import { useCallback as useCallback13, useEffect as useEffect10, useMemo as useMemo17, useState as useState18 } from "react";
|
|
15063
|
-
import { trussProps as trussProps37, maybeCssVar as
|
|
15064
|
+
import { trussProps as trussProps37, maybeCssVar as maybeCssVar25 } from "@homebound/truss/runtime";
|
|
15064
15065
|
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
15065
15066
|
var __maybeInc13 = (inc) => {
|
|
15066
15067
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -15069,7 +15070,7 @@ function expandCollapsePanelStyles(contentHeight) {
|
|
|
15069
15070
|
return {
|
|
15070
15071
|
overflow: "oh",
|
|
15071
15072
|
height: ["h_var", {
|
|
15072
|
-
"--height":
|
|
15073
|
+
"--height": maybeCssVar25(__maybeInc13(contentHeight))
|
|
15073
15074
|
}],
|
|
15074
15075
|
transition: "transitionHeight"
|
|
15075
15076
|
};
|
|
@@ -15115,7 +15116,7 @@ function ExpandChevron(props) {
|
|
|
15115
15116
|
flexShrink: "fs0",
|
|
15116
15117
|
transition: "transitionTransform",
|
|
15117
15118
|
transform: ["transform_var", {
|
|
15118
|
-
"--transform":
|
|
15119
|
+
"--transform": maybeCssVar25(props.expanded ? "rotate(180deg)" : "rotate(0deg)")
|
|
15119
15120
|
}]
|
|
15120
15121
|
}), children: /* @__PURE__ */ jsx57(Icon, { icon: "chevronDown" }) });
|
|
15121
15122
|
}
|
|
@@ -15307,7 +15308,7 @@ function AccordionList(props) {
|
|
|
15307
15308
|
|
|
15308
15309
|
// src/components/Logos/BlueprintAiLogo.tsx
|
|
15309
15310
|
import { useId as useId2 } from "@react-aria/utils";
|
|
15310
|
-
import { trussProps as trussProps39, maybeCssVar as
|
|
15311
|
+
import { trussProps as trussProps39, maybeCssVar as maybeCssVar26 } from "@homebound/truss/runtime";
|
|
15311
15312
|
import { jsx as jsx60, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
15312
15313
|
var __maybeInc14 = (inc) => {
|
|
15313
15314
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -15320,10 +15321,10 @@ function BlueprintAiLogo(props) {
|
|
|
15320
15321
|
const gradientId = useId2();
|
|
15321
15322
|
return /* @__PURE__ */ jsxs37("svg", { viewBox: "0 0 207 40", xmlns: "http://www.w3.org/2000/svg", ...trussProps39({
|
|
15322
15323
|
width: ["w_var", {
|
|
15323
|
-
"--width":
|
|
15324
|
+
"--width": maybeCssVar26(__maybeInc14(width2))
|
|
15324
15325
|
}],
|
|
15325
15326
|
height: ["h_var", {
|
|
15326
|
-
"--height":
|
|
15327
|
+
"--height": maybeCssVar26(__maybeInc14(height))
|
|
15327
15328
|
}]
|
|
15328
15329
|
}), children: [
|
|
15329
15330
|
/* @__PURE__ */ jsxs37("g", { transform: "translate(0.32171630859375, 3)", fill: `url(#${gradientId})`, children: [
|
|
@@ -15551,7 +15552,7 @@ function AiLinkCardGroup(props) {
|
|
|
15551
15552
|
}
|
|
15552
15553
|
|
|
15553
15554
|
// src/components/AiLoader.tsx
|
|
15554
|
-
import { trussProps as trussProps43, maybeCssVar as
|
|
15555
|
+
import { trussProps as trussProps43, maybeCssVar as maybeCssVar27 } from "@homebound/truss/runtime";
|
|
15555
15556
|
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
15556
15557
|
function AiLoader(props) {
|
|
15557
15558
|
const {
|
|
@@ -15596,7 +15597,7 @@ function starStyles(index, inc) {
|
|
|
15596
15597
|
}],
|
|
15597
15598
|
transform: "tf_scale_0_5",
|
|
15598
15599
|
animation: ["animation_var", {
|
|
15599
|
-
"--animation": `aiStarLoader ${
|
|
15600
|
+
"--animation": `aiStarLoader ${maybeCssVar27(`${cycleMs}ms ease-in-out ${index * cycleMs / 3}ms infinite`)}`
|
|
15600
15601
|
}]
|
|
15601
15602
|
};
|
|
15602
15603
|
}
|
|
@@ -16920,7 +16921,7 @@ var iconStyles2 = {
|
|
|
16920
16921
|
// src/components/Card.tsx
|
|
16921
16922
|
import { useMemo as useMemo20 } from "react";
|
|
16922
16923
|
import { useHover as useHover10 } from "react-aria";
|
|
16923
|
-
import { trussProps as trussProps57, maybeCssVar as
|
|
16924
|
+
import { trussProps as trussProps57, maybeCssVar as maybeCssVar28 } from "@homebound/truss/runtime";
|
|
16924
16925
|
import { jsx as jsx87, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
16925
16926
|
function Card(props) {
|
|
16926
16927
|
const {
|
|
@@ -16981,7 +16982,7 @@ function Card(props) {
|
|
|
16981
16982
|
width: "w100",
|
|
16982
16983
|
height: "h100",
|
|
16983
16984
|
objectFit: ["objectFit_var", {
|
|
16984
|
-
"--objectFit":
|
|
16985
|
+
"--objectFit": maybeCssVar28(imageFit)
|
|
16985
16986
|
}]
|
|
16986
16987
|
}), src: imgSrc, alt: title, ...tid.img }) }),
|
|
16987
16988
|
isHovered && buttonMenuItems && /* @__PURE__ */ jsx87("div", { ...trussProps57({
|
|
@@ -17203,7 +17204,7 @@ function Copy(props) {
|
|
|
17203
17204
|
}
|
|
17204
17205
|
|
|
17205
17206
|
// src/components/CountBadge.tsx
|
|
17206
|
-
import { trussProps as trussProps59, maybeCssVar as
|
|
17207
|
+
import { trussProps as trussProps59, maybeCssVar as maybeCssVar29 } from "@homebound/truss/runtime";
|
|
17207
17208
|
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
17208
17209
|
function CountBadge(props) {
|
|
17209
17210
|
const {
|
|
@@ -17235,12 +17236,12 @@ function CountBadge(props) {
|
|
|
17235
17236
|
alignItems: "aic",
|
|
17236
17237
|
justifyContent: "jcc",
|
|
17237
17238
|
backgroundColor: ["bgColor_var", {
|
|
17238
|
-
"--backgroundColor":
|
|
17239
|
+
"--backgroundColor": maybeCssVar29(bgColor)
|
|
17239
17240
|
}]
|
|
17240
17241
|
},
|
|
17241
17242
|
...{
|
|
17242
17243
|
color: ["color_var", {
|
|
17243
|
-
"--color":
|
|
17244
|
+
"--color": maybeCssVar29(color)
|
|
17244
17245
|
}]
|
|
17245
17246
|
}
|
|
17246
17247
|
}), children: count });
|
|
@@ -17666,7 +17667,7 @@ import { createPortal as createPortal3 } from "react-dom";
|
|
|
17666
17667
|
// src/components/Snackbar/SnackbarNotice.tsx
|
|
17667
17668
|
import { useLayoutEffect as useLayoutEffect4, useResizeObserver as useResizeObserver6 } from "@react-aria/utils";
|
|
17668
17669
|
import { useCallback as useCallback16, useRef as useRef27, useState as useState24 } from "react";
|
|
17669
|
-
import { trussProps as trussProps62, maybeCssVar as
|
|
17670
|
+
import { trussProps as trussProps62, maybeCssVar as maybeCssVar30 } from "@homebound/truss/runtime";
|
|
17670
17671
|
import { jsx as jsx95, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
17671
17672
|
function SnackbarNotice(props) {
|
|
17672
17673
|
const {
|
|
@@ -17713,7 +17714,7 @@ function SnackbarNotice(props) {
|
|
|
17713
17714
|
},
|
|
17714
17715
|
...expanded ? {
|
|
17715
17716
|
maxWidth: ["maxw_var", {
|
|
17716
|
-
"--maxWidth":
|
|
17717
|
+
"--maxWidth": maybeCssVar30(expandedNoticeMaxWidth)
|
|
17717
17718
|
}]
|
|
17718
17719
|
} : void 0
|
|
17719
17720
|
}), "data-theme": contrastDataTheme, ...tid, role: "alert", children: [
|
|
@@ -17793,7 +17794,7 @@ var typeToIcon2 = {
|
|
|
17793
17794
|
};
|
|
17794
17795
|
|
|
17795
17796
|
// src/components/Snackbar/Snackbar.tsx
|
|
17796
|
-
import { trussProps as trussProps63, maybeCssVar as
|
|
17797
|
+
import { trussProps as trussProps63, maybeCssVar as maybeCssVar31 } from "@homebound/truss/runtime";
|
|
17797
17798
|
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
17798
17799
|
function Snackbar({
|
|
17799
17800
|
notices,
|
|
@@ -17803,7 +17804,7 @@ function Snackbar({
|
|
|
17803
17804
|
return createPortal3(/* @__PURE__ */ jsx96("div", { ...tid.snackbarWrapper, ...trussProps63({
|
|
17804
17805
|
position: "fixed",
|
|
17805
17806
|
zIndex: ["z_var", {
|
|
17806
|
-
"--zIndex":
|
|
17807
|
+
"--zIndex": maybeCssVar31(zIndices.snackbar)
|
|
17807
17808
|
}],
|
|
17808
17809
|
bottom: ["bottom_var", {
|
|
17809
17810
|
"--bottom": `${offset.bottom ?? defaultOffset.bottom}px`
|
|
@@ -18072,7 +18073,7 @@ var SuperDrawerWidth = /* @__PURE__ */ ((SuperDrawerWidth2) => {
|
|
|
18072
18073
|
})(SuperDrawerWidth || {});
|
|
18073
18074
|
|
|
18074
18075
|
// src/components/SuperDrawer/SuperDrawer.tsx
|
|
18075
|
-
import { trussProps as trussProps64, maybeCssVar as
|
|
18076
|
+
import { trussProps as trussProps64, maybeCssVar as maybeCssVar32 } from "@homebound/truss/runtime";
|
|
18076
18077
|
import { Fragment as Fragment24, jsx as jsx100, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
18077
18078
|
import { createElement as createElement3 } from "react";
|
|
18078
18079
|
function SuperDrawer() {
|
|
@@ -18128,7 +18129,7 @@ function SuperDrawer() {
|
|
|
18128
18129
|
bottom: "bot_0",
|
|
18129
18130
|
left: "l_0",
|
|
18130
18131
|
zIndex: ["z_var", {
|
|
18131
|
-
"--zIndex":
|
|
18132
|
+
"--zIndex": maybeCssVar32(zIndices.superDrawerScrim)
|
|
18132
18133
|
}]
|
|
18133
18134
|
}),
|
|
18134
18135
|
initial: {
|
|
@@ -18154,7 +18155,7 @@ function SuperDrawer() {
|
|
|
18154
18155
|
}],
|
|
18155
18156
|
height: "h100",
|
|
18156
18157
|
maxWidth: ["maxw_var", {
|
|
18157
|
-
"--maxWidth":
|
|
18158
|
+
"--maxWidth": maybeCssVar32(px(width2))
|
|
18158
18159
|
}],
|
|
18159
18160
|
width: "w100",
|
|
18160
18161
|
display: "df",
|
|
@@ -18319,7 +18320,7 @@ var modalBodyFullBleed = {
|
|
|
18319
18320
|
};
|
|
18320
18321
|
|
|
18321
18322
|
// src/components/Modal/Modal.tsx
|
|
18322
|
-
import { trussProps as trussProps65, maybeCssVar as
|
|
18323
|
+
import { trussProps as trussProps65, maybeCssVar as maybeCssVar33 } from "@homebound/truss/runtime";
|
|
18323
18324
|
import { Fragment as Fragment25, jsx as jsx103, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
18324
18325
|
function Modal(props) {
|
|
18325
18326
|
const {
|
|
@@ -18437,7 +18438,7 @@ function Modal(props) {
|
|
|
18437
18438
|
justifyContent: "jcc",
|
|
18438
18439
|
backgroundColor: "bgc_rgba_36_36_36_0_6",
|
|
18439
18440
|
zIndex: ["z_var", {
|
|
18440
|
-
"--zIndex":
|
|
18441
|
+
"--zIndex": maybeCssVar33(zIndices.modalUnderlay)
|
|
18441
18442
|
}]
|
|
18442
18443
|
}), ...underlayProps, ...testId.underlay, children: /* @__PURE__ */ jsx103(FocusScope3, { contain: true, restoreFocus: true, autoFocus: true, children: /* @__PURE__ */ jsxs65("div", { ...trussProps65({
|
|
18443
18444
|
borderRadius: "br24",
|
|
@@ -18835,7 +18836,7 @@ function AnchoredOverlay(props) {
|
|
|
18835
18836
|
import { useLayoutEffect as useLayoutEffect6, useRef as useRef33 } from "react";
|
|
18836
18837
|
import { FocusScope as FocusScope5, mergeProps as mergeProps17, useDialog as useDialog2, useOverlay as useOverlay3, usePreventScroll as usePreventScroll2 } from "react-aria";
|
|
18837
18838
|
import { createPortal as createPortal6 } from "react-dom";
|
|
18838
|
-
import { trussProps as trussProps67, maybeCssVar as
|
|
18839
|
+
import { trussProps as trussProps67, maybeCssVar as maybeCssVar34 } from "@homebound/truss/runtime";
|
|
18839
18840
|
import { jsx as jsx106, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
18840
18841
|
function BottomSheet(props) {
|
|
18841
18842
|
const {
|
|
@@ -18932,7 +18933,7 @@ var frameCss = {
|
|
|
18932
18933
|
flexDirection: "fdc",
|
|
18933
18934
|
justifyContent: "jcfe",
|
|
18934
18935
|
zIndex: ["z_var", {
|
|
18935
|
-
"--zIndex":
|
|
18936
|
+
"--zIndex": maybeCssVar34(zIndices.popover)
|
|
18936
18937
|
}]
|
|
18937
18938
|
};
|
|
18938
18939
|
var scrimCss = {
|
|
@@ -18971,7 +18972,7 @@ import { useCallback as useCallback19, useLayoutEffect as useLayoutEffect7, useM
|
|
|
18971
18972
|
|
|
18972
18973
|
// src/components/Pills/FilterPill/FilterPill.tsx
|
|
18973
18974
|
import { useHover as useHover11 } from "react-aria";
|
|
18974
|
-
import { trussProps as trussProps68, maybeCssVar as
|
|
18975
|
+
import { trussProps as trussProps68, maybeCssVar as maybeCssVar35 } from "@homebound/truss/runtime";
|
|
18975
18976
|
import { jsx as jsx107, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
18976
18977
|
function FilterPill(props) {
|
|
18977
18978
|
const {
|
|
@@ -19014,10 +19015,10 @@ function pillStyles(disabled, hovered) {
|
|
|
19014
19015
|
paddingBottom: "pb_4px",
|
|
19015
19016
|
minHeight: "mh_24px",
|
|
19016
19017
|
color: ["color_var", {
|
|
19017
|
-
"--color":
|
|
19018
|
+
"--color": maybeCssVar35(disabled ? "--b-on-surface-active-disabled" /* OnSurfaceActiveDisabled */ : "rgba(36, 36, 36, 1)" /* Gray900 */)
|
|
19018
19019
|
}],
|
|
19019
19020
|
backgroundColor: ["bgColor_var", {
|
|
19020
|
-
"--backgroundColor":
|
|
19021
|
+
"--backgroundColor": maybeCssVar35(hovered ? "--b-surface-active-hover" /* SurfaceActiveHover */ : "--b-surface-active" /* SurfaceActive */)
|
|
19021
19022
|
}],
|
|
19022
19023
|
...disabled ? {
|
|
19023
19024
|
cursor: "cur_not_allowed"
|
|
@@ -19026,7 +19027,7 @@ function pillStyles(disabled, hovered) {
|
|
|
19026
19027
|
}
|
|
19027
19028
|
|
|
19028
19029
|
// src/inputs/MenuSelectField/internal/MenuSelectedPills.tsx
|
|
19029
|
-
import { trussProps as trussProps69, maybeCssVar as
|
|
19030
|
+
import { trussProps as trussProps69, maybeCssVar as maybeCssVar36 } from "@homebound/truss/runtime";
|
|
19030
19031
|
import { jsx as jsx108, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
19031
19032
|
function MenuSelectedPills(props) {
|
|
19032
19033
|
const {
|
|
@@ -19077,7 +19078,7 @@ function MenuSelectedPills(props) {
|
|
|
19077
19078
|
...expanded ? {
|
|
19078
19079
|
alignItems: "aifs",
|
|
19079
19080
|
maxHeight: ["maxh_var", {
|
|
19080
|
-
"--maxHeight":
|
|
19081
|
+
"--maxHeight": maybeCssVar36(expandedMaxHeight)
|
|
19081
19082
|
}],
|
|
19082
19083
|
overflowX: "oxh",
|
|
19083
19084
|
overflowY: "oya",
|
|
@@ -19097,7 +19098,7 @@ function MenuSelectedPills(props) {
|
|
|
19097
19098
|
overflow: "oh",
|
|
19098
19099
|
...overflows ? {
|
|
19099
19100
|
maskImage: ["maskImage_var", {
|
|
19100
|
-
"--maskImage":
|
|
19101
|
+
"--maskImage": maybeCssVar36(overflowMask)
|
|
19101
19102
|
}]
|
|
19102
19103
|
} : {}
|
|
19103
19104
|
}), ...tid.line, children: pills.map((pill) => (
|
|
@@ -19201,7 +19202,7 @@ var inputCss = {
|
|
|
19201
19202
|
|
|
19202
19203
|
// src/inputs/MenuSelectField/internal/MenuSelectTrigger.tsx
|
|
19203
19204
|
import { mergeProps as mergeProps18 } from "react-aria";
|
|
19204
|
-
import { trussProps as trussProps72, mergeProps as mergeProps_14, maybeCssVar as
|
|
19205
|
+
import { trussProps as trussProps72, mergeProps as mergeProps_14, maybeCssVar as maybeCssVar37 } from "@homebound/truss/runtime";
|
|
19205
19206
|
import { Fragment as Fragment27, jsx as jsx111, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
19206
19207
|
function MenuSelectTrigger(props) {
|
|
19207
19208
|
const {
|
|
@@ -19282,13 +19283,13 @@ function MenuSelectTrigger(props) {
|
|
|
19282
19283
|
const hasSupporting = !!(originalBelow || showErrorAndHelper && (errorMsg || helperText));
|
|
19283
19284
|
const valueNode = /* @__PURE__ */ jsxs72(Fragment27, { children: [
|
|
19284
19285
|
labelStyle === "inline" && /* @__PURE__ */ jsxs72("span", { id: trigger.labelId, ...trussProps72({
|
|
19285
|
-
fontWeight: "
|
|
19286
|
+
fontWeight: "fw6",
|
|
19286
19287
|
fontSize: "fz_14px",
|
|
19287
19288
|
lineHeight: "lh_20px",
|
|
19288
19289
|
whiteSpace: "wsnw",
|
|
19289
19290
|
paddingRight: "pr_4px",
|
|
19290
19291
|
color: ["color_var", {
|
|
19291
|
-
"--color":
|
|
19292
|
+
"--color": maybeCssVar37(trigger.isDisabled && visuallyDisabled ? "currentColor" : "--b-on-surface" /* OnSurface */)
|
|
19292
19293
|
}]
|
|
19293
19294
|
}), children: [
|
|
19294
19295
|
label,
|
|
@@ -19303,7 +19304,7 @@ function MenuSelectTrigger(props) {
|
|
|
19303
19304
|
overflow: "oh",
|
|
19304
19305
|
textOverflow: "to_ellipsis",
|
|
19305
19306
|
color: ["color_var", {
|
|
19306
|
-
"--color":
|
|
19307
|
+
"--color": maybeCssVar37(trigger.isPlaceholder ? inputPlaceholderColor : void 0)
|
|
19307
19308
|
}]
|
|
19308
19309
|
},
|
|
19309
19310
|
// A placeholder reads as hint text, so it stays at the field's regular weight.
|
|
@@ -19323,7 +19324,7 @@ function MenuSelectTrigger(props) {
|
|
|
19323
19324
|
flexShrink: "fs0",
|
|
19324
19325
|
paddingLeft: "pl1",
|
|
19325
19326
|
color: ["color_var", {
|
|
19326
|
-
"--color":
|
|
19327
|
+
"--color": maybeCssVar37(trigger.isDisabled ? "--b-field-text-disabled" /* FieldTextDisabled */ : "--b-text-placeholder" /* TextPlaceholder */)
|
|
19327
19328
|
}]
|
|
19328
19329
|
}), ...tid.toggle, children: /* @__PURE__ */ jsx111(Icon, { icon: trigger.isOpen ? "chevronUp" : "chevronDown" }) })
|
|
19329
19330
|
] });
|
|
@@ -20770,7 +20771,7 @@ var headingByLevel = {
|
|
|
20770
20771
|
};
|
|
20771
20772
|
|
|
20772
20773
|
// src/components/InlineFeedbackBanner.tsx
|
|
20773
|
-
import { trussProps as trussProps79, maybeCssVar as
|
|
20774
|
+
import { trussProps as trussProps79, maybeCssVar as maybeCssVar38 } from "@homebound/truss/runtime";
|
|
20774
20775
|
import { jsx as jsx121, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
20775
20776
|
function InlineFeedbackBanner(props) {
|
|
20776
20777
|
const {
|
|
@@ -20817,10 +20818,10 @@ function InlineFeedbackBanner(props) {
|
|
|
20817
20818
|
borderStyle: "bss",
|
|
20818
20819
|
borderWidth: "bw1",
|
|
20819
20820
|
borderColor: ["bc_var", {
|
|
20820
|
-
"--borderColor":
|
|
20821
|
+
"--borderColor": maybeCssVar38(borderColor)
|
|
20821
20822
|
}],
|
|
20822
20823
|
boxShadow: ["boxShadow_var", {
|
|
20823
|
-
"--boxShadow":
|
|
20824
|
+
"--boxShadow": maybeCssVar38(bannerShadow)
|
|
20824
20825
|
}]
|
|
20825
20826
|
}), ...tid, children: [
|
|
20826
20827
|
/* @__PURE__ */ jsx121("span", { className: "df aic h_24px fs0", children: /* @__PURE__ */ jsx121(Tag, { ...tagProps, ...tid.tag }) }),
|
|
@@ -20965,7 +20966,7 @@ import { useButton as useButton10, useFocusRing as useFocusRing16 } from "react-
|
|
|
20965
20966
|
import { useCallback as useCallback26, useMemo as useMemo42 } from "react";
|
|
20966
20967
|
|
|
20967
20968
|
// src/components/LoadingSkeleton.tsx
|
|
20968
|
-
import { trussProps as trussProps81, maybeCssVar as
|
|
20969
|
+
import { trussProps as trussProps81, maybeCssVar as maybeCssVar39 } from "@homebound/truss/runtime";
|
|
20969
20970
|
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
20970
20971
|
function LoadingSkeleton({
|
|
20971
20972
|
rows = 1,
|
|
@@ -20982,7 +20983,7 @@ function LoadingSkeleton({
|
|
|
20982
20983
|
borderRadius: "br4",
|
|
20983
20984
|
animation: "anim_pulse_2s_cubic_bezier_0_4_0_0_6_1_infinite",
|
|
20984
20985
|
flexGrow: ["flexGrow_var", {
|
|
20985
|
-
"--flexGrow":
|
|
20986
|
+
"--flexGrow": maybeCssVar39(flexGrowForCell)
|
|
20986
20987
|
}],
|
|
20987
20988
|
backgroundColor: ["bgColor_var", {
|
|
20988
20989
|
"--backgroundColor": "var(--b-loader-fill)"
|
|
@@ -21063,7 +21064,7 @@ import { Observer as Observer2 } from "mobx-react";
|
|
|
21063
21064
|
import { useRef as useRef38 } from "react";
|
|
21064
21065
|
import { useCheckboxGroup, useCheckboxGroupItem } from "react-aria";
|
|
21065
21066
|
import { useCheckboxGroupState } from "react-stately";
|
|
21066
|
-
import { trussProps as trussProps83, maybeCssVar as
|
|
21067
|
+
import { trussProps as trussProps83, maybeCssVar as maybeCssVar40 } from "@homebound/truss/runtime";
|
|
21067
21068
|
|
|
21068
21069
|
// src/inputs/internal/LabeledGroupField.tsx
|
|
21069
21070
|
import { trussProps as trussProps82 } from "@homebound/truss/runtime";
|
|
@@ -21136,7 +21137,7 @@ function CheckboxGroup(props) {
|
|
|
21136
21137
|
return /* @__PURE__ */ jsx126(LabeledGroupField, { label, tooltip, labelStyle, labelProps, groupProps, errorMsg, helperText, labelSuffix, onBlur, onFocus, tid, children: /* @__PURE__ */ jsx126("div", { ...trussProps83({
|
|
21137
21138
|
display: "dg",
|
|
21138
21139
|
gridTemplateColumns: ["gtc_var", {
|
|
21139
|
-
"--gridTemplateColumns":
|
|
21140
|
+
"--gridTemplateColumns": maybeCssVar40(`repeat(${columns}, auto)`)
|
|
21140
21141
|
}],
|
|
21141
21142
|
gap: "g_2"
|
|
21142
21143
|
}), children: options.map((option) => /* @__PURE__ */ jsx126(CheckboxGroupItem, { ...option, groupState: state, selected: state.value.includes(option.value) }, option.value)) }) });
|
|
@@ -21914,7 +21915,7 @@ import { useMemo as useMemo34 } from "react";
|
|
|
21914
21915
|
import { useCallback as useCallback23, useEffect as useEffect24, useMemo as useMemo33, useRef as useRef47, useState as useState39 } from "react";
|
|
21915
21916
|
import { useButton as useButton9, useComboBox as useComboBox2, useFilter as useFilter4, useOverlayPosition as useOverlayPosition6 } from "react-aria";
|
|
21916
21917
|
import { Item as Item5, useComboBoxState as useComboBoxState2 } from "react-stately";
|
|
21917
|
-
import { trussProps as trussProps95, maybeCssVar as
|
|
21918
|
+
import { trussProps as trussProps95, maybeCssVar as maybeCssVar42 } from "@homebound/truss/runtime";
|
|
21918
21919
|
|
|
21919
21920
|
// src/inputs/internal/ComboBoxInput.tsx
|
|
21920
21921
|
import { useState as useState38 } from "react";
|
|
@@ -21984,7 +21985,7 @@ function useGrowingTextField({ inputRef, inputWrapRef, value, disabled, maxLines
|
|
|
21984
21985
|
import React14, { useCallback as useCallback22, useContext as useContext21, useEffect as useEffect23, useMemo as useMemo32, useRef as useRef46, useState as useState37 } from "react";
|
|
21985
21986
|
import { useButton as useButton8, useComboBox, useFilter as useFilter3, useOverlayPosition as useOverlayPosition5 } from "react-aria";
|
|
21986
21987
|
import { Item as Item4, useComboBoxState } from "react-stately";
|
|
21987
|
-
import { trussProps as trussProps93, maybeCssVar as
|
|
21988
|
+
import { trussProps as trussProps93, maybeCssVar as maybeCssVar41 } from "@homebound/truss/runtime";
|
|
21988
21989
|
|
|
21989
21990
|
// src/inputs/internal/ListBox.tsx
|
|
21990
21991
|
import { useEffect as useEffect22, useRef as useRef45, useState as useState36 } from "react";
|
|
@@ -23247,7 +23248,7 @@ function TreeSelectFieldBase(props) {
|
|
|
23247
23248
|
flexDirection: "fdc",
|
|
23248
23249
|
width: "w100",
|
|
23249
23250
|
maxWidth: ["maxw_var", {
|
|
23250
|
-
"--maxWidth":
|
|
23251
|
+
"--maxWidth": maybeCssVar41(fieldMaxWidth)
|
|
23251
23252
|
}],
|
|
23252
23253
|
...labelStyle === "left" ? {
|
|
23253
23254
|
maxWidth: "maxw100"
|
|
@@ -23708,7 +23709,7 @@ function ComboBoxBase(props) {
|
|
|
23708
23709
|
flexDirection: "fdc",
|
|
23709
23710
|
width: "w100",
|
|
23710
23711
|
maxWidth: ["maxw_var", {
|
|
23711
|
-
"--maxWidth":
|
|
23712
|
+
"--maxWidth": maybeCssVar42(fieldMaxWidth)
|
|
23712
23713
|
}],
|
|
23713
23714
|
...labelStyle === "left" ? {
|
|
23714
23715
|
maxWidth: "maxw100"
|
|
@@ -24106,7 +24107,7 @@ import { useHover as useHover18 } from "react-aria";
|
|
|
24106
24107
|
import { trussProps as trussProps99 } from "@homebound/truss/runtime";
|
|
24107
24108
|
|
|
24108
24109
|
// src/inputs/internal/radioStyles.ts
|
|
24109
|
-
import { maybeCssVar as
|
|
24110
|
+
import { maybeCssVar as maybeCssVar43 } from "@homebound/truss/runtime";
|
|
24110
24111
|
var whiteCircle = "data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='4'/%3e%3c/svg%3e";
|
|
24111
24112
|
var radioReset = {
|
|
24112
24113
|
...{
|
|
@@ -24162,7 +24163,7 @@ var radioChecked = {
|
|
|
24162
24163
|
},
|
|
24163
24164
|
...{
|
|
24164
24165
|
backgroundImage: ["backgroundImage_var", {
|
|
24165
|
-
"--backgroundImage":
|
|
24166
|
+
"--backgroundImage": maybeCssVar43(`url("${whiteCircle}")`)
|
|
24166
24167
|
}]
|
|
24167
24168
|
},
|
|
24168
24169
|
...{
|
|
@@ -24352,7 +24353,7 @@ function SelectCardCheckboxGroupItem(props) {
|
|
|
24352
24353
|
}
|
|
24353
24354
|
|
|
24354
24355
|
// src/inputs/SelectCard/utils.ts
|
|
24355
|
-
import { maybeCssVar as
|
|
24356
|
+
import { maybeCssVar as maybeCssVar44 } from "@homebound/truss/runtime";
|
|
24356
24357
|
function getNextSelectCardGroupValues({
|
|
24357
24358
|
currentValues,
|
|
24358
24359
|
clickedValue,
|
|
@@ -24391,7 +24392,7 @@ function getSelectCardOptionsCss({
|
|
|
24391
24392
|
return {
|
|
24392
24393
|
display: "dg",
|
|
24393
24394
|
gridTemplateColumns: ["gtc_var", {
|
|
24394
|
-
"--gridTemplateColumns":
|
|
24395
|
+
"--gridTemplateColumns": maybeCssVar44(`repeat(auto-fill, minmax(${cardWidth}px, 1fr))`)
|
|
24395
24396
|
}],
|
|
24396
24397
|
gap: "g_2"
|
|
24397
24398
|
};
|
|
@@ -24477,7 +24478,7 @@ import { Observer as Observer11 } from "mobx-react";
|
|
|
24477
24478
|
import { useMemo as useMemo37 } from "react";
|
|
24478
24479
|
|
|
24479
24480
|
// src/components/Pills/SelectedOptionPill/SelectedOptionPill.tsx
|
|
24480
|
-
import { trussProps as trussProps102, maybeCssVar as
|
|
24481
|
+
import { trussProps as trussProps102, maybeCssVar as maybeCssVar45 } from "@homebound/truss/runtime";
|
|
24481
24482
|
import { jsx as jsx164, jsxs as jsxs93 } from "react/jsx-runtime";
|
|
24482
24483
|
function SelectedOptionPill(props) {
|
|
24483
24484
|
const {
|
|
@@ -24507,7 +24508,7 @@ function SelectedOptionPill(props) {
|
|
|
24507
24508
|
...aiMode ? {
|
|
24508
24509
|
backgroundImage: "aiBackground",
|
|
24509
24510
|
color: ["color_var", {
|
|
24510
|
-
"--color":
|
|
24511
|
+
"--color": maybeCssVar45("rgba(91, 33, 182, 1)" /* Purple800 */)
|
|
24511
24512
|
}]
|
|
24512
24513
|
} : {
|
|
24513
24514
|
backgroundColor: "bgWhite",
|
|
@@ -25690,7 +25691,7 @@ import { Observer as Observer17 } from "mobx-react";
|
|
|
25690
25691
|
// src/inputs/Switch.tsx
|
|
25691
25692
|
import { useRef as useRef53 } from "react";
|
|
25692
25693
|
import { useFocusRing as useFocusRing14, useHover as useHover20, useSwitch, VisuallyHidden as VisuallyHidden8 } from "react-aria";
|
|
25693
|
-
import { trussProps as trussProps106, maybeCssVar as
|
|
25694
|
+
import { trussProps as trussProps106, maybeCssVar as maybeCssVar46 } from "@homebound/truss/runtime";
|
|
25694
25695
|
import { jsx as jsx179, jsxs as jsxs97 } from "react/jsx-runtime";
|
|
25695
25696
|
var __maybeInc15 = (inc) => {
|
|
25696
25697
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -25797,7 +25798,7 @@ function Switch(props) {
|
|
|
25797
25798
|
/* @__PURE__ */ jsx179("div", { ...trussProps106({
|
|
25798
25799
|
...labelStyle === "left" ? {
|
|
25799
25800
|
width: ["w_var", {
|
|
25800
|
-
"--width":
|
|
25801
|
+
"--width": maybeCssVar46(__maybeInc15(labelLeftFieldWidth))
|
|
25801
25802
|
}]
|
|
25802
25803
|
} : {}
|
|
25803
25804
|
}), children: /* @__PURE__ */ jsx179("div", { "aria-hidden": "true", ...trussProps106({
|
|
@@ -25842,7 +25843,7 @@ function Switch(props) {
|
|
|
25842
25843
|
fontSize: "fz_14px",
|
|
25843
25844
|
lineHeight: "lh_20px",
|
|
25844
25845
|
color: ["color_var", {
|
|
25845
|
-
"--color":
|
|
25846
|
+
"--color": maybeCssVar46(isDisabled ? "--b-text-disabled" /* TextDisabled */ : "--b-on-surface" /* OnSurface */)
|
|
25846
25847
|
}],
|
|
25847
25848
|
...compact ? {
|
|
25848
25849
|
lineHeight: "lh_1"
|
|
@@ -25892,7 +25893,7 @@ function switchCircleDefaultStyles(isCompact) {
|
|
|
25892
25893
|
function switchCircleSelectedStyles(isCompact) {
|
|
25893
25894
|
return {
|
|
25894
25895
|
left: ["left_var", {
|
|
25895
|
-
"--left":
|
|
25896
|
+
"--left": maybeCssVar46(__maybeInc15(`calc(100% - ${circleDiameter(isCompact)}px - 2px)`))
|
|
25896
25897
|
}]
|
|
25897
25898
|
};
|
|
25898
25899
|
}
|
|
@@ -26150,7 +26151,7 @@ import { Observer as Observer20 } from "mobx-react";
|
|
|
26150
26151
|
import { useRef as useRef56 } from "react";
|
|
26151
26152
|
import { useCheckboxGroup as useCheckboxGroup3, useCheckboxGroupItem as useCheckboxGroupItem3, useFocusRing as useFocusRing15, VisuallyHidden as VisuallyHidden9 } from "react-aria";
|
|
26152
26153
|
import { useCheckboxGroupState as useCheckboxGroupState3 } from "react-stately";
|
|
26153
|
-
import { trussProps as trussProps107, maybeCssVar as
|
|
26154
|
+
import { trussProps as trussProps107, maybeCssVar as maybeCssVar47 } from "@homebound/truss/runtime";
|
|
26154
26155
|
import { jsx as jsx185, jsxs as jsxs98 } from "react/jsx-runtime";
|
|
26155
26156
|
var __maybeInc16 = (inc) => {
|
|
26156
26157
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -26201,7 +26202,7 @@ function ToggleChipGroup(props) {
|
|
|
26201
26202
|
flexWrap: "fww",
|
|
26202
26203
|
...labelStyle === "left" ? {
|
|
26203
26204
|
width: ["w_var", {
|
|
26204
|
-
"--width":
|
|
26205
|
+
"--width": maybeCssVar47(__maybeInc16(labelLeftFieldWidth))
|
|
26205
26206
|
}]
|
|
26206
26207
|
} : {}
|
|
26207
26208
|
}), children: options.map((o) => /* @__PURE__ */ jsx185(ToggleChip2, { value: o.value, groupState: state, selected: state.value.includes(o.value), label: o.label, disabled: o.disabled, readonly: o.readonly, startAdornment: o.startAdornment, xss, ...tid[o.value] }, o.value)) })
|
|
@@ -26237,15 +26238,15 @@ function ToggleChip2(props) {
|
|
|
26237
26238
|
const tooltip = resolveTooltip(disabled);
|
|
26238
26239
|
const chipStateCss = isSelected ? {
|
|
26239
26240
|
color: ["color_var", {
|
|
26240
|
-
"--color":
|
|
26241
|
+
"--color": maybeCssVar47(xss?.color ?? "rgba(255, 255, 255, 1)" /* White */)
|
|
26241
26242
|
}],
|
|
26242
26243
|
backgroundColor: ["bgColor_var", {
|
|
26243
|
-
"--backgroundColor":
|
|
26244
|
+
"--backgroundColor": maybeCssVar47(xss?.backgroundColor ?? "rgba(29, 78, 216, 1)" /* Blue700 */)
|
|
26244
26245
|
}],
|
|
26245
26246
|
...!isDisabled ? {
|
|
26246
26247
|
backgroundColor: ["bgColor_var h_bgColor_var", {
|
|
26247
|
-
"--backgroundColor":
|
|
26248
|
-
"--h_backgroundColor":
|
|
26248
|
+
"--backgroundColor": maybeCssVar47(xss?.backgroundColor ?? "rgba(29, 78, 216, 1)" /* Blue700 */),
|
|
26249
|
+
"--h_backgroundColor": maybeCssVar47(xss?.backgroundColor ?? "rgba(30, 64, 175, 1)" /* Blue800 */)
|
|
26249
26250
|
}]
|
|
26250
26251
|
} : {}
|
|
26251
26252
|
} : isDisabled ? {
|
|
@@ -26356,7 +26357,7 @@ function BoundTreeSelectField(props) {
|
|
|
26356
26357
|
|
|
26357
26358
|
// src/forms/FormLines.tsx
|
|
26358
26359
|
import { Children as Children2, cloneElement as cloneElement2 } from "react";
|
|
26359
|
-
import { trussProps as trussProps108, maybeCssVar as
|
|
26360
|
+
import { trussProps as trussProps108, maybeCssVar as maybeCssVar48 } from "@homebound/truss/runtime";
|
|
26360
26361
|
import { jsx as jsx188 } from "react/jsx-runtime";
|
|
26361
26362
|
var __maybeInc17 = (inc) => {
|
|
26362
26363
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -26396,13 +26397,13 @@ function FormLines(props) {
|
|
|
26396
26397
|
display: "df",
|
|
26397
26398
|
flexDirection: "fdc",
|
|
26398
26399
|
gap: ["gap_var", {
|
|
26399
|
-
"--gap":
|
|
26400
|
+
"--gap": maybeCssVar48(__maybeInc17(gap))
|
|
26400
26401
|
}],
|
|
26401
26402
|
paddingBottom: ["pb_var", {
|
|
26402
|
-
"--paddingBottom":
|
|
26403
|
+
"--paddingBottom": maybeCssVar48(__maybeInc17(gap))
|
|
26403
26404
|
}],
|
|
26404
26405
|
width: ["w_var", {
|
|
26405
|
-
"--width":
|
|
26406
|
+
"--width": maybeCssVar48(__maybeInc17(sizes[width2]))
|
|
26406
26407
|
}]
|
|
26407
26408
|
}), children: Children2.map(children, (child) => {
|
|
26408
26409
|
if (child && typeof child === "object" && "type" in child && child.type.isFormHeading) {
|
|
@@ -26437,7 +26438,7 @@ function FieldGroup(props) {
|
|
|
26437
26438
|
display: "dg",
|
|
26438
26439
|
gap: "g_2",
|
|
26439
26440
|
gridTemplateColumns: ["gtc_var", {
|
|
26440
|
-
"--gridTemplateColumns":
|
|
26441
|
+
"--gridTemplateColumns": maybeCssVar48(gtc)
|
|
26441
26442
|
}]
|
|
26442
26443
|
}), children });
|
|
26443
26444
|
}
|
|
@@ -26449,7 +26450,7 @@ var sizes = {
|
|
|
26449
26450
|
};
|
|
26450
26451
|
|
|
26451
26452
|
// src/forms/BoundForm.tsx
|
|
26452
|
-
import { trussProps as trussProps109, maybeCssVar as
|
|
26453
|
+
import { trussProps as trussProps109, maybeCssVar as maybeCssVar49 } from "@homebound/truss/runtime";
|
|
26453
26454
|
import { jsx as jsx189 } from "react/jsx-runtime";
|
|
26454
26455
|
import { createElement as createElement5 } from "react";
|
|
26455
26456
|
var reactNodePrefix = "reactNode";
|
|
@@ -26506,10 +26507,10 @@ function FormRow({
|
|
|
26506
26507
|
minWidth
|
|
26507
26508
|
}) => /* @__PURE__ */ createElement5("div", { ...trussProps109({
|
|
26508
26509
|
minWidth: ["mw_var", {
|
|
26509
|
-
"--minWidth":
|
|
26510
|
+
"--minWidth": maybeCssVar49(minWidth)
|
|
26510
26511
|
}],
|
|
26511
26512
|
flexBasis: ["fb_var", {
|
|
26512
|
-
"--flexBasis":
|
|
26513
|
+
"--flexBasis": maybeCssVar49(`${itemFlexBasis}%`)
|
|
26513
26514
|
}],
|
|
26514
26515
|
flexGrow: "fg1"
|
|
26515
26516
|
}), key: key.toString() }, isLoading ? /* @__PURE__ */ jsx189(LoadingSkeleton, { size: "lg" }) : component)) });
|
|
@@ -26672,7 +26673,7 @@ import { useDebouncedCallback as useDebouncedCallback6 } from "use-debounce";
|
|
|
26672
26673
|
// src/components/RightSidebar.tsx
|
|
26673
26674
|
import { AnimatePresence as AnimatePresence2, motion as motion2 } from "framer-motion";
|
|
26674
26675
|
import { useState as useState44 } from "react";
|
|
26675
|
-
import { trussProps as trussProps110, maybeCssVar as
|
|
26676
|
+
import { trussProps as trussProps110, maybeCssVar as maybeCssVar50 } from "@homebound/truss/runtime";
|
|
26676
26677
|
import { Fragment as Fragment36, jsx as jsx191, jsxs as jsxs99 } from "react/jsx-runtime";
|
|
26677
26678
|
var __maybeInc18 = (inc) => {
|
|
26678
26679
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -26718,11 +26719,11 @@ function RightSidebar({
|
|
|
26718
26719
|
}, ...trussProps110({
|
|
26719
26720
|
width: "w100",
|
|
26720
26721
|
minWidth: ["mw_var", {
|
|
26721
|
-
"--minWidth":
|
|
26722
|
+
"--minWidth": maybeCssVar50(RIGHT_SIDEBAR_MIN_WIDTH)
|
|
26722
26723
|
}],
|
|
26723
26724
|
zIndex: "z0",
|
|
26724
26725
|
height: ["h_var", {
|
|
26725
|
-
"--height":
|
|
26726
|
+
"--height": maybeCssVar50(__maybeInc18(`calc(100vh - ${headerHeightPx2}px)`))
|
|
26726
26727
|
}],
|
|
26727
26728
|
overflowY: "oya",
|
|
26728
26729
|
paddingLeft: "pl4",
|
|
@@ -26836,7 +26837,7 @@ function PageHeaderBreadcrumbs({
|
|
|
26836
26837
|
}
|
|
26837
26838
|
|
|
26838
26839
|
// src/components/Layout/FormPageLayout.tsx
|
|
26839
|
-
import { trussProps as trussProps112, maybeCssVar as
|
|
26840
|
+
import { trussProps as trussProps112, maybeCssVar as maybeCssVar51 } from "@homebound/truss/runtime";
|
|
26840
26841
|
import { jsx as jsx194, jsxs as jsxs101 } from "react/jsx-runtime";
|
|
26841
26842
|
var headerHeightPx = 120;
|
|
26842
26843
|
var maxContentWidthPx = 1600;
|
|
@@ -26866,7 +26867,7 @@ function FormPageLayoutComponent(props) {
|
|
|
26866
26867
|
left: "l_0",
|
|
26867
26868
|
right: "r_0",
|
|
26868
26869
|
zIndex: ["z_var", {
|
|
26869
|
-
"--zIndex":
|
|
26870
|
+
"--zIndex": maybeCssVar51(zIndices.pageOverlay)
|
|
26870
26871
|
}],
|
|
26871
26872
|
overflowY: "oya",
|
|
26872
26873
|
backgroundColor: ["bgColor_var", {
|
|
@@ -26882,7 +26883,7 @@ function FormPageLayoutComponent(props) {
|
|
|
26882
26883
|
}],
|
|
26883
26884
|
display: "dg",
|
|
26884
26885
|
gridTemplateColumns: ["gtc_var", {
|
|
26885
|
-
"--gridTemplateColumns":
|
|
26886
|
+
"--gridTemplateColumns": maybeCssVar51(gridColumns)
|
|
26886
26887
|
}],
|
|
26887
26888
|
gridTemplateRows: "gtr_auto_1fr",
|
|
26888
26889
|
columnGap: "cg3",
|
|
@@ -26925,7 +26926,7 @@ function PageHeader(props) {
|
|
|
26925
26926
|
"--backgroundColor": "var(--b-surface)"
|
|
26926
26927
|
}],
|
|
26927
26928
|
zIndex: ["z_var", {
|
|
26928
|
-
"--zIndex":
|
|
26929
|
+
"--zIndex": maybeCssVar51(zIndices.pageStickyHeader)
|
|
26929
26930
|
}],
|
|
26930
26931
|
...!notice ? {
|
|
26931
26932
|
height: ["h_var", {
|
|
@@ -26978,7 +26979,7 @@ function FormSections(props) {
|
|
|
26978
26979
|
gridTemplateRows: "gtr_auto",
|
|
26979
26980
|
marginBottom: "mb_72px",
|
|
26980
26981
|
scrollMarginTop: ["scrollMarginTop_var", {
|
|
26981
|
-
"--scrollMarginTop":
|
|
26982
|
+
"--scrollMarginTop": maybeCssVar51(`${headerHeightPx}px`)
|
|
26982
26983
|
}]
|
|
26983
26984
|
}),
|
|
26984
26985
|
...tids.formSection,
|
|
@@ -27145,7 +27146,7 @@ function useActiveSection(sectionsWithRefs) {
|
|
|
27145
27146
|
}
|
|
27146
27147
|
|
|
27147
27148
|
// src/components/Layout/FullBleed.tsx
|
|
27148
|
-
import { mergeProps as mergeProps30, maybeCssVar as
|
|
27149
|
+
import { mergeProps as mergeProps30, maybeCssVar as maybeCssVar52 } from "@homebound/truss/runtime";
|
|
27149
27150
|
import { cloneElement as cloneElement3 } from "react";
|
|
27150
27151
|
var __maybeInc19 = (inc) => {
|
|
27151
27152
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -27178,17 +27179,17 @@ function FullBleed({
|
|
|
27178
27179
|
// inverts that padding with negative margins before re-applying it to the child.
|
|
27179
27180
|
{
|
|
27180
27181
|
marginLeft: ["ml_var", {
|
|
27181
|
-
"--marginLeft":
|
|
27182
|
+
"--marginLeft": maybeCssVar52(__maybeInc19(invertSpacing(paddingLeft)))
|
|
27182
27183
|
}],
|
|
27183
27184
|
marginRight: ["mr_var", {
|
|
27184
|
-
"--marginRight":
|
|
27185
|
+
"--marginRight": maybeCssVar52(__maybeInc19(invertSpacing(paddingRight)))
|
|
27185
27186
|
}],
|
|
27186
27187
|
...!omitPadding ? {
|
|
27187
27188
|
paddingLeft: ["pl_var", {
|
|
27188
|
-
"--paddingLeft":
|
|
27189
|
+
"--paddingLeft": maybeCssVar52(__maybeInc19(paddingLeft))
|
|
27189
27190
|
}],
|
|
27190
27191
|
paddingRight: ["pr_var", {
|
|
27191
|
-
"--paddingRight":
|
|
27192
|
+
"--paddingRight": maybeCssVar52(__maybeInc19(paddingRight))
|
|
27192
27193
|
}]
|
|
27193
27194
|
} : {}
|
|
27194
27195
|
}
|
|
@@ -27209,7 +27210,7 @@ import { memo as memo2, useMemo as useMemo46, useState as useState48 } from "rea
|
|
|
27209
27210
|
|
|
27210
27211
|
// src/components/Pills/SelectionSummaryPill/SelectionSummaryPill.tsx
|
|
27211
27212
|
import { useHover as useHover21 } from "react-aria";
|
|
27212
|
-
import { trussProps as trussProps113, maybeCssVar as
|
|
27213
|
+
import { trussProps as trussProps113, maybeCssVar as maybeCssVar53 } from "@homebound/truss/runtime";
|
|
27213
27214
|
import { Fragment as Fragment40, jsx as jsx195, jsxs as jsxs102 } from "react/jsx-runtime";
|
|
27214
27215
|
function SelectionSummaryPill(props) {
|
|
27215
27216
|
const {
|
|
@@ -27238,7 +27239,7 @@ function SelectionSummaryPill(props) {
|
|
|
27238
27239
|
text,
|
|
27239
27240
|
/* @__PURE__ */ jsx195("span", { ...trussProps113({
|
|
27240
27241
|
color: ["color_var", {
|
|
27241
|
-
"--color":
|
|
27242
|
+
"--color": maybeCssVar53(disabled ? "--b-on-surface-active-disabled" /* OnSurfaceActiveDisabled */ : "--b-on-surface-active" /* OnSurfaceActive */)
|
|
27242
27243
|
}]
|
|
27243
27244
|
}), ...tid.clear, children: "Clear" })
|
|
27244
27245
|
] }) })
|
|
@@ -27266,10 +27267,10 @@ function pillStyles2(disabled, hovered, numberOnly) {
|
|
|
27266
27267
|
"--borderColor": "var(--b-surface-active-border)"
|
|
27267
27268
|
}],
|
|
27268
27269
|
color: ["color_var", {
|
|
27269
|
-
"--color":
|
|
27270
|
+
"--color": maybeCssVar53(disabled ? "--b-on-surface-active-disabled" /* OnSurfaceActiveDisabled */ : "rgba(36, 36, 36, 1)" /* Gray900 */)
|
|
27270
27271
|
}],
|
|
27271
27272
|
backgroundColor: ["bgColor_var", {
|
|
27272
|
-
"--backgroundColor":
|
|
27273
|
+
"--backgroundColor": maybeCssVar53(hovered ? "--b-surface-active-hover" /* SurfaceActiveHover */ : "--b-surface-active" /* SurfaceActive */)
|
|
27273
27274
|
}],
|
|
27274
27275
|
...disabled ? {
|
|
27275
27276
|
cursor: "cur_not_allowed"
|
|
@@ -27948,7 +27949,7 @@ function waitForRightPaneExit(onComplete) {
|
|
|
27948
27949
|
}
|
|
27949
27950
|
|
|
27950
27951
|
// src/components/Layout/RightPaneLayout/DocumentScrollRightPane.tsx
|
|
27951
|
-
import { mergeProps as mergeProps31, maybeCssVar as
|
|
27952
|
+
import { mergeProps as mergeProps31, maybeCssVar as maybeCssVar54 } from "@homebound/truss/runtime";
|
|
27952
27953
|
import { jsx as jsx202 } from "react/jsx-runtime";
|
|
27953
27954
|
var __maybeInc20 = (inc) => {
|
|
27954
27955
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -28016,7 +28017,7 @@ function DocumentScrollRightPane({
|
|
|
28016
28017
|
"--backgroundColor": "var(--b-surface)"
|
|
28017
28018
|
}],
|
|
28018
28019
|
zIndex: ["z_var", {
|
|
28019
|
-
"--zIndex":
|
|
28020
|
+
"--zIndex": maybeCssVar54(zIndices.rightPaneMobile)
|
|
28020
28021
|
}]
|
|
28021
28022
|
} : {
|
|
28022
28023
|
position: "fixed",
|
|
@@ -28024,13 +28025,13 @@ function DocumentScrollRightPane({
|
|
|
28024
28025
|
bottom: "bot_0",
|
|
28025
28026
|
overflowY: "oya",
|
|
28026
28027
|
width: ["w_var", {
|
|
28027
|
-
"--width":
|
|
28028
|
+
"--width": maybeCssVar54(__maybeInc20(paneWidthCss))
|
|
28028
28029
|
}],
|
|
28029
28030
|
backgroundColor: ["bgColor_var", {
|
|
28030
28031
|
"--backgroundColor": "var(--b-surface)"
|
|
28031
28032
|
}],
|
|
28032
28033
|
zIndex: ["z_var", {
|
|
28033
|
-
"--zIndex":
|
|
28034
|
+
"--zIndex": maybeCssVar54(zIndices.rightPane)
|
|
28034
28035
|
}],
|
|
28035
28036
|
borderLeftStyle: "bls_solid",
|
|
28036
28037
|
borderLeftWidth: "blw_1px",
|
|
@@ -28216,7 +28217,7 @@ function ModalFullBleed({
|
|
|
28216
28217
|
}
|
|
28217
28218
|
|
|
28218
28219
|
// src/components/Layout/GridTableLayout/GridTableLayoutHost.tsx
|
|
28219
|
-
import { trussProps as trussProps117, maybeCssVar as
|
|
28220
|
+
import { trussProps as trussProps117, maybeCssVar as maybeCssVar55 } from "@homebound/truss/runtime";
|
|
28220
28221
|
import { jsx as jsx205, jsxs as jsxs107 } from "react/jsx-runtime";
|
|
28221
28222
|
var __maybeInc21 = (inc) => {
|
|
28222
28223
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -28262,7 +28263,7 @@ function ModalHost(props) {
|
|
|
28262
28263
|
left: "l_0",
|
|
28263
28264
|
width: "w_100cqw",
|
|
28264
28265
|
zIndex: ["z_var", {
|
|
28265
|
-
"--zIndex":
|
|
28266
|
+
"--zIndex": maybeCssVar55(zIndices.tableActions)
|
|
28266
28267
|
}],
|
|
28267
28268
|
backgroundColor: ["bgColor_var", {
|
|
28268
28269
|
"--backgroundColor": "var(--b-surface)"
|
|
@@ -28284,7 +28285,7 @@ function DocumentScrollHost(props) {
|
|
|
28284
28285
|
} = props;
|
|
28285
28286
|
const tableBody = rightPane ? /* @__PURE__ */ jsx205(DocumentScrollOverlayRightPaneLayout, { children: /* @__PURE__ */ jsx205("div", { ...trussProps117({
|
|
28286
28287
|
minWidth: ["mw_var", {
|
|
28287
|
-
"--minWidth":
|
|
28288
|
+
"--minWidth": maybeCssVar55(documentScrollRightPaneContentMinCss())
|
|
28288
28289
|
}]
|
|
28289
28290
|
}), children }) }) : children;
|
|
28290
28291
|
return /* @__PURE__ */ jsxs107("div", { ref: tableWrapperRef, className: "df fdc wfc mw100", ...actions !== void 0 ? selfTopSpaced : {}, ...testIds.tableWrapper, children: [
|
|
@@ -28292,17 +28293,17 @@ function DocumentScrollHost(props) {
|
|
|
28292
28293
|
transition: "transitionTop",
|
|
28293
28294
|
position: "sticky",
|
|
28294
28295
|
top: ["top_var", {
|
|
28295
|
-
"--top":
|
|
28296
|
+
"--top": maybeCssVar55(__maybeInc21(stickyNavAndHeaderOffset()))
|
|
28296
28297
|
}],
|
|
28297
28298
|
left: ["left_var", {
|
|
28298
|
-
"--left":
|
|
28299
|
+
"--left": maybeCssVar55(__maybeInc21(documentScrollChromeLeft()))
|
|
28299
28300
|
}],
|
|
28300
28301
|
width: ["w_var", {
|
|
28301
|
-
"--width":
|
|
28302
|
+
"--width": maybeCssVar55(__maybeInc21(`min(100%, ${documentScrollChromeWidth()})`))
|
|
28302
28303
|
}],
|
|
28303
28304
|
contain: "ctn_inline_size",
|
|
28304
28305
|
zIndex: ["z_var", {
|
|
28305
|
-
"--zIndex":
|
|
28306
|
+
"--zIndex": maybeCssVar55(zIndices.tableActions)
|
|
28306
28307
|
}],
|
|
28307
28308
|
backgroundColor: ["bgColor_var", {
|
|
28308
28309
|
"--backgroundColor": "var(--b-surface)"
|
|
@@ -28810,7 +28811,7 @@ function PreventBrowserScroll({
|
|
|
28810
28811
|
// src/components/Layout/RightPaneLayout/RightPaneLayout.tsx
|
|
28811
28812
|
import { AnimatePresence as AnimatePresence4, motion as motion4 } from "framer-motion";
|
|
28812
28813
|
import { useEffect as useEffect30 } from "react";
|
|
28813
|
-
import { trussProps as trussProps118, maybeCssVar as
|
|
28814
|
+
import { trussProps as trussProps118, maybeCssVar as maybeCssVar56 } from "@homebound/truss/runtime";
|
|
28814
28815
|
import { Fragment as Fragment45, jsx as jsx209, jsxs as jsxs109 } from "react/jsx-runtime";
|
|
28815
28816
|
var __maybeInc22 = (inc) => {
|
|
28816
28817
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -28832,7 +28833,7 @@ function RightPaneLayout(props) {
|
|
|
28832
28833
|
/* @__PURE__ */ jsx209("div", { ...trussProps118({
|
|
28833
28834
|
...{
|
|
28834
28835
|
width: ["w_var", {
|
|
28835
|
-
"--width":
|
|
28836
|
+
"--width": maybeCssVar56(__maybeInc22(`calc(100% - ${paneWidth + 24}px)`))
|
|
28836
28837
|
}],
|
|
28837
28838
|
transition: "transitionWidth",
|
|
28838
28839
|
height: "h100",
|
|
@@ -28848,7 +28849,7 @@ function RightPaneLayout(props) {
|
|
|
28848
28849
|
...{
|
|
28849
28850
|
...!!defaultPaneContent ? {
|
|
28850
28851
|
width: ["w_var", {
|
|
28851
|
-
"--width":
|
|
28852
|
+
"--width": maybeCssVar56(__maybeInc22(`calc(100% - ${paneWidth + 24}px)`))
|
|
28852
28853
|
}],
|
|
28853
28854
|
marginRight: "mr3"
|
|
28854
28855
|
} : {}
|
|
@@ -28882,7 +28883,7 @@ function RightPaneLayout(props) {
|
|
|
28882
28883
|
"data-testid": "rightPaneContent",
|
|
28883
28884
|
...trussProps118({
|
|
28884
28885
|
backgroundColor: ["bgColor_var", {
|
|
28885
|
-
"--backgroundColor":
|
|
28886
|
+
"--backgroundColor": maybeCssVar56(paneBgColor)
|
|
28886
28887
|
}],
|
|
28887
28888
|
height: "h100",
|
|
28888
28889
|
width: ["w_var", {
|
|
@@ -29119,7 +29120,7 @@ function SidePanel(props) {
|
|
|
29119
29120
|
}
|
|
29120
29121
|
|
|
29121
29122
|
// src/components/Layout/TableReviewLayout/TableReviewLayout.tsx
|
|
29122
|
-
import { trussProps as trussProps121, maybeCssVar as
|
|
29123
|
+
import { trussProps as trussProps121, maybeCssVar as maybeCssVar57 } from "@homebound/truss/runtime";
|
|
29123
29124
|
import { jsx as jsx214, jsxs as jsxs113 } from "react/jsx-runtime";
|
|
29124
29125
|
var defaultRightPaneWidth = 450;
|
|
29125
29126
|
function TableReviewLayout(props) {
|
|
@@ -29168,7 +29169,7 @@ function TableReviewLayout(props) {
|
|
|
29168
29169
|
left: "l_0",
|
|
29169
29170
|
right: "r_0",
|
|
29170
29171
|
zIndex: ["z_var", {
|
|
29171
|
-
"--zIndex":
|
|
29172
|
+
"--zIndex": maybeCssVar57(zIndices.pageOverlay)
|
|
29172
29173
|
}],
|
|
29173
29174
|
backgroundColor: ["bgColor_var", {
|
|
29174
29175
|
"--backgroundColor": "var(--b-surface)"
|
|
@@ -29236,7 +29237,7 @@ function TableReviewLayout(props) {
|
|
|
29236
29237
|
}
|
|
29237
29238
|
|
|
29238
29239
|
// src/components/Logos/BeamLogo.tsx
|
|
29239
|
-
import { trussProps as trussProps122, maybeCssVar as
|
|
29240
|
+
import { trussProps as trussProps122, maybeCssVar as maybeCssVar58 } from "@homebound/truss/runtime";
|
|
29240
29241
|
import { jsx as jsx215, jsxs as jsxs114 } from "react/jsx-runtime";
|
|
29241
29242
|
var __maybeInc23 = (inc) => {
|
|
29242
29243
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -29249,13 +29250,13 @@ function BeamLogo(props) {
|
|
|
29249
29250
|
} = props;
|
|
29250
29251
|
return /* @__PURE__ */ jsxs114("svg", { viewBox: "0 0 500 500", xmlns: "http://www.w3.org/2000/svg", ...trussProps122({
|
|
29251
29252
|
fill: ["fill_var", {
|
|
29252
|
-
"--fill":
|
|
29253
|
+
"--fill": maybeCssVar58(fill)
|
|
29253
29254
|
}],
|
|
29254
29255
|
width: ["w_var", {
|
|
29255
|
-
"--width":
|
|
29256
|
+
"--width": maybeCssVar58(__maybeInc23(width2))
|
|
29256
29257
|
}],
|
|
29257
29258
|
height: ["h_var", {
|
|
29258
|
-
"--height":
|
|
29259
|
+
"--height": maybeCssVar58(__maybeInc23(height))
|
|
29259
29260
|
}]
|
|
29260
29261
|
}), children: [
|
|
29261
29262
|
/* @__PURE__ */ jsx215("rect", { x: "10", y: "90", width: "32", height: "320" }),
|
|
@@ -29270,7 +29271,7 @@ function BeamLogo(props) {
|
|
|
29270
29271
|
}
|
|
29271
29272
|
|
|
29272
29273
|
// src/components/Logos/HomeboundLogo.tsx
|
|
29273
|
-
import { trussProps as trussProps123, maybeCssVar as
|
|
29274
|
+
import { trussProps as trussProps123, maybeCssVar as maybeCssVar59 } from "@homebound/truss/runtime";
|
|
29274
29275
|
import { jsx as jsx216 } from "react/jsx-runtime";
|
|
29275
29276
|
var __maybeInc24 = (inc) => {
|
|
29276
29277
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -29283,13 +29284,13 @@ function HomeboundLogo(props) {
|
|
|
29283
29284
|
} = props;
|
|
29284
29285
|
return /* @__PURE__ */ jsx216("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...trussProps123({
|
|
29285
29286
|
fill: ["fill_var", {
|
|
29286
|
-
"--fill":
|
|
29287
|
+
"--fill": maybeCssVar59(fill)
|
|
29287
29288
|
}],
|
|
29288
29289
|
width: ["w_var", {
|
|
29289
|
-
"--width":
|
|
29290
|
+
"--width": maybeCssVar59(__maybeInc24(width2))
|
|
29290
29291
|
}],
|
|
29291
29292
|
height: ["h_var", {
|
|
29292
|
-
"--height":
|
|
29293
|
+
"--height": maybeCssVar59(__maybeInc24(height))
|
|
29293
29294
|
}]
|
|
29294
29295
|
}), children: /* @__PURE__ */ jsx216("path", { d: "M158.1,97.6H0.2L0,39.7L76.8,0l68,38.7l-3.1,5.3l-65-37L6.2,43.4l0.2,48h151.7V97.6z" }) });
|
|
29295
29296
|
}
|
|
@@ -29297,7 +29298,7 @@ function HomeboundLogo(props) {
|
|
|
29297
29298
|
// src/components/MaxLines.tsx
|
|
29298
29299
|
import { useLayoutEffect as useLayoutEffect15, useResizeObserver as useResizeObserver12 } from "@react-aria/utils";
|
|
29299
29300
|
import { useCallback as useCallback38, useEffect as useEffect33, useRef as useRef68, useState as useState59 } from "react";
|
|
29300
|
-
import { trussProps as trussProps124, maybeCssVar as
|
|
29301
|
+
import { trussProps as trussProps124, maybeCssVar as maybeCssVar60 } from "@homebound/truss/runtime";
|
|
29301
29302
|
import { jsx as jsx217, jsxs as jsxs115 } from "react/jsx-runtime";
|
|
29302
29303
|
function MaxLines({
|
|
29303
29304
|
maxLines,
|
|
@@ -29325,7 +29326,7 @@ function MaxLines({
|
|
|
29325
29326
|
/* @__PURE__ */ jsx217("div", { ref: elRef, ...trussProps124({
|
|
29326
29327
|
...!expanded ? {
|
|
29327
29328
|
WebkitLineClamp: ["lineClamp_var", {
|
|
29328
|
-
"--WebkitLineClamp":
|
|
29329
|
+
"--WebkitLineClamp": maybeCssVar60(maxLines)
|
|
29329
29330
|
}],
|
|
29330
29331
|
overflow: "oh",
|
|
29331
29332
|
display: "d_negwebkit_box",
|
|
@@ -29429,7 +29430,7 @@ function toPageNumberSize(page) {
|
|
|
29429
29430
|
// src/components/ScrollShadows.tsx
|
|
29430
29431
|
import { useResizeObserver as useResizeObserver13 } from "@react-aria/utils";
|
|
29431
29432
|
import { useCallback as useCallback39, useMemo as useMemo51, useRef as useRef69, useState as useState60 } from "react";
|
|
29432
|
-
import { trussProps as trussProps126, maybeCssVar as
|
|
29433
|
+
import { trussProps as trussProps126, maybeCssVar as maybeCssVar61 } from "@homebound/truss/runtime";
|
|
29433
29434
|
import { jsx as jsx219, jsxs as jsxs117 } from "react/jsx-runtime";
|
|
29434
29435
|
function ScrollShadows(props) {
|
|
29435
29436
|
const {
|
|
@@ -29454,7 +29455,7 @@ function ScrollShadows(props) {
|
|
|
29454
29455
|
const commonStyles = {
|
|
29455
29456
|
position: "absolute",
|
|
29456
29457
|
zIndex: ["z_var", {
|
|
29457
|
-
"--zIndex":
|
|
29458
|
+
"--zIndex": maybeCssVar61(zIndices.scrollShadow)
|
|
29458
29459
|
}],
|
|
29459
29460
|
pointerEvents: "pen"
|
|
29460
29461
|
};
|
|
@@ -29487,7 +29488,7 @@ function ScrollShadows(props) {
|
|
|
29487
29488
|
...startShadowStyles2,
|
|
29488
29489
|
...{
|
|
29489
29490
|
background: ["background_var", {
|
|
29490
|
-
"--background":
|
|
29491
|
+
"--background": maybeCssVar61(startGradient)
|
|
29491
29492
|
}]
|
|
29492
29493
|
}
|
|
29493
29494
|
}, {
|
|
@@ -29495,7 +29496,7 @@ function ScrollShadows(props) {
|
|
|
29495
29496
|
...endShadowStyles2,
|
|
29496
29497
|
...{
|
|
29497
29498
|
background: ["background_var", {
|
|
29498
|
-
"--background":
|
|
29499
|
+
"--background": maybeCssVar61(endGradient)
|
|
29499
29500
|
}]
|
|
29500
29501
|
}
|
|
29501
29502
|
}];
|
|
@@ -29523,7 +29524,7 @@ function ScrollShadows(props) {
|
|
|
29523
29524
|
return /* @__PURE__ */ jsxs117("div", { ...trussProps126({
|
|
29524
29525
|
display: "df",
|
|
29525
29526
|
flexDirection: ["fd_var", {
|
|
29526
|
-
"--flexDirection":
|
|
29527
|
+
"--flexDirection": maybeCssVar61(!horizontal ? "column" : "row")
|
|
29527
29528
|
}],
|
|
29528
29529
|
position: "relative",
|
|
29529
29530
|
overflow: "oh",
|
|
@@ -29540,7 +29541,7 @@ function ScrollShadows(props) {
|
|
|
29540
29541
|
...startShadowStyles,
|
|
29541
29542
|
...{
|
|
29542
29543
|
opacity: ["o_var", {
|
|
29543
|
-
"--opacity":
|
|
29544
|
+
"--opacity": maybeCssVar61(showStartShadow ? 1 : 0)
|
|
29544
29545
|
}]
|
|
29545
29546
|
}
|
|
29546
29547
|
}), "data-chromatic": "ignore" }),
|
|
@@ -29548,7 +29549,7 @@ function ScrollShadows(props) {
|
|
|
29548
29549
|
...endShadowStyles,
|
|
29549
29550
|
...{
|
|
29550
29551
|
opacity: ["o_var", {
|
|
29551
|
-
"--opacity":
|
|
29552
|
+
"--opacity": maybeCssVar61(showEndShadow ? 1 : 0)
|
|
29552
29553
|
}]
|
|
29553
29554
|
}
|
|
29554
29555
|
}), "data-chromatic": "ignore" }),
|
|
@@ -29778,7 +29779,7 @@ function useAppNavGroupExpanded(linkGroup) {
|
|
|
29778
29779
|
}
|
|
29779
29780
|
|
|
29780
29781
|
// src/components/AppNav/AppNavGroup.tsx
|
|
29781
|
-
import { trussProps as trussProps128, maybeCssVar as
|
|
29782
|
+
import { trussProps as trussProps128, maybeCssVar as maybeCssVar62 } from "@homebound/truss/runtime";
|
|
29782
29783
|
import { Fragment as Fragment47, jsx as jsx221, jsxs as jsxs119 } from "react/jsx-runtime";
|
|
29783
29784
|
var __maybeInc25 = (inc) => {
|
|
29784
29785
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -29827,7 +29828,7 @@ function AppNavGroupDisclosure(props) {
|
|
|
29827
29828
|
overflow: "oh",
|
|
29828
29829
|
transition: "transitionHeight",
|
|
29829
29830
|
height: ["h_var", {
|
|
29830
|
-
"--height":
|
|
29831
|
+
"--height": maybeCssVar62(__maybeInc25(contentHeight))
|
|
29831
29832
|
}]
|
|
29832
29833
|
}), ...tid.panel, ...!expanded ? {
|
|
29833
29834
|
inert: true
|
|
@@ -30085,7 +30086,7 @@ function SideNav(props) {
|
|
|
30085
30086
|
// src/components/Stepper.tsx
|
|
30086
30087
|
import { useRef as useRef72 } from "react";
|
|
30087
30088
|
import { useButton as useButton12, useFocusRing as useFocusRing18, useHover as useHover23 } from "react-aria";
|
|
30088
|
-
import { trussProps as trussProps131, maybeCssVar as
|
|
30089
|
+
import { trussProps as trussProps131, maybeCssVar as maybeCssVar63 } from "@homebound/truss/runtime";
|
|
30089
30090
|
import { jsx as jsx227, jsxs as jsxs122 } from "react/jsx-runtime";
|
|
30090
30091
|
import { createElement as createElement6 } from "react";
|
|
30091
30092
|
var __maybeInc26 = (inc) => {
|
|
@@ -30148,7 +30149,7 @@ function Stepper(props) {
|
|
|
30148
30149
|
transition: "tsn_width_200ms",
|
|
30149
30150
|
height: "h100",
|
|
30150
30151
|
width: ["w_var", {
|
|
30151
|
-
"--width":
|
|
30152
|
+
"--width": maybeCssVar63(__maybeInc26(`${(lastCompletedStep + 1) / steps.length * 100}%`))
|
|
30152
30153
|
}]
|
|
30153
30154
|
}) }) })
|
|
30154
30155
|
] });
|
|
@@ -30640,7 +30641,7 @@ function TagGroup(props) {
|
|
|
30640
30641
|
}
|
|
30641
30642
|
|
|
30642
30643
|
// src/components/StackBarGraph.tsx
|
|
30643
|
-
import { trussProps as trussProps136, maybeCssVar as
|
|
30644
|
+
import { trussProps as trussProps136, maybeCssVar as maybeCssVar64 } from "@homebound/truss/runtime";
|
|
30644
30645
|
import { jsx as jsx233, jsxs as jsxs127 } from "react/jsx-runtime";
|
|
30645
30646
|
var __maybeInc27 = (inc) => {
|
|
30646
30647
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -30660,11 +30661,11 @@ function StackBarGraph(props) {
|
|
|
30660
30661
|
] }),
|
|
30661
30662
|
/* @__PURE__ */ jsx233("div", { className: "df h_20px bra_6px oh", ...tid.bar, children: segments.map((segment) => /* @__PURE__ */ jsx233("div", { ...trussProps136({
|
|
30662
30663
|
width: ["w_var", {
|
|
30663
|
-
"--width":
|
|
30664
|
+
"--width": maybeCssVar64(__maybeInc27(`${segmentWidth(segment.count, totalCount)}%`))
|
|
30664
30665
|
}],
|
|
30665
30666
|
flexShrink: "fs0",
|
|
30666
30667
|
backgroundColor: ["bgColor_var", {
|
|
30667
|
-
"--backgroundColor":
|
|
30668
|
+
"--backgroundColor": maybeCssVar64(segment.color)
|
|
30668
30669
|
}]
|
|
30669
30670
|
}) }, segment.label)) }),
|
|
30670
30671
|
/* @__PURE__ */ jsx233("div", { className: "df fww aic g_2", ...tid.legend, children: segments.map((segment) => /* @__PURE__ */ jsxs127("div", { className: "dif aic g_4px", children: [
|
|
@@ -30673,7 +30674,7 @@ function StackBarGraph(props) {
|
|
|
30673
30674
|
width: "w_8px",
|
|
30674
30675
|
height: "h_8px",
|
|
30675
30676
|
backgroundColor: ["bgColor_var", {
|
|
30676
|
-
"--backgroundColor":
|
|
30677
|
+
"--backgroundColor": maybeCssVar64(segment.color)
|
|
30677
30678
|
}]
|
|
30678
30679
|
}) }),
|
|
30679
30680
|
/* @__PURE__ */ jsxs127("span", { className: "fw4 fz_12px lh_16px", children: [
|
|
@@ -30697,7 +30698,7 @@ function segmentWidth(count, total) {
|
|
|
30697
30698
|
// src/components/TableSummary/TableSummary.tsx
|
|
30698
30699
|
import { useRef as useRef74 } from "react";
|
|
30699
30700
|
import { mergeProps as mergeProps38, useButton as useButton14, useFocusRing as useFocusRing20, useHover as useHover25 } from "react-aria";
|
|
30700
|
-
import { trussProps as trussProps137, maybeCssVar as
|
|
30701
|
+
import { trussProps as trussProps137, maybeCssVar as maybeCssVar65 } from "@homebound/truss/runtime";
|
|
30701
30702
|
import { jsx as jsx234, jsxs as jsxs128 } from "react/jsx-runtime";
|
|
30702
30703
|
function TableSummary(props) {
|
|
30703
30704
|
const {
|
|
@@ -30816,7 +30817,7 @@ function MetricButton(props) {
|
|
|
30816
30817
|
// Single blue ring (bshFocus's outer color). FocusRingMuted is near-black — not for these cells.
|
|
30817
30818
|
...isFocusVisible ? {
|
|
30818
30819
|
boxShadow: ["boxShadow_var", {
|
|
30819
|
-
"--boxShadow":
|
|
30820
|
+
"--boxShadow": maybeCssVar65(`0px 0px 0px 2px ${"rgba(29, 78, 216, 1)" /* Blue700 */}`)
|
|
30820
30821
|
}],
|
|
30821
30822
|
zIndex: "z1"
|
|
30822
30823
|
} : {}
|
|
@@ -31702,7 +31703,7 @@ import { useMemo as useMemo57 } from "react";
|
|
|
31702
31703
|
|
|
31703
31704
|
// src/components/Grid/useResponsiveGrid.ts
|
|
31704
31705
|
import { useMemo as useMemo56 } from "react";
|
|
31705
|
-
import { maybeCssVar as
|
|
31706
|
+
import { maybeCssVar as maybeCssVar66 } from "@homebound/truss/runtime";
|
|
31706
31707
|
var __maybeInc28 = (inc) => {
|
|
31707
31708
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
31708
31709
|
};
|
|
@@ -31721,11 +31722,11 @@ function useResponsiveGrid(props) {
|
|
|
31721
31722
|
return {
|
|
31722
31723
|
display: "dg",
|
|
31723
31724
|
gridTemplateColumns: ["gtc_var", {
|
|
31724
|
-
"--gridTemplateColumns":
|
|
31725
|
+
"--gridTemplateColumns": maybeCssVar66(gridTemplateColumns)
|
|
31725
31726
|
}],
|
|
31726
31727
|
containerType: "ctis",
|
|
31727
31728
|
gap: ["gap_var", {
|
|
31728
|
-
"--gap":
|
|
31729
|
+
"--gap": maybeCssVar66(__maybeInc28(gridGap))
|
|
31729
31730
|
}]
|
|
31730
31731
|
};
|
|
31731
31732
|
}, [minColumnWidth, gap, columns]);
|
|
@@ -31951,7 +31952,7 @@ function useRegisterMobileSubNav(content2) {
|
|
|
31951
31952
|
}
|
|
31952
31953
|
|
|
31953
31954
|
// src/components/Navbar/NavbarMobileMenu.tsx
|
|
31954
|
-
import { trussProps as trussProps142, mergeProps as mergeProps41, maybeCssVar as
|
|
31955
|
+
import { trussProps as trussProps142, mergeProps as mergeProps41, maybeCssVar as maybeCssVar67 } from "@homebound/truss/runtime";
|
|
31955
31956
|
import { Fragment as Fragment54, jsx as jsx251, jsxs as jsxs133 } from "react/jsx-runtime";
|
|
31956
31957
|
function NavbarMobileMenu(props) {
|
|
31957
31958
|
const {
|
|
@@ -32008,7 +32009,7 @@ function NavbarMobileDrawer({
|
|
|
32008
32009
|
bottom: "bot_0",
|
|
32009
32010
|
left: "l_0",
|
|
32010
32011
|
zIndex: ["z_var", {
|
|
32011
|
-
"--zIndex":
|
|
32012
|
+
"--zIndex": maybeCssVar67(zIndices.navbarMobileMenuScrim)
|
|
32012
32013
|
}],
|
|
32013
32014
|
backgroundColor: ["bgColor_var", {
|
|
32014
32015
|
"--backgroundColor": "var(--b-scrim)"
|
|
@@ -32033,7 +32034,7 @@ function NavbarMobileDrawer({
|
|
|
32033
32034
|
width: "w_260px",
|
|
32034
32035
|
overflow: "oh",
|
|
32035
32036
|
zIndex: ["z_var", {
|
|
32036
|
-
"--zIndex":
|
|
32037
|
+
"--zIndex": maybeCssVar67(zIndices.navbarMobileMenu)
|
|
32037
32038
|
}],
|
|
32038
32039
|
backgroundColor: ["bgColor_var", {
|
|
32039
32040
|
"--backgroundColor": "var(--b-surface)"
|
|
@@ -32322,7 +32323,7 @@ import { useEffect as useEffect41, useMemo as useMemo61, useRef as useRef77, use
|
|
|
32322
32323
|
import { mergeProps as mergeProps42, useFocusRing as useFocusRing22, useHover as useHover27 } from "react-aria";
|
|
32323
32324
|
import { matchPath } from "react-router";
|
|
32324
32325
|
import { Link as Link7, useLocation as useLocation2 } from "react-router-dom";
|
|
32325
|
-
import { trussProps as trussProps144, maybeCssVar as
|
|
32326
|
+
import { trussProps as trussProps144, maybeCssVar as maybeCssVar68 } from "@homebound/truss/runtime";
|
|
32326
32327
|
import { Fragment as Fragment55, jsx as jsx253, jsxs as jsxs135 } from "react/jsx-runtime";
|
|
32327
32328
|
function TabsWithContent(props) {
|
|
32328
32329
|
const {
|
|
@@ -32527,7 +32528,7 @@ function getTabStyles() {
|
|
|
32527
32528
|
const borderBottomStyles = {
|
|
32528
32529
|
borderBottomStyle: "bbs_solid",
|
|
32529
32530
|
borderBottomWidth: ["borderBottomWidth_var", {
|
|
32530
|
-
"--borderBottomWidth":
|
|
32531
|
+
"--borderBottomWidth": maybeCssVar68(`${borderBottomWidthPx}px`)
|
|
32531
32532
|
}],
|
|
32532
32533
|
paddingBottom: ["pb_var", {
|
|
32533
32534
|
"--paddingBottom": `${verticalPaddingPx - borderBottomWidthPx}px`
|
|
@@ -32580,12 +32581,12 @@ function getTabStyles() {
|
|
|
32580
32581
|
// The AI label tint is part of the brand ramp rather than a semantic token, same as the sparkle's gradient.
|
|
32581
32582
|
aiStyles: {
|
|
32582
32583
|
color: ["color_var", {
|
|
32583
|
-
"--color":
|
|
32584
|
+
"--color": maybeCssVar68("rgba(109, 40, 217, 1)" /* Purple700 */)
|
|
32584
32585
|
}]
|
|
32585
32586
|
},
|
|
32586
32587
|
activeAiStyles: {
|
|
32587
32588
|
color: ["color_var", {
|
|
32588
|
-
"--color":
|
|
32589
|
+
"--color": maybeCssVar68("rgba(91, 33, 182, 1)" /* Purple800 */)
|
|
32589
32590
|
}]
|
|
32590
32591
|
},
|
|
32591
32592
|
focusRingStyles: {
|
|
@@ -32699,7 +32700,7 @@ function DocumentUploadIllustration(props) {
|
|
|
32699
32700
|
}
|
|
32700
32701
|
|
|
32701
32702
|
// src/layouts/SideNavLayout/SideNavLayout.tsx
|
|
32702
|
-
import { trussProps as trussProps147, mergeProps as mergeProps43, maybeCssVar as
|
|
32703
|
+
import { trussProps as trussProps147, mergeProps as mergeProps43, maybeCssVar as maybeCssVar69 } from "@homebound/truss/runtime";
|
|
32703
32704
|
import { jsx as jsx256, jsxs as jsxs138 } from "react/jsx-runtime";
|
|
32704
32705
|
var __maybeInc29 = (inc) => {
|
|
32705
32706
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -32754,14 +32755,14 @@ function SideNavLayoutContent(props) {
|
|
|
32754
32755
|
position: "sticky",
|
|
32755
32756
|
left: "l_0",
|
|
32756
32757
|
zIndex: ["z_var", {
|
|
32757
|
-
"--zIndex":
|
|
32758
|
+
"--zIndex": maybeCssVar69(zIndices.sideNav)
|
|
32758
32759
|
}],
|
|
32759
32760
|
top: ["top_var", {
|
|
32760
|
-
"--top":
|
|
32761
|
+
"--top": maybeCssVar69(__maybeInc29(navTop))
|
|
32761
32762
|
}],
|
|
32762
32763
|
alignSelf: "asfs",
|
|
32763
32764
|
height: ["h_var", {
|
|
32764
|
-
"--height":
|
|
32765
|
+
"--height": maybeCssVar69(__maybeInc29(railViewportHeight))
|
|
32765
32766
|
}],
|
|
32766
32767
|
width: ["w_var", {
|
|
32767
32768
|
"--width": `${collapsed ? railCollapsedWidthPx : railWidthPx}px`
|
|
@@ -32771,11 +32772,11 @@ function SideNavLayoutContent(props) {
|
|
|
32771
32772
|
position: "fixed",
|
|
32772
32773
|
left: "l_0",
|
|
32773
32774
|
top: ["top_var", {
|
|
32774
|
-
"--top":
|
|
32775
|
+
"--top": maybeCssVar69(__maybeInc29(navTop))
|
|
32775
32776
|
}],
|
|
32776
32777
|
bottom: "bot_0",
|
|
32777
32778
|
zIndex: ["z_var", {
|
|
32778
|
-
"--zIndex":
|
|
32779
|
+
"--zIndex": maybeCssVar69(zIndices.sideNav)
|
|
32779
32780
|
}]
|
|
32780
32781
|
},
|
|
32781
32782
|
...collapsed ? {
|
|
@@ -32858,7 +32859,7 @@ var centeredShellMaxPx = {
|
|
|
32858
32859
|
};
|
|
32859
32860
|
|
|
32860
32861
|
// src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayout.tsx
|
|
32861
|
-
import { trussProps as trussProps148, mergeProps as mergeProps45, maybeCssVar as
|
|
32862
|
+
import { trussProps as trussProps148, mergeProps as mergeProps45, maybeCssVar as maybeCssVar70 } from "@homebound/truss/runtime";
|
|
32862
32863
|
import { jsx as jsx258, jsxs as jsxs139 } from "react/jsx-runtime";
|
|
32863
32864
|
var __maybeInc30 = (inc) => {
|
|
32864
32865
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -32891,10 +32892,10 @@ function EnvironmentBannerLayout(props) {
|
|
|
32891
32892
|
top: "top0",
|
|
32892
32893
|
left: "l_0",
|
|
32893
32894
|
zIndex: ["z_var", {
|
|
32894
|
-
"--zIndex":
|
|
32895
|
+
"--zIndex": maybeCssVar70(zIndices.environmentBanner)
|
|
32895
32896
|
}],
|
|
32896
32897
|
width: ["w_var", {
|
|
32897
|
-
"--width":
|
|
32898
|
+
"--width": maybeCssVar70(__maybeInc30(innerWidth))
|
|
32898
32899
|
}]
|
|
32899
32900
|
}), ...tid.bannerSticky, children: /* @__PURE__ */ jsx258(EnvironmentBanner, { ...environmentBanner, ...tid.environmentBanner }) }) }),
|
|
32900
32901
|
children
|
|
@@ -32902,12 +32903,12 @@ function EnvironmentBannerLayout(props) {
|
|
|
32902
32903
|
}
|
|
32903
32904
|
|
|
32904
32905
|
// src/layouts/FormSectionLayout/FormSectionLayout.tsx
|
|
32905
|
-
import { trussProps as trussProps152, maybeCssVar as
|
|
32906
|
+
import { trussProps as trussProps152, maybeCssVar as maybeCssVar73 } from "@homebound/truss/runtime";
|
|
32906
32907
|
|
|
32907
32908
|
// src/forms/FormSection/FormSection.tsx
|
|
32908
32909
|
import { useCheckboxGroup as useCheckboxGroup4, useRadioGroup as useRadioGroup3 } from "react-aria";
|
|
32909
32910
|
import { useCheckboxGroupState as useCheckboxGroupState4, useRadioGroupState as useRadioGroupState3 } from "react-stately";
|
|
32910
|
-
import { trussProps as trussProps150, maybeCssVar as
|
|
32911
|
+
import { trussProps as trussProps150, maybeCssVar as maybeCssVar71 } from "@homebound/truss/runtime";
|
|
32911
32912
|
|
|
32912
32913
|
// src/forms/FormSection/FormSectionChild.tsx
|
|
32913
32914
|
import { useRef as useRef78 } from "react";
|
|
@@ -33041,7 +33042,7 @@ function FormSection(props) {
|
|
|
33041
33042
|
flexDirection: "fdc",
|
|
33042
33043
|
gap: "g_2",
|
|
33043
33044
|
scrollMarginTop: ["scrollMarginTop_var", {
|
|
33044
|
-
"--scrollMarginTop":
|
|
33045
|
+
"--scrollMarginTop": maybeCssVar71(stickyNavAndHeaderOffset())
|
|
33045
33046
|
}]
|
|
33046
33047
|
}), ...tid.section, children: [
|
|
33047
33048
|
/* @__PURE__ */ jsx260(ContentHeader, { ...tid, title, description, actions, level: 3 }),
|
|
@@ -33158,7 +33159,7 @@ function sortByOrderField(childSections) {
|
|
|
33158
33159
|
}
|
|
33159
33160
|
|
|
33160
33161
|
// src/layouts/FormSectionLayout/JumpLinksRail.tsx
|
|
33161
|
-
import { trussProps as trussProps151, maybeCssVar as
|
|
33162
|
+
import { trussProps as trussProps151, maybeCssVar as maybeCssVar72 } from "@homebound/truss/runtime";
|
|
33162
33163
|
import { jsx as jsx261 } from "react/jsx-runtime";
|
|
33163
33164
|
var __maybeInc31 = (inc) => {
|
|
33164
33165
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -33179,7 +33180,7 @@ function JumpLinksRail(props) {
|
|
|
33179
33180
|
position: "sticky",
|
|
33180
33181
|
alignSelf: "asfs",
|
|
33181
33182
|
top: ["top_var", {
|
|
33182
|
-
"--top":
|
|
33183
|
+
"--top": maybeCssVar72(__maybeInc31(stickyNavAndHeaderOffset()))
|
|
33183
33184
|
}]
|
|
33184
33185
|
}), ...tid, children: links.map((link) => /* @__PURE__ */ jsx261(JumpLink, { label: link.label, href: `#${link.id}`, active: link.id === activeId, ...tid.link }, link.id)) });
|
|
33185
33186
|
}
|
|
@@ -33270,7 +33271,7 @@ function FormSectionLayout(props) {
|
|
|
33270
33271
|
gap: "g_3",
|
|
33271
33272
|
...titleAnchor ? {
|
|
33272
33273
|
scrollMarginTop: ["scrollMarginTop_var", {
|
|
33273
|
-
"--scrollMarginTop":
|
|
33274
|
+
"--scrollMarginTop": maybeCssVar73(stickyNavAndHeaderOffset())
|
|
33274
33275
|
}]
|
|
33275
33276
|
} : {}
|
|
33276
33277
|
}), children: [
|
|
@@ -33285,7 +33286,7 @@ function FormSectionLayout(props) {
|
|
|
33285
33286
|
/* @__PURE__ */ jsx262("div", { ...trussProps152({
|
|
33286
33287
|
flexGrow: "fg1",
|
|
33287
33288
|
marginRight: ["mr_var", {
|
|
33288
|
-
"--marginRight":
|
|
33289
|
+
"--marginRight": maybeCssVar73(__maybeInc32(jumpLinksRailReservation))
|
|
33289
33290
|
}]
|
|
33290
33291
|
}), ...tid.column, children: form })
|
|
33291
33292
|
] }) : /* @__PURE__ */ jsx262("div", { className: "mb4", children: form });
|
|
@@ -33349,7 +33350,7 @@ function PageBanner(props) {
|
|
|
33349
33350
|
|
|
33350
33351
|
// src/layouts/NavbarLayout/NavbarLayout.tsx
|
|
33351
33352
|
import { useMemo as useMemo62, useRef as useRef80 } from "react";
|
|
33352
|
-
import { mergeProps as mergeProps47, maybeCssVar as
|
|
33353
|
+
import { mergeProps as mergeProps47, maybeCssVar as maybeCssVar74 } from "@homebound/truss/runtime";
|
|
33353
33354
|
|
|
33354
33355
|
// src/layouts/useAutoHideOnScroll.ts
|
|
33355
33356
|
import { useLayoutEffect as useLayoutEffect20, useRef as useRef79, useState as useState69 } from "react";
|
|
@@ -33500,10 +33501,10 @@ function NavbarLayout(props) {
|
|
|
33500
33501
|
position: "fixed",
|
|
33501
33502
|
left: "l_0",
|
|
33502
33503
|
zIndex: ["z_var", {
|
|
33503
|
-
"--zIndex":
|
|
33504
|
+
"--zIndex": maybeCssVar74(zIndices.navbar)
|
|
33504
33505
|
}],
|
|
33505
33506
|
width: ["w_var", {
|
|
33506
|
-
"--width":
|
|
33507
|
+
"--width": maybeCssVar74(__maybeInc33(innerWidth))
|
|
33507
33508
|
}]
|
|
33508
33509
|
};
|
|
33509
33510
|
useTransitionAfterPaint(navMetricsRef, "top 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
@@ -33645,7 +33646,7 @@ function PageHeader2(props) {
|
|
|
33645
33646
|
import { useCallback as useCallback48, useLayoutEffect as useLayoutEffect24, useRef as useRef81, useState as useState71 } from "react";
|
|
33646
33647
|
|
|
33647
33648
|
// src/layouts/PageBanner/internal/PageBannerSlot.tsx
|
|
33648
|
-
import { trussProps as trussProps155, maybeCssVar as
|
|
33649
|
+
import { trussProps as trussProps155, maybeCssVar as maybeCssVar75 } from "@homebound/truss/runtime";
|
|
33649
33650
|
import { jsx as jsx267 } from "react/jsx-runtime";
|
|
33650
33651
|
var __maybeInc34 = (inc) => {
|
|
33651
33652
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -33659,18 +33660,18 @@ function PageBannerSlot(props) {
|
|
|
33659
33660
|
return /* @__PURE__ */ jsx267("div", { ref: metricsRef, ...trussProps155({
|
|
33660
33661
|
flexShrink: "fs0",
|
|
33661
33662
|
width: ["w_var", {
|
|
33662
|
-
"--width":
|
|
33663
|
+
"--width": maybeCssVar75(__maybeInc34(`min(100%, ${documentScrollChromeWidth()})`))
|
|
33663
33664
|
}],
|
|
33664
33665
|
transition: "transitionTop",
|
|
33665
33666
|
position: "sticky",
|
|
33666
33667
|
top: ["top_var", {
|
|
33667
|
-
"--top":
|
|
33668
|
+
"--top": maybeCssVar75(__maybeInc34(pageBannerOffset()))
|
|
33668
33669
|
}],
|
|
33669
33670
|
left: ["left_var", {
|
|
33670
|
-
"--left":
|
|
33671
|
+
"--left": maybeCssVar75(__maybeInc34(documentScrollChromeLeft()))
|
|
33671
33672
|
}],
|
|
33672
33673
|
zIndex: ["z_var", {
|
|
33673
|
-
"--zIndex":
|
|
33674
|
+
"--zIndex": maybeCssVar75(zIndices.pageBanner)
|
|
33674
33675
|
}]
|
|
33675
33676
|
}), ...tid.bannerSticky, children: /* @__PURE__ */ jsx267(StatusBanner, { ...banner, sticky: true, ...tid.banner }) });
|
|
33676
33677
|
}
|
|
@@ -33704,7 +33705,7 @@ function useBannerAndNavbarHeight() {
|
|
|
33704
33705
|
}
|
|
33705
33706
|
|
|
33706
33707
|
// src/layouts/PageHeaderLayout/PageHeaderLayout.tsx
|
|
33707
|
-
import { mergeProps as mergeProps48, maybeCssVar as
|
|
33708
|
+
import { mergeProps as mergeProps48, maybeCssVar as maybeCssVar76 } from "@homebound/truss/runtime";
|
|
33708
33709
|
import { jsx as jsx269, jsxs as jsxs146 } from "react/jsx-runtime";
|
|
33709
33710
|
var __maybeInc35 = (inc) => {
|
|
33710
33711
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -33745,13 +33746,13 @@ function PageHeaderLayout(props) {
|
|
|
33745
33746
|
const innerCss = {
|
|
33746
33747
|
position: "fixed",
|
|
33747
33748
|
left: ["left_var", {
|
|
33748
|
-
"--left":
|
|
33749
|
+
"--left": maybeCssVar76(__maybeInc35(headerLeft))
|
|
33749
33750
|
}],
|
|
33750
33751
|
width: ["w_var", {
|
|
33751
|
-
"--width":
|
|
33752
|
+
"--width": maybeCssVar76(__maybeInc35(headerWidth))
|
|
33752
33753
|
}],
|
|
33753
33754
|
zIndex: ["z_var", {
|
|
33754
|
-
"--zIndex":
|
|
33755
|
+
"--zIndex": maybeCssVar76(zIndices.pageStickyHeader)
|
|
33755
33756
|
}]
|
|
33756
33757
|
};
|
|
33757
33758
|
useTransitionAfterPaint(headerMetricsRef, "all 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
@@ -33794,7 +33795,7 @@ function WorkflowHeader(props) {
|
|
|
33794
33795
|
|
|
33795
33796
|
// src/layouts/Workflow/RightPaneTriggers.tsx
|
|
33796
33797
|
import { useCallback as useCallback50 } from "react";
|
|
33797
|
-
import { trussProps as trussProps156, maybeCssVar as
|
|
33798
|
+
import { trussProps as trussProps156, maybeCssVar as maybeCssVar77 } from "@homebound/truss/runtime";
|
|
33798
33799
|
import { jsx as jsx271 } from "react/jsx-runtime";
|
|
33799
33800
|
var __maybeInc36 = (inc) => {
|
|
33800
33801
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -33835,19 +33836,19 @@ function WorkflowPageRightPaneTriggers(props) {
|
|
|
33835
33836
|
...!isMobile && {
|
|
33836
33837
|
position: "fixed",
|
|
33837
33838
|
top: ["top_var", {
|
|
33838
|
-
"--top":
|
|
33839
|
+
"--top": maybeCssVar77(__maybeInc36(stickyNavAndHeaderOffset(pageTriggerInsetPx)))
|
|
33839
33840
|
}],
|
|
33840
33841
|
right: ["right_var", {
|
|
33841
33842
|
"--right": `${pageTriggerInsetPx}px`
|
|
33842
33843
|
}],
|
|
33843
33844
|
zIndex: ["z_var", {
|
|
33844
|
-
"--zIndex":
|
|
33845
|
+
"--zIndex": maybeCssVar77(zIndices.rightPaneTriggers)
|
|
33845
33846
|
}]
|
|
33846
33847
|
},
|
|
33847
33848
|
// Desktop only — on `sm` the full-bleed pane covers the header slot.
|
|
33848
33849
|
...!isMobile && (isRightPaneOpen ? {
|
|
33849
33850
|
transform: ["transform_var", {
|
|
33850
|
-
"--transform":
|
|
33851
|
+
"--transform": maybeCssVar77(`translateX(calc(100% + ${pageTriggerInsetPx}px))`)
|
|
33851
33852
|
}],
|
|
33852
33853
|
pointerEvents: "pen"
|
|
33853
33854
|
} : {
|
|
@@ -33981,7 +33982,7 @@ function WorkflowActions(props) {
|
|
|
33981
33982
|
}
|
|
33982
33983
|
|
|
33983
33984
|
// src/layouts/Workflow/WorkflowPageLayout.tsx
|
|
33984
|
-
import { trussProps as trussProps157, mergeProps as mergeProps49, maybeCssVar as
|
|
33985
|
+
import { trussProps as trussProps157, mergeProps as mergeProps49, maybeCssVar as maybeCssVar78 } from "@homebound/truss/runtime";
|
|
33985
33986
|
import { jsx as jsx274, jsxs as jsxs148 } from "react/jsx-runtime";
|
|
33986
33987
|
var __maybeInc37 = (inc) => {
|
|
33987
33988
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -34085,13 +34086,13 @@ function WorkflowPageLayout(props) {
|
|
|
34085
34086
|
position: "fixed",
|
|
34086
34087
|
left: "l_0",
|
|
34087
34088
|
width: ["w_var", {
|
|
34088
|
-
"--width":
|
|
34089
|
+
"--width": maybeCssVar78(__maybeInc37(headerWidth))
|
|
34089
34090
|
}],
|
|
34090
34091
|
zIndex: ["z_var", {
|
|
34091
|
-
"--zIndex":
|
|
34092
|
+
"--zIndex": maybeCssVar78(zIndices.pageStickyHeader)
|
|
34092
34093
|
}],
|
|
34093
34094
|
top: ["top_var", {
|
|
34094
|
-
"--top":
|
|
34095
|
+
"--top": maybeCssVar78(__maybeInc37(outerTop))
|
|
34095
34096
|
}],
|
|
34096
34097
|
transition: "transitionAll"
|
|
34097
34098
|
}), ...tid.header, children: /* @__PURE__ */ jsx274(WorkflowHeader, { title, documentTitleSuffix, breadcrumbs, rightSlot: isMobile ? pageTriggers : actions, stepperTabs }) }) }),
|
|
@@ -34108,7 +34109,7 @@ function WorkflowPageLayout(props) {
|
|
|
34108
34109
|
...aiMode && {
|
|
34109
34110
|
backgroundImage: "aiBackground",
|
|
34110
34111
|
minHeight: ["mh_var", {
|
|
34111
|
-
"--minHeight":
|
|
34112
|
+
"--minHeight": maybeCssVar78(documentScrollBodyMinHeight())
|
|
34112
34113
|
}]
|
|
34113
34114
|
}
|
|
34114
34115
|
}), ...tid.body, children: triggers.length > 0 ? /* @__PURE__ */ jsx274(DocumentScrollOverlayRightPaneLayout, { children }) : children }),
|
|
@@ -34124,13 +34125,13 @@ function WorkflowPageLayout(props) {
|
|
|
34124
34125
|
position: "fixed",
|
|
34125
34126
|
bottom: "bot_0",
|
|
34126
34127
|
width: ["w_var", {
|
|
34127
|
-
"--width":
|
|
34128
|
+
"--width": maybeCssVar78(__maybeInc37(headerWidth))
|
|
34128
34129
|
}],
|
|
34129
34130
|
height: ["h_var", {
|
|
34130
34131
|
"--height": `${mobileFooterHeightPx}px`
|
|
34131
34132
|
}],
|
|
34132
34133
|
zIndex: ["z_var", {
|
|
34133
|
-
"--zIndex":
|
|
34134
|
+
"--zIndex": maybeCssVar78(zIndices.pageStickyFooter)
|
|
34134
34135
|
}],
|
|
34135
34136
|
display: "df",
|
|
34136
34137
|
alignItems: "aic",
|