@homebound/beam 4.3.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Css.json +6 -1
- package/dist/index.cjs +280 -290
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +0 -29
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.js +461 -472
- package/dist/index.js.map +1 -1
- package/dist/truss.css +219 -223
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -16,91 +16,98 @@ import {
|
|
|
16
16
|
|
|
17
17
|
// src/Css.ts
|
|
18
18
|
import { __invertTrussMediaQuery, trussProps, useRuntimeStyle as _useRuntimeStyle } from "@homebound/truss/runtime";
|
|
19
|
-
var Tokens = /* @__PURE__ */ ((
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
return
|
|
19
|
+
var Tokens = /* @__PURE__ */ ((Tokens61) => {
|
|
20
|
+
Tokens61["AiFieldBg"] = "--b-ai-field-bg";
|
|
21
|
+
Tokens61["AiFieldFg"] = "--b-ai-field-fg";
|
|
22
|
+
Tokens61["ButtonCautionDisabledBg"] = "--b-button-caution-disabled-bg";
|
|
23
|
+
Tokens61["ButtonCautionDisabledFg"] = "--b-button-caution-disabled-fg";
|
|
24
|
+
Tokens61["ButtonDangerDisabledBg"] = "--b-button-danger-disabled-bg";
|
|
25
|
+
Tokens61["ButtonDangerDisabledFg"] = "--b-button-danger-disabled-fg";
|
|
26
|
+
Tokens61["ButtonGhostDisabledFg"] = "--b-button-ghost-disabled-fg";
|
|
27
|
+
Tokens61["ButtonGhostFg"] = "--b-button-ghost-fg";
|
|
28
|
+
Tokens61["ButtonPrimaryDisabledBg"] = "--b-button-primary-disabled-bg";
|
|
29
|
+
Tokens61["ButtonPrimaryDisabledFg"] = "--b-button-primary-disabled-fg";
|
|
30
|
+
Tokens61["ButtonSecondaryFg"] = "--b-button-secondary-fg";
|
|
31
|
+
Tokens61["ButtonTertiaryFg"] = "--b-button-tertiary-fg";
|
|
32
|
+
Tokens61["ButtonTertiaryFgPressed"] = "--b-button-tertiary-fg-pressed";
|
|
33
|
+
Tokens61["ChoiceDisabled"] = "--b-choice-disabled";
|
|
34
|
+
Tokens61["ChoiceSelected"] = "--b-choice-selected";
|
|
35
|
+
Tokens61["Danger"] = "--b-danger";
|
|
36
|
+
Tokens61["DangerPressed"] = "--b-danger-pressed";
|
|
37
|
+
Tokens61["EnvBrandDev"] = "--b-env-brand-dev";
|
|
38
|
+
Tokens61["EnvBrandLocalProd"] = "--b-env-brand-local-prod";
|
|
39
|
+
Tokens61["EnvBrandProd"] = "--b-env-brand-prod";
|
|
40
|
+
Tokens61["EnvBrandQa"] = "--b-env-brand-qa";
|
|
41
|
+
Tokens61["FieldBgDefault"] = "--b-field-bg-default";
|
|
42
|
+
Tokens61["FieldBgDisabled"] = "--b-field-bg-disabled";
|
|
43
|
+
Tokens61["FieldBgHover"] = "--b-field-bg-hover";
|
|
44
|
+
Tokens61["FieldBorderDefault"] = "--b-field-border-default";
|
|
45
|
+
Tokens61["FieldBorderError"] = "--b-field-border-error";
|
|
46
|
+
Tokens61["FieldBorderFocus"] = "--b-field-border-focus";
|
|
47
|
+
Tokens61["FieldBorderHover"] = "--b-field-border-hover";
|
|
48
|
+
Tokens61["FieldTextDisabled"] = "--b-field-text-disabled";
|
|
49
|
+
Tokens61["FocusRingInset"] = "--b-focus-ring-inset";
|
|
50
|
+
Tokens61["FocusRingMuted"] = "--b-focus-ring-muted";
|
|
51
|
+
Tokens61["LoaderFill"] = "--b-loader-fill";
|
|
52
|
+
Tokens61["LoaderSpinner"] = "--b-loader-spinner";
|
|
53
|
+
Tokens61["LoaderTrack"] = "--b-loader-track";
|
|
54
|
+
Tokens61["NavGlobalItemBgActive"] = "--b-nav-global-item-bg-active";
|
|
55
|
+
Tokens61["NavGlobalItemBgHover"] = "--b-nav-global-item-bg-hover";
|
|
56
|
+
Tokens61["NavGlobalItemBgPressed"] = "--b-nav-global-item-bg-pressed";
|
|
57
|
+
Tokens61["NavGlobalText"] = "--b-nav-global-text";
|
|
58
|
+
Tokens61["NavGlobalTextActive"] = "--b-nav-global-text-active";
|
|
59
|
+
Tokens61["NavGlobalTextDisabled"] = "--b-nav-global-text-disabled";
|
|
60
|
+
Tokens61["NavItemBgActive"] = "--b-nav-item-bg-active";
|
|
61
|
+
Tokens61["NavItemBgHover"] = "--b-nav-item-bg-hover";
|
|
62
|
+
Tokens61["NavItemBgPressed"] = "--b-nav-item-bg-pressed";
|
|
63
|
+
Tokens61["NavText"] = "--b-nav-text";
|
|
64
|
+
Tokens61["NavTextActive"] = "--b-nav-text-active";
|
|
65
|
+
Tokens61["NavTextDisabled"] = "--b-nav-text-disabled";
|
|
66
|
+
Tokens61["NavTextFocusVisible"] = "--b-nav-text-focus-visible";
|
|
67
|
+
Tokens61["NavTextPressed"] = "--b-nav-text-pressed";
|
|
68
|
+
Tokens61["NeutralFillHover"] = "--b-neutral-fill-hover";
|
|
69
|
+
Tokens61["NeutralFillHoverStrong"] = "--b-neutral-fill-hover-strong";
|
|
70
|
+
Tokens61["NeutralFillHoverSubtle"] = "--b-neutral-fill-hover-subtle";
|
|
71
|
+
Tokens61["NeutralFillPressed"] = "--b-neutral-fill-pressed";
|
|
72
|
+
Tokens61["NeutralSurfacePressed"] = "--b-neutral-surface-pressed";
|
|
73
|
+
Tokens61["OnPrimary"] = "--b-on-primary";
|
|
74
|
+
Tokens61["OnSurface"] = "--b-on-surface";
|
|
75
|
+
Tokens61["OnSurfaceDisabled"] = "--b-on-surface-disabled";
|
|
76
|
+
Tokens61["OnSurfaceMuted"] = "--b-on-surface-muted";
|
|
77
|
+
Tokens61["OnSurfaceRaisedHover"] = "--b-on-surface-raised-hover";
|
|
78
|
+
Tokens61["OnSurfaceRaisedPressed"] = "--b-on-surface-raised-pressed";
|
|
79
|
+
Tokens61["Primary"] = "--b-primary";
|
|
80
|
+
Tokens61["PrimaryHover"] = "--b-primary-hover";
|
|
81
|
+
Tokens61["PrimaryPressed"] = "--b-primary-pressed";
|
|
82
|
+
Tokens61["Scrim"] = "--b-scrim";
|
|
83
|
+
Tokens61["SelectionFill"] = "--b-selection-fill";
|
|
84
|
+
Tokens61["SelectionIndicator"] = "--b-selection-indicator";
|
|
85
|
+
Tokens61["Surface"] = "--b-surface";
|
|
86
|
+
Tokens61["SurfaceDisabled"] = "--b-surface-disabled";
|
|
87
|
+
Tokens61["SurfaceHover"] = "--b-surface-hover";
|
|
88
|
+
Tokens61["SurfaceRaised"] = "--b-surface-raised";
|
|
89
|
+
Tokens61["SurfaceRaisedHover"] = "--b-surface-raised-hover";
|
|
90
|
+
Tokens61["SurfaceRaisedPressed"] = "--b-surface-raised-pressed";
|
|
91
|
+
Tokens61["SurfaceSeparator"] = "--b-surface-separator";
|
|
92
|
+
Tokens61["SurfaceSubtle"] = "--b-surface-subtle";
|
|
93
|
+
Tokens61["TextDisabled"] = "--b-text-disabled";
|
|
94
|
+
Tokens61["TextHelper"] = "--b-text-helper";
|
|
95
|
+
Tokens61["TextLabel"] = "--b-text-label";
|
|
96
|
+
Tokens61["TextLinkDefault"] = "--b-text-link-default";
|
|
97
|
+
Tokens61["TextLinkDisabled"] = "--b-text-link-disabled";
|
|
98
|
+
Tokens61["TextLinkHover"] = "--b-text-link-hover";
|
|
99
|
+
Tokens61["TextLinkPressed"] = "--b-text-link-pressed";
|
|
100
|
+
Tokens61["TextPlaceholder"] = "--b-text-placeholder";
|
|
101
|
+
Tokens61["TextSelection"] = "--b-text-selection";
|
|
102
|
+
return Tokens61;
|
|
103
103
|
})(Tokens || {});
|
|
104
|
+
var Keyframes = /* @__PURE__ */ ((Keyframes2) => {
|
|
105
|
+
Keyframes2["LoadingDots"] = "loadingDots";
|
|
106
|
+
Keyframes2["Spin"] = "spin";
|
|
107
|
+
Keyframes2["Pulse"] = "pulse";
|
|
108
|
+
Keyframes2["AiStarLoader"] = "aiStarLoader";
|
|
109
|
+
return Keyframes2;
|
|
110
|
+
})(Keyframes || {});
|
|
104
111
|
var CssBuilder = class _CssBuilder {
|
|
105
112
|
constructor(opts) {
|
|
106
113
|
this.opts = opts;
|
|
@@ -4043,6 +4050,23 @@ var CssBuilder = class _CssBuilder {
|
|
|
4043
4050
|
return this.add("content", "''");
|
|
4044
4051
|
}
|
|
4045
4052
|
// aliases
|
|
4053
|
+
// keyframes
|
|
4054
|
+
/** Sets `animation: loadingDots value`. */
|
|
4055
|
+
loadingDots(value) {
|
|
4056
|
+
return this.add("animation", `loadingDots ${value}`);
|
|
4057
|
+
}
|
|
4058
|
+
/** Sets `animation: spin value`. */
|
|
4059
|
+
spin(value) {
|
|
4060
|
+
return this.add("animation", `spin ${value}`);
|
|
4061
|
+
}
|
|
4062
|
+
/** Sets `animation: pulse value`. */
|
|
4063
|
+
pulse(value) {
|
|
4064
|
+
return this.add("animation", `pulse ${value}`);
|
|
4065
|
+
}
|
|
4066
|
+
/** Sets `animation: aiStarLoader value`. */
|
|
4067
|
+
aiStarLoader(value) {
|
|
4068
|
+
return this.add("animation", `aiStarLoader ${value}`);
|
|
4069
|
+
}
|
|
4046
4070
|
get $() {
|
|
4047
4071
|
if (this.opts.runtimeError) {
|
|
4048
4072
|
throw new Error(this.opts.runtimeError);
|
|
@@ -4428,7 +4452,7 @@ function Tooltip(props) {
|
|
|
4428
4452
|
title
|
|
4429
4453
|
} : {},
|
|
4430
4454
|
...tid,
|
|
4431
|
-
className: "
|
|
4455
|
+
className: "d_contents",
|
|
4432
4456
|
draggable: true,
|
|
4433
4457
|
onDragStart: (e) => e.preventDefault(),
|
|
4434
4458
|
children
|
|
@@ -5200,7 +5224,7 @@ var chipBaseStyles = (compact) => ({
|
|
|
5200
5224
|
borderRadius: "br16",
|
|
5201
5225
|
paddingLeft: "pl1",
|
|
5202
5226
|
paddingRight: "pr1",
|
|
5203
|
-
gap: "
|
|
5227
|
+
gap: "g_4px",
|
|
5204
5228
|
paddingTop: ["py_var", {
|
|
5205
5229
|
"--paddingTop": `${pyHeight(compact)}px`
|
|
5206
5230
|
}],
|
|
@@ -5234,7 +5258,7 @@ function Chips(props) {
|
|
|
5234
5258
|
display: "df",
|
|
5235
5259
|
alignItems: "aifs",
|
|
5236
5260
|
gap: "gap1",
|
|
5237
|
-
whiteSpace: "
|
|
5261
|
+
whiteSpace: "ws_normal"
|
|
5238
5262
|
},
|
|
5239
5263
|
...wrap !== false ? {
|
|
5240
5264
|
flexWrap: "fww"
|
|
@@ -5415,10 +5439,10 @@ function Loader({
|
|
|
5415
5439
|
borderWidth: ["bw_var", {
|
|
5416
5440
|
"--borderWidth": maybeCssVar6(`${borderSize}px`)
|
|
5417
5441
|
}],
|
|
5418
|
-
height: ["
|
|
5442
|
+
height: ["sq_var", {
|
|
5419
5443
|
"--height": `${dimensions}px`
|
|
5420
5444
|
}],
|
|
5421
|
-
width: ["
|
|
5445
|
+
width: ["sq_var", {
|
|
5422
5446
|
"--width": `${dimensions}px`
|
|
5423
5447
|
}],
|
|
5424
5448
|
borderColor: ["bc_var", {
|
|
@@ -5427,12 +5451,9 @@ function Loader({
|
|
|
5427
5451
|
borderTopColor: ["borderTopColor_var", {
|
|
5428
5452
|
"--borderTopColor": maybeCssVar6(spinnerColor)
|
|
5429
5453
|
}],
|
|
5430
|
-
textIndent: "
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
animationIterationCount: "animationIterationCount_infinite",
|
|
5434
|
-
animationTimingFunction: "animationTimingFunction_linear",
|
|
5435
|
-
transform: "transform_translateZ_0"
|
|
5454
|
+
textIndent: "ti_neg999px",
|
|
5455
|
+
animation: "anim_spin_800ms_linear_infinite",
|
|
5456
|
+
transform: "tf_translateZ_0"
|
|
5436
5457
|
}) });
|
|
5437
5458
|
}
|
|
5438
5459
|
var sizeToPixels = {
|
|
@@ -5667,8 +5688,8 @@ var variantStyles = {
|
|
|
5667
5688
|
// Blue100/200 hover fills have no semantic tokens — keep palette for those.
|
|
5668
5689
|
base: {
|
|
5669
5690
|
borderRadius: "br100",
|
|
5670
|
-
width: "w_48px",
|
|
5671
5691
|
height: "h_48px",
|
|
5692
|
+
width: "w_48px",
|
|
5672
5693
|
borderColor: ["bc_var", {
|
|
5673
5694
|
"--borderColor": "var(--b-field-border-default)"
|
|
5674
5695
|
}],
|
|
@@ -6053,7 +6074,7 @@ function ExpandableHeader(props) {
|
|
|
6053
6074
|
/* @__PURE__ */ jsx11("span", { ...trussProps8({
|
|
6054
6075
|
...applyStickyStyles ? {
|
|
6055
6076
|
position: "sticky",
|
|
6056
|
-
right: "
|
|
6077
|
+
right: "r_12px",
|
|
6057
6078
|
zIndex: ["z_var", {
|
|
6058
6079
|
"--zIndex": maybeCssVar8(zIndices.tableExpandableIcon)
|
|
6059
6080
|
}]
|
|
@@ -6094,9 +6115,9 @@ function SortHeader(props) {
|
|
|
6094
6115
|
} : {}
|
|
6095
6116
|
},
|
|
6096
6117
|
...{
|
|
6097
|
-
visibility: "
|
|
6118
|
+
visibility: "vis_hidden",
|
|
6098
6119
|
...isHovered || sorted !== void 0 ? {
|
|
6099
|
-
visibility: "
|
|
6120
|
+
visibility: "vis_visible"
|
|
6100
6121
|
} : {}
|
|
6101
6122
|
}
|
|
6102
6123
|
}, inc: 2, ...tid.icon }) });
|
|
@@ -6491,7 +6512,7 @@ function ContrastScope({
|
|
|
6491
6512
|
children,
|
|
6492
6513
|
contrast = true
|
|
6493
6514
|
}) {
|
|
6494
|
-
return /* @__PURE__ */ jsx14(ContrastScopeContext.Provider, { value: contrast, children: /* @__PURE__ */ jsx14("div", { className: "
|
|
6515
|
+
return /* @__PURE__ */ jsx14(ContrastScopeContext.Provider, { value: contrast, children: /* @__PURE__ */ jsx14("div", { className: "d_contents", "data-theme": contrast ? contrastDataTheme : void 0, children }) });
|
|
6495
6516
|
}
|
|
6496
6517
|
|
|
6497
6518
|
// src/layouts/DocumentScrollToTopButton.tsx
|
|
@@ -6541,12 +6562,12 @@ function DocumentScrollToTopButton({
|
|
|
6541
6562
|
transition: "transitionTransform"
|
|
6542
6563
|
},
|
|
6543
6564
|
...visible ? {
|
|
6544
|
-
transform: "
|
|
6565
|
+
transform: "tf_translateY_0"
|
|
6545
6566
|
} : {
|
|
6546
6567
|
transform: ["transform_var", {
|
|
6547
6568
|
"--transform": maybeCssVar10(`translateY(calc(100% + ${scrollToTopOffsetPx}px))`)
|
|
6548
6569
|
}],
|
|
6549
|
-
pointerEvents: "
|
|
6570
|
+
pointerEvents: "pe_none"
|
|
6550
6571
|
}
|
|
6551
6572
|
}), children: /* @__PURE__ */ jsx15(ContrastScope, { children: /* @__PURE__ */ jsx15(IconButton, { icon: "arrowUp", disabled: !visible, variant: "outline", label: "Scroll to top", onClick: scrollToTop, ...tid }) }) });
|
|
6552
6573
|
}
|
|
@@ -6700,7 +6721,7 @@ function CompanionRowImpl(props) {
|
|
|
6700
6721
|
// Companion content is arbitrary — allow wrapping and grow with content.
|
|
6701
6722
|
...{
|
|
6702
6723
|
height: "h_auto",
|
|
6703
|
-
whiteSpace: "
|
|
6724
|
+
whiteSpace: "ws_normal",
|
|
6704
6725
|
paddingTop: "pt_8px",
|
|
6705
6726
|
paddingBottom: "pb_8px",
|
|
6706
6727
|
width: ["w_var", {
|
|
@@ -7790,8 +7811,8 @@ var hoverBorderStyles = {
|
|
|
7790
7811
|
};
|
|
7791
7812
|
var markSvgStyles = {
|
|
7792
7813
|
position: "absolute",
|
|
7793
|
-
top: "
|
|
7794
|
-
left: "
|
|
7814
|
+
top: "tp_neg1px",
|
|
7815
|
+
left: "l_neg1px"
|
|
7795
7816
|
};
|
|
7796
7817
|
var labelStyles = {
|
|
7797
7818
|
fontWeight: "fw4",
|
|
@@ -8946,7 +8967,7 @@ function memoizedTableStyles() {
|
|
|
8946
8967
|
alignItems: "aic",
|
|
8947
8968
|
paddingLeft: "pl_12px",
|
|
8948
8969
|
paddingRight: "pr_12px",
|
|
8949
|
-
whiteSpace: "
|
|
8970
|
+
whiteSpace: "ws_unset",
|
|
8950
8971
|
height: "h_40px"
|
|
8951
8972
|
},
|
|
8952
8973
|
...allWhite && {
|
|
@@ -9062,10 +9083,10 @@ function memoizedTableStyles() {
|
|
|
9062
9083
|
}]
|
|
9063
9084
|
} : void 0,
|
|
9064
9085
|
firstRowFirstCellCss: roundedHeader ? {
|
|
9065
|
-
borderRadius: "
|
|
9086
|
+
borderRadius: "bra_8px_0_0_0"
|
|
9066
9087
|
} : void 0,
|
|
9067
9088
|
firstRowLastCellCss: roundedHeader ? {
|
|
9068
|
-
borderRadius: "
|
|
9089
|
+
borderRadius: "bra_0_8px_0_0"
|
|
9069
9090
|
} : void 0,
|
|
9070
9091
|
// Keep `betweenRowsCss` on all body rows, but on the final body row
|
|
9071
9092
|
// remove the inset shadow and, when bordered, replace it with a true bottom border.
|
|
@@ -9081,10 +9102,10 @@ function memoizedTableStyles() {
|
|
|
9081
9102
|
},
|
|
9082
9103
|
// Only apply bottom corner radii to the final body-row cells when using `bordered`.
|
|
9083
9104
|
lastRowFirstCellCss: bordered ? {
|
|
9084
|
-
borderRadius: "
|
|
9105
|
+
borderRadius: "bra_0_0_0_8px"
|
|
9085
9106
|
} : void 0,
|
|
9086
9107
|
lastRowLastCellCss: bordered ? {
|
|
9087
|
-
borderRadius: "
|
|
9108
|
+
borderRadius: "bra_0_0_8px_0"
|
|
9088
9109
|
} : void 0,
|
|
9089
9110
|
presentationSettings: {
|
|
9090
9111
|
borderless: true,
|
|
@@ -9108,7 +9129,7 @@ function memoizedTableStyles() {
|
|
|
9108
9129
|
alignItems: "aic"
|
|
9109
9130
|
},
|
|
9110
9131
|
keptLastRowCss: {
|
|
9111
|
-
boxShadow: "
|
|
9132
|
+
boxShadow: "bxs_inset_0px_14px_8px_11px_rgba_63_63_63_18"
|
|
9112
9133
|
},
|
|
9113
9134
|
// Pinned rows keep Blue50 until a selection-surface token exists.
|
|
9114
9135
|
pinnedRowCss: {
|
|
@@ -9125,8 +9146,8 @@ var getTableStyles = memoizedTableStyles();
|
|
|
9125
9146
|
var totalsRowHeight = 40;
|
|
9126
9147
|
var expandableHeaderRowHeight = 40;
|
|
9127
9148
|
var tableRowPrintBreakCss = {
|
|
9128
|
-
pageBreakAfter: "
|
|
9129
|
-
pageBreakInside: "
|
|
9149
|
+
pageBreakAfter: "pgba_auto",
|
|
9150
|
+
pageBreakInside: "pgbi_avoid"
|
|
9130
9151
|
};
|
|
9131
9152
|
var defaultStyle = getTableStyles({});
|
|
9132
9153
|
var condensedStyle = {
|
|
@@ -9160,7 +9181,7 @@ var cardStyle = {
|
|
|
9160
9181
|
"--h_borderColor": "var(--b-on-surface-muted)"
|
|
9161
9182
|
}],
|
|
9162
9183
|
marginTop: "mt2",
|
|
9163
|
-
transition: "
|
|
9184
|
+
transition: "tsn_all_240ms",
|
|
9164
9185
|
boxShadow: "bshBasic h_bshHover"
|
|
9165
9186
|
},
|
|
9166
9187
|
firstRowCss: {
|
|
@@ -9171,7 +9192,7 @@ var cardStyle = {
|
|
|
9171
9192
|
borderColor: ["bc_var", {
|
|
9172
9193
|
"--borderColor": "var(--b-surface-separator)"
|
|
9173
9194
|
}],
|
|
9174
|
-
borderRadius: "
|
|
9195
|
+
borderRadius: "bra_8px_8px_0_0",
|
|
9175
9196
|
overflow: "oh"
|
|
9176
9197
|
},
|
|
9177
9198
|
cellCss: {
|
|
@@ -9257,7 +9278,7 @@ var defaultRenderFn = (as, colSpan) => (key, css2, content2, row, rowStyle, clas
|
|
|
9257
9278
|
return /* @__PURE__ */ jsx26(Cell, { ...mergeProps5(classNames, void 0, {
|
|
9258
9279
|
...css2,
|
|
9259
9280
|
...{
|
|
9260
|
-
cursor: "
|
|
9281
|
+
cursor: "cur_default"
|
|
9261
9282
|
}
|
|
9262
9283
|
}), onClick, ...as === "table" && {
|
|
9263
9284
|
colSpan
|
|
@@ -9278,14 +9299,14 @@ var rowLinkRenderFn = (as, colSpan) => (key, css2, content2, row, rowStyle, clas
|
|
|
9278
9299
|
...css2
|
|
9279
9300
|
}), colSpan, children: /* @__PURE__ */ jsx26(Link2, { to, ...mergeProps5(navLink, void 0, {
|
|
9280
9301
|
textDecoration: "tdn",
|
|
9281
|
-
color: "
|
|
9302
|
+
color: "c_unset",
|
|
9282
9303
|
display: "db"
|
|
9283
9304
|
}), children: content2 }) }, key);
|
|
9284
9305
|
}
|
|
9285
9306
|
return /* @__PURE__ */ jsx26(Link2, { to, ...mergeProps5(`${navLink} ${classNames}`, void 0, {
|
|
9286
9307
|
...{
|
|
9287
9308
|
textDecoration: "tdn",
|
|
9288
|
-
color: "
|
|
9309
|
+
color: "c_unset"
|
|
9289
9310
|
},
|
|
9290
9311
|
...css2
|
|
9291
9312
|
}), children: content2 }, key);
|
|
@@ -9477,7 +9498,7 @@ function ColumnResizeHandle({
|
|
|
9477
9498
|
width: "w_4px",
|
|
9478
9499
|
marginRight: "mr_neg2px",
|
|
9479
9500
|
zIndex: "z_10",
|
|
9480
|
-
cursor: "
|
|
9501
|
+
cursor: "cur_col_resize",
|
|
9481
9502
|
...isHovering || isDragging ? {
|
|
9482
9503
|
backgroundColor: ["bgColor_var", {
|
|
9483
9504
|
"--backgroundColor": "var(--b-on-surface-muted)"
|
|
@@ -9499,11 +9520,11 @@ function ColumnResizeHandle({
|
|
|
9499
9520
|
backgroundColor: ["bgColor_var", {
|
|
9500
9521
|
"--backgroundColor": "var(--b-on-surface-muted)"
|
|
9501
9522
|
}],
|
|
9502
|
-
pointerEvents: "
|
|
9523
|
+
pointerEvents: "pe_none",
|
|
9503
9524
|
zIndex: ["z_var", {
|
|
9504
9525
|
"--zIndex": maybeCssVar14(zIndices.dragHandle)
|
|
9505
9526
|
}],
|
|
9506
|
-
transform: "
|
|
9527
|
+
transform: "tf_translateX_50"
|
|
9507
9528
|
}), ...tid.guideLine })
|
|
9508
9529
|
] });
|
|
9509
9530
|
}
|
|
@@ -9544,7 +9565,7 @@ function KeptGroupRow(props) {
|
|
|
9544
9565
|
}
|
|
9545
9566
|
}), ...as === "table" ? {
|
|
9546
9567
|
colSpan
|
|
9547
|
-
} : {}, children: /* @__PURE__ */ jsxs13("div", { className: "df aic
|
|
9568
|
+
} : {}, children: /* @__PURE__ */ jsxs13("div", { className: "df aic g_12px", children: [
|
|
9548
9569
|
/* @__PURE__ */ jsx28("div", { className: "w_38px df jcc", children: /* @__PURE__ */ jsx28(CollapseToggle, { row, compact: true }) }),
|
|
9549
9570
|
/* @__PURE__ */ jsxs13("div", { className: "df aic gap1", children: [
|
|
9550
9571
|
/* @__PURE__ */ jsx28(Icon, { icon: "infoCircle", inc: 2 }),
|
|
@@ -9678,7 +9699,7 @@ function RowImpl(props) {
|
|
|
9678
9699
|
const levelIndent = levelStyle?.rowIndent;
|
|
9679
9700
|
const containerCss = {
|
|
9680
9701
|
...{
|
|
9681
|
-
transition: "
|
|
9702
|
+
transition: "tsn_padding_0_25s_ease_in_out"
|
|
9682
9703
|
},
|
|
9683
9704
|
...rs.isDraggedOver === 1 /* Above */ && {
|
|
9684
9705
|
paddingTop: "pt_25px"
|
|
@@ -10075,12 +10096,12 @@ function Avatar({
|
|
|
10075
10096
|
const [showFallback, setShowFallback] = useState10(src === void 0);
|
|
10076
10097
|
const styles = {
|
|
10077
10098
|
borderRadius: "br100",
|
|
10078
|
-
|
|
10079
|
-
"--width": `${px2}px`
|
|
10080
|
-
}],
|
|
10081
|
-
height: ["h_var", {
|
|
10099
|
+
height: ["sq_var", {
|
|
10082
10100
|
"--height": `${px2}px`
|
|
10083
10101
|
}],
|
|
10102
|
+
width: ["sq_var", {
|
|
10103
|
+
"--width": `${px2}px`
|
|
10104
|
+
}],
|
|
10084
10105
|
minWidth: ["mw_var", {
|
|
10085
10106
|
"--minWidth": `${px2}px`
|
|
10086
10107
|
}],
|
|
@@ -10245,9 +10266,7 @@ function MenuItemImpl(props) {
|
|
|
10245
10266
|
}]
|
|
10246
10267
|
} : {},
|
|
10247
10268
|
...isFocused ? {
|
|
10248
|
-
boxShadow:
|
|
10249
|
-
"--boxShadow": maybeCssVar16(`inset 0 0 0 1px var(${"--b-focus-ring-inset" /* FocusRingInset */})`)
|
|
10250
|
-
}]
|
|
10269
|
+
boxShadow: "bxs_inset_0_0_0_1px_var_b_focus_ring_inset"
|
|
10251
10270
|
} : {},
|
|
10252
10271
|
...isDisabled ? {
|
|
10253
10272
|
color: ["color_var", {
|
|
@@ -10469,7 +10488,7 @@ function InlineLabel({
|
|
|
10469
10488
|
lineHeight: "lh_20px",
|
|
10470
10489
|
whiteSpace: "wsnw",
|
|
10471
10490
|
paddingRight: "pr_4px",
|
|
10472
|
-
color: "
|
|
10491
|
+
color: "c_currentColor",
|
|
10473
10492
|
alignSelf: "asc",
|
|
10474
10493
|
...multiline ? {
|
|
10475
10494
|
alignSelf: "asfs",
|
|
@@ -10740,7 +10759,7 @@ function TextFieldBase(props) {
|
|
|
10740
10759
|
borderStyle: "bss",
|
|
10741
10760
|
borderWidth: "bw1",
|
|
10742
10761
|
borderColor: "bcTransparent",
|
|
10743
|
-
transition: "
|
|
10762
|
+
transition: "tsn_border_color_200ms"
|
|
10744
10763
|
},
|
|
10745
10764
|
...borderOnHover && {
|
|
10746
10765
|
...isHovered ? {
|
|
@@ -10824,7 +10843,7 @@ function TextFieldBase(props) {
|
|
|
10824
10843
|
paddingBottom: ["py_var", {
|
|
10825
10844
|
"--paddingBottom": `${compact ? 7 : textFieldBaseMultilineTopPadding}px`
|
|
10826
10845
|
}],
|
|
10827
|
-
resize: "
|
|
10846
|
+
resize: "rsz_none"
|
|
10828
10847
|
} : {
|
|
10829
10848
|
whiteSpace: "wsnw",
|
|
10830
10849
|
overflow: "oh",
|
|
@@ -11221,7 +11240,7 @@ import { useOverlayPosition } from "react-aria";
|
|
|
11221
11240
|
// src/components/Avatar/AvatarButton.tsx
|
|
11222
11241
|
import { useMemo as useMemo9 } from "react";
|
|
11223
11242
|
import { useButton as useButton2, useFocusRing as useFocusRing3, useHover as useHover6 } from "react-aria";
|
|
11224
|
-
import { trussProps as trussProps26, mergeProps as mergeProps10
|
|
11243
|
+
import { trussProps as trussProps26, mergeProps as mergeProps10 } from "@homebound/truss/runtime";
|
|
11225
11244
|
import { Fragment as Fragment14, jsx as jsx39, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
11226
11245
|
function AvatarButton(props) {
|
|
11227
11246
|
const {
|
|
@@ -11298,9 +11317,7 @@ var resetStyles = {
|
|
|
11298
11317
|
position: "relative"
|
|
11299
11318
|
};
|
|
11300
11319
|
var hoverStyles = {
|
|
11301
|
-
boxShadow:
|
|
11302
|
-
"--boxShadow": maybeCssVar18(`0 0 4px var(${"--b-on-surface" /* OnSurface */})`)
|
|
11303
|
-
}]
|
|
11320
|
+
boxShadow: "bxs_0_0_4px_var_b_on_surface"
|
|
11304
11321
|
};
|
|
11305
11322
|
var focusStyles = {
|
|
11306
11323
|
boxShadow: "bshFocus"
|
|
@@ -11318,14 +11335,14 @@ var pressedOverlayCss = {
|
|
|
11318
11335
|
position: "absolute",
|
|
11319
11336
|
top: "top0",
|
|
11320
11337
|
left: "left0",
|
|
11321
|
-
opacity: "
|
|
11322
|
-
pointerEvents: "
|
|
11338
|
+
opacity: "op_0_2",
|
|
11339
|
+
pointerEvents: "pe_none"
|
|
11323
11340
|
};
|
|
11324
11341
|
|
|
11325
11342
|
// src/components/Button.tsx
|
|
11326
11343
|
import { useMemo as useMemo10, useState as useState14 } from "react";
|
|
11327
11344
|
import { useButton as useButton3, useFocusRing as useFocusRing4, useHover as useHover7 } from "react-aria";
|
|
11328
|
-
import { mergeProps as mergeProps11, maybeCssVar as
|
|
11345
|
+
import { mergeProps as mergeProps11, maybeCssVar as maybeCssVar18 } from "@homebound/truss/runtime";
|
|
11329
11346
|
import { Fragment as Fragment15, jsx as jsx40, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
11330
11347
|
function Button(props) {
|
|
11331
11348
|
const {
|
|
@@ -11458,17 +11475,17 @@ var variantStyles2 = {
|
|
|
11458
11475
|
},
|
|
11459
11476
|
hoverStyles: {
|
|
11460
11477
|
backgroundImage: ["backgroundImage_var", {
|
|
11461
|
-
"--backgroundImage":
|
|
11478
|
+
"--backgroundImage": maybeCssVar18(`linear-gradient(270deg, ${"rgba(30, 64, 175, 1)" /* Blue800 */}, ${"rgba(91, 33, 182, 1)" /* Purple800 */})`)
|
|
11462
11479
|
}]
|
|
11463
11480
|
},
|
|
11464
11481
|
pressedStyles: {
|
|
11465
11482
|
backgroundImage: ["backgroundImage_var", {
|
|
11466
|
-
"--backgroundImage":
|
|
11483
|
+
"--backgroundImage": maybeCssVar18(`linear-gradient(270deg, ${"rgba(30, 58, 138, 1)" /* Blue900 */}, ${"rgba(76, 29, 149, 1)" /* Purple900 */})`)
|
|
11467
11484
|
}]
|
|
11468
11485
|
},
|
|
11469
11486
|
disabledStyles: {
|
|
11470
11487
|
backgroundImage: ["backgroundImage_var", {
|
|
11471
|
-
"--backgroundImage":
|
|
11488
|
+
"--backgroundImage": maybeCssVar18(`linear-gradient(270deg, ${"rgba(191, 219, 254, 1)" /* Blue200 */}, ${"rgba(221, 214, 254, 1)" /* Purple200 */})`)
|
|
11472
11489
|
}],
|
|
11473
11490
|
color: ["color_var", {
|
|
11474
11491
|
"--color": "var(--b-button-primary-disabled-fg)"
|
|
@@ -11581,9 +11598,7 @@ var variantStyles2 = {
|
|
|
11581
11598
|
}]
|
|
11582
11599
|
},
|
|
11583
11600
|
focusStyles: {
|
|
11584
|
-
boxShadow:
|
|
11585
|
-
"--boxShadow": maybeCssVar19(`0px 0px 0px 2px var(${"--b-focus-ring-inset" /* FocusRingInset */}), 0px 0px 0px 4px var(${"--b-focus-ring-muted" /* FocusRingMuted */})`)
|
|
11586
|
-
}]
|
|
11601
|
+
boxShadow: "bxs_0px_0px_0px_2px_var_b_focus_ring_inset_0px_0px_0px_4px_var_b_focus_ring_muted"
|
|
11587
11602
|
}
|
|
11588
11603
|
},
|
|
11589
11604
|
tertiary: {
|
|
@@ -11653,9 +11668,7 @@ var variantStyles2 = {
|
|
|
11653
11668
|
}]
|
|
11654
11669
|
},
|
|
11655
11670
|
focusStyles: {
|
|
11656
|
-
boxShadow:
|
|
11657
|
-
"--boxShadow": maybeCssVar19(`0px 0px 0px 2px var(${"--b-focus-ring-inset" /* FocusRingInset */}), 0px 0px 0px 4px var(${"--b-danger" /* Danger */})`)
|
|
11658
|
-
}]
|
|
11671
|
+
boxShadow: "bxs_0px_0px_0px_2px_var_b_focus_ring_inset_0px_0px_0px_4px_var_b_danger"
|
|
11659
11672
|
}
|
|
11660
11673
|
},
|
|
11661
11674
|
danger: {
|
|
@@ -11711,9 +11724,7 @@ var variantStyles2 = {
|
|
|
11711
11724
|
}]
|
|
11712
11725
|
},
|
|
11713
11726
|
focusStyles: {
|
|
11714
|
-
boxShadow:
|
|
11715
|
-
"--boxShadow": maybeCssVar19(`0px 0px 0px 2px var(${"--b-focus-ring-inset" /* FocusRingInset */}), 0px 0px 0px 4px var(${"--b-focus-ring-muted" /* FocusRingMuted */})`)
|
|
11716
|
-
}]
|
|
11727
|
+
boxShadow: "bxs_0px_0px_0px_2px_var_b_focus_ring_inset_0px_0px_0px_4px_var_b_focus_ring_muted"
|
|
11717
11728
|
}
|
|
11718
11729
|
},
|
|
11719
11730
|
caution: {
|
|
@@ -11745,7 +11756,7 @@ var variantStyles2 = {
|
|
|
11745
11756
|
color: ["color_var", {
|
|
11746
11757
|
"--color": "var(--b-text-link-default)"
|
|
11747
11758
|
}],
|
|
11748
|
-
fontSize: "
|
|
11759
|
+
fontSize: "fz_inherit"
|
|
11749
11760
|
},
|
|
11750
11761
|
hoverStyles: {
|
|
11751
11762
|
color: ["color_var", {
|
|
@@ -11771,7 +11782,7 @@ var variantStyles2 = {
|
|
|
11771
11782
|
color: ["color_var", {
|
|
11772
11783
|
"--color": "var(--b-button-secondary-fg)"
|
|
11773
11784
|
}],
|
|
11774
|
-
fontSize: "
|
|
11785
|
+
fontSize: "fz_inherit"
|
|
11775
11786
|
},
|
|
11776
11787
|
hoverStyles: {
|
|
11777
11788
|
backgroundColor: ["bgColor_var", {
|
|
@@ -12133,7 +12144,7 @@ function OverlayTrigger(props) {
|
|
|
12133
12144
|
const tid = useTestIds(props, isTextButton(trigger) ? defaultTestId(labelOr(trigger, "overlayTrigger")) : isNavLinkButton(trigger) ? defaultTestId(trigger.navLabel) : isIconButton(trigger) ? trigger.icon : trigger.name);
|
|
12134
12145
|
return (
|
|
12135
12146
|
// Add `line-height: 0` to prevent the Icon button and Avatar buttons from inheriting the line-height, causing them to be taller than they should.
|
|
12136
|
-
/* @__PURE__ */ jsxs26("div", { className: "dib
|
|
12147
|
+
/* @__PURE__ */ jsxs26("div", { className: "dib lh_0", children: [
|
|
12137
12148
|
isTextButton(trigger) ? /* @__PURE__ */ jsx43(Button, { variant: variant ? variant : "secondary", ...trigger, menuTriggerProps: wrappedMenuTriggerProps, buttonRef, endAdornment: !hideEndAdornment ? /* @__PURE__ */ jsx43(Icon, { icon: state.isOpen ? "chevronUp" : "chevronDown" }) : null, disabled, tooltip, onClick: wrappedMenuTriggerProps.onPress ?? noop, forceFocusStyles: showActiveBorder && state.isOpen, ...tid }) : isNavLinkButton(trigger) ? /* @__PURE__ */ jsx43(NavLink, { active: trigger.active, variant: trigger.variant, icon: trigger.icon, label: trigger.navLabel, disabled: !!disabled, menuTriggerProps: wrappedMenuTriggerProps, buttonRef, ...tid }) : isIconButton(trigger) ? /* @__PURE__ */ jsx43(IconButton, { ...trigger, menuTriggerProps: wrappedMenuTriggerProps, buttonRef, ...tid, disabled, tooltip, onClick: wrappedMenuTriggerProps.onPress ?? noop, forceFocusStyles: showActiveBorder && state.isOpen }) : /* @__PURE__ */ jsx43(AvatarButton, { ...trigger, menuTriggerProps: wrappedMenuTriggerProps, buttonRef, ...tid, disabled, tooltip, onClick: wrappedMenuTriggerProps.onPress ?? noop, forceFocusStyles: showActiveBorder && state.isOpen }),
|
|
12138
12149
|
state.isOpen && /* @__PURE__ */ jsx43(Popover, { triggerRef: buttonRef, popoverRef, positionProps, onClose: () => state.close(), isOpen: state.isOpen, children })
|
|
12139
12150
|
] })
|
|
@@ -12230,7 +12241,7 @@ function Tag(props) {
|
|
|
12230
12241
|
position: "relative",
|
|
12231
12242
|
display: "dif",
|
|
12232
12243
|
alignItems: "aic",
|
|
12233
|
-
gap: "
|
|
12244
|
+
gap: "g_4px",
|
|
12234
12245
|
paddingTop: "pt_2px",
|
|
12235
12246
|
paddingBottom: "pb_2px",
|
|
12236
12247
|
color: "gray900",
|
|
@@ -12370,7 +12381,7 @@ function getPrimaryStyles(type) {
|
|
|
12370
12381
|
}
|
|
12371
12382
|
|
|
12372
12383
|
// src/components/BaseCard.tsx
|
|
12373
|
-
import { trussProps as trussProps29, maybeCssVar as
|
|
12384
|
+
import { trussProps as trussProps29, maybeCssVar as maybeCssVar19 } from "@homebound/truss/runtime";
|
|
12374
12385
|
import { Fragment as Fragment17, jsx as jsx46, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
12375
12386
|
function BaseCard(props) {
|
|
12376
12387
|
const {
|
|
@@ -12407,7 +12418,7 @@ function BaseCard(props) {
|
|
|
12407
12418
|
borderBottomStyle: "bbs_solid",
|
|
12408
12419
|
borderBottomWidth: "bbw_1px",
|
|
12409
12420
|
overflow: "oh",
|
|
12410
|
-
borderRadius: "
|
|
12421
|
+
borderRadius: "bra_12px_12px_0_0",
|
|
12411
12422
|
...aiMode ? {
|
|
12412
12423
|
borderColor: ["bc_var", {
|
|
12413
12424
|
"--borderColor": "var(--b-ai-field-bg)"
|
|
@@ -12422,7 +12433,7 @@ function BaseCard(props) {
|
|
|
12422
12433
|
height: "h100",
|
|
12423
12434
|
width: "w100",
|
|
12424
12435
|
objectFit: ["objectFit_var", {
|
|
12425
|
-
"--objectFit":
|
|
12436
|
+
"--objectFit": maybeCssVar19(imageFit)
|
|
12426
12437
|
}]
|
|
12427
12438
|
}), src: imgSrc, alt: imgAlt, "aria-hidden": imgAlt === "" || void 0, loading: "lazy", ...tid.image }),
|
|
12428
12439
|
tag && /* @__PURE__ */ jsx46("div", { className: "absolute top1 left1 df", ...tid.tag, children: /* @__PURE__ */ jsx46(Tag, { ...tag }) })
|
|
@@ -12504,14 +12515,14 @@ var contentStyles = {
|
|
|
12504
12515
|
paddingRight: "pr0",
|
|
12505
12516
|
paddingLeft: "pl0",
|
|
12506
12517
|
backgroundColor: "bgTransparent",
|
|
12507
|
-
color: "
|
|
12518
|
+
color: "c_unset",
|
|
12508
12519
|
textDecoration: "tdn",
|
|
12509
|
-
outline: "
|
|
12520
|
+
outline: "ol_0"
|
|
12510
12521
|
};
|
|
12511
12522
|
|
|
12512
12523
|
// src/components/CardBody.tsx
|
|
12513
12524
|
import { useMemo as useMemo13 } from "react";
|
|
12514
|
-
import { trussProps as trussProps30, maybeCssVar as
|
|
12525
|
+
import { trussProps as trussProps30, maybeCssVar as maybeCssVar20 } from "@homebound/truss/runtime";
|
|
12515
12526
|
import { jsx as jsx47, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
12516
12527
|
var __maybeInc11 = (inc) => {
|
|
12517
12528
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -12571,14 +12582,14 @@ function CardBody(props) {
|
|
|
12571
12582
|
] }),
|
|
12572
12583
|
hasDetails && /* @__PURE__ */ jsxs29("div", { className: "df fdc gap2 mt_auto", children: [
|
|
12573
12584
|
data.length > 0 && /* @__PURE__ */ jsxs29("dl", { className: "df gap2 fw4 fz_14px lh_20px", children: [
|
|
12574
|
-
/* @__PURE__ */ jsx47("div", { className: "df fdc fg1 fb2 mw0", children: col1.map((d) => /* @__PURE__ */ jsxs29("div", { className: "df
|
|
12585
|
+
/* @__PURE__ */ jsx47("div", { className: "df fdc fg1 fb2 mw0", children: col1.map((d) => /* @__PURE__ */ jsxs29("div", { className: "df g_4px", ...tid[defaultTestId(d.label)], children: [
|
|
12575
12586
|
/* @__PURE__ */ jsxs29("dt", { className: "fs0", children: [
|
|
12576
12587
|
d.label,
|
|
12577
12588
|
":"
|
|
12578
12589
|
] }),
|
|
12579
12590
|
/* @__PURE__ */ jsx47("dd", { className: "mw0", children: d.value })
|
|
12580
12591
|
] }, d.label)) }),
|
|
12581
|
-
/* @__PURE__ */ jsx47("div", { className: "df fdc fg1 fb2 mw0", children: col2.map((d) => /* @__PURE__ */ jsxs29("div", { className: "df
|
|
12592
|
+
/* @__PURE__ */ jsx47("div", { className: "df fdc fg1 fb2 mw0", children: col2.map((d) => /* @__PURE__ */ jsxs29("div", { className: "df g_4px", ...tid[defaultTestId(d.label)], children: [
|
|
12582
12593
|
/* @__PURE__ */ jsxs29("dt", { className: "fs0", children: [
|
|
12583
12594
|
d.label,
|
|
12584
12595
|
":"
|
|
@@ -12592,14 +12603,14 @@ function CardBody(props) {
|
|
|
12592
12603
|
height: "h_8px",
|
|
12593
12604
|
borderRadius: "br4",
|
|
12594
12605
|
backgroundColor: ["bgColor_var", {
|
|
12595
|
-
"--backgroundColor":
|
|
12606
|
+
"--backgroundColor": maybeCssVar20(aiMode ? "rgba(221, 214, 254, 1)" /* Purple200 */ : "--b-surface-subtle" /* SurfaceSubtle */)
|
|
12596
12607
|
}]
|
|
12597
12608
|
}), ...tid.progressTrack, children: /* @__PURE__ */ jsx47("div", { ...trussProps30({
|
|
12598
12609
|
height: "h100",
|
|
12599
12610
|
borderRadius: "br4",
|
|
12600
12611
|
backgroundColor: "bgBlue500",
|
|
12601
12612
|
width: ["w_var", {
|
|
12602
|
-
"--width":
|
|
12613
|
+
"--width": maybeCssVar20(__maybeInc11(`${progressValue}%`))
|
|
12603
12614
|
}]
|
|
12604
12615
|
}), ...tid.progressFill }) }),
|
|
12605
12616
|
/* @__PURE__ */ jsxs29("span", { ...tid.progressValue, children: [
|
|
@@ -12624,7 +12635,7 @@ function clampProgress(value) {
|
|
|
12624
12635
|
// src/components/Carousel.tsx
|
|
12625
12636
|
import { useResizeObserver as useResizeObserver4 } from "@react-aria/utils";
|
|
12626
12637
|
import { Children, useCallback as useCallback11, useLayoutEffect as useLayoutEffect3, useRef as useRef20, useState as useState16 } from "react";
|
|
12627
|
-
import { trussProps as trussProps31, maybeCssVar as
|
|
12638
|
+
import { trussProps as trussProps31, maybeCssVar as maybeCssVar21 } from "@homebound/truss/runtime";
|
|
12628
12639
|
import { jsx as jsx48, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
12629
12640
|
function Carousel(props) {
|
|
12630
12641
|
const {
|
|
@@ -12696,11 +12707,9 @@ function Carousel(props) {
|
|
|
12696
12707
|
marginBottom: "mb_neg4px",
|
|
12697
12708
|
marginRight: "mr_neg4px",
|
|
12698
12709
|
marginLeft: "ml_neg4px",
|
|
12699
|
-
scrollPaddingInline:
|
|
12700
|
-
"--scrollPaddingInline": maybeCssVar22(`${4}px`)
|
|
12701
|
-
}],
|
|
12710
|
+
scrollPaddingInline: "scrollPaddingInline_4px",
|
|
12702
12711
|
maskImage: ["maskImage_var", {
|
|
12703
|
-
"--maskImage":
|
|
12712
|
+
"--maskImage": maybeCssVar21(maskImage)
|
|
12704
12713
|
}]
|
|
12705
12714
|
}), ...tid.items, children: Children.map(children, (child) => /* @__PURE__ */ jsx48("div", { className: "fs0 ssa_start", children: child })) }),
|
|
12706
12715
|
/* @__PURE__ */ jsx48(ScrollButton, { direction: "forward", label: nextLabel, inc: chevronInc, visible: canScrollForward, onClick: () => scrollByPage(1), ...tid.next })
|
|
@@ -12743,7 +12752,7 @@ function ScrollButton(props) {
|
|
|
12743
12752
|
color: ["color_var", {
|
|
12744
12753
|
"--color": "var(--b-on-surface)"
|
|
12745
12754
|
}],
|
|
12746
|
-
outline: "
|
|
12755
|
+
outline: "ol_0",
|
|
12747
12756
|
...back ? {
|
|
12748
12757
|
left: "left0"
|
|
12749
12758
|
} : {
|
|
@@ -12894,14 +12903,14 @@ function Thumbnail(props) {
|
|
|
12894
12903
|
borderWidth: "bw1",
|
|
12895
12904
|
borderColor: "bcGray300 a_bcBlue600",
|
|
12896
12905
|
backgroundColor: "bgWhite after_a_bgBlue600",
|
|
12897
|
-
outline: "
|
|
12906
|
+
outline: "ol_0",
|
|
12898
12907
|
boxShadow: "h_bshHover fv_bshFocus",
|
|
12899
12908
|
content: "after_a_contentEmpty",
|
|
12900
12909
|
top: "after_a_top0",
|
|
12901
12910
|
left: "after_a_left0",
|
|
12902
12911
|
opacity: "after_a_o_0_28",
|
|
12903
|
-
pointerEvents: "
|
|
12904
|
-
}), children: /* @__PURE__ */ jsx49("span", { className: "db w100 h100 oh br8", children: /* @__PURE__ */ jsx49("img", { className: "w100 h100
|
|
12912
|
+
pointerEvents: "after_a_pe_none"
|
|
12913
|
+
}), children: /* @__PURE__ */ jsx49("span", { className: "db w100 h100 oh br8", children: /* @__PURE__ */ jsx49("img", { className: "w100 h100 obf_cover db", src: item.imgUrl, alt: "", loading: "lazy" }) }) }) });
|
|
12905
12914
|
}
|
|
12906
12915
|
|
|
12907
12916
|
// src/components/Table/GridTableEmptyState.tsx
|
|
@@ -12929,7 +12938,7 @@ function GridTableEmptyState(props) {
|
|
|
12929
12938
|
}
|
|
12930
12939
|
|
|
12931
12940
|
// src/components/Table/GridTable.tsx
|
|
12932
|
-
import { trussProps as trussProps33, mergeProps as mergeProps14, maybeCssVar as
|
|
12941
|
+
import { trussProps as trussProps33, mergeProps as mergeProps14, maybeCssVar as maybeCssVar22 } from "@homebound/truss/runtime";
|
|
12933
12942
|
import { jsx as jsx51, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
12934
12943
|
import { createElement } from "react";
|
|
12935
12944
|
var __maybeInc12 = (inc) => {
|
|
@@ -13277,10 +13286,10 @@ function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, pinned
|
|
|
13277
13286
|
position: "sticky",
|
|
13278
13287
|
transition: "transitionTop",
|
|
13279
13288
|
top: ["top_var", {
|
|
13280
|
-
"--top":
|
|
13289
|
+
"--top": maybeCssVar22(__maybeInc12(stickyTableHeaderOffset(stickyOffset)))
|
|
13281
13290
|
}],
|
|
13282
13291
|
zIndex: ["z_var", {
|
|
13283
|
-
"--zIndex":
|
|
13292
|
+
"--zIndex": maybeCssVar22(zIndices.tableStickyHeader)
|
|
13284
13293
|
}]
|
|
13285
13294
|
} : {}
|
|
13286
13295
|
}), children: [
|
|
@@ -13305,8 +13314,8 @@ function renderTable(style, id, columns, visibleDataRows, keptSelectedRows, pinn
|
|
|
13305
13314
|
return /* @__PURE__ */ jsxs33("table", { ref: tableContainerRef, ...trussProps33({
|
|
13306
13315
|
...{
|
|
13307
13316
|
width: "w100",
|
|
13308
|
-
borderCollapse: "
|
|
13309
|
-
borderSpacing: "
|
|
13317
|
+
borderCollapse: "bdcl_separate",
|
|
13318
|
+
borderSpacing: "bdsp_0"
|
|
13310
13319
|
},
|
|
13311
13320
|
...style.rootCss,
|
|
13312
13321
|
...style.minWidthPx ? {
|
|
@@ -13321,10 +13330,10 @@ function renderTable(style, id, columns, visibleDataRows, keptSelectedRows, pinn
|
|
|
13321
13330
|
position: "sticky",
|
|
13322
13331
|
transition: "transitionTop",
|
|
13323
13332
|
top: ["top_var", {
|
|
13324
|
-
"--top":
|
|
13333
|
+
"--top": maybeCssVar22(__maybeInc12(stickyTableHeaderOffset(stickyOffset)))
|
|
13325
13334
|
}],
|
|
13326
13335
|
zIndex: ["z_var", {
|
|
13327
|
-
"--zIndex":
|
|
13336
|
+
"--zIndex": maybeCssVar22(zIndices.tableStickyHeader)
|
|
13328
13337
|
}]
|
|
13329
13338
|
} : {}
|
|
13330
13339
|
}), children: [
|
|
@@ -13493,7 +13502,7 @@ function CardView({
|
|
|
13493
13502
|
return /* @__PURE__ */ jsx51("div", { className: "pt2 pb2", children: /* @__PURE__ */ jsx51("div", { ...trussProps33({
|
|
13494
13503
|
display: "dg",
|
|
13495
13504
|
gridTemplateColumns: ["gtc_var", {
|
|
13496
|
-
"--gridTemplateColumns":
|
|
13505
|
+
"--gridTemplateColumns": maybeCssVar22(`repeat(auto-fill, minmax(${CARD_MIN_WIDTH_PX}px, 1fr))`)
|
|
13497
13506
|
}],
|
|
13498
13507
|
justifyContent: "jcc",
|
|
13499
13508
|
gap: "gap3",
|
|
@@ -13515,7 +13524,7 @@ function CardView({
|
|
|
13515
13524
|
return /* @__PURE__ */ jsx51("div", { ref, ...mergeProps14(void 0, style, {
|
|
13516
13525
|
display: "dg",
|
|
13517
13526
|
gridTemplateColumns: ["gtc_var", {
|
|
13518
|
-
"--gridTemplateColumns":
|
|
13527
|
+
"--gridTemplateColumns": maybeCssVar22(`repeat(auto-fill, minmax(${CARD_MIN_WIDTH_PX}px, 1fr))`)
|
|
13519
13528
|
}],
|
|
13520
13529
|
justifyContent: "jcc",
|
|
13521
13530
|
gap: "gap3",
|
|
@@ -13661,7 +13670,7 @@ function ToggleChips(props) {
|
|
|
13661
13670
|
import { useId, useResizeObserver as useResizeObserver5 } from "@react-aria/utils";
|
|
13662
13671
|
import { useCallback as useCallback12, useEffect as useEffect10, useMemo as useMemo15, useState as useState18 } from "react";
|
|
13663
13672
|
import { useFocusRing as useFocusRing7 } from "react-aria";
|
|
13664
|
-
import { trussProps as trussProps36, maybeCssVar as
|
|
13673
|
+
import { trussProps as trussProps36, maybeCssVar as maybeCssVar23 } from "@homebound/truss/runtime";
|
|
13665
13674
|
import { jsx as jsx54, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
13666
13675
|
var __maybeInc13 = (inc) => {
|
|
13667
13676
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -13719,7 +13728,7 @@ function Accordion(props) {
|
|
|
13719
13728
|
...{
|
|
13720
13729
|
display: "df",
|
|
13721
13730
|
justifyContent: "jcsb",
|
|
13722
|
-
gap: "
|
|
13731
|
+
gap: "g_12px",
|
|
13723
13732
|
alignItems: "aic",
|
|
13724
13733
|
paddingTop: "pt2",
|
|
13725
13734
|
paddingBottom: "pb2",
|
|
@@ -13728,7 +13737,7 @@ function Accordion(props) {
|
|
|
13728
13737
|
fontWeight: "fw4",
|
|
13729
13738
|
fontSize: "fz_16px",
|
|
13730
13739
|
lineHeight: "lh_24px",
|
|
13731
|
-
outline: "
|
|
13740
|
+
outline: "ol_none",
|
|
13732
13741
|
backgroundColor: ["h_bgColor_var", {
|
|
13733
13742
|
"--h_backgroundColor": "var(--b-neutral-fill-hover-subtle)"
|
|
13734
13743
|
}],
|
|
@@ -13762,9 +13771,7 @@ function Accordion(props) {
|
|
|
13762
13771
|
}]
|
|
13763
13772
|
},
|
|
13764
13773
|
...isFocusVisible && {
|
|
13765
|
-
boxShadow:
|
|
13766
|
-
"--boxShadow": maybeCssVar24(`inset 0 0 0 2px var(${"--b-focus-ring-inset" /* FocusRingInset */})`)
|
|
13767
|
-
}]
|
|
13774
|
+
boxShadow: "bxs_inset_0_0_0_2px_var_b_focus_ring_inset"
|
|
13768
13775
|
},
|
|
13769
13776
|
...xss
|
|
13770
13777
|
}), [compact, disabled, isFocusVisible, titleOnClick, xss]);
|
|
@@ -13819,9 +13826,9 @@ function Accordion(props) {
|
|
|
13819
13826
|
/* @__PURE__ */ jsx54("div", { ...tid.details, id, "aria-hidden": !expanded, ...trussProps36({
|
|
13820
13827
|
overflow: "oh",
|
|
13821
13828
|
height: ["h_var", {
|
|
13822
|
-
"--height":
|
|
13829
|
+
"--height": maybeCssVar23(__maybeInc13(contentHeight))
|
|
13823
13830
|
}],
|
|
13824
|
-
transition: "
|
|
13831
|
+
transition: "tsn_height_250ms_ease_in_out"
|
|
13825
13832
|
}), children: expanded && /* @__PURE__ */ jsx54("div", { ...trussProps36({
|
|
13826
13833
|
paddingLeft: "pl2",
|
|
13827
13834
|
paddingRight: "pr2",
|
|
@@ -13839,9 +13846,9 @@ function Accordion(props) {
|
|
|
13839
13846
|
function RotatingChevronIcon(props) {
|
|
13840
13847
|
return /* @__PURE__ */ jsx54("span", { ...trussProps36({
|
|
13841
13848
|
flexShrink: "fs0",
|
|
13842
|
-
transition: "
|
|
13849
|
+
transition: "tsn_transform_250ms_linear",
|
|
13843
13850
|
transform: ["transform_var", {
|
|
13844
|
-
"--transform":
|
|
13851
|
+
"--transform": maybeCssVar23(props.expanded ? "rotate(180deg)" : "rotate(0deg)")
|
|
13845
13852
|
}]
|
|
13846
13853
|
}), children: /* @__PURE__ */ jsx54(Icon, { icon: "chevronDown" }) });
|
|
13847
13854
|
}
|
|
@@ -13879,7 +13886,7 @@ function AccordionList(props) {
|
|
|
13879
13886
|
|
|
13880
13887
|
// src/components/Logos/BlueprintAiLogo.tsx
|
|
13881
13888
|
import { useId as useId2 } from "@react-aria/utils";
|
|
13882
|
-
import { trussProps as trussProps37, maybeCssVar as
|
|
13889
|
+
import { trussProps as trussProps37, maybeCssVar as maybeCssVar24 } from "@homebound/truss/runtime";
|
|
13883
13890
|
import { jsx as jsx56, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
13884
13891
|
var __maybeInc14 = (inc) => {
|
|
13885
13892
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -13892,10 +13899,10 @@ function BlueprintAiLogo(props) {
|
|
|
13892
13899
|
const gradientId = useId2();
|
|
13893
13900
|
return /* @__PURE__ */ jsxs36("svg", { viewBox: "0 0 207 40", xmlns: "http://www.w3.org/2000/svg", ...trussProps37({
|
|
13894
13901
|
width: ["w_var", {
|
|
13895
|
-
"--width":
|
|
13902
|
+
"--width": maybeCssVar24(__maybeInc14(width2))
|
|
13896
13903
|
}],
|
|
13897
13904
|
height: ["h_var", {
|
|
13898
|
-
"--height":
|
|
13905
|
+
"--height": maybeCssVar24(__maybeInc14(height))
|
|
13899
13906
|
}]
|
|
13900
13907
|
}), children: [
|
|
13901
13908
|
/* @__PURE__ */ jsxs36("g", { transform: "translate(0.32171630859375, 3)", fill: `url(#${gradientId})`, children: [
|
|
@@ -14006,7 +14013,7 @@ var aiCardChrome = {
|
|
|
14006
14013
|
sm: {
|
|
14007
14014
|
logoHeight: 2,
|
|
14008
14015
|
gapCss: {
|
|
14009
|
-
gap: "
|
|
14016
|
+
gap: "g_4px"
|
|
14010
14017
|
}
|
|
14011
14018
|
}
|
|
14012
14019
|
};
|
|
@@ -14023,7 +14030,7 @@ function AiBanner(props) {
|
|
|
14023
14030
|
} = props;
|
|
14024
14031
|
const tid = useTestIds(props, "aiBanner");
|
|
14025
14032
|
return /* @__PURE__ */ jsx58(AiPanel, { padding: "sm", ...tid, children: /* @__PURE__ */ jsx58(AiCard, { size: "sm", ...tid, children: /* @__PURE__ */ jsxs38("div", { className: "df aic jcsb gap2 w100 fww pt_12px pb2 pl2 pr2", children: [
|
|
14026
|
-
/* @__PURE__ */ jsxs38("div", { className: "df fdc
|
|
14033
|
+
/* @__PURE__ */ jsxs38("div", { className: "df fdc g_4px fg1 fb_0 mw_240px", children: [
|
|
14027
14034
|
/* @__PURE__ */ jsx58("span", { className: "fw6 fz_14px lh_20px purple700 aiBoldBg bgcl_text WebkitBackgroundClip_text wktfc_transparent", ...tid.title, children: title }),
|
|
14028
14035
|
message && /* @__PURE__ */ jsx58("span", { ...trussProps39({
|
|
14029
14036
|
fontWeight: "fw4",
|
|
@@ -14074,7 +14081,7 @@ function LinkCard(props) {
|
|
|
14074
14081
|
}),
|
|
14075
14082
|
...tid,
|
|
14076
14083
|
children: [
|
|
14077
|
-
/* @__PURE__ */ jsxs39("div", { className: "df fdc
|
|
14084
|
+
/* @__PURE__ */ jsxs39("div", { className: "df fdc g_4px fg1 mw0 wbbw", children: [
|
|
14078
14085
|
/* @__PURE__ */ jsx59("span", { ...trussProps40({
|
|
14079
14086
|
fontWeight: "fw6",
|
|
14080
14087
|
fontSize: "fz_14px",
|
|
@@ -14113,7 +14120,7 @@ function AiLinkCardGroup(props) {
|
|
|
14113
14120
|
}
|
|
14114
14121
|
|
|
14115
14122
|
// src/components/AiLoader.tsx
|
|
14116
|
-
import { trussProps as trussProps41, maybeCssVar as
|
|
14123
|
+
import { trussProps as trussProps41, maybeCssVar as maybeCssVar25 } from "@homebound/truss/runtime";
|
|
14117
14124
|
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
14118
14125
|
function AiLoader(props) {
|
|
14119
14126
|
const {
|
|
@@ -14156,15 +14163,9 @@ function starStyles(index, inc) {
|
|
|
14156
14163
|
width: ["sq_var", {
|
|
14157
14164
|
"--width": `${increment(inc)}px`
|
|
14158
14165
|
}],
|
|
14159
|
-
transform: "
|
|
14160
|
-
|
|
14161
|
-
|
|
14162
|
-
"--animationDuration": maybeCssVar26(`${cycleMs}ms`)
|
|
14163
|
-
}],
|
|
14164
|
-
animationIterationCount: "animationIterationCount_infinite",
|
|
14165
|
-
animationTimingFunction: "animationTimingFunction_ease_in_out",
|
|
14166
|
-
animationDelay: ["animationDelay_var", {
|
|
14167
|
-
"--animationDelay": maybeCssVar26(`${index * cycleMs / 3}ms`)
|
|
14166
|
+
transform: "tf_scale_0_5",
|
|
14167
|
+
animation: ["animation_var", {
|
|
14168
|
+
"--animation": `aiStarLoader ${maybeCssVar25(`${cycleMs}ms ease-in-out ${index * cycleMs / 3}ms infinite`)}`
|
|
14168
14169
|
}]
|
|
14169
14170
|
};
|
|
14170
14171
|
}
|
|
@@ -14404,7 +14405,7 @@ function AvatarGroup(props) {
|
|
|
14404
14405
|
/* @__PURE__ */ jsx68("div", { className: "df aic", children: visibleAvatars.map((avatar, idx) => /* @__PURE__ */ jsx68("div", { ...trussProps44({
|
|
14405
14406
|
borderRadius: "br100",
|
|
14406
14407
|
borderStyle: "bss",
|
|
14407
|
-
borderWidth: "
|
|
14408
|
+
borderWidth: "bw_3px",
|
|
14408
14409
|
borderColor: "bcWhite",
|
|
14409
14410
|
...idx > 0 ? {
|
|
14410
14411
|
marginLeft: ["ml_var", {
|
|
@@ -14557,7 +14558,7 @@ function Breadcrumbs({
|
|
|
14557
14558
|
] }, `${bc.label}-${index}`)
|
|
14558
14559
|
);
|
|
14559
14560
|
}
|
|
14560
|
-
return /* @__PURE__ */ jsx70("div", { className: "df aic
|
|
14561
|
+
return /* @__PURE__ */ jsx70("div", { className: "df aic g_4px", children: shouldCollapse ? /* @__PURE__ */ jsxs47(Fragment21, { children: [
|
|
14561
14562
|
items.slice(0, leadCount).map((bc, i) => renderBreadcrumb(bc, i)),
|
|
14562
14563
|
/* @__PURE__ */ jsx70("span", { className: "fs0 fw4 fz_12px lh_16px", children: "/" }),
|
|
14563
14564
|
/* @__PURE__ */ jsx70("button", { ...tid.expand, className: "fw4 fz_12px lh_16px gray900 h_gray600", onClick: () => setCollapsed(false), children: "..." }),
|
|
@@ -14763,9 +14764,9 @@ function Day(props) {
|
|
|
14763
14764
|
{
|
|
14764
14765
|
...trussProps47({
|
|
14765
14766
|
position: "absolute",
|
|
14766
|
-
bottom: "
|
|
14767
|
-
width: "w_4px",
|
|
14767
|
+
bottom: "bot_4px",
|
|
14768
14768
|
height: "h_4px",
|
|
14769
|
+
width: "w_4px",
|
|
14769
14770
|
backgroundColor: ["bgColor_var", {
|
|
14770
14771
|
"--backgroundColor": "var(--b-primary)"
|
|
14771
14772
|
}],
|
|
@@ -14783,7 +14784,7 @@ function Day(props) {
|
|
|
14783
14784
|
showRangeStyles && range_start && /* @__PURE__ */ jsx71("span", { ...trussProps47({
|
|
14784
14785
|
...rangeBaseStyles,
|
|
14785
14786
|
...{
|
|
14786
|
-
right: "
|
|
14787
|
+
right: "r_neg2px",
|
|
14787
14788
|
width: "w_8px"
|
|
14788
14789
|
}
|
|
14789
14790
|
}) }),
|
|
@@ -14791,20 +14792,20 @@ function Day(props) {
|
|
|
14791
14792
|
...rangeBaseStyles,
|
|
14792
14793
|
...{
|
|
14793
14794
|
width: "w_8px",
|
|
14794
|
-
left: "
|
|
14795
|
+
left: "l_neg2px"
|
|
14795
14796
|
}
|
|
14796
14797
|
}) }),
|
|
14797
14798
|
showRangeStyles && range_middle && /* @__PURE__ */ jsx71("span", { ...trussProps47({
|
|
14798
14799
|
...rangeBaseStyles,
|
|
14799
14800
|
...{
|
|
14800
|
-
left: "
|
|
14801
|
+
left: "l_neg2px"
|
|
14801
14802
|
}
|
|
14802
14803
|
}) })
|
|
14803
14804
|
] });
|
|
14804
14805
|
}
|
|
14805
14806
|
var rangeBaseStyles = {
|
|
14806
14807
|
position: "absolute",
|
|
14807
|
-
top: "
|
|
14808
|
+
top: "tp_2px",
|
|
14808
14809
|
height: "h_30px",
|
|
14809
14810
|
width: "w_32px",
|
|
14810
14811
|
backgroundColor: ["bgColor_var", {
|
|
@@ -15118,11 +15119,11 @@ function getButtonStyles2(isFirst, isLast) {
|
|
|
15118
15119
|
},
|
|
15119
15120
|
// Our first button should have a rounded left border.
|
|
15120
15121
|
...isFirst && {
|
|
15121
|
-
borderRadius: "
|
|
15122
|
+
borderRadius: "bra_4px_0_0_4px"
|
|
15122
15123
|
},
|
|
15123
15124
|
// Our last button should have a rounded right border.
|
|
15124
15125
|
...isLast && {
|
|
15125
|
-
borderRadius: "
|
|
15126
|
+
borderRadius: "bra_0_4px_4px_0"
|
|
15126
15127
|
},
|
|
15127
15128
|
// Nudge buttons one pixel to the left so they visually share a border.
|
|
15128
15129
|
...!isFirst && {
|
|
@@ -15159,7 +15160,7 @@ var iconStyles2 = {
|
|
|
15159
15160
|
// src/components/Card.tsx
|
|
15160
15161
|
import { useMemo as useMemo17 } from "react";
|
|
15161
15162
|
import { useHover as useHover10 } from "react-aria";
|
|
15162
|
-
import { trussProps as trussProps52, maybeCssVar as
|
|
15163
|
+
import { trussProps as trussProps52, maybeCssVar as maybeCssVar26 } from "@homebound/truss/runtime";
|
|
15163
15164
|
import { jsx as jsx78, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
15164
15165
|
function Card(props) {
|
|
15165
15166
|
const {
|
|
@@ -15209,7 +15210,7 @@ function Card(props) {
|
|
|
15209
15210
|
alignSelf: "asc",
|
|
15210
15211
|
justifySelf: "jsc",
|
|
15211
15212
|
position: "relative",
|
|
15212
|
-
filter: "
|
|
15213
|
+
filter: "flt_brightness_1"
|
|
15213
15214
|
},
|
|
15214
15215
|
// Once the card follows its container, keep the image at its own size so the title wraps instead.
|
|
15215
15216
|
...fullWidth && {
|
|
@@ -15220,7 +15221,7 @@ function Card(props) {
|
|
|
15220
15221
|
width: "w100",
|
|
15221
15222
|
height: "h100",
|
|
15222
15223
|
objectFit: ["objectFit_var", {
|
|
15223
|
-
"--objectFit":
|
|
15224
|
+
"--objectFit": maybeCssVar26(imageFit)
|
|
15224
15225
|
}]
|
|
15225
15226
|
}), src: imgSrc, alt: title, ...tid.img }) }),
|
|
15226
15227
|
isHovered && buttonMenuItems && /* @__PURE__ */ jsx78("div", { ...trussProps52({
|
|
@@ -15235,7 +15236,7 @@ function Card(props) {
|
|
|
15235
15236
|
icon: "verticalDots",
|
|
15236
15237
|
color: isList ? "--b-on-surface-muted" /* OnSurfaceMuted */ : "--b-on-primary" /* OnPrimary */
|
|
15237
15238
|
}, items: buttonMenuItems }) }),
|
|
15238
|
-
tag && !isList && /* @__PURE__ */ jsx78("div", { className: "absolute left1
|
|
15239
|
+
tag && !isList && /* @__PURE__ */ jsx78("div", { className: "absolute left1 tp_4px", children: /* @__PURE__ */ jsx78(Tag, { type: tag.type, text: tag.text, ...tid.tag }) }),
|
|
15239
15240
|
/* @__PURE__ */ jsxs51("div", { className: "df fdc aifs gap1", children: [
|
|
15240
15241
|
tag && isList && /* @__PURE__ */ jsx78(Tag, { type: tag.type, text: tag.text, ...tid.tag }),
|
|
15241
15242
|
/* @__PURE__ */ jsxs51("div", { children: [
|
|
@@ -15303,7 +15304,7 @@ var borderedStyles = {
|
|
|
15303
15304
|
};
|
|
15304
15305
|
var disabledStyles2 = {
|
|
15305
15306
|
opacity: "o50",
|
|
15306
|
-
transition: "
|
|
15307
|
+
transition: "tsn_opacity_0_3s_ease"
|
|
15307
15308
|
};
|
|
15308
15309
|
var cardHoverStyles = {
|
|
15309
15310
|
borderColor: ["bc_var", {
|
|
@@ -15315,8 +15316,8 @@ var imageHoverStyles = {
|
|
|
15315
15316
|
backgroundColor: ["bgColor_var", {
|
|
15316
15317
|
"--backgroundColor": "var(--b-surface)"
|
|
15317
15318
|
}],
|
|
15318
|
-
filter: "
|
|
15319
|
-
transition: "
|
|
15319
|
+
filter: "flt_brightness_0_3",
|
|
15320
|
+
transition: "tsn_filter_0_3s_ease"
|
|
15320
15321
|
};
|
|
15321
15322
|
|
|
15322
15323
|
// src/components/Copy.tsx
|
|
@@ -15339,7 +15340,7 @@ function Copy(props) {
|
|
|
15339
15340
|
}
|
|
15340
15341
|
|
|
15341
15342
|
// src/components/CountBadge.tsx
|
|
15342
|
-
import { trussProps as trussProps53, maybeCssVar as
|
|
15343
|
+
import { trussProps as trussProps53, maybeCssVar as maybeCssVar27 } from "@homebound/truss/runtime";
|
|
15343
15344
|
import { jsx as jsx80 } from "react/jsx-runtime";
|
|
15344
15345
|
function CountBadge(props) {
|
|
15345
15346
|
const {
|
|
@@ -15371,12 +15372,12 @@ function CountBadge(props) {
|
|
|
15371
15372
|
alignItems: "aic",
|
|
15372
15373
|
justifyContent: "jcc",
|
|
15373
15374
|
backgroundColor: ["bgColor_var", {
|
|
15374
|
-
"--backgroundColor":
|
|
15375
|
+
"--backgroundColor": maybeCssVar27(bgColor)
|
|
15375
15376
|
}]
|
|
15376
15377
|
},
|
|
15377
15378
|
...{
|
|
15378
15379
|
color: ["color_var", {
|
|
15379
|
-
"--color":
|
|
15380
|
+
"--color": maybeCssVar27(color)
|
|
15380
15381
|
}]
|
|
15381
15382
|
}
|
|
15382
15383
|
}), children: count });
|
|
@@ -15535,7 +15536,7 @@ function getInvertedCorner(side, bgColorVar) {
|
|
|
15535
15536
|
width: ["sq_var", {
|
|
15536
15537
|
"--width": `${invertedCornerRadiusPx}px`
|
|
15537
15538
|
}],
|
|
15538
|
-
pointerEvents: "
|
|
15539
|
+
pointerEvents: "pe_none",
|
|
15539
15540
|
zIndex: "z1"
|
|
15540
15541
|
};
|
|
15541
15542
|
const outerPosition = side === "left" ? {
|
|
@@ -15551,7 +15552,7 @@ function getInvertedCorner(side, bgColorVar) {
|
|
|
15551
15552
|
height: "h_200",
|
|
15552
15553
|
width: "w_200",
|
|
15553
15554
|
position: "absolute",
|
|
15554
|
-
borderRadius: "
|
|
15555
|
+
borderRadius: "bra_50",
|
|
15555
15556
|
boxShadow: ["boxShadow_var", {
|
|
15556
15557
|
"--boxShadow": maybeCssVar_13(`${shadowXOffset}px -${invertedCornerRadiusPx}px 0 0 ${bgColorVar}`)
|
|
15557
15558
|
}],
|
|
@@ -15616,7 +15617,7 @@ import { createPortal as createPortal3 } from "react-dom";
|
|
|
15616
15617
|
// src/components/Snackbar/SnackbarNotice.tsx
|
|
15617
15618
|
import { useLayoutEffect as useLayoutEffect4, useResizeObserver as useResizeObserver6 } from "@react-aria/utils";
|
|
15618
15619
|
import { useCallback as useCallback14, useRef as useRef27, useState as useState23 } from "react";
|
|
15619
|
-
import { trussProps as trussProps55, maybeCssVar as
|
|
15620
|
+
import { trussProps as trussProps55, maybeCssVar as maybeCssVar28 } from "@homebound/truss/runtime";
|
|
15620
15621
|
import { jsx as jsx83, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
15621
15622
|
function SnackbarNotice(props) {
|
|
15622
15623
|
const {
|
|
@@ -15663,7 +15664,7 @@ function SnackbarNotice(props) {
|
|
|
15663
15664
|
},
|
|
15664
15665
|
...expanded ? {
|
|
15665
15666
|
maxWidth: ["maxw_var", {
|
|
15666
|
-
"--maxWidth":
|
|
15667
|
+
"--maxWidth": maybeCssVar28(expandedNoticeMaxWidth)
|
|
15667
15668
|
}]
|
|
15668
15669
|
} : void 0
|
|
15669
15670
|
}), "data-theme": contrastDataTheme, ...tid, role: "alert", children: [
|
|
@@ -15712,7 +15713,7 @@ function SnackbarNotice(props) {
|
|
|
15712
15713
|
"--paddingRight": `${!reallyHideClose && action.variant !== "text" ? 4 : 8}px`
|
|
15713
15714
|
}]
|
|
15714
15715
|
}), children: /* @__PURE__ */ jsx83(Button, { ...action, ...tid.action }) }),
|
|
15715
|
-
!reallyHideClose && /* @__PURE__ */ jsx83("span", { className: "pr1
|
|
15716
|
+
!reallyHideClose && /* @__PURE__ */ jsx83("span", { className: "pr1 lh_0", children: /* @__PURE__ */ jsx83(IconButton, { icon: "x", onClick: onClose, ...tid.close }) })
|
|
15716
15717
|
] })
|
|
15717
15718
|
] });
|
|
15718
15719
|
}
|
|
@@ -15743,7 +15744,7 @@ var typeToIcon2 = {
|
|
|
15743
15744
|
};
|
|
15744
15745
|
|
|
15745
15746
|
// src/components/Snackbar/Snackbar.tsx
|
|
15746
|
-
import { trussProps as trussProps56, maybeCssVar as
|
|
15747
|
+
import { trussProps as trussProps56, maybeCssVar as maybeCssVar29 } from "@homebound/truss/runtime";
|
|
15747
15748
|
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
15748
15749
|
function Snackbar({
|
|
15749
15750
|
notices,
|
|
@@ -15753,7 +15754,7 @@ function Snackbar({
|
|
|
15753
15754
|
return createPortal3(/* @__PURE__ */ jsx84("div", { ...tid.snackbarWrapper, ...trussProps56({
|
|
15754
15755
|
position: "fixed",
|
|
15755
15756
|
zIndex: ["z_var", {
|
|
15756
|
-
"--zIndex":
|
|
15757
|
+
"--zIndex": maybeCssVar29(zIndices.snackbar)
|
|
15757
15758
|
}],
|
|
15758
15759
|
bottom: ["bottom_var", {
|
|
15759
15760
|
"--bottom": `${offset.bottom ?? defaultOffset.bottom}px`
|
|
@@ -15762,7 +15763,7 @@ function Snackbar({
|
|
|
15762
15763
|
display: "df",
|
|
15763
15764
|
flexDirection: "fdc",
|
|
15764
15765
|
alignItems: "aifs",
|
|
15765
|
-
gap: "
|
|
15766
|
+
gap: "g_12px"
|
|
15766
15767
|
}), children: notices.map((data) => /* @__PURE__ */ jsx84(SnackbarNotice, { ...data }, data.id)) }), document.body);
|
|
15767
15768
|
}
|
|
15768
15769
|
var defaultOffset = {
|
|
@@ -16034,7 +16035,7 @@ var SuperDrawerWidth = /* @__PURE__ */ ((SuperDrawerWidth2) => {
|
|
|
16034
16035
|
})(SuperDrawerWidth || {});
|
|
16035
16036
|
|
|
16036
16037
|
// src/components/SuperDrawer/SuperDrawer.tsx
|
|
16037
|
-
import { trussProps as trussProps57, maybeCssVar as
|
|
16038
|
+
import { trussProps as trussProps57, maybeCssVar as maybeCssVar30 } from "@homebound/truss/runtime";
|
|
16038
16039
|
import { Fragment as Fragment24, jsx as jsx89, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
16039
16040
|
import { createElement as createElement3 } from "react";
|
|
16040
16041
|
function SuperDrawer() {
|
|
@@ -16090,7 +16091,7 @@ function SuperDrawer() {
|
|
|
16090
16091
|
bottom: "bottom0",
|
|
16091
16092
|
left: "left0",
|
|
16092
16093
|
zIndex: ["z_var", {
|
|
16093
|
-
"--zIndex":
|
|
16094
|
+
"--zIndex": maybeCssVar30(zIndices.superDrawerScrim)
|
|
16094
16095
|
}]
|
|
16095
16096
|
}),
|
|
16096
16097
|
initial: {
|
|
@@ -16116,7 +16117,7 @@ function SuperDrawer() {
|
|
|
16116
16117
|
}],
|
|
16117
16118
|
height: "h100",
|
|
16118
16119
|
maxWidth: ["maxw_var", {
|
|
16119
|
-
"--maxWidth":
|
|
16120
|
+
"--maxWidth": maybeCssVar30(px(width2))
|
|
16120
16121
|
}],
|
|
16121
16122
|
width: "w100",
|
|
16122
16123
|
display: "df",
|
|
@@ -16268,7 +16269,7 @@ function useBeamContext() {
|
|
|
16268
16269
|
}
|
|
16269
16270
|
|
|
16270
16271
|
// src/components/Modal/Modal.tsx
|
|
16271
|
-
import { trussProps as trussProps58, maybeCssVar as
|
|
16272
|
+
import { trussProps as trussProps58, maybeCssVar as maybeCssVar31 } from "@homebound/truss/runtime";
|
|
16272
16273
|
import { Fragment as Fragment25, jsx as jsx92, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
16273
16274
|
function Modal(props) {
|
|
16274
16275
|
const {
|
|
@@ -16381,7 +16382,7 @@ function Modal(props) {
|
|
|
16381
16382
|
justifyContent: "jcc",
|
|
16382
16383
|
backgroundColor: "bgc_rgba_36_36_36_0_6",
|
|
16383
16384
|
zIndex: ["z_var", {
|
|
16384
|
-
"--zIndex":
|
|
16385
|
+
"--zIndex": maybeCssVar31(zIndices.modalUnderlay)
|
|
16385
16386
|
}]
|
|
16386
16387
|
}), ...underlayProps, ...testId.underlay, children: /* @__PURE__ */ jsx92(FocusScope3, { contain: true, restoreFocus: true, autoFocus: true, children: /* @__PURE__ */ jsxs58("div", { ...trussProps58({
|
|
16387
16388
|
borderRadius: "br24",
|
|
@@ -16405,8 +16406,8 @@ function Modal(props) {
|
|
|
16405
16406
|
}]
|
|
16406
16407
|
} : {},
|
|
16407
16408
|
...sm ? {
|
|
16408
|
-
height: "
|
|
16409
|
-
width: "
|
|
16409
|
+
height: "h_100dvh",
|
|
16410
|
+
width: "w_100dvw",
|
|
16410
16411
|
maxHeight: "maxh_none",
|
|
16411
16412
|
borderRadius: "br0"
|
|
16412
16413
|
} : {}
|
|
@@ -16428,7 +16429,7 @@ function Modal(props) {
|
|
|
16428
16429
|
} : {}
|
|
16429
16430
|
}), children: [
|
|
16430
16431
|
/* @__PURE__ */ jsx92("span", { className: "fs0 pl1", children: allowClosing && /* @__PURE__ */ jsx92(IconButton, { icon: "x", onClick: closeModal, ...testId.titleClose }) }),
|
|
16431
|
-
aiMode ? /* @__PURE__ */ jsxs58("div", { className: "df fdc aifs
|
|
16432
|
+
aiMode ? /* @__PURE__ */ jsxs58("div", { className: "df fdc aifs g_4px fg1 mw0", ...testId.aiTitle, children: [
|
|
16432
16433
|
/* @__PURE__ */ jsx92(BlueprintAiLogo, { height: 2 }),
|
|
16433
16434
|
title
|
|
16434
16435
|
] }) : title
|
|
@@ -16596,7 +16597,7 @@ import { useMemo as useMemo28 } from "react";
|
|
|
16596
16597
|
import { useCallback as useCallback19, useEffect as useEffect22, useMemo as useMemo27, useRef as useRef39, useState as useState33 } from "react";
|
|
16597
16598
|
import { useButton as useButton8, useComboBox as useComboBox2, useFilter as useFilter3, useOverlayPosition as useOverlayPosition4 } from "react-aria";
|
|
16598
16599
|
import { Item as Item4, useComboBoxState as useComboBoxState2 } from "react-stately";
|
|
16599
|
-
import { trussProps as trussProps70, maybeCssVar as
|
|
16600
|
+
import { trussProps as trussProps70, maybeCssVar as maybeCssVar33 } from "@homebound/truss/runtime";
|
|
16600
16601
|
|
|
16601
16602
|
// src/inputs/internal/ComboBoxInput.tsx
|
|
16602
16603
|
import { useState as useState32 } from "react";
|
|
@@ -16666,7 +16667,7 @@ function useGrowingTextField({ inputRef, inputWrapRef, value, disabled, maxLines
|
|
|
16666
16667
|
import React14, { useCallback as useCallback18, useContext as useContext20, useEffect as useEffect21, useMemo as useMemo26, useRef as useRef38, useState as useState31 } from "react";
|
|
16667
16668
|
import { useButton as useButton7, useComboBox, useFilter as useFilter2, useOverlayPosition as useOverlayPosition3 } from "react-aria";
|
|
16668
16669
|
import { Item as Item3, useComboBoxState } from "react-stately";
|
|
16669
|
-
import { trussProps as trussProps68, maybeCssVar as
|
|
16670
|
+
import { trussProps as trussProps68, maybeCssVar as maybeCssVar32 } from "@homebound/truss/runtime";
|
|
16670
16671
|
|
|
16671
16672
|
// src/inputs/internal/ListBox.tsx
|
|
16672
16673
|
import { useEffect as useEffect20, useRef as useRef37, useState as useState30 } from "react";
|
|
@@ -16834,7 +16835,7 @@ function defaultOptionLabel(opt) {
|
|
|
16834
16835
|
}
|
|
16835
16836
|
|
|
16836
16837
|
// src/inputs/ChipSelectField.tsx
|
|
16837
|
-
import { trussProps as trussProps62
|
|
16838
|
+
import { trussProps as trussProps62 } from "@homebound/truss/runtime";
|
|
16838
16839
|
import { Fragment as Fragment27, jsx as jsx96, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
16839
16840
|
function ChipSelectField(props) {
|
|
16840
16841
|
const firstRender = useRef33(true);
|
|
@@ -17041,7 +17042,7 @@ function ChipSelectField(props) {
|
|
|
17041
17042
|
outline: "outline0",
|
|
17042
17043
|
...showClearButton ? {
|
|
17043
17044
|
paddingRight: "pr_4px",
|
|
17044
|
-
borderRadius: "
|
|
17045
|
+
borderRadius: "bra_16px_0_0_16px"
|
|
17045
17046
|
} : {}
|
|
17046
17047
|
},
|
|
17047
17048
|
...isDisabled ? chipDisabledStyles : chipHoverOnlyStyles
|
|
@@ -17049,14 +17050,12 @@ function ChipSelectField(props) {
|
|
|
17049
17050
|
showClearButton && /* @__PURE__ */ jsx96("button", { ...clearFocusProps, ...trussProps62({
|
|
17050
17051
|
...{
|
|
17051
17052
|
paddingRight: "pr_4px",
|
|
17052
|
-
borderRadius: "
|
|
17053
|
+
borderRadius: "bra_0_16px_16px_0",
|
|
17053
17054
|
outline: "outline0"
|
|
17054
17055
|
},
|
|
17055
17056
|
...chipHoverOnlyStyles,
|
|
17056
17057
|
...isClearFocused ? {
|
|
17057
|
-
boxShadow:
|
|
17058
|
-
"--boxShadow": maybeCssVar33(`0px 0px 0px 2px rgba(3,105,161,1)`)
|
|
17059
|
-
}]
|
|
17058
|
+
boxShadow: "bxs_0px_0px_0px_2px_rgba_3_105_161_1"
|
|
17060
17059
|
} : {}
|
|
17061
17060
|
}), onClick: () => {
|
|
17062
17061
|
onSelect(void 0, void 0);
|
|
@@ -17092,7 +17091,7 @@ function CreateNewField(props) {
|
|
|
17092
17091
|
}
|
|
17093
17092
|
|
|
17094
17093
|
// src/inputs/internal/Option.tsx
|
|
17095
|
-
import { trussProps as trussProps63
|
|
17094
|
+
import { trussProps as trussProps63 } from "@homebound/truss/runtime";
|
|
17096
17095
|
import { jsx as jsx97, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
17097
17096
|
function Option(props) {
|
|
17098
17097
|
const {
|
|
@@ -17124,9 +17123,7 @@ function Option(props) {
|
|
|
17124
17123
|
}]
|
|
17125
17124
|
},
|
|
17126
17125
|
focus: {
|
|
17127
|
-
boxShadow:
|
|
17128
|
-
"--boxShadow": maybeCssVar34(`inset 0 0 0 1px var(${"--b-focus-ring-inset" /* FocusRingInset */})`)
|
|
17129
|
-
}]
|
|
17126
|
+
boxShadow: "bxs_inset_0_0_0_1px_var_b_focus_ring_inset"
|
|
17130
17127
|
}
|
|
17131
17128
|
};
|
|
17132
17129
|
const {
|
|
@@ -17192,31 +17189,26 @@ function LoadingDots() {
|
|
|
17192
17189
|
borderRadius: "br4",
|
|
17193
17190
|
backgroundColor: ["bgColor_var", {
|
|
17194
17191
|
"--backgroundColor": "var(--b-loader-fill)"
|
|
17195
|
-
}]
|
|
17196
|
-
animationName: "animationName_loadingDots",
|
|
17197
|
-
animationDuration: "animationDuration_800ms",
|
|
17198
|
-
animationIterationCount: "animationIterationCount_infinite",
|
|
17199
|
-
animationTimingFunction: "animationTimingFunction_linear",
|
|
17200
|
-
animationDirection: "animationDirection_alternate"
|
|
17192
|
+
}]
|
|
17201
17193
|
};
|
|
17202
17194
|
const tid = useTestIds({});
|
|
17203
|
-
return /* @__PURE__ */ jsx98("div", { className: "pt2 pb2 df jcc", ...tid.loadingDots, children: /* @__PURE__ */ jsxs62("div", { "aria-label": "Loading", className: "df
|
|
17195
|
+
return /* @__PURE__ */ jsx98("div", { className: "pt2 pb2 df jcc", ...tid.loadingDots, children: /* @__PURE__ */ jsxs62("div", { "aria-label": "Loading", className: "df g_4px", children: [
|
|
17204
17196
|
/* @__PURE__ */ jsx98("div", { ...trussProps64({
|
|
17205
17197
|
...dotCss,
|
|
17206
17198
|
...{
|
|
17207
|
-
|
|
17199
|
+
animation: "anim_loadingDots_800ms_linear_0ms_infinite_alternate"
|
|
17208
17200
|
}
|
|
17209
17201
|
}) }),
|
|
17210
17202
|
/* @__PURE__ */ jsx98("div", { ...trussProps64({
|
|
17211
17203
|
...dotCss,
|
|
17212
17204
|
...{
|
|
17213
|
-
|
|
17205
|
+
animation: "anim_loadingDots_800ms_linear_300ms_infinite_alternate"
|
|
17214
17206
|
}
|
|
17215
17207
|
}) }),
|
|
17216
17208
|
/* @__PURE__ */ jsx98("div", { ...trussProps64({
|
|
17217
17209
|
...dotCss,
|
|
17218
17210
|
...{
|
|
17219
|
-
|
|
17211
|
+
animation: "anim_loadingDots_800ms_linear_600ms_infinite_alternate"
|
|
17220
17212
|
}
|
|
17221
17213
|
}) })
|
|
17222
17214
|
] }) });
|
|
@@ -17225,7 +17217,7 @@ function LoadingDots() {
|
|
|
17225
17217
|
// src/inputs/TreeSelectField/TreeOption.tsx
|
|
17226
17218
|
import { useRef as useRef35 } from "react";
|
|
17227
17219
|
import { useHover as useHover12, useOption as useOption2 } from "react-aria";
|
|
17228
|
-
import { trussProps as trussProps65
|
|
17220
|
+
import { trussProps as trussProps65 } from "@homebound/truss/runtime";
|
|
17229
17221
|
import { jsx as jsx99, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
17230
17222
|
function TreeOption(props) {
|
|
17231
17223
|
const {
|
|
@@ -17283,9 +17275,7 @@ function TreeOption(props) {
|
|
|
17283
17275
|
}]
|
|
17284
17276
|
},
|
|
17285
17277
|
focus: {
|
|
17286
|
-
boxShadow:
|
|
17287
|
-
"--boxShadow": maybeCssVar35(`inset 0 0 0 1px var(${"--b-focus-ring-inset" /* FocusRingInset */})`)
|
|
17288
|
-
}]
|
|
17278
|
+
boxShadow: "bxs_inset_0_0_0_1px_var_b_focus_ring_inset"
|
|
17289
17279
|
}
|
|
17290
17280
|
};
|
|
17291
17281
|
return maybeTooltip({
|
|
@@ -18021,7 +18011,7 @@ function TreeSelectFieldBase(props) {
|
|
|
18021
18011
|
flexDirection: "fdc",
|
|
18022
18012
|
width: "w100",
|
|
18023
18013
|
maxWidth: ["maxw_var", {
|
|
18024
|
-
"--maxWidth":
|
|
18014
|
+
"--maxWidth": maybeCssVar32(fieldMaxWidth)
|
|
18025
18015
|
}],
|
|
18026
18016
|
...labelStyle === "left" ? {
|
|
18027
18017
|
maxWidth: "maxw100"
|
|
@@ -18502,7 +18492,7 @@ function ComboBoxBase(props) {
|
|
|
18502
18492
|
flexDirection: "fdc",
|
|
18503
18493
|
width: "w100",
|
|
18504
18494
|
maxWidth: ["maxw_var", {
|
|
18505
|
-
"--maxWidth":
|
|
18495
|
+
"--maxWidth": maybeCssVar33(fieldMaxWidth)
|
|
18506
18496
|
}],
|
|
18507
18497
|
...labelStyle === "left" ? {
|
|
18508
18498
|
maxWidth: "maxw100"
|
|
@@ -18792,7 +18782,7 @@ function ContentHeader(props) {
|
|
|
18792
18782
|
...{
|
|
18793
18783
|
display: "df",
|
|
18794
18784
|
flexDirection: "fdc",
|
|
18795
|
-
gap: "
|
|
18785
|
+
gap: "g_12px",
|
|
18796
18786
|
width: "w_min_100_calc_calc_var_beam_layout_viewport_width_100vw_var_beam_side_nav_layout_width_0px_2_var_beam_layout_content_padding_x_0px",
|
|
18797
18787
|
left: "l_calc_var_beam_side_nav_layout_width_0px_var_beam_layout_content_padding_x_0px",
|
|
18798
18788
|
position: "sticky",
|
|
@@ -18844,7 +18834,7 @@ var headingByLevel = {
|
|
|
18844
18834
|
};
|
|
18845
18835
|
|
|
18846
18836
|
// src/components/InlineFeedbackBanner.tsx
|
|
18847
|
-
import { trussProps as trussProps73, maybeCssVar as
|
|
18837
|
+
import { trussProps as trussProps73, maybeCssVar as maybeCssVar34 } from "@homebound/truss/runtime";
|
|
18848
18838
|
import { jsx as jsx111, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
18849
18839
|
function InlineFeedbackBanner(props) {
|
|
18850
18840
|
const {
|
|
@@ -18889,7 +18879,7 @@ function InlineFeedbackBanner(props) {
|
|
|
18889
18879
|
borderStyle: "bss",
|
|
18890
18880
|
borderWidth: "bw1",
|
|
18891
18881
|
borderColor: ["bc_var", {
|
|
18892
|
-
"--borderColor":
|
|
18882
|
+
"--borderColor": maybeCssVar34(borderColor)
|
|
18893
18883
|
}],
|
|
18894
18884
|
boxShadow: "bshBasic"
|
|
18895
18885
|
}), ...tid, children: [
|
|
@@ -18902,7 +18892,7 @@ function InlineFeedbackBanner(props) {
|
|
|
18902
18892
|
"--color": "var(--b-on-surface)"
|
|
18903
18893
|
}]
|
|
18904
18894
|
}), ...tid.description, children: description }),
|
|
18905
|
-
actions.length > 0 && /* @__PURE__ */ jsx111("div", { className: "df aic
|
|
18895
|
+
actions.length > 0 && /* @__PURE__ */ jsx111("div", { className: "df aic g_1_5 fs0", children: actions.map((action) => "kind" in action ? /* @__PURE__ */ jsx111(ButtonMenu, { trigger: {
|
|
18906
18896
|
label: action.label,
|
|
18907
18897
|
variant: "text"
|
|
18908
18898
|
}, items: action.items, disabled: action.disabled, tooltip: action.tooltip }, action.label) : /* @__PURE__ */ jsx111(Button, { ...action, variant: "text" }, `${action.label}`)) })
|
|
@@ -18993,7 +18983,7 @@ var jumpLinkStyles = {
|
|
|
18993
18983
|
"--color": "var(--b-text-link-default)"
|
|
18994
18984
|
}],
|
|
18995
18985
|
borderLeftStyle: "bls_solid",
|
|
18996
|
-
borderLeftWidth: "
|
|
18986
|
+
borderLeftWidth: "blw_3px",
|
|
18997
18987
|
borderColor: "bcTransparent"
|
|
18998
18988
|
},
|
|
18999
18989
|
activeStyles: {
|
|
@@ -19032,7 +19022,7 @@ import { useButton as useButton10, useFocusRing as useFocusRing14 } from "react-
|
|
|
19032
19022
|
import { useCallback as useCallback23, useMemo as useMemo37 } from "react";
|
|
19033
19023
|
|
|
19034
19024
|
// src/components/LoadingSkeleton.tsx
|
|
19035
|
-
import { trussProps as trussProps75, maybeCssVar as
|
|
19025
|
+
import { trussProps as trussProps75, maybeCssVar as maybeCssVar35 } from "@homebound/truss/runtime";
|
|
19036
19026
|
import { jsx as jsx113 } from "react/jsx-runtime";
|
|
19037
19027
|
function LoadingSkeleton({
|
|
19038
19028
|
rows = 1,
|
|
@@ -19047,9 +19037,9 @@ function LoadingSkeleton({
|
|
|
19047
19037
|
const flexGrowForCell = randomizeWidths ? getRandomizedFlexBasisByRowIndex(rowNumber) : 1;
|
|
19048
19038
|
return cellArray.map((_, i) => /* @__PURE__ */ jsx113("div", { ...trussProps75({
|
|
19049
19039
|
borderRadius: "br4",
|
|
19050
|
-
animation: "
|
|
19040
|
+
animation: "anim_pulse_2s_cubic_bezier_0_4_0_0_6_1_infinite",
|
|
19051
19041
|
flexGrow: ["flexGrow_var", {
|
|
19052
|
-
"--flexGrow":
|
|
19042
|
+
"--flexGrow": maybeCssVar35(flexGrowForCell)
|
|
19053
19043
|
}],
|
|
19054
19044
|
backgroundColor: ["bgColor_var", {
|
|
19055
19045
|
"--backgroundColor": "var(--b-loader-fill)"
|
|
@@ -19130,7 +19120,7 @@ import { Observer as Observer2 } from "mobx-react";
|
|
|
19130
19120
|
import { useRef as useRef41 } from "react";
|
|
19131
19121
|
import { useCheckboxGroup, useCheckboxGroupItem } from "react-aria";
|
|
19132
19122
|
import { useCheckboxGroupState } from "react-stately";
|
|
19133
|
-
import { trussProps as trussProps77, maybeCssVar as
|
|
19123
|
+
import { trussProps as trussProps77, maybeCssVar as maybeCssVar36 } from "@homebound/truss/runtime";
|
|
19134
19124
|
|
|
19135
19125
|
// src/inputs/internal/LabeledGroupField.tsx
|
|
19136
19126
|
import { trussProps as trussProps76 } from "@homebound/truss/runtime";
|
|
@@ -19201,7 +19191,7 @@ function CheckboxGroup(props) {
|
|
|
19201
19191
|
return /* @__PURE__ */ jsx116(LabeledGroupField, { label, labelStyle, labelProps, groupProps, errorMsg, helperText, labelSuffix, onBlur, onFocus, tid, children: /* @__PURE__ */ jsx116("div", { ...trussProps77({
|
|
19202
19192
|
display: "dg",
|
|
19203
19193
|
gridTemplateColumns: ["gtc_var", {
|
|
19204
|
-
"--gridTemplateColumns":
|
|
19194
|
+
"--gridTemplateColumns": maybeCssVar36(`repeat(${columns}, auto)`)
|
|
19205
19195
|
}],
|
|
19206
19196
|
gap: "gap2"
|
|
19207
19197
|
}), children: options.map((option) => /* @__PURE__ */ jsx116(CheckboxGroupItem, { ...option, groupState: state, selected: state.value.includes(option.value) }, option.value)) }) });
|
|
@@ -20011,7 +20001,7 @@ function SelectCardShell(props) {
|
|
|
20011
20001
|
textAlign: "tac"
|
|
20012
20002
|
} : {
|
|
20013
20003
|
alignItems: "aifs",
|
|
20014
|
-
gap: "
|
|
20004
|
+
gap: "g_4px",
|
|
20015
20005
|
paddingTop: "pt2",
|
|
20016
20006
|
paddingBottom: "pb2",
|
|
20017
20007
|
paddingRight: "pr2",
|
|
@@ -20097,7 +20087,7 @@ function GridSelectCard(props) {
|
|
|
20097
20087
|
opacity: "o50"
|
|
20098
20088
|
} : {}
|
|
20099
20089
|
}), ...tid.img }) : icon && /* @__PURE__ */ jsx130(Icon, { icon, inc: 4, color: isDisabled ? "--b-on-surface-disabled" /* OnSurfaceDisabled */ : "--b-on-surface" /* OnSurface */ }),
|
|
20100
|
-
/* @__PURE__ */ jsxs75("span", { className: "df fdc
|
|
20090
|
+
/* @__PURE__ */ jsxs75("span", { className: "df fdc g_4px w100", children: [
|
|
20101
20091
|
tag && /* @__PURE__ */ jsx130("span", { ...trussProps82({
|
|
20102
20092
|
display: "df",
|
|
20103
20093
|
...layout !== "horizontal" ? {
|
|
@@ -20139,11 +20129,11 @@ import { useHover as useHover15 } from "react-aria";
|
|
|
20139
20129
|
import { trussProps as trussProps83 } from "@homebound/truss/runtime";
|
|
20140
20130
|
|
|
20141
20131
|
// src/inputs/internal/radioStyles.ts
|
|
20142
|
-
import { maybeCssVar as
|
|
20132
|
+
import { maybeCssVar as maybeCssVar37 } from "@homebound/truss/runtime";
|
|
20143
20133
|
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";
|
|
20144
20134
|
var radioReset = {
|
|
20145
20135
|
...{
|
|
20146
|
-
appearance: "
|
|
20136
|
+
appearance: "app_none",
|
|
20147
20137
|
paddingTop: "pt0",
|
|
20148
20138
|
paddingBottom: "pb0",
|
|
20149
20139
|
paddingRight: "pr0",
|
|
@@ -20157,7 +20147,7 @@ var radioReset = {
|
|
|
20157
20147
|
borderRadius: "br100"
|
|
20158
20148
|
},
|
|
20159
20149
|
...{
|
|
20160
|
-
outline: "
|
|
20150
|
+
outline: "ol_0px_solid_transparent"
|
|
20161
20151
|
}
|
|
20162
20152
|
};
|
|
20163
20153
|
var radioDefault = {
|
|
@@ -20188,24 +20178,24 @@ var radioUnchecked = {
|
|
|
20188
20178
|
};
|
|
20189
20179
|
var radioChecked = {
|
|
20190
20180
|
...{
|
|
20191
|
-
backgroundColor: "
|
|
20192
|
-
backgroundSize: "
|
|
20193
|
-
backgroundPosition: "
|
|
20194
|
-
backgroundRepeat: "
|
|
20181
|
+
backgroundColor: "bgc_currentColor",
|
|
20182
|
+
backgroundSize: "bgs_100_100",
|
|
20183
|
+
backgroundPosition: "bgp_center",
|
|
20184
|
+
backgroundRepeat: "bgr_no_repeat"
|
|
20195
20185
|
},
|
|
20196
20186
|
...{
|
|
20197
20187
|
backgroundImage: ["backgroundImage_var", {
|
|
20198
|
-
"--backgroundImage":
|
|
20188
|
+
"--backgroundImage": maybeCssVar37(`url("${whiteCircle}")`)
|
|
20199
20189
|
}]
|
|
20200
20190
|
},
|
|
20201
20191
|
...{
|
|
20202
|
-
borderColor: "
|
|
20192
|
+
borderColor: "bdc_currentColor"
|
|
20203
20193
|
}
|
|
20204
20194
|
};
|
|
20205
20195
|
var radioFocus = {
|
|
20206
20196
|
...{
|
|
20207
|
-
outline: "
|
|
20208
|
-
outlineOffset: "
|
|
20197
|
+
outline: "ol_2px_solid_transparent",
|
|
20198
|
+
outlineOffset: "olo_2px"
|
|
20209
20199
|
},
|
|
20210
20200
|
...{
|
|
20211
20201
|
boxShadow: "bshFocus"
|
|
@@ -20223,10 +20213,10 @@ var radioDisabled = {
|
|
|
20223
20213
|
}]
|
|
20224
20214
|
},
|
|
20225
20215
|
...{
|
|
20226
|
-
backgroundColor: "
|
|
20227
|
-
backgroundSize: "
|
|
20228
|
-
backgroundPosition: "
|
|
20229
|
-
backgroundRepeat: "
|
|
20216
|
+
backgroundColor: "bgc_currentColor",
|
|
20217
|
+
backgroundSize: "bgs_100_100",
|
|
20218
|
+
backgroundPosition: "bgp_center",
|
|
20219
|
+
backgroundRepeat: "bgr_no_repeat"
|
|
20230
20220
|
}
|
|
20231
20221
|
};
|
|
20232
20222
|
var radioDisabledSelected = {
|
|
@@ -20373,7 +20363,7 @@ function SelectCardCheckboxGroupItem(props) {
|
|
|
20373
20363
|
}
|
|
20374
20364
|
|
|
20375
20365
|
// src/inputs/SelectCard/utils.ts
|
|
20376
|
-
import { maybeCssVar as
|
|
20366
|
+
import { maybeCssVar as maybeCssVar38 } from "@homebound/truss/runtime";
|
|
20377
20367
|
function getNextSelectCardGroupValues({
|
|
20378
20368
|
currentValues,
|
|
20379
20369
|
clickedValue,
|
|
@@ -20412,7 +20402,7 @@ function getSelectCardOptionsCss({
|
|
|
20412
20402
|
return {
|
|
20413
20403
|
display: "dg",
|
|
20414
20404
|
gridTemplateColumns: ["gtc_var", {
|
|
20415
|
-
"--gridTemplateColumns":
|
|
20405
|
+
"--gridTemplateColumns": maybeCssVar38(`repeat(auto-fill, minmax(${cardWidth}px, 1fr))`)
|
|
20416
20406
|
}],
|
|
20417
20407
|
gap: "gap2"
|
|
20418
20408
|
};
|
|
@@ -20497,7 +20487,7 @@ import { Observer as Observer8 } from "mobx-react";
|
|
|
20497
20487
|
import { useMemo as useMemo32 } from "react";
|
|
20498
20488
|
|
|
20499
20489
|
// src/forms/SelectedOptionPill.tsx
|
|
20500
|
-
import { trussProps as trussProps86, maybeCssVar as
|
|
20490
|
+
import { trussProps as trussProps86, maybeCssVar as maybeCssVar39 } from "@homebound/truss/runtime";
|
|
20501
20491
|
import { jsx as jsx136, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
20502
20492
|
function SelectedOptionPill(props) {
|
|
20503
20493
|
const {
|
|
@@ -20520,7 +20510,7 @@ function SelectedOptionPill(props) {
|
|
|
20520
20510
|
paddingRight: "pr2",
|
|
20521
20511
|
paddingTop: "pt1",
|
|
20522
20512
|
paddingBottom: "pb1",
|
|
20523
|
-
borderRadius: "
|
|
20513
|
+
borderRadius: "bra_999px",
|
|
20524
20514
|
borderStyle: "bss",
|
|
20525
20515
|
borderWidth: "bw1",
|
|
20526
20516
|
borderColor: "bcGray300"
|
|
@@ -20528,7 +20518,7 @@ function SelectedOptionPill(props) {
|
|
|
20528
20518
|
...aiMode ? {
|
|
20529
20519
|
backgroundImage: "aiBackground",
|
|
20530
20520
|
color: ["color_var", {
|
|
20531
|
-
"--color":
|
|
20521
|
+
"--color": maybeCssVar39("rgba(91, 33, 182, 1)" /* Purple800 */)
|
|
20532
20522
|
}]
|
|
20533
20523
|
} : {
|
|
20534
20524
|
backgroundColor: "bgWhite",
|
|
@@ -21014,7 +21004,7 @@ function Radio(props) {
|
|
|
21014
21004
|
display: "df",
|
|
21015
21005
|
cursor: "cursorPointer",
|
|
21016
21006
|
...disabled ? {
|
|
21017
|
-
cursor: "
|
|
21007
|
+
cursor: "cur_initial"
|
|
21018
21008
|
} : {}
|
|
21019
21009
|
}), ...hoverProps, children: [
|
|
21020
21010
|
/* @__PURE__ */ jsx142(
|
|
@@ -21529,7 +21519,7 @@ import { Observer as Observer14 } from "mobx-react";
|
|
|
21529
21519
|
// src/inputs/Switch.tsx
|
|
21530
21520
|
import { useRef as useRef48 } from "react";
|
|
21531
21521
|
import { useFocusRing as useFocusRing12, useHover as useHover17, useSwitch, VisuallyHidden as VisuallyHidden7 } from "react-aria";
|
|
21532
|
-
import { trussProps as trussProps90, maybeCssVar as
|
|
21522
|
+
import { trussProps as trussProps90, maybeCssVar as maybeCssVar40 } from "@homebound/truss/runtime";
|
|
21533
21523
|
import { jsx as jsx151, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
21534
21524
|
var __maybeInc15 = (inc) => {
|
|
21535
21525
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -21636,7 +21626,7 @@ function Switch(props) {
|
|
|
21636
21626
|
/* @__PURE__ */ jsx151("div", { ...trussProps90({
|
|
21637
21627
|
...labelStyle === "left" ? {
|
|
21638
21628
|
width: ["w_var", {
|
|
21639
|
-
"--width":
|
|
21629
|
+
"--width": maybeCssVar40(__maybeInc15(labelLeftFieldWidth))
|
|
21640
21630
|
}]
|
|
21641
21631
|
} : {}
|
|
21642
21632
|
}), children: /* @__PURE__ */ jsx151("div", { "aria-hidden": "true", ...trussProps90({
|
|
@@ -21681,10 +21671,10 @@ function Switch(props) {
|
|
|
21681
21671
|
fontSize: "fz_14px",
|
|
21682
21672
|
lineHeight: "lh_20px",
|
|
21683
21673
|
color: ["color_var", {
|
|
21684
|
-
"--color":
|
|
21674
|
+
"--color": maybeCssVar40(isDisabled ? "--b-text-disabled" /* TextDisabled */ : "--b-on-surface" /* OnSurface */)
|
|
21685
21675
|
}],
|
|
21686
21676
|
...compact ? {
|
|
21687
|
-
lineHeight: "
|
|
21677
|
+
lineHeight: "lh_1"
|
|
21688
21678
|
} : {}
|
|
21689
21679
|
} }),
|
|
21690
21680
|
/* @__PURE__ */ jsx151(VisuallyHidden7, { children: /* @__PURE__ */ jsx151("input", { ref, ...inputProps, ...focusProps, ...tid }) })
|
|
@@ -21719,8 +21709,8 @@ function switchCircleDefaultStyles(isCompact) {
|
|
|
21719
21709
|
}],
|
|
21720
21710
|
boxShadow: "bshBasic",
|
|
21721
21711
|
position: "absolute",
|
|
21722
|
-
left: "
|
|
21723
|
-
top: "
|
|
21712
|
+
left: "l_2px",
|
|
21713
|
+
top: "tp_2px",
|
|
21724
21714
|
transition: "transition",
|
|
21725
21715
|
display: "df",
|
|
21726
21716
|
alignItems: "aic",
|
|
@@ -21731,7 +21721,7 @@ function switchCircleDefaultStyles(isCompact) {
|
|
|
21731
21721
|
function switchCircleSelectedStyles(isCompact) {
|
|
21732
21722
|
return {
|
|
21733
21723
|
left: ["left_var", {
|
|
21734
|
-
"--left":
|
|
21724
|
+
"--left": maybeCssVar40(__maybeInc15(`calc(100% - ${circleDiameter(isCompact)}px - 2px)`))
|
|
21735
21725
|
}]
|
|
21736
21726
|
};
|
|
21737
21727
|
}
|
|
@@ -21987,7 +21977,7 @@ import { Observer as Observer17 } from "mobx-react";
|
|
|
21987
21977
|
import { useRef as useRef51 } from "react";
|
|
21988
21978
|
import { useCheckboxGroup as useCheckboxGroup3, useCheckboxGroupItem as useCheckboxGroupItem3, useFocusRing as useFocusRing13, VisuallyHidden as VisuallyHidden8 } from "react-aria";
|
|
21989
21979
|
import { useCheckboxGroupState as useCheckboxGroupState3 } from "react-stately";
|
|
21990
|
-
import { trussProps as trussProps91, maybeCssVar as
|
|
21980
|
+
import { trussProps as trussProps91, maybeCssVar as maybeCssVar41 } from "@homebound/truss/runtime";
|
|
21991
21981
|
import { jsx as jsx157, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
21992
21982
|
var __maybeInc16 = (inc) => {
|
|
21993
21983
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -22037,7 +22027,7 @@ function ToggleChipGroup(props) {
|
|
|
22037
22027
|
flexWrap: "fww",
|
|
22038
22028
|
...labelStyle === "left" ? {
|
|
22039
22029
|
width: ["w_var", {
|
|
22040
|
-
"--width":
|
|
22030
|
+
"--width": maybeCssVar41(__maybeInc16(labelLeftFieldWidth))
|
|
22041
22031
|
}]
|
|
22042
22032
|
} : {}
|
|
22043
22033
|
}), children: options.map((o) => /* @__PURE__ */ jsx157(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)) })
|
|
@@ -22073,15 +22063,15 @@ function ToggleChip2(props) {
|
|
|
22073
22063
|
const tooltip = resolveTooltip(disabled);
|
|
22074
22064
|
const chipStateCss = isSelected ? {
|
|
22075
22065
|
color: ["color_var", {
|
|
22076
|
-
"--color":
|
|
22066
|
+
"--color": maybeCssVar41(xss?.color ?? "rgba(255, 255, 255, 1)" /* White */)
|
|
22077
22067
|
}],
|
|
22078
22068
|
backgroundColor: ["bgColor_var", {
|
|
22079
|
-
"--backgroundColor":
|
|
22069
|
+
"--backgroundColor": maybeCssVar41(xss?.backgroundColor ?? "rgba(29, 78, 216, 1)" /* Blue700 */)
|
|
22080
22070
|
}],
|
|
22081
22071
|
...!isDisabled ? {
|
|
22082
22072
|
backgroundColor: ["bgColor_var h_bgColor_var", {
|
|
22083
|
-
"--backgroundColor":
|
|
22084
|
-
"--h_backgroundColor":
|
|
22073
|
+
"--backgroundColor": maybeCssVar41(xss?.backgroundColor ?? "rgba(29, 78, 216, 1)" /* Blue700 */),
|
|
22074
|
+
"--h_backgroundColor": maybeCssVar41(xss?.backgroundColor ?? "rgba(30, 64, 175, 1)" /* Blue800 */)
|
|
22085
22075
|
}]
|
|
22086
22076
|
} : {}
|
|
22087
22077
|
} : isDisabled ? {
|
|
@@ -22192,7 +22182,7 @@ function BoundTreeSelectField(props) {
|
|
|
22192
22182
|
|
|
22193
22183
|
// src/forms/FormLines.tsx
|
|
22194
22184
|
import { Children as Children2, cloneElement } from "react";
|
|
22195
|
-
import { trussProps as trussProps92, maybeCssVar as
|
|
22185
|
+
import { trussProps as trussProps92, maybeCssVar as maybeCssVar42 } from "@homebound/truss/runtime";
|
|
22196
22186
|
import { jsx as jsx160 } from "react/jsx-runtime";
|
|
22197
22187
|
var __maybeInc17 = (inc) => {
|
|
22198
22188
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -22232,13 +22222,13 @@ function FormLines(props) {
|
|
|
22232
22222
|
display: "df",
|
|
22233
22223
|
flexDirection: "fdc",
|
|
22234
22224
|
gap: ["gap_var", {
|
|
22235
|
-
"--gap":
|
|
22225
|
+
"--gap": maybeCssVar42(__maybeInc17(gap))
|
|
22236
22226
|
}],
|
|
22237
22227
|
paddingBottom: ["pb_var", {
|
|
22238
|
-
"--paddingBottom":
|
|
22228
|
+
"--paddingBottom": maybeCssVar42(__maybeInc17(gap))
|
|
22239
22229
|
}],
|
|
22240
22230
|
width: ["w_var", {
|
|
22241
|
-
"--width":
|
|
22231
|
+
"--width": maybeCssVar42(__maybeInc17(sizes[width2]))
|
|
22242
22232
|
}]
|
|
22243
22233
|
}), children: Children2.map(children, (child) => {
|
|
22244
22234
|
if (child && typeof child === "object" && "type" in child && child.type.isFormHeading) {
|
|
@@ -22273,7 +22263,7 @@ function FieldGroup(props) {
|
|
|
22273
22263
|
display: "dg",
|
|
22274
22264
|
gap: "gap2",
|
|
22275
22265
|
gridTemplateColumns: ["gtc_var", {
|
|
22276
|
-
"--gridTemplateColumns":
|
|
22266
|
+
"--gridTemplateColumns": maybeCssVar42(gtc)
|
|
22277
22267
|
}]
|
|
22278
22268
|
}), children });
|
|
22279
22269
|
}
|
|
@@ -22285,7 +22275,7 @@ var sizes = {
|
|
|
22285
22275
|
};
|
|
22286
22276
|
|
|
22287
22277
|
// src/forms/BoundForm.tsx
|
|
22288
|
-
import { trussProps as trussProps93, maybeCssVar as
|
|
22278
|
+
import { trussProps as trussProps93, maybeCssVar as maybeCssVar43 } from "@homebound/truss/runtime";
|
|
22289
22279
|
import { jsx as jsx161 } from "react/jsx-runtime";
|
|
22290
22280
|
import { createElement as createElement5 } from "react";
|
|
22291
22281
|
var reactNodePrefix = "reactNode";
|
|
@@ -22342,10 +22332,10 @@ function FormRow({
|
|
|
22342
22332
|
minWidth
|
|
22343
22333
|
}) => /* @__PURE__ */ createElement5("div", { ...trussProps93({
|
|
22344
22334
|
minWidth: ["mw_var", {
|
|
22345
|
-
"--minWidth":
|
|
22335
|
+
"--minWidth": maybeCssVar43(minWidth)
|
|
22346
22336
|
}],
|
|
22347
22337
|
flexBasis: ["fb_var", {
|
|
22348
|
-
"--flexBasis":
|
|
22338
|
+
"--flexBasis": maybeCssVar43(`${itemFlexBasis}%`)
|
|
22349
22339
|
}],
|
|
22350
22340
|
flexGrow: "fg1"
|
|
22351
22341
|
}), key: key.toString() }, isLoading ? /* @__PURE__ */ jsx161(LoadingSkeleton, { size: "lg" }) : component)) });
|
|
@@ -22490,7 +22480,7 @@ import { useDebouncedCallback as useDebouncedCallback5 } from "use-debounce";
|
|
|
22490
22480
|
// src/components/RightSidebar.tsx
|
|
22491
22481
|
import { AnimatePresence as AnimatePresence2, motion as motion2 } from "framer-motion";
|
|
22492
22482
|
import { useState as useState40 } from "react";
|
|
22493
|
-
import { trussProps as trussProps94, maybeCssVar as
|
|
22483
|
+
import { trussProps as trussProps94, maybeCssVar as maybeCssVar44 } from "@homebound/truss/runtime";
|
|
22494
22484
|
import { Fragment as Fragment33, jsx as jsx163, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
22495
22485
|
var __maybeInc18 = (inc) => {
|
|
22496
22486
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -22536,11 +22526,11 @@ function RightSidebar({
|
|
|
22536
22526
|
}, ...trussProps94({
|
|
22537
22527
|
width: "w100",
|
|
22538
22528
|
minWidth: ["mw_var", {
|
|
22539
|
-
"--minWidth":
|
|
22529
|
+
"--minWidth": maybeCssVar44(RIGHT_SIDEBAR_MIN_WIDTH)
|
|
22540
22530
|
}],
|
|
22541
22531
|
zIndex: "z0",
|
|
22542
22532
|
height: ["h_var", {
|
|
22543
|
-
"--height":
|
|
22533
|
+
"--height": maybeCssVar44(__maybeInc18(`calc(100vh - ${headerHeightPx2}px)`))
|
|
22544
22534
|
}],
|
|
22545
22535
|
overflowY: "oya",
|
|
22546
22536
|
paddingLeft: "pl4",
|
|
@@ -22553,11 +22543,11 @@ function RightSidebar({
|
|
|
22553
22543
|
"--backgroundColor": "var(--b-surface)"
|
|
22554
22544
|
}]
|
|
22555
22545
|
}), children: [
|
|
22556
|
-
/* @__PURE__ */ jsxs83("div", { className: "absolute
|
|
22546
|
+
/* @__PURE__ */ jsxs83("div", { className: "absolute l_neg24px top0 df fdc aic", children: [
|
|
22557
22547
|
/* @__PURE__ */ jsx163(IconButton, { bgColor: "--b-surface" /* Surface */, variant: "circle", onClick: () => setSelectedIcon(void 0), icon: "x", inc: 3.5 }),
|
|
22558
22548
|
/* @__PURE__ */ jsx163("div", { ...trussProps94({
|
|
22559
22549
|
position: "absolute",
|
|
22560
|
-
top: "
|
|
22550
|
+
top: "tp_48px",
|
|
22561
22551
|
height: "h_calc_100vh_168px",
|
|
22562
22552
|
width: "w_1px",
|
|
22563
22553
|
backgroundColor: ["bgColor_var", {
|
|
@@ -22654,7 +22644,7 @@ function PageHeaderBreadcrumbs({
|
|
|
22654
22644
|
}
|
|
22655
22645
|
|
|
22656
22646
|
// src/components/Layout/FormPageLayout.tsx
|
|
22657
|
-
import { trussProps as trussProps96, maybeCssVar as
|
|
22647
|
+
import { trussProps as trussProps96, maybeCssVar as maybeCssVar45 } from "@homebound/truss/runtime";
|
|
22658
22648
|
import { jsx as jsx166, jsxs as jsxs85 } from "react/jsx-runtime";
|
|
22659
22649
|
var headerHeightPx = 120;
|
|
22660
22650
|
var maxContentWidthPx = 1600;
|
|
@@ -22684,7 +22674,7 @@ function FormPageLayoutComponent(props) {
|
|
|
22684
22674
|
left: "left0",
|
|
22685
22675
|
right: "right0",
|
|
22686
22676
|
zIndex: ["z_var", {
|
|
22687
|
-
"--zIndex":
|
|
22677
|
+
"--zIndex": maybeCssVar45(zIndices.pageOverlay)
|
|
22688
22678
|
}],
|
|
22689
22679
|
overflowY: "oya",
|
|
22690
22680
|
backgroundColor: ["bgColor_var", {
|
|
@@ -22700,7 +22690,7 @@ function FormPageLayoutComponent(props) {
|
|
|
22700
22690
|
}],
|
|
22701
22691
|
display: "dg",
|
|
22702
22692
|
gridTemplateColumns: ["gtc_var", {
|
|
22703
|
-
"--gridTemplateColumns":
|
|
22693
|
+
"--gridTemplateColumns": maybeCssVar45(gridColumns)
|
|
22704
22694
|
}],
|
|
22705
22695
|
gridTemplateRows: "gtr_auto_1fr",
|
|
22706
22696
|
columnGap: "cg3",
|
|
@@ -22743,7 +22733,7 @@ function PageHeader(props) {
|
|
|
22743
22733
|
"--backgroundColor": "var(--b-surface)"
|
|
22744
22734
|
}],
|
|
22745
22735
|
zIndex: ["z_var", {
|
|
22746
|
-
"--zIndex":
|
|
22736
|
+
"--zIndex": maybeCssVar45(zIndices.pageStickyHeader)
|
|
22747
22737
|
}],
|
|
22748
22738
|
...!notice ? {
|
|
22749
22739
|
height: ["h_var", {
|
|
@@ -22796,7 +22786,7 @@ function FormSections(props) {
|
|
|
22796
22786
|
gridTemplateRows: "gtr_auto",
|
|
22797
22787
|
marginBottom: "mb_72px",
|
|
22798
22788
|
scrollMarginTop: ["scrollMarginTop_var", {
|
|
22799
|
-
"--scrollMarginTop":
|
|
22789
|
+
"--scrollMarginTop": maybeCssVar45(`${headerHeightPx}px`)
|
|
22800
22790
|
}]
|
|
22801
22791
|
}),
|
|
22802
22792
|
...tids.formSection,
|
|
@@ -22839,9 +22829,7 @@ var activeStyles2 = {
|
|
|
22839
22829
|
fontWeight: "fw6",
|
|
22840
22830
|
fontSize: "fz_14px",
|
|
22841
22831
|
lineHeight: "lh_20px",
|
|
22842
|
-
boxShadow:
|
|
22843
|
-
"--boxShadow": maybeCssVar49(`inset 3px 0px 0 0px var(${"--b-primary" /* Primary */})`)
|
|
22844
|
-
}]
|
|
22832
|
+
boxShadow: "bxs_inset_3px_0px_0_0px_var_b_primary"
|
|
22845
22833
|
};
|
|
22846
22834
|
var hoverStyles3 = {
|
|
22847
22835
|
backgroundColor: "bgBlue50",
|
|
@@ -22849,9 +22837,7 @@ var hoverStyles3 = {
|
|
|
22849
22837
|
fontSize: "fz_14px",
|
|
22850
22838
|
lineHeight: "lh_20px",
|
|
22851
22839
|
color: "blue900",
|
|
22852
|
-
boxShadow:
|
|
22853
|
-
"--boxShadow": maybeCssVar49(`inset 3px 0px 0 0px var(${"--b-primary" /* Primary */})`)
|
|
22854
|
-
}]
|
|
22840
|
+
boxShadow: "bxs_inset_3px_0px_0_0px_var_b_primary"
|
|
22855
22841
|
};
|
|
22856
22842
|
var defaultFocusRingStyles2 = {
|
|
22857
22843
|
position: "relative",
|
|
@@ -22967,7 +22953,7 @@ function useActiveSection(sectionsWithRefs) {
|
|
|
22967
22953
|
}
|
|
22968
22954
|
|
|
22969
22955
|
// src/components/Layout/FullBleed.tsx
|
|
22970
|
-
import { mergeProps as mergeProps26, maybeCssVar as
|
|
22956
|
+
import { mergeProps as mergeProps26, maybeCssVar as maybeCssVar46 } from "@homebound/truss/runtime";
|
|
22971
22957
|
import { cloneElement as cloneElement2 } from "react";
|
|
22972
22958
|
var __maybeInc19 = (inc) => {
|
|
22973
22959
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -23000,17 +22986,17 @@ function FullBleed({
|
|
|
23000
22986
|
// inverts that padding with negative margins before re-applying it to the child.
|
|
23001
22987
|
{
|
|
23002
22988
|
marginLeft: ["ml_var", {
|
|
23003
|
-
"--marginLeft":
|
|
22989
|
+
"--marginLeft": maybeCssVar46(__maybeInc19(invertSpacing(paddingLeft)))
|
|
23004
22990
|
}],
|
|
23005
22991
|
marginRight: ["mr_var", {
|
|
23006
|
-
"--marginRight":
|
|
22992
|
+
"--marginRight": maybeCssVar46(__maybeInc19(invertSpacing(paddingRight)))
|
|
23007
22993
|
}],
|
|
23008
22994
|
...!omitPadding ? {
|
|
23009
22995
|
paddingLeft: ["pl_var", {
|
|
23010
|
-
"--paddingLeft":
|
|
22996
|
+
"--paddingLeft": maybeCssVar46(__maybeInc19(paddingLeft))
|
|
23011
22997
|
}],
|
|
23012
22998
|
paddingRight: ["pr_var", {
|
|
23013
|
-
"--paddingRight":
|
|
22999
|
+
"--paddingRight": maybeCssVar46(__maybeInc19(paddingRight))
|
|
23014
23000
|
}]
|
|
23015
23001
|
} : {}
|
|
23016
23002
|
}
|
|
@@ -23197,7 +23183,7 @@ function isGridTableProps(props) {
|
|
|
23197
23183
|
|
|
23198
23184
|
// src/components/Layout/RightPaneLayout/DocumentScrollOverlayRightPaneLayout.tsx
|
|
23199
23185
|
import { useContext as useContext22, useEffect as useEffect27, useLayoutEffect as useLayoutEffect8, useRef as useRef57, useState as useState46 } from "react";
|
|
23200
|
-
import { trussProps as trussProps97, mergeProps as mergeProps29, maybeCssVar as
|
|
23186
|
+
import { trussProps as trussProps97, mergeProps as mergeProps29, maybeCssVar as maybeCssVar48 } from "@homebound/truss/runtime";
|
|
23201
23187
|
|
|
23202
23188
|
// src/components/Layout/RightPaneLayout/DocumentScrollRightPane.tsx
|
|
23203
23189
|
import { AnimatePresence as AnimatePresence3, motion as motion3 } from "framer-motion";
|
|
@@ -23357,7 +23343,7 @@ function waitForRightPaneExit(onComplete) {
|
|
|
23357
23343
|
}
|
|
23358
23344
|
|
|
23359
23345
|
// src/components/Layout/RightPaneLayout/DocumentScrollRightPane.tsx
|
|
23360
|
-
import { mergeProps as mergeProps27, maybeCssVar as
|
|
23346
|
+
import { mergeProps as mergeProps27, maybeCssVar as maybeCssVar47 } from "@homebound/truss/runtime";
|
|
23361
23347
|
import { jsx as jsx168 } from "react/jsx-runtime";
|
|
23362
23348
|
var __maybeInc20 = (inc) => {
|
|
23363
23349
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -23428,20 +23414,20 @@ function DocumentScrollRightPane({
|
|
|
23428
23414
|
"--backgroundColor": "var(--b-surface)"
|
|
23429
23415
|
}],
|
|
23430
23416
|
zIndex: ["z_var", {
|
|
23431
|
-
"--zIndex":
|
|
23417
|
+
"--zIndex": maybeCssVar47(zIndices.rightPaneMobile)
|
|
23432
23418
|
}]
|
|
23433
23419
|
} : isFixedOverlay ? {
|
|
23434
23420
|
position: "fixed",
|
|
23435
23421
|
right: "right0",
|
|
23436
23422
|
overflowY: "oya",
|
|
23437
23423
|
width: ["w_var", {
|
|
23438
|
-
"--width":
|
|
23424
|
+
"--width": maybeCssVar47(__maybeInc20(paneWidthCss))
|
|
23439
23425
|
}],
|
|
23440
23426
|
backgroundColor: ["bgColor_var", {
|
|
23441
23427
|
"--backgroundColor": "var(--b-surface)"
|
|
23442
23428
|
}],
|
|
23443
23429
|
zIndex: ["z_var", {
|
|
23444
|
-
"--zIndex":
|
|
23430
|
+
"--zIndex": maybeCssVar47(zIndices.rightPane)
|
|
23445
23431
|
}],
|
|
23446
23432
|
borderLeftStyle: "bls_solid",
|
|
23447
23433
|
borderLeftWidth: "blw_1px",
|
|
@@ -23452,21 +23438,21 @@ function DocumentScrollRightPane({
|
|
|
23452
23438
|
position: "sticky",
|
|
23453
23439
|
transition: "transitionTop",
|
|
23454
23440
|
top: ["top_var", {
|
|
23455
|
-
"--top":
|
|
23441
|
+
"--top": maybeCssVar47(__maybeInc20(stickyTableHeaderOffset()))
|
|
23456
23442
|
}],
|
|
23457
|
-
right: "
|
|
23443
|
+
right: "r_0",
|
|
23458
23444
|
alignSelf: "asfs",
|
|
23459
23445
|
flexShrink: "fs0",
|
|
23460
23446
|
flexGrow: "fg0",
|
|
23461
23447
|
overflowY: "oya",
|
|
23462
23448
|
width: ["w_var", {
|
|
23463
|
-
"--width":
|
|
23449
|
+
"--width": maybeCssVar47(__maybeInc20(paneWidthCss))
|
|
23464
23450
|
}],
|
|
23465
23451
|
backgroundColor: ["bgColor_var", {
|
|
23466
23452
|
"--backgroundColor": "var(--b-surface)"
|
|
23467
23453
|
}],
|
|
23468
23454
|
zIndex: ["z_var", {
|
|
23469
|
-
"--zIndex":
|
|
23455
|
+
"--zIndex": maybeCssVar47(zIndices.rightPane)
|
|
23470
23456
|
}],
|
|
23471
23457
|
borderLeftStyle: "bls_solid",
|
|
23472
23458
|
borderLeftWidth: "blw_1px",
|
|
@@ -23474,11 +23460,11 @@ function DocumentScrollRightPane({
|
|
|
23474
23460
|
"--borderColor": "var(--b-surface-separator)"
|
|
23475
23461
|
}],
|
|
23476
23462
|
maxHeight: ["maxh_var", {
|
|
23477
|
-
"--maxHeight":
|
|
23463
|
+
"--maxHeight": maybeCssVar47(documentScrollRightPaneHeight())
|
|
23478
23464
|
}],
|
|
23479
23465
|
...behavior === "clear" ? {
|
|
23480
23466
|
marginLeft: ["ml_var", {
|
|
23481
|
-
"--marginLeft":
|
|
23467
|
+
"--marginLeft": maybeCssVar47(__maybeInc20(`calc(-1 * ${paneWidthCss})`))
|
|
23482
23468
|
}]
|
|
23483
23469
|
} : {}
|
|
23484
23470
|
}), initial: {
|
|
@@ -23581,7 +23567,7 @@ function DocumentScrollOverlayRightPaneLayout({
|
|
|
23581
23567
|
flexShrink: "fs0",
|
|
23582
23568
|
minWidth: "mwfc",
|
|
23583
23569
|
width: ["w_var", {
|
|
23584
|
-
"--width":
|
|
23570
|
+
"--width": maybeCssVar48(__maybeInc21(`min(100%, ${documentScrollChromeWidth()})`))
|
|
23585
23571
|
}]
|
|
23586
23572
|
}), children }),
|
|
23587
23573
|
/* @__PURE__ */ jsx170("div", { ref: spacerRef, "aria-hidden": true, ...mergeProps29(void 0, {
|
|
@@ -23940,7 +23926,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
23940
23926
|
},
|
|
23941
23927
|
...inDocumentScrollLayout ? pageContentPaddingX : void 0
|
|
23942
23928
|
}), children: [
|
|
23943
|
-
/* @__PURE__ */ jsxs89("div", { className: "df
|
|
23929
|
+
/* @__PURE__ */ jsxs89("div", { className: "df g_12px aic", children: [
|
|
23944
23930
|
!sm && hasSearch && /* @__PURE__ */ jsx175("div", { className: "w_244px", children: searchTextField }),
|
|
23945
23931
|
sm && hasSearch && /* @__PURE__ */ jsx175(IconButton, { variant: "outline", icon: searchValue ? "searchBadged" : "search", label: "Search", onClick: () => setShowSearch(!showSearch), active: showSearch, ...testId.searchButton }),
|
|
23946
23932
|
sm && hasFilterControls && /* @__PURE__ */ jsx175(IconButton, { variant: "outline", icon: activeFilterCount > 0 ? "filterBadged" : "filter", label: "Filter", onClick: () => setShowFilters(!showFilters), active: showFilters, ...testId.filterSmallButton }),
|
|
@@ -23950,7 +23936,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
23950
23936
|
/* @__PURE__ */ jsx175(Icon, { icon: showFilters ? "chevronUp" : "chevronDown" })
|
|
23951
23937
|
] }), variant: "secondaryBlack", onClick: () => setShowFilters(!showFilters), active: showFilters, ...testId.filterButton })
|
|
23952
23938
|
] }),
|
|
23953
|
-
(hasHideableColumns || withCardView || !!actions?.length) && /* @__PURE__ */ jsxs89("div", { className: "df aic
|
|
23939
|
+
(hasHideableColumns || withCardView || !!actions?.length) && /* @__PURE__ */ jsxs89("div", { className: "df aic g_12px", children: [
|
|
23954
23940
|
hasHideableColumns && view === "list" && columns && api && /* @__PURE__ */ jsx175(EditColumnsButton, { columns, api, tooltip: "Display columns" }),
|
|
23955
23941
|
withCardView && view !== void 0 && setView && /* @__PURE__ */ jsx175(ViewToggleButton, { view, onChange: setView }),
|
|
23956
23942
|
!!actions?.length && /* @__PURE__ */ jsx175(HeaderActions, { actions, ...testId.actions })
|
|
@@ -24028,7 +24014,7 @@ function parseStoredTableView(raw) {
|
|
|
24028
24014
|
}
|
|
24029
24015
|
|
|
24030
24016
|
// src/components/Layout/GridTableLayout/GridTableLayout.tsx
|
|
24031
|
-
import { trussProps as trussProps101, maybeCssVar as
|
|
24017
|
+
import { trussProps as trussProps101, maybeCssVar as maybeCssVar49 } from "@homebound/truss/runtime";
|
|
24032
24018
|
import { Fragment as Fragment40, jsx as jsx177, jsxs as jsxs91 } from "react/jsx-runtime";
|
|
24033
24019
|
var __maybeInc22 = (inc) => {
|
|
24034
24020
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -24091,16 +24077,16 @@ function GridTableLayoutComponent(props) {
|
|
|
24091
24077
|
transition: "transitionTop",
|
|
24092
24078
|
position: "sticky",
|
|
24093
24079
|
top: ["top_var", {
|
|
24094
|
-
"--top":
|
|
24080
|
+
"--top": maybeCssVar49(__maybeInc22(stickyNavAndHeaderOffset()))
|
|
24095
24081
|
}],
|
|
24096
24082
|
left: ["left_var", {
|
|
24097
|
-
"--left":
|
|
24083
|
+
"--left": maybeCssVar49(__maybeInc22(documentScrollChromeLeft()))
|
|
24098
24084
|
}],
|
|
24099
24085
|
width: ["w_var", {
|
|
24100
|
-
"--width":
|
|
24086
|
+
"--width": maybeCssVar49(__maybeInc22(`min(100%, ${documentScrollChromeWidth()})`))
|
|
24101
24087
|
}],
|
|
24102
24088
|
zIndex: ["z_var", {
|
|
24103
|
-
"--zIndex":
|
|
24089
|
+
"--zIndex": maybeCssVar49(zIndices.tableActions)
|
|
24104
24090
|
}],
|
|
24105
24091
|
backgroundColor: ["bgColor_var", {
|
|
24106
24092
|
"--backgroundColor": "var(--b-surface)"
|
|
@@ -24114,7 +24100,7 @@ function GridTableLayoutComponent(props) {
|
|
|
24114
24100
|
] });
|
|
24115
24101
|
return (
|
|
24116
24102
|
/* Wrapper sets --beam-table-actions-height so sticky headers / the pane can read it. */
|
|
24117
|
-
/* @__PURE__ */ jsx177("div", { ref: tableWrapperRef, className: "
|
|
24103
|
+
/* @__PURE__ */ jsx177("div", { ref: tableWrapperRef, className: "d_contents", ...tid.tableWrapper, children: tableScrollContent })
|
|
24118
24104
|
);
|
|
24119
24105
|
}
|
|
24120
24106
|
var GridTableLayout = React18.memo(GridTableLayoutComponent);
|
|
@@ -24236,7 +24222,7 @@ function PreventBrowserScroll({
|
|
|
24236
24222
|
// src/components/Layout/RightPaneLayout/RightPaneLayout.tsx
|
|
24237
24223
|
import { AnimatePresence as AnimatePresence4, motion as motion4 } from "framer-motion";
|
|
24238
24224
|
import { useEffect as useEffect29 } from "react";
|
|
24239
|
-
import { trussProps as trussProps102, maybeCssVar as
|
|
24225
|
+
import { trussProps as trussProps102, maybeCssVar as maybeCssVar50 } from "@homebound/truss/runtime";
|
|
24240
24226
|
import { Fragment as Fragment41, jsx as jsx179, jsxs as jsxs92 } from "react/jsx-runtime";
|
|
24241
24227
|
var __maybeInc23 = (inc) => {
|
|
24242
24228
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -24259,9 +24245,9 @@ function RightPaneLayout(props) {
|
|
|
24259
24245
|
/* @__PURE__ */ jsx179("div", { ...trussProps102({
|
|
24260
24246
|
...{
|
|
24261
24247
|
width: ["w_var", {
|
|
24262
|
-
"--width":
|
|
24248
|
+
"--width": maybeCssVar50(__maybeInc23(`calc(100% - ${paneWidth + 24}px)`))
|
|
24263
24249
|
}],
|
|
24264
|
-
transition: "
|
|
24250
|
+
transition: "tsn_width_2s_linear",
|
|
24265
24251
|
height: "h100",
|
|
24266
24252
|
marginRight: "mr3",
|
|
24267
24253
|
overflowX: "oxa"
|
|
@@ -24275,7 +24261,7 @@ function RightPaneLayout(props) {
|
|
|
24275
24261
|
...{
|
|
24276
24262
|
...!!defaultPaneContent ? {
|
|
24277
24263
|
width: ["w_var", {
|
|
24278
|
-
"--width":
|
|
24264
|
+
"--width": maybeCssVar50(__maybeInc23(`calc(100% - ${paneWidth + 24}px)`))
|
|
24279
24265
|
}],
|
|
24280
24266
|
marginRight: "mr3"
|
|
24281
24267
|
} : {}
|
|
@@ -24294,12 +24280,12 @@ function RightPaneLayout(props) {
|
|
|
24294
24280
|
width: ["w_var", {
|
|
24295
24281
|
"--width": `${paneWidth}px`
|
|
24296
24282
|
}],
|
|
24297
|
-
left: "
|
|
24283
|
+
left: "l_0",
|
|
24298
24284
|
position: "absolute",
|
|
24299
|
-
transition: "
|
|
24285
|
+
transition: "tsn_all_3s_ease_in_out",
|
|
24300
24286
|
...isRightPaneOpen ? {
|
|
24301
24287
|
opacity: "o0",
|
|
24302
|
-
left: "
|
|
24288
|
+
left: "l_100"
|
|
24303
24289
|
} : {}
|
|
24304
24290
|
}), children: defaultPaneContent }),
|
|
24305
24291
|
/* @__PURE__ */ jsx179(AnimatePresence4, { children: isRightPaneOpen && /* @__PURE__ */ jsx179(
|
|
@@ -24309,7 +24295,7 @@ function RightPaneLayout(props) {
|
|
|
24309
24295
|
"data-testid": "rightPaneContent",
|
|
24310
24296
|
...trussProps102({
|
|
24311
24297
|
backgroundColor: ["bgColor_var", {
|
|
24312
|
-
"--backgroundColor":
|
|
24298
|
+
"--backgroundColor": maybeCssVar50(paneBgColor)
|
|
24313
24299
|
}],
|
|
24314
24300
|
height: "h100",
|
|
24315
24301
|
width: ["w_var", {
|
|
@@ -24381,7 +24367,7 @@ function SidePanel(props) {
|
|
|
24381
24367
|
}
|
|
24382
24368
|
|
|
24383
24369
|
// src/components/Layout/TableReviewLayout/TableReviewLayout.tsx
|
|
24384
|
-
import { trussProps as trussProps103, maybeCssVar as
|
|
24370
|
+
import { trussProps as trussProps103, maybeCssVar as maybeCssVar51 } from "@homebound/truss/runtime";
|
|
24385
24371
|
import { jsx as jsx182, jsxs as jsxs94 } from "react/jsx-runtime";
|
|
24386
24372
|
var defaultRightPaneWidth = 450;
|
|
24387
24373
|
function TableReviewLayout(props) {
|
|
@@ -24430,7 +24416,7 @@ function TableReviewLayout(props) {
|
|
|
24430
24416
|
left: "left0",
|
|
24431
24417
|
right: "right0",
|
|
24432
24418
|
zIndex: ["z_var", {
|
|
24433
|
-
"--zIndex":
|
|
24419
|
+
"--zIndex": maybeCssVar51(zIndices.pageOverlay)
|
|
24434
24420
|
}],
|
|
24435
24421
|
backgroundColor: ["bgColor_var", {
|
|
24436
24422
|
"--backgroundColor": "var(--b-surface)"
|
|
@@ -24481,7 +24467,7 @@ function TableReviewLayout(props) {
|
|
|
24481
24467
|
ease: "linear",
|
|
24482
24468
|
duration: 0.2
|
|
24483
24469
|
}, className: "df fdc fs0 relative", children: [
|
|
24484
|
-
/* @__PURE__ */ jsxs94("div", { className: "absolute
|
|
24470
|
+
/* @__PURE__ */ jsxs94("div", { className: "absolute tp_neg32px df fdc aic l_neg24px z1", children: [
|
|
24485
24471
|
/* @__PURE__ */ jsx182(IconButton, { bgColor: "--b-surface" /* Surface */, variant: "circle", icon: "x", inc: 3.5, onClick: handleClosePanel, ...tid.closePanelButton }),
|
|
24486
24472
|
/* @__PURE__ */ jsx182("div", { ...trussProps103({
|
|
24487
24473
|
width: "w_1px",
|
|
@@ -24498,7 +24484,7 @@ function TableReviewLayout(props) {
|
|
|
24498
24484
|
}
|
|
24499
24485
|
|
|
24500
24486
|
// src/components/Logos/BeamLogo.tsx
|
|
24501
|
-
import { trussProps as trussProps104, maybeCssVar as
|
|
24487
|
+
import { trussProps as trussProps104, maybeCssVar as maybeCssVar52 } from "@homebound/truss/runtime";
|
|
24502
24488
|
import { jsx as jsx183, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
24503
24489
|
var __maybeInc24 = (inc) => {
|
|
24504
24490
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -24511,13 +24497,13 @@ function BeamLogo(props) {
|
|
|
24511
24497
|
} = props;
|
|
24512
24498
|
return /* @__PURE__ */ jsxs95("svg", { viewBox: "0 0 500 500", xmlns: "http://www.w3.org/2000/svg", ...trussProps104({
|
|
24513
24499
|
fill: ["fill_var", {
|
|
24514
|
-
"--fill":
|
|
24500
|
+
"--fill": maybeCssVar52(fill)
|
|
24515
24501
|
}],
|
|
24516
24502
|
width: ["w_var", {
|
|
24517
|
-
"--width":
|
|
24503
|
+
"--width": maybeCssVar52(__maybeInc24(width2))
|
|
24518
24504
|
}],
|
|
24519
24505
|
height: ["h_var", {
|
|
24520
|
-
"--height":
|
|
24506
|
+
"--height": maybeCssVar52(__maybeInc24(height))
|
|
24521
24507
|
}]
|
|
24522
24508
|
}), children: [
|
|
24523
24509
|
/* @__PURE__ */ jsx183("rect", { x: "10", y: "90", width: "32", height: "320" }),
|
|
@@ -24532,7 +24518,7 @@ function BeamLogo(props) {
|
|
|
24532
24518
|
}
|
|
24533
24519
|
|
|
24534
24520
|
// src/components/Logos/HomeboundLogo.tsx
|
|
24535
|
-
import { trussProps as trussProps105, maybeCssVar as
|
|
24521
|
+
import { trussProps as trussProps105, maybeCssVar as maybeCssVar53 } from "@homebound/truss/runtime";
|
|
24536
24522
|
import { jsx as jsx184 } from "react/jsx-runtime";
|
|
24537
24523
|
var __maybeInc25 = (inc) => {
|
|
24538
24524
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -24545,13 +24531,13 @@ function HomeboundLogo(props) {
|
|
|
24545
24531
|
} = props;
|
|
24546
24532
|
return /* @__PURE__ */ jsx184("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...trussProps105({
|
|
24547
24533
|
fill: ["fill_var", {
|
|
24548
|
-
"--fill":
|
|
24534
|
+
"--fill": maybeCssVar53(fill)
|
|
24549
24535
|
}],
|
|
24550
24536
|
width: ["w_var", {
|
|
24551
|
-
"--width":
|
|
24537
|
+
"--width": maybeCssVar53(__maybeInc25(width2))
|
|
24552
24538
|
}],
|
|
24553
24539
|
height: ["h_var", {
|
|
24554
|
-
"--height":
|
|
24540
|
+
"--height": maybeCssVar53(__maybeInc25(height))
|
|
24555
24541
|
}]
|
|
24556
24542
|
}), children: /* @__PURE__ */ jsx184("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" }) });
|
|
24557
24543
|
}
|
|
@@ -24559,7 +24545,7 @@ function HomeboundLogo(props) {
|
|
|
24559
24545
|
// src/components/MaxLines.tsx
|
|
24560
24546
|
import { useLayoutEffect as useLayoutEffect10, useResizeObserver as useResizeObserver9 } from "@react-aria/utils";
|
|
24561
24547
|
import { useCallback as useCallback33, useEffect as useEffect31, useRef as useRef60, useState as useState51 } from "react";
|
|
24562
|
-
import { trussProps as trussProps106, maybeCssVar as
|
|
24548
|
+
import { trussProps as trussProps106, maybeCssVar as maybeCssVar54 } from "@homebound/truss/runtime";
|
|
24563
24549
|
import { jsx as jsx185, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
24564
24550
|
function MaxLines({
|
|
24565
24551
|
maxLines,
|
|
@@ -24587,7 +24573,7 @@ function MaxLines({
|
|
|
24587
24573
|
/* @__PURE__ */ jsx185("div", { ref: elRef, ...trussProps106({
|
|
24588
24574
|
...!expanded ? {
|
|
24589
24575
|
WebkitLineClamp: ["lineClamp_var", {
|
|
24590
|
-
"--WebkitLineClamp":
|
|
24576
|
+
"--WebkitLineClamp": maybeCssVar54(maxLines)
|
|
24591
24577
|
}],
|
|
24592
24578
|
overflow: "oh",
|
|
24593
24579
|
display: "d_negwebkit_box",
|
|
@@ -24691,7 +24677,7 @@ function toPageNumberSize(page) {
|
|
|
24691
24677
|
// src/components/ScrollShadows.tsx
|
|
24692
24678
|
import { useResizeObserver as useResizeObserver10 } from "@react-aria/utils";
|
|
24693
24679
|
import { useCallback as useCallback34, useMemo as useMemo46, useRef as useRef61, useState as useState52 } from "react";
|
|
24694
|
-
import { trussProps as trussProps108, maybeCssVar as
|
|
24680
|
+
import { trussProps as trussProps108, maybeCssVar as maybeCssVar55 } from "@homebound/truss/runtime";
|
|
24695
24681
|
import { jsx as jsx187, jsxs as jsxs98 } from "react/jsx-runtime";
|
|
24696
24682
|
function ScrollShadows(props) {
|
|
24697
24683
|
const {
|
|
@@ -24716,9 +24702,9 @@ function ScrollShadows(props) {
|
|
|
24716
24702
|
const commonStyles = {
|
|
24717
24703
|
position: "absolute",
|
|
24718
24704
|
zIndex: ["z_var", {
|
|
24719
|
-
"--zIndex":
|
|
24705
|
+
"--zIndex": maybeCssVar55(zIndices.scrollShadow)
|
|
24720
24706
|
}],
|
|
24721
|
-
pointerEvents: "
|
|
24707
|
+
pointerEvents: "pe_none"
|
|
24722
24708
|
};
|
|
24723
24709
|
const startShadowStyles2 = !horizontal ? {
|
|
24724
24710
|
top: "top0",
|
|
@@ -24749,7 +24735,7 @@ function ScrollShadows(props) {
|
|
|
24749
24735
|
...startShadowStyles2,
|
|
24750
24736
|
...{
|
|
24751
24737
|
background: ["background_var", {
|
|
24752
|
-
"--background":
|
|
24738
|
+
"--background": maybeCssVar55(startGradient)
|
|
24753
24739
|
}]
|
|
24754
24740
|
}
|
|
24755
24741
|
}, {
|
|
@@ -24757,7 +24743,7 @@ function ScrollShadows(props) {
|
|
|
24757
24743
|
...endShadowStyles2,
|
|
24758
24744
|
...{
|
|
24759
24745
|
background: ["background_var", {
|
|
24760
|
-
"--background":
|
|
24746
|
+
"--background": maybeCssVar55(endGradient)
|
|
24761
24747
|
}]
|
|
24762
24748
|
}
|
|
24763
24749
|
}];
|
|
@@ -24785,7 +24771,7 @@ function ScrollShadows(props) {
|
|
|
24785
24771
|
return /* @__PURE__ */ jsxs98("div", { ...trussProps108({
|
|
24786
24772
|
display: "df",
|
|
24787
24773
|
flexDirection: ["fd_var", {
|
|
24788
|
-
"--flexDirection":
|
|
24774
|
+
"--flexDirection": maybeCssVar55(!horizontal ? "column" : "row")
|
|
24789
24775
|
}],
|
|
24790
24776
|
position: "relative",
|
|
24791
24777
|
overflow: "oh",
|
|
@@ -24802,7 +24788,7 @@ function ScrollShadows(props) {
|
|
|
24802
24788
|
...startShadowStyles,
|
|
24803
24789
|
...{
|
|
24804
24790
|
opacity: ["o_var", {
|
|
24805
|
-
"--opacity":
|
|
24791
|
+
"--opacity": maybeCssVar55(showStartShadow ? 1 : 0)
|
|
24806
24792
|
}]
|
|
24807
24793
|
}
|
|
24808
24794
|
}), "data-chromatic": "ignore" }),
|
|
@@ -24810,7 +24796,7 @@ function ScrollShadows(props) {
|
|
|
24810
24796
|
...endShadowStyles,
|
|
24811
24797
|
...{
|
|
24812
24798
|
opacity: ["o_var", {
|
|
24813
|
-
"--opacity":
|
|
24799
|
+
"--opacity": maybeCssVar55(showEndShadow ? 1 : 0)
|
|
24814
24800
|
}]
|
|
24815
24801
|
}
|
|
24816
24802
|
}), "data-chromatic": "ignore" }),
|
|
@@ -24895,7 +24881,7 @@ function AppNavGroupTrigger(props) {
|
|
|
24895
24881
|
transition: "transitionTransform"
|
|
24896
24882
|
},
|
|
24897
24883
|
...props.expanded ? {
|
|
24898
|
-
transform: "
|
|
24884
|
+
transform: "tf_rotate_180deg"
|
|
24899
24885
|
} : {}
|
|
24900
24886
|
}), children: /* @__PURE__ */ jsx188(Icon, { icon: "chevronDown" }) })
|
|
24901
24887
|
] });
|
|
@@ -25040,7 +25026,7 @@ function useAppNavGroupExpanded(linkGroup) {
|
|
|
25040
25026
|
}
|
|
25041
25027
|
|
|
25042
25028
|
// src/components/AppNav/AppNavGroup.tsx
|
|
25043
|
-
import { trussProps as trussProps110, maybeCssVar as
|
|
25029
|
+
import { trussProps as trussProps110, maybeCssVar as maybeCssVar56 } from "@homebound/truss/runtime";
|
|
25044
25030
|
import { Fragment as Fragment43, jsx as jsx189, jsxs as jsxs100 } from "react/jsx-runtime";
|
|
25045
25031
|
var __maybeInc26 = (inc) => {
|
|
25046
25032
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -25089,7 +25075,7 @@ function AppNavGroupDisclosure(props) {
|
|
|
25089
25075
|
overflow: "oh",
|
|
25090
25076
|
transition: "transitionHeight",
|
|
25091
25077
|
height: ["h_var", {
|
|
25092
|
-
"--height":
|
|
25078
|
+
"--height": maybeCssVar56(__maybeInc26(contentHeight))
|
|
25093
25079
|
}]
|
|
25094
25080
|
}), ...tid.panel, ...!expanded ? {
|
|
25095
25081
|
inert: true
|
|
@@ -25347,7 +25333,7 @@ function SideNav(props) {
|
|
|
25347
25333
|
// src/components/Stepper.tsx
|
|
25348
25334
|
import { useRef as useRef64 } from "react";
|
|
25349
25335
|
import { useButton as useButton12, useFocusRing as useFocusRing16, useHover as useHover19 } from "react-aria";
|
|
25350
|
-
import { trussProps as trussProps113, maybeCssVar as
|
|
25336
|
+
import { trussProps as trussProps113, maybeCssVar as maybeCssVar57 } from "@homebound/truss/runtime";
|
|
25351
25337
|
import { jsx as jsx195, jsxs as jsxs103 } from "react/jsx-runtime";
|
|
25352
25338
|
import { createElement as createElement6 } from "react";
|
|
25353
25339
|
var __maybeInc27 = (inc) => {
|
|
@@ -25407,10 +25393,10 @@ function Stepper(props) {
|
|
|
25407
25393
|
backgroundColor: ["bgColor_var", {
|
|
25408
25394
|
"--backgroundColor": "var(--b-primary)"
|
|
25409
25395
|
}],
|
|
25410
|
-
transition: "
|
|
25396
|
+
transition: "tsn_width_200ms",
|
|
25411
25397
|
height: "h100",
|
|
25412
25398
|
width: ["w_var", {
|
|
25413
|
-
"--width":
|
|
25399
|
+
"--width": maybeCssVar57(__maybeInc27(`${(lastCompletedStep + 1) / steps.length * 100}%`))
|
|
25414
25400
|
}]
|
|
25415
25401
|
}) }) })
|
|
25416
25402
|
] });
|
|
@@ -25468,7 +25454,7 @@ function StepButton(props) {
|
|
|
25468
25454
|
color: ["color_var", {
|
|
25469
25455
|
"--color": "var(--b-on-surface-muted)"
|
|
25470
25456
|
}],
|
|
25471
|
-
whiteSpace: "
|
|
25457
|
+
whiteSpace: "ws_initial",
|
|
25472
25458
|
...state === "error" ? {
|
|
25473
25459
|
color: ["color_var", {
|
|
25474
25460
|
"--color": "var(--b-danger)"
|
|
@@ -25523,15 +25509,15 @@ function StepIcon({
|
|
|
25523
25509
|
if (state === "complete") {
|
|
25524
25510
|
return /* @__PURE__ */ jsx195(Icon, { icon: "check" });
|
|
25525
25511
|
}
|
|
25526
|
-
return /* @__PURE__ */ jsx195("div", { className: "w_24px
|
|
25527
|
-
width: "w_10px",
|
|
25512
|
+
return /* @__PURE__ */ jsx195("div", { className: "h_24px w_24px df aic jcc", children: /* @__PURE__ */ jsx195("div", { ...trussProps113({
|
|
25528
25513
|
height: "h_10px",
|
|
25514
|
+
width: "w_10px",
|
|
25529
25515
|
borderStyle: "bss",
|
|
25530
25516
|
borderWidth: "bw2",
|
|
25531
25517
|
borderRadius: "br100",
|
|
25532
|
-
color: "
|
|
25518
|
+
color: "c_currentColor",
|
|
25533
25519
|
...isHovered || isPressed || isCurrent ? {
|
|
25534
|
-
backgroundColor: "
|
|
25520
|
+
backgroundColor: "bgc_currentColor"
|
|
25535
25521
|
} : {}
|
|
25536
25522
|
}) }) });
|
|
25537
25523
|
}
|
|
@@ -25581,15 +25567,15 @@ function StepperTab(props) {
|
|
|
25581
25567
|
}), ...tid[defaultTestId(value)], children: [
|
|
25582
25568
|
!collapsed && /* @__PURE__ */ jsxs104(Fragment45, { children: [
|
|
25583
25569
|
/* @__PURE__ */ jsxs104("span", { className: "dg jic mw0", children: [
|
|
25584
|
-
/* @__PURE__ */ jsx196("span", { className: "fw6 fz_14px lh_20px
|
|
25570
|
+
/* @__PURE__ */ jsx196("span", { className: "fw6 fz_14px lh_20px vis_hidden ga_1_1 oh d_negwebkit_box wbo_vertical to_ellipsis wlc_1 wdb_break_all", "aria-hidden": true, children: label }),
|
|
25585
25571
|
/* @__PURE__ */ jsx196("span", { ...trussProps114({
|
|
25586
|
-
gridArea: "
|
|
25572
|
+
gridArea: "ga_1_1",
|
|
25587
25573
|
overflow: "oh",
|
|
25588
25574
|
display: "d_negwebkit_box",
|
|
25589
25575
|
WebkitBoxOrient: "wbo_vertical",
|
|
25590
25576
|
textOverflow: "to_ellipsis",
|
|
25591
25577
|
WebkitLineClamp: "wlc_1",
|
|
25592
|
-
wordBreak: "
|
|
25578
|
+
wordBreak: "wdb_break_all",
|
|
25593
25579
|
...active ? {
|
|
25594
25580
|
fontWeight: "fw6",
|
|
25595
25581
|
fontSize: "fz_14px",
|
|
@@ -25602,10 +25588,10 @@ function StepperTab(props) {
|
|
|
25602
25588
|
marginLeft: "ml1",
|
|
25603
25589
|
transition: "transitionAll",
|
|
25604
25590
|
opacity: "o0",
|
|
25605
|
-
transform: "
|
|
25591
|
+
transform: "tf_scale_0_75_translateY_100",
|
|
25606
25592
|
...completed ? {
|
|
25607
25593
|
opacity: "o100",
|
|
25608
|
-
transform: "
|
|
25594
|
+
transform: "tf_scale_1_translateY_0"
|
|
25609
25595
|
} : {}
|
|
25610
25596
|
}), children: /* @__PURE__ */ jsx196(Icon, { icon: "check", inc: 2.5, ...tid.check }) })
|
|
25611
25597
|
] }),
|
|
@@ -25677,7 +25663,7 @@ var stepperTabStyles = {
|
|
|
25677
25663
|
outline: "outline0"
|
|
25678
25664
|
},
|
|
25679
25665
|
collapsedStyles: {
|
|
25680
|
-
cursor: "
|
|
25666
|
+
cursor: "cur_default",
|
|
25681
25667
|
height: "h_0px",
|
|
25682
25668
|
paddingTop: "pt0",
|
|
25683
25669
|
paddingBottom: "pb0"
|
|
@@ -26198,7 +26184,7 @@ function DnDGridItemHandle(props) {
|
|
|
26198
26184
|
return /* @__PURE__ */ jsx202("button", { ...trussProps119({
|
|
26199
26185
|
...compact ? iconButtonCompact : iconButtonNormal,
|
|
26200
26186
|
...{
|
|
26201
|
-
cursor: "
|
|
26187
|
+
cursor: "cur_grab",
|
|
26202
26188
|
borderColor: "bcTransparent",
|
|
26203
26189
|
borderStyle: "bss",
|
|
26204
26190
|
backgroundColor: "bgTransparent",
|
|
@@ -26337,7 +26323,7 @@ function CompoundField({
|
|
|
26337
26323
|
...{
|
|
26338
26324
|
borderLeftStyle: "bls_solid",
|
|
26339
26325
|
borderLeftWidth: "blw_1px",
|
|
26340
|
-
borderRadius: "
|
|
26326
|
+
borderRadius: "bra_4px_0_0_4px"
|
|
26341
26327
|
},
|
|
26342
26328
|
...hasFocusWithin && {
|
|
26343
26329
|
borderColor: ["bc_var", {
|
|
@@ -26367,7 +26353,7 @@ function CompoundField({
|
|
|
26367
26353
|
flexGrow: "fg1",
|
|
26368
26354
|
borderRightStyle: "brs_solid",
|
|
26369
26355
|
borderRightWidth: "brw_1px",
|
|
26370
|
-
borderRadius: "
|
|
26356
|
+
borderRadius: "bra_0_4px_4px_0"
|
|
26371
26357
|
},
|
|
26372
26358
|
...hasFocusWithin && {
|
|
26373
26359
|
borderColor: ["bc_var", {
|
|
@@ -26850,7 +26836,7 @@ import { useMemo as useMemo52 } from "react";
|
|
|
26850
26836
|
|
|
26851
26837
|
// src/components/Grid/useResponsiveGrid.ts
|
|
26852
26838
|
import { useMemo as useMemo51 } from "react";
|
|
26853
|
-
import { maybeCssVar as
|
|
26839
|
+
import { maybeCssVar as maybeCssVar58 } from "@homebound/truss/runtime";
|
|
26854
26840
|
var __maybeInc28 = (inc) => {
|
|
26855
26841
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
26856
26842
|
};
|
|
@@ -26869,11 +26855,11 @@ function useResponsiveGrid(props) {
|
|
|
26869
26855
|
return {
|
|
26870
26856
|
display: "dg",
|
|
26871
26857
|
gridTemplateColumns: ["gtc_var", {
|
|
26872
|
-
"--gridTemplateColumns":
|
|
26858
|
+
"--gridTemplateColumns": maybeCssVar58(gridTemplateColumns)
|
|
26873
26859
|
}],
|
|
26874
26860
|
containerType: "ctis",
|
|
26875
26861
|
gap: ["gap_var", {
|
|
26876
|
-
"--gap":
|
|
26862
|
+
"--gap": maybeCssVar58(__maybeInc28(gridGap))
|
|
26877
26863
|
}]
|
|
26878
26864
|
};
|
|
26879
26865
|
}, [minColumnWidth, gap, columns]);
|
|
@@ -27012,7 +26998,7 @@ function HbLoadingSpinner({
|
|
|
27012
26998
|
{
|
|
27013
26999
|
src: HbLoadingSpinner_base64_default,
|
|
27014
27000
|
"data-chromatic": "ignore",
|
|
27015
|
-
className: "
|
|
27001
|
+
className: "flt_invert_1",
|
|
27016
27002
|
alt: "loading",
|
|
27017
27003
|
...tid.gif
|
|
27018
27004
|
}
|
|
@@ -27099,7 +27085,7 @@ function useRegisterMobileSubNav(content2) {
|
|
|
27099
27085
|
}
|
|
27100
27086
|
|
|
27101
27087
|
// src/components/Navbar/NavbarMobileMenu.tsx
|
|
27102
|
-
import { trussProps as trussProps123, mergeProps as mergeProps35, maybeCssVar as
|
|
27088
|
+
import { trussProps as trussProps123, mergeProps as mergeProps35, maybeCssVar as maybeCssVar59 } from "@homebound/truss/runtime";
|
|
27103
27089
|
import { Fragment as Fragment50, jsx as jsx218, jsxs as jsxs113 } from "react/jsx-runtime";
|
|
27104
27090
|
function NavbarMobileMenu(props) {
|
|
27105
27091
|
const {
|
|
@@ -27156,7 +27142,7 @@ function NavbarMobileDrawer({
|
|
|
27156
27142
|
bottom: "bottom0",
|
|
27157
27143
|
left: "left0",
|
|
27158
27144
|
zIndex: ["z_var", {
|
|
27159
|
-
"--zIndex":
|
|
27145
|
+
"--zIndex": maybeCssVar59(zIndices.navbarMobileMenuScrim)
|
|
27160
27146
|
}],
|
|
27161
27147
|
backgroundColor: ["bgColor_var", {
|
|
27162
27148
|
"--backgroundColor": "var(--b-scrim)"
|
|
@@ -27181,7 +27167,7 @@ function NavbarMobileDrawer({
|
|
|
27181
27167
|
width: "w_260px",
|
|
27182
27168
|
overflow: "oh",
|
|
27183
27169
|
zIndex: ["z_var", {
|
|
27184
|
-
"--zIndex":
|
|
27170
|
+
"--zIndex": maybeCssVar59(zIndices.navbarMobileMenu)
|
|
27185
27171
|
}],
|
|
27186
27172
|
backgroundColor: ["bgColor_var", {
|
|
27187
27173
|
"--backgroundColor": "var(--b-surface)"
|
|
@@ -27228,7 +27214,7 @@ function NavbarMobileDrawer({
|
|
|
27228
27214
|
overflowY: "oya",
|
|
27229
27215
|
display: "df",
|
|
27230
27216
|
flexDirection: "fdc",
|
|
27231
|
-
gap: "
|
|
27217
|
+
gap: "g_4px",
|
|
27232
27218
|
paddingTop: "pt2",
|
|
27233
27219
|
paddingBottom: "pb3"
|
|
27234
27220
|
},
|
|
@@ -27344,7 +27330,7 @@ function Navbar(props) {
|
|
|
27344
27330
|
minWidth: "mw0",
|
|
27345
27331
|
overflow: "oh",
|
|
27346
27332
|
...overflows ? {
|
|
27347
|
-
visibility: "
|
|
27333
|
+
visibility: "vis_hidden"
|
|
27348
27334
|
} : {}
|
|
27349
27335
|
}), ...tid.items, children: /* @__PURE__ */ jsx219("div", { ref: contentRef, className: "df aic gap2 wmaxc", children: /* @__PURE__ */ jsx219(AppNavItems, { variant: "global", items, ...tid }) }) })
|
|
27350
27336
|
] }),
|
|
@@ -27469,7 +27455,7 @@ import { useEffect as useEffect39, useMemo as useMemo56, useRef as useRef68, use
|
|
|
27469
27455
|
import { mergeProps as mergeProps36, useFocusRing as useFocusRing19, useHover as useHover22 } from "react-aria";
|
|
27470
27456
|
import { matchPath } from "react-router";
|
|
27471
27457
|
import { Link as Link7, useLocation as useLocation2 } from "react-router-dom";
|
|
27472
|
-
import { trussProps as trussProps125, maybeCssVar as
|
|
27458
|
+
import { trussProps as trussProps125, maybeCssVar as maybeCssVar60 } from "@homebound/truss/runtime";
|
|
27473
27459
|
import { Fragment as Fragment51, jsx as jsx220, jsxs as jsxs115 } from "react/jsx-runtime";
|
|
27474
27460
|
function TabsWithContent(props) {
|
|
27475
27461
|
const styles = hideTabs(props) ? {} : {
|
|
@@ -27653,7 +27639,7 @@ function getTabStyles() {
|
|
|
27653
27639
|
const borderBottomStyles = {
|
|
27654
27640
|
borderBottomStyle: "bbs_solid",
|
|
27655
27641
|
borderBottomWidth: ["borderBottomWidth_var", {
|
|
27656
|
-
"--borderBottomWidth":
|
|
27642
|
+
"--borderBottomWidth": maybeCssVar60(`${borderBottomWidthPx}px`)
|
|
27657
27643
|
}],
|
|
27658
27644
|
paddingBottom: ["pb_var", {
|
|
27659
27645
|
"--paddingBottom": `${verticalPaddingPx - borderBottomWidthPx}px`
|
|
@@ -27706,7 +27692,7 @@ function getTabStyles() {
|
|
|
27706
27692
|
// The AI label tint is part of the brand ramp rather than a semantic token, same as the sparkle's gradient.
|
|
27707
27693
|
aiStyles: {
|
|
27708
27694
|
color: ["color_var", {
|
|
27709
|
-
"--color":
|
|
27695
|
+
"--color": maybeCssVar60("rgba(109, 40, 217, 1)" /* Purple700 */)
|
|
27710
27696
|
}]
|
|
27711
27697
|
},
|
|
27712
27698
|
focusRingStyles: {
|
|
@@ -27764,7 +27750,7 @@ function useToast() {
|
|
|
27764
27750
|
}
|
|
27765
27751
|
|
|
27766
27752
|
// src/layouts/SideNavLayout/SideNavLayout.tsx
|
|
27767
|
-
import { trussProps as trussProps126, mergeProps as mergeProps37, maybeCssVar as
|
|
27753
|
+
import { trussProps as trussProps126, mergeProps as mergeProps37, maybeCssVar as maybeCssVar61 } from "@homebound/truss/runtime";
|
|
27768
27754
|
import { jsx as jsx221, jsxs as jsxs116 } from "react/jsx-runtime";
|
|
27769
27755
|
var __maybeInc29 = (inc) => {
|
|
27770
27756
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -27819,14 +27805,14 @@ function SideNavLayoutContent(props) {
|
|
|
27819
27805
|
position: "sticky",
|
|
27820
27806
|
left: "left0",
|
|
27821
27807
|
zIndex: ["z_var", {
|
|
27822
|
-
"--zIndex":
|
|
27808
|
+
"--zIndex": maybeCssVar61(zIndices.sideNav)
|
|
27823
27809
|
}],
|
|
27824
27810
|
top: ["top_var", {
|
|
27825
|
-
"--top":
|
|
27811
|
+
"--top": maybeCssVar61(__maybeInc29(navTop))
|
|
27826
27812
|
}],
|
|
27827
27813
|
alignSelf: "asfs",
|
|
27828
27814
|
height: ["h_var", {
|
|
27829
|
-
"--height":
|
|
27815
|
+
"--height": maybeCssVar61(__maybeInc29(railViewportHeight))
|
|
27830
27816
|
}],
|
|
27831
27817
|
width: ["w_var", {
|
|
27832
27818
|
"--width": `${collapsed ? railCollapsedWidthPx : railWidthPx}px`
|
|
@@ -27836,11 +27822,11 @@ function SideNavLayoutContent(props) {
|
|
|
27836
27822
|
position: "fixed",
|
|
27837
27823
|
left: "left0",
|
|
27838
27824
|
top: ["top_var", {
|
|
27839
|
-
"--top":
|
|
27825
|
+
"--top": maybeCssVar61(__maybeInc29(navTop))
|
|
27840
27826
|
}],
|
|
27841
27827
|
bottom: "bottom0",
|
|
27842
27828
|
zIndex: ["z_var", {
|
|
27843
|
-
"--zIndex":
|
|
27829
|
+
"--zIndex": maybeCssVar61(zIndices.sideNav)
|
|
27844
27830
|
}]
|
|
27845
27831
|
},
|
|
27846
27832
|
...collapsed ? {
|
|
@@ -27879,7 +27865,7 @@ function SideNavLayoutContent(props) {
|
|
|
27879
27865
|
}
|
|
27880
27866
|
|
|
27881
27867
|
// src/layouts/CenteredLayout/CenteredLayout.tsx
|
|
27882
|
-
import { mergeProps as mergeProps38, maybeCssVar as
|
|
27868
|
+
import { mergeProps as mergeProps38, maybeCssVar as maybeCssVar62 } from "@homebound/truss/runtime";
|
|
27883
27869
|
import { jsx as jsx222 } from "react/jsx-runtime";
|
|
27884
27870
|
var __maybeInc30 = (inc) => {
|
|
27885
27871
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -27921,15 +27907,15 @@ var smContentPaddingX = "12px";
|
|
|
27921
27907
|
var mdAndUpContentPaddingX = pageContentPaddingXValue;
|
|
27922
27908
|
var centeredPaddingX = {
|
|
27923
27909
|
paddingLeft: ["px_var mdandup_pl3", {
|
|
27924
|
-
"--paddingLeft":
|
|
27910
|
+
"--paddingLeft": maybeCssVar62(__maybeInc30(smContentPaddingX))
|
|
27925
27911
|
}],
|
|
27926
27912
|
paddingRight: ["px_var mdandup_pr3", {
|
|
27927
|
-
"--paddingRight":
|
|
27913
|
+
"--paddingRight": maybeCssVar62(__maybeInc30(smContentPaddingX))
|
|
27928
27914
|
}]
|
|
27929
27915
|
};
|
|
27930
27916
|
|
|
27931
27917
|
// src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayout.tsx
|
|
27932
|
-
import { trussProps as trussProps127, mergeProps as mergeProps39, maybeCssVar as
|
|
27918
|
+
import { trussProps as trussProps127, mergeProps as mergeProps39, maybeCssVar as maybeCssVar63 } from "@homebound/truss/runtime";
|
|
27933
27919
|
import { jsx as jsx223, jsxs as jsxs117 } from "react/jsx-runtime";
|
|
27934
27920
|
var __maybeInc31 = (inc) => {
|
|
27935
27921
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -27962,10 +27948,10 @@ function EnvironmentBannerLayout(props) {
|
|
|
27962
27948
|
top: "top0",
|
|
27963
27949
|
left: "left0",
|
|
27964
27950
|
zIndex: ["z_var", {
|
|
27965
|
-
"--zIndex":
|
|
27951
|
+
"--zIndex": maybeCssVar63(zIndices.environmentBanner)
|
|
27966
27952
|
}],
|
|
27967
27953
|
width: ["w_var", {
|
|
27968
|
-
"--width":
|
|
27954
|
+
"--width": maybeCssVar63(__maybeInc31(innerWidth))
|
|
27969
27955
|
}]
|
|
27970
27956
|
}), ...tid.bannerSticky, children: /* @__PURE__ */ jsx223(EnvironmentBanner, { ...environmentBanner, ...tid.environmentBanner }) }) }),
|
|
27971
27957
|
children
|
|
@@ -27973,10 +27959,10 @@ function EnvironmentBannerLayout(props) {
|
|
|
27973
27959
|
}
|
|
27974
27960
|
|
|
27975
27961
|
// src/layouts/FormSectionLayout/FormSectionLayout.tsx
|
|
27976
|
-
import { trussProps as trussProps131, maybeCssVar as
|
|
27962
|
+
import { trussProps as trussProps131, maybeCssVar as maybeCssVar66 } from "@homebound/truss/runtime";
|
|
27977
27963
|
|
|
27978
27964
|
// src/forms/FormSection/FormSection.tsx
|
|
27979
|
-
import { trussProps as trussProps129, maybeCssVar as
|
|
27965
|
+
import { trussProps as trussProps129, maybeCssVar as maybeCssVar64 } from "@homebound/truss/runtime";
|
|
27980
27966
|
|
|
27981
27967
|
// src/forms/FormSection/FormSectionChild.tsx
|
|
27982
27968
|
import { useRef as useRef69 } from "react";
|
|
@@ -28040,7 +28026,7 @@ function FormSection(props) {
|
|
|
28040
28026
|
flexDirection: "fdc",
|
|
28041
28027
|
gap: "gap2",
|
|
28042
28028
|
scrollMarginTop: ["scrollMarginTop_var", {
|
|
28043
|
-
"--scrollMarginTop":
|
|
28029
|
+
"--scrollMarginTop": maybeCssVar64(stickyNavAndHeaderOffset())
|
|
28044
28030
|
}]
|
|
28045
28031
|
}), ...tid.section, children: [
|
|
28046
28032
|
/* @__PURE__ */ jsx225(ContentHeader, { ...tid, title, description, actions, level: 3 }),
|
|
@@ -28078,7 +28064,7 @@ function sortByOrderField(childSections) {
|
|
|
28078
28064
|
}
|
|
28079
28065
|
|
|
28080
28066
|
// src/layouts/FormSectionLayout/JumpLinksRail.tsx
|
|
28081
|
-
import { trussProps as trussProps130, maybeCssVar as
|
|
28067
|
+
import { trussProps as trussProps130, maybeCssVar as maybeCssVar65 } from "@homebound/truss/runtime";
|
|
28082
28068
|
import { jsx as jsx226 } from "react/jsx-runtime";
|
|
28083
28069
|
var __maybeInc32 = (inc) => {
|
|
28084
28070
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -28099,7 +28085,7 @@ function JumpLinksRail(props) {
|
|
|
28099
28085
|
position: "sticky",
|
|
28100
28086
|
alignSelf: "asfs",
|
|
28101
28087
|
top: ["top_var", {
|
|
28102
|
-
"--top":
|
|
28088
|
+
"--top": maybeCssVar65(__maybeInc32(stickyNavAndHeaderOffset()))
|
|
28103
28089
|
}]
|
|
28104
28090
|
}), ...tid, children: links.map((link) => /* @__PURE__ */ jsx226(JumpLink, { label: link.label, href: `#${link.id}`, active: link.id === activeId, ...tid.link }, link.id)) });
|
|
28105
28091
|
}
|
|
@@ -28192,7 +28178,7 @@ function FormSectionLayout(props) {
|
|
|
28192
28178
|
flexGrow: "fg1",
|
|
28193
28179
|
minWidth: "mw0",
|
|
28194
28180
|
marginRight: ["mr_var", {
|
|
28195
|
-
"--marginRight":
|
|
28181
|
+
"--marginRight": maybeCssVar66(__maybeInc33(jumpLinksRailReservation))
|
|
28196
28182
|
}]
|
|
28197
28183
|
}), ...tid.column, children: form })
|
|
28198
28184
|
] });
|
|
@@ -28200,7 +28186,7 @@ function FormSectionLayout(props) {
|
|
|
28200
28186
|
|
|
28201
28187
|
// src/layouts/NavbarLayout/NavbarLayout.tsx
|
|
28202
28188
|
import { useMemo as useMemo57, useRef as useRef71 } from "react";
|
|
28203
|
-
import { mergeProps as mergeProps40, maybeCssVar as
|
|
28189
|
+
import { mergeProps as mergeProps40, maybeCssVar as maybeCssVar67 } from "@homebound/truss/runtime";
|
|
28204
28190
|
|
|
28205
28191
|
// src/layouts/useAutoHideOnScroll.ts
|
|
28206
28192
|
import { useLayoutEffect as useLayoutEffect14, useRef as useRef70, useState as useState62 } from "react";
|
|
@@ -28350,10 +28336,10 @@ function NavbarLayout(props) {
|
|
|
28350
28336
|
position: "sticky",
|
|
28351
28337
|
left: "left0",
|
|
28352
28338
|
zIndex: ["z_var", {
|
|
28353
|
-
"--zIndex":
|
|
28339
|
+
"--zIndex": maybeCssVar67(zIndices.navbar)
|
|
28354
28340
|
}],
|
|
28355
28341
|
width: ["w_var", {
|
|
28356
|
-
"--width":
|
|
28342
|
+
"--width": maybeCssVar67(__maybeInc34(innerWidth))
|
|
28357
28343
|
}]
|
|
28358
28344
|
}
|
|
28359
28345
|
) : (
|
|
@@ -28362,10 +28348,10 @@ function NavbarLayout(props) {
|
|
|
28362
28348
|
position: "fixed",
|
|
28363
28349
|
left: "left0",
|
|
28364
28350
|
zIndex: ["z_var", {
|
|
28365
|
-
"--zIndex":
|
|
28351
|
+
"--zIndex": maybeCssVar67(zIndices.navbar)
|
|
28366
28352
|
}],
|
|
28367
28353
|
width: ["w_var", {
|
|
28368
|
-
"--width":
|
|
28354
|
+
"--width": maybeCssVar67(__maybeInc34(innerWidth))
|
|
28369
28355
|
}],
|
|
28370
28356
|
transition: "transitionTop"
|
|
28371
28357
|
}
|
|
@@ -28471,7 +28457,7 @@ function BaseHeader(props) {
|
|
|
28471
28457
|
|
|
28472
28458
|
// src/components/Headers/PageHeader.tsx
|
|
28473
28459
|
import { trussProps as trussProps133 } from "@homebound/truss/runtime";
|
|
28474
|
-
import {
|
|
28460
|
+
import { jsx as jsx231, jsxs as jsxs123 } from "react/jsx-runtime";
|
|
28475
28461
|
function PageHeader2(props) {
|
|
28476
28462
|
const {
|
|
28477
28463
|
tabs,
|
|
@@ -28480,9 +28466,11 @@ function PageHeader2(props) {
|
|
|
28480
28466
|
...otherProps
|
|
28481
28467
|
} = props;
|
|
28482
28468
|
const tid = useTestIds(otherProps, "header");
|
|
28483
|
-
|
|
28469
|
+
const hasActions = !!actions && actions.length > 0;
|
|
28470
|
+
return /* @__PURE__ */ jsx231(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ jsxs123("div", { className: "df gap1 fs0", ...tid.actions, children: [
|
|
28471
|
+
/* @__PURE__ */ jsx231(AutoSaveIndicator, { hideOnIdle: true }),
|
|
28484
28472
|
rightSlot,
|
|
28485
|
-
|
|
28473
|
+
hasActions && /* @__PURE__ */ jsx231(HeaderActions, { actions, collapseOnSm: true })
|
|
28486
28474
|
] }), bottomSlot: tabs && /* @__PURE__ */ jsx231("div", { ...trussProps133(pageContentPaddingX), children: /* @__PURE__ */ jsx231(Tabs, { ...tabs, ...tid.tabs }) }) });
|
|
28487
28475
|
}
|
|
28488
28476
|
|
|
@@ -28492,7 +28480,7 @@ function useBannerAndNavbarHeight() {
|
|
|
28492
28480
|
}
|
|
28493
28481
|
|
|
28494
28482
|
// src/layouts/PageHeaderLayout/PageHeaderLayout.tsx
|
|
28495
|
-
import { mergeProps as mergeProps41, maybeCssVar as
|
|
28483
|
+
import { mergeProps as mergeProps41, maybeCssVar as maybeCssVar68 } from "@homebound/truss/runtime";
|
|
28496
28484
|
import { jsx as jsx232, jsxs as jsxs124 } from "react/jsx-runtime";
|
|
28497
28485
|
var __maybeInc35 = (inc) => {
|
|
28498
28486
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -28524,24 +28512,24 @@ function PageHeaderLayout(props) {
|
|
|
28524
28512
|
const innerCss = autoHideState === "static" ? {
|
|
28525
28513
|
position: "sticky",
|
|
28526
28514
|
left: ["left_var", {
|
|
28527
|
-
"--left":
|
|
28515
|
+
"--left": maybeCssVar68(__maybeInc35(headerLeft))
|
|
28528
28516
|
}],
|
|
28529
28517
|
width: ["w_var", {
|
|
28530
|
-
"--width":
|
|
28518
|
+
"--width": maybeCssVar68(__maybeInc35(headerWidth))
|
|
28531
28519
|
}],
|
|
28532
28520
|
zIndex: ["z_var", {
|
|
28533
|
-
"--zIndex":
|
|
28521
|
+
"--zIndex": maybeCssVar68(zIndices.pageStickyHeader)
|
|
28534
28522
|
}]
|
|
28535
28523
|
} : {
|
|
28536
28524
|
position: "fixed",
|
|
28537
28525
|
left: ["left_var", {
|
|
28538
|
-
"--left":
|
|
28526
|
+
"--left": maybeCssVar68(__maybeInc35(headerLeft))
|
|
28539
28527
|
}],
|
|
28540
28528
|
width: ["w_var", {
|
|
28541
|
-
"--width":
|
|
28529
|
+
"--width": maybeCssVar68(__maybeInc35(headerWidth))
|
|
28542
28530
|
}],
|
|
28543
28531
|
zIndex: ["z_var", {
|
|
28544
|
-
"--zIndex":
|
|
28532
|
+
"--zIndex": maybeCssVar68(zIndices.pageStickyHeader)
|
|
28545
28533
|
}],
|
|
28546
28534
|
transition: "transitionTop"
|
|
28547
28535
|
};
|
|
@@ -28658,7 +28646,7 @@ function WorkflowActions(props) {
|
|
|
28658
28646
|
}
|
|
28659
28647
|
|
|
28660
28648
|
// src/layouts/Workflow/WorkflowPageLayout.tsx
|
|
28661
|
-
import { trussProps as trussProps134, mergeProps as mergeProps42, maybeCssVar as
|
|
28649
|
+
import { trussProps as trussProps134, mergeProps as mergeProps42, maybeCssVar as maybeCssVar69 } from "@homebound/truss/runtime";
|
|
28662
28650
|
import { jsx as jsx236, jsxs as jsxs126 } from "react/jsx-runtime";
|
|
28663
28651
|
var __maybeInc36 = (inc) => {
|
|
28664
28652
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -28718,13 +28706,13 @@ function WorkflowPageLayout(props) {
|
|
|
28718
28706
|
position: "sticky",
|
|
28719
28707
|
left: "left0",
|
|
28720
28708
|
width: ["w_var", {
|
|
28721
|
-
"--width":
|
|
28709
|
+
"--width": maybeCssVar69(__maybeInc36(headerWidth))
|
|
28722
28710
|
}],
|
|
28723
28711
|
zIndex: ["z_var", {
|
|
28724
|
-
"--zIndex":
|
|
28712
|
+
"--zIndex": maybeCssVar69(zIndices.pageStickyHeader)
|
|
28725
28713
|
}],
|
|
28726
28714
|
top: ["top_var", {
|
|
28727
|
-
"--top":
|
|
28715
|
+
"--top": maybeCssVar69(__maybeInc36(outerTop))
|
|
28728
28716
|
}]
|
|
28729
28717
|
}), ...tid.header, children: /* @__PURE__ */ jsx236(WorkflowHeader, { title, documentTitleSuffix, breadcrumbs, rightSlot: isMobile ? void 0 : actions, stepperTabs }) }),
|
|
28730
28718
|
/* @__PURE__ */ jsx236("div", { ...trussProps134({
|
|
@@ -28739,7 +28727,7 @@ function WorkflowPageLayout(props) {
|
|
|
28739
28727
|
...aiMode && {
|
|
28740
28728
|
backgroundImage: "aiBackground",
|
|
28741
28729
|
minHeight: ["mh_var", {
|
|
28742
|
-
"--minHeight":
|
|
28730
|
+
"--minHeight": maybeCssVar69(documentScrollBodyMinHeight())
|
|
28743
28731
|
}]
|
|
28744
28732
|
}
|
|
28745
28733
|
}), ...tid.body, children }),
|
|
@@ -28754,13 +28742,13 @@ function WorkflowPageLayout(props) {
|
|
|
28754
28742
|
position: "fixed",
|
|
28755
28743
|
bottom: "bottom0",
|
|
28756
28744
|
width: ["w_var", {
|
|
28757
|
-
"--width":
|
|
28745
|
+
"--width": maybeCssVar69(__maybeInc36(headerWidth))
|
|
28758
28746
|
}],
|
|
28759
28747
|
height: ["h_var", {
|
|
28760
28748
|
"--height": `${mobileFooterHeightPx}px`
|
|
28761
28749
|
}],
|
|
28762
28750
|
zIndex: ["z_var", {
|
|
28763
|
-
"--zIndex":
|
|
28751
|
+
"--zIndex": maybeCssVar69(zIndices.pageStickyFooter)
|
|
28764
28752
|
}],
|
|
28765
28753
|
display: "df",
|
|
28766
28754
|
alignItems: "aic",
|
|
@@ -29029,7 +29017,7 @@ function useFilter4({ filterDefs }) {
|
|
|
29029
29017
|
import { useCallback as useCallback44, useRef as useRef75 } from "react";
|
|
29030
29018
|
import { useComboBox as useComboBox3, useOverlayPosition as useOverlayPosition6 } from "react-aria";
|
|
29031
29019
|
import { Item as Item5, useComboBoxState as useComboBoxState3 } from "react-stately";
|
|
29032
|
-
import { Fragment as
|
|
29020
|
+
import { Fragment as Fragment52, jsx as jsx243, jsxs as jsxs129 } from "react/jsx-runtime";
|
|
29033
29021
|
function Autocomplete(props) {
|
|
29034
29022
|
const {
|
|
29035
29023
|
onSelect,
|
|
@@ -29100,7 +29088,7 @@ function Autocomplete(props) {
|
|
|
29100
29088
|
// Ensures the menu never gets too small.
|
|
29101
29089
|
minWidth: 200
|
|
29102
29090
|
};
|
|
29103
|
-
return /* @__PURE__ */ jsxs129(
|
|
29091
|
+
return /* @__PURE__ */ jsxs129(Fragment52, { children: [
|
|
29104
29092
|
/* @__PURE__ */ jsx243(
|
|
29105
29093
|
TextFieldBase,
|
|
29106
29094
|
{
|
|
@@ -29381,6 +29369,7 @@ export {
|
|
|
29381
29369
|
InlineFeedbackBanner,
|
|
29382
29370
|
JumpLink,
|
|
29383
29371
|
KEPT_GROUP,
|
|
29372
|
+
Keyframes,
|
|
29384
29373
|
LinkCard,
|
|
29385
29374
|
Loader,
|
|
29386
29375
|
LoadingSkeleton,
|