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