@homebound/beam 3.92.0 → 3.92.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +53 -49
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +53 -49
- package/dist/index.js.map +1 -1
- package/dist/truss.css +0 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -22158,6 +22158,9 @@ var import_framer_motion2 = require("framer-motion");
|
|
|
22158
22158
|
var import_react109 = require("react");
|
|
22159
22159
|
var import_runtime100 = require("@homebound/truss/runtime");
|
|
22160
22160
|
var import_jsx_runtime152 = require("react/jsx-runtime");
|
|
22161
|
+
var __maybeInc20 = (inc) => {
|
|
22162
|
+
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
22163
|
+
};
|
|
22161
22164
|
var RIGHT_SIDEBAR_MIN_WIDTH = "250px";
|
|
22162
22165
|
function RightSidebar({
|
|
22163
22166
|
content,
|
|
@@ -22202,8 +22205,8 @@ function RightSidebar({
|
|
|
22202
22205
|
"--minWidth": (0, import_runtime100.maybeCssVar)(RIGHT_SIDEBAR_MIN_WIDTH)
|
|
22203
22206
|
}],
|
|
22204
22207
|
zIndex: "z0",
|
|
22205
|
-
|
|
22206
|
-
"--
|
|
22208
|
+
height: ["h_var", {
|
|
22209
|
+
"--height": (0, import_runtime100.maybeCssVar)(__maybeInc20(`calc(100vh - ${headerHeightPx2}px)`))
|
|
22207
22210
|
}],
|
|
22208
22211
|
overflowY: "oya",
|
|
22209
22212
|
paddingLeft: "pl4",
|
|
@@ -22662,7 +22665,7 @@ function useActiveSection(sectionsWithRefs) {
|
|
|
22662
22665
|
// src/components/Layout/FullBleed.tsx
|
|
22663
22666
|
var import_runtime103 = require("@homebound/truss/runtime");
|
|
22664
22667
|
var import_react113 = require("react");
|
|
22665
|
-
var
|
|
22668
|
+
var __maybeInc21 = (inc) => {
|
|
22666
22669
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
22667
22670
|
};
|
|
22668
22671
|
function FullBleed({
|
|
@@ -22693,17 +22696,17 @@ function FullBleed({
|
|
|
22693
22696
|
// inverts that padding with negative margins before re-applying it to the child.
|
|
22694
22697
|
{
|
|
22695
22698
|
marginLeft: ["ml_var", {
|
|
22696
|
-
"--marginLeft": (0, import_runtime103.maybeCssVar)(
|
|
22699
|
+
"--marginLeft": (0, import_runtime103.maybeCssVar)(__maybeInc21(invertSpacing(paddingLeft)))
|
|
22697
22700
|
}],
|
|
22698
22701
|
marginRight: ["mr_var", {
|
|
22699
|
-
"--marginRight": (0, import_runtime103.maybeCssVar)(
|
|
22702
|
+
"--marginRight": (0, import_runtime103.maybeCssVar)(__maybeInc21(invertSpacing(paddingRight)))
|
|
22700
22703
|
}],
|
|
22701
22704
|
...!omitPadding ? {
|
|
22702
22705
|
paddingLeft: ["pl_var", {
|
|
22703
|
-
"--paddingLeft": (0, import_runtime103.maybeCssVar)(
|
|
22706
|
+
"--paddingLeft": (0, import_runtime103.maybeCssVar)(__maybeInc21(paddingLeft))
|
|
22704
22707
|
}],
|
|
22705
22708
|
paddingRight: ["pr_var", {
|
|
22706
|
-
"--paddingRight": (0, import_runtime103.maybeCssVar)(
|
|
22709
|
+
"--paddingRight": (0, import_runtime103.maybeCssVar)(__maybeInc21(paddingRight))
|
|
22707
22710
|
}]
|
|
22708
22711
|
} : {}
|
|
22709
22712
|
}
|
|
@@ -22797,7 +22800,7 @@ function useRightPaneContext() {
|
|
|
22797
22800
|
// src/components/Layout/RightPaneLayout/DocumentScrollRightPane.tsx
|
|
22798
22801
|
var import_runtime104 = require("@homebound/truss/runtime");
|
|
22799
22802
|
var import_jsx_runtime159 = require("react/jsx-runtime");
|
|
22800
|
-
var
|
|
22803
|
+
var __maybeInc22 = (inc) => {
|
|
22801
22804
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
22802
22805
|
};
|
|
22803
22806
|
function DocumentScrollRightPane({
|
|
@@ -22838,14 +22841,14 @@ function DocumentScrollRightPane({
|
|
|
22838
22841
|
position: "fixed",
|
|
22839
22842
|
transition: "transitionTop",
|
|
22840
22843
|
top: ["top_var", {
|
|
22841
|
-
"--top": (0, import_runtime104.maybeCssVar)(
|
|
22844
|
+
"--top": (0, import_runtime104.maybeCssVar)(__maybeInc22(stickyTableHeaderOffset()))
|
|
22842
22845
|
}],
|
|
22843
22846
|
right: "right_0",
|
|
22844
22847
|
height: ["h_var", {
|
|
22845
|
-
"--height": (0, import_runtime104.maybeCssVar)(
|
|
22848
|
+
"--height": (0, import_runtime104.maybeCssVar)(__maybeInc22(documentScrollRightPaneHeight()))
|
|
22846
22849
|
}],
|
|
22847
22850
|
width: ["w_var", {
|
|
22848
|
-
"--width": (0, import_runtime104.maybeCssVar)(
|
|
22851
|
+
"--width": (0, import_runtime104.maybeCssVar)(__maybeInc22(documentScrollRightPaneWidth(paneWidth)))
|
|
22849
22852
|
}],
|
|
22850
22853
|
overflowY: "oya",
|
|
22851
22854
|
backgroundColor: ["bgColor_var", {
|
|
@@ -24114,7 +24117,7 @@ function parseStoredTableView(raw) {
|
|
|
24114
24117
|
// src/components/Layout/GridTableLayout/GridTableLayout.tsx
|
|
24115
24118
|
var import_runtime113 = require("@homebound/truss/runtime");
|
|
24116
24119
|
var import_jsx_runtime183 = require("react/jsx-runtime");
|
|
24117
|
-
var
|
|
24120
|
+
var __maybeInc23 = (inc) => {
|
|
24118
24121
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
24119
24122
|
};
|
|
24120
24123
|
function GridTableLayoutComponent(props) {
|
|
@@ -24175,13 +24178,13 @@ function GridTableLayoutComponent(props) {
|
|
|
24175
24178
|
transition: "transitionTop",
|
|
24176
24179
|
position: "sticky",
|
|
24177
24180
|
top: ["top_var", {
|
|
24178
|
-
"--top": (0, import_runtime113.maybeCssVar)(
|
|
24181
|
+
"--top": (0, import_runtime113.maybeCssVar)(__maybeInc23(stickyNavAndHeaderOffset()))
|
|
24179
24182
|
}],
|
|
24180
24183
|
left: ["left_var", {
|
|
24181
|
-
"--left": (0, import_runtime113.maybeCssVar)(
|
|
24184
|
+
"--left": (0, import_runtime113.maybeCssVar)(__maybeInc23(documentScrollChromeLeft()))
|
|
24182
24185
|
}],
|
|
24183
24186
|
width: ["w_var", {
|
|
24184
|
-
"--width": (0, import_runtime113.maybeCssVar)(
|
|
24187
|
+
"--width": (0, import_runtime113.maybeCssVar)(__maybeInc23(`min(100%, ${documentScrollChromeWidth()})`))
|
|
24185
24188
|
}],
|
|
24186
24189
|
zIndex: ["z_var", {
|
|
24187
24190
|
"--zIndex": (0, import_runtime113.maybeCssVar)(zIndices.tableActions)
|
|
@@ -24322,7 +24325,7 @@ var import_framer_motion4 = require("framer-motion");
|
|
|
24322
24325
|
var import_react127 = require("react");
|
|
24323
24326
|
var import_runtime114 = require("@homebound/truss/runtime");
|
|
24324
24327
|
var import_jsx_runtime185 = require("react/jsx-runtime");
|
|
24325
|
-
var
|
|
24328
|
+
var __maybeInc24 = (inc) => {
|
|
24326
24329
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
24327
24330
|
};
|
|
24328
24331
|
function RightPaneLayout(props) {
|
|
@@ -24343,7 +24346,7 @@ function RightPaneLayout(props) {
|
|
|
24343
24346
|
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)("div", { ...(0, import_runtime114.trussProps)({
|
|
24344
24347
|
...{
|
|
24345
24348
|
width: ["w_var", {
|
|
24346
|
-
"--width": (0, import_runtime114.maybeCssVar)(
|
|
24349
|
+
"--width": (0, import_runtime114.maybeCssVar)(__maybeInc24(`calc(100% - ${paneWidth + 24}px)`))
|
|
24347
24350
|
}],
|
|
24348
24351
|
transition: "transition_width_2s_linear",
|
|
24349
24352
|
height: "h100",
|
|
@@ -24359,7 +24362,7 @@ function RightPaneLayout(props) {
|
|
|
24359
24362
|
...{
|
|
24360
24363
|
...!!defaultPaneContent ? {
|
|
24361
24364
|
width: ["w_var", {
|
|
24362
|
-
"--width": (0, import_runtime114.maybeCssVar)(
|
|
24365
|
+
"--width": (0, import_runtime114.maybeCssVar)(__maybeInc24(`calc(100% - ${paneWidth + 24}px)`))
|
|
24363
24366
|
}],
|
|
24364
24367
|
marginRight: "mr3"
|
|
24365
24368
|
} : {}
|
|
@@ -25158,7 +25161,7 @@ function Card(props) {
|
|
|
25158
25161
|
icon: "verticalDots",
|
|
25159
25162
|
color: isList ? "--b-on-surface-muted" /* OnSurfaceMuted */ : "--b-on-primary" /* OnPrimary */
|
|
25160
25163
|
}, items: buttonMenuItems }) }),
|
|
25161
|
-
tag && /* @__PURE__ */ (0, import_jsx_runtime194.jsx)("div", { className: "absolute left1 top_4px", children: /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(Tag, { type: tag
|
|
25164
|
+
tag && !isList && /* @__PURE__ */ (0, import_jsx_runtime194.jsx)("div", { className: "absolute left1 top_4px", children: /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(Tag, { type: tag.type, text: tag.text, ...tid.tag }) }),
|
|
25162
25165
|
/* @__PURE__ */ (0, import_jsx_runtime194.jsxs)("div", { className: "df fdc aifs gap1", children: [
|
|
25163
25166
|
/* @__PURE__ */ (0, import_jsx_runtime194.jsxs)("div", { children: [
|
|
25164
25167
|
/* @__PURE__ */ (0, import_jsx_runtime194.jsx)("div", { ...(0, import_runtime119.trussProps)({
|
|
@@ -25183,7 +25186,8 @@ function Card(props) {
|
|
|
25183
25186
|
} : {}
|
|
25184
25187
|
}), ...tid.title, children: title })
|
|
25185
25188
|
] }),
|
|
25186
|
-
/* @__PURE__ */ (0, import_jsx_runtime194.jsx)("div", { ...tid.details, children: detailContent })
|
|
25189
|
+
/* @__PURE__ */ (0, import_jsx_runtime194.jsx)("div", { ...tid.details, children: detailContent }),
|
|
25190
|
+
tag && isList && /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(Tag, { type: tag.type, text: tag.text, ...tid.tag })
|
|
25187
25191
|
] })
|
|
25188
25192
|
] });
|
|
25189
25193
|
}
|
|
@@ -25509,7 +25513,7 @@ function ResponsiveGridItem(props) {
|
|
|
25509
25513
|
// src/components/Grid/useResponsiveGrid.ts
|
|
25510
25514
|
var import_react137 = require("react");
|
|
25511
25515
|
var import_runtime124 = require("@homebound/truss/runtime");
|
|
25512
|
-
var
|
|
25516
|
+
var __maybeInc25 = (inc) => {
|
|
25513
25517
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
25514
25518
|
};
|
|
25515
25519
|
function useResponsiveGrid(props) {
|
|
@@ -25531,7 +25535,7 @@ function useResponsiveGrid(props) {
|
|
|
25531
25535
|
}],
|
|
25532
25536
|
containerType: "ctis",
|
|
25533
25537
|
gap: ["gap_var", {
|
|
25534
|
-
"--gap": (0, import_runtime124.maybeCssVar)(
|
|
25538
|
+
"--gap": (0, import_runtime124.maybeCssVar)(__maybeInc25(gridGap))
|
|
25535
25539
|
}]
|
|
25536
25540
|
};
|
|
25537
25541
|
}, [minColumnWidth, gap, columns]);
|
|
@@ -26013,7 +26017,7 @@ function useAppNavGroupExpanded(linkGroup) {
|
|
|
26013
26017
|
// src/components/AppNav/AppNavGroup.tsx
|
|
26014
26018
|
var import_runtime128 = require("@homebound/truss/runtime");
|
|
26015
26019
|
var import_jsx_runtime203 = require("react/jsx-runtime");
|
|
26016
|
-
var
|
|
26020
|
+
var __maybeInc26 = (inc) => {
|
|
26017
26021
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
26018
26022
|
};
|
|
26019
26023
|
function AppNavGroupView(props) {
|
|
@@ -26060,7 +26064,7 @@ function AppNavGroupDisclosure(props) {
|
|
|
26060
26064
|
overflow: "oh",
|
|
26061
26065
|
transition: "transitionHeight",
|
|
26062
26066
|
height: ["h_var", {
|
|
26063
|
-
"--height": (0, import_runtime128.maybeCssVar)(
|
|
26067
|
+
"--height": (0, import_runtime128.maybeCssVar)(__maybeInc26(contentHeight))
|
|
26064
26068
|
}]
|
|
26065
26069
|
}), ...tid.panel, ...!expanded ? {
|
|
26066
26070
|
inert: "true"
|
|
@@ -26876,7 +26880,7 @@ var import_react_aria64 = require("react-aria");
|
|
|
26876
26880
|
var import_runtime135 = require("@homebound/truss/runtime");
|
|
26877
26881
|
var import_jsx_runtime214 = require("react/jsx-runtime");
|
|
26878
26882
|
var import_react151 = require("react");
|
|
26879
|
-
var
|
|
26883
|
+
var __maybeInc27 = (inc) => {
|
|
26880
26884
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
26881
26885
|
};
|
|
26882
26886
|
function Stepper(props) {
|
|
@@ -26936,7 +26940,7 @@ function Stepper(props) {
|
|
|
26936
26940
|
transition: "transition_width_200ms",
|
|
26937
26941
|
height: "h100",
|
|
26938
26942
|
width: ["w_var", {
|
|
26939
|
-
"--width": (0, import_runtime135.maybeCssVar)(
|
|
26943
|
+
"--width": (0, import_runtime135.maybeCssVar)(__maybeInc27(`${(lastCompletedStep + 1) / steps.length * 100}%`))
|
|
26940
26944
|
}]
|
|
26941
26945
|
}) }) })
|
|
26942
26946
|
] });
|
|
@@ -27886,7 +27890,7 @@ function useToast() {
|
|
|
27886
27890
|
// src/layouts/SideNavLayout/SideNavLayout.tsx
|
|
27887
27891
|
var import_runtime141 = require("@homebound/truss/runtime");
|
|
27888
27892
|
var import_jsx_runtime222 = require("react/jsx-runtime");
|
|
27889
|
-
var
|
|
27893
|
+
var __maybeInc28 = (inc) => {
|
|
27890
27894
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
27891
27895
|
};
|
|
27892
27896
|
function SideNavLayout(props) {
|
|
@@ -27942,11 +27946,11 @@ function SideNavLayoutContent(props) {
|
|
|
27942
27946
|
"--zIndex": (0, import_runtime141.maybeCssVar)(zIndices.sideNav)
|
|
27943
27947
|
}],
|
|
27944
27948
|
top: ["top_var", {
|
|
27945
|
-
"--top": (0, import_runtime141.maybeCssVar)(
|
|
27949
|
+
"--top": (0, import_runtime141.maybeCssVar)(__maybeInc28(navTop))
|
|
27946
27950
|
}],
|
|
27947
27951
|
alignSelf: "asfs",
|
|
27948
27952
|
height: ["h_var", {
|
|
27949
|
-
"--height": (0, import_runtime141.maybeCssVar)(
|
|
27953
|
+
"--height": (0, import_runtime141.maybeCssVar)(__maybeInc28(railViewportHeight))
|
|
27950
27954
|
}],
|
|
27951
27955
|
width: ["w_var", {
|
|
27952
27956
|
"--width": `${collapsed ? railCollapsedWidthPx : railWidthPx}px`
|
|
@@ -27956,7 +27960,7 @@ function SideNavLayoutContent(props) {
|
|
|
27956
27960
|
position: "fixed",
|
|
27957
27961
|
left: "left0",
|
|
27958
27962
|
top: ["top_var", {
|
|
27959
|
-
"--top": (0, import_runtime141.maybeCssVar)(
|
|
27963
|
+
"--top": (0, import_runtime141.maybeCssVar)(__maybeInc28(navTop))
|
|
27960
27964
|
}],
|
|
27961
27965
|
bottom: "bottom0",
|
|
27962
27966
|
zIndex: ["z_var", {
|
|
@@ -28001,7 +28005,7 @@ function SideNavLayoutContent(props) {
|
|
|
28001
28005
|
// src/layouts/CenteredLayout/CenteredLayout.tsx
|
|
28002
28006
|
var import_runtime142 = require("@homebound/truss/runtime");
|
|
28003
28007
|
var import_jsx_runtime223 = require("react/jsx-runtime");
|
|
28004
|
-
var
|
|
28008
|
+
var __maybeInc29 = (inc) => {
|
|
28005
28009
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
28006
28010
|
};
|
|
28007
28011
|
function CenteredLayout(props) {
|
|
@@ -28041,17 +28045,17 @@ var smContentPaddingX = "12px";
|
|
|
28041
28045
|
var mdAndUpContentPaddingX = pageContentPaddingXValue;
|
|
28042
28046
|
var centeredPaddingX = {
|
|
28043
28047
|
paddingLeft: ["px_var mdandup_pl3", {
|
|
28044
|
-
"--paddingLeft": (0, import_runtime142.maybeCssVar)(
|
|
28048
|
+
"--paddingLeft": (0, import_runtime142.maybeCssVar)(__maybeInc29(smContentPaddingX))
|
|
28045
28049
|
}],
|
|
28046
28050
|
paddingRight: ["px_var mdandup_pr3", {
|
|
28047
|
-
"--paddingRight": (0, import_runtime142.maybeCssVar)(
|
|
28051
|
+
"--paddingRight": (0, import_runtime142.maybeCssVar)(__maybeInc29(smContentPaddingX))
|
|
28048
28052
|
}]
|
|
28049
28053
|
};
|
|
28050
28054
|
|
|
28051
28055
|
// src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayout.tsx
|
|
28052
28056
|
var import_runtime143 = require("@homebound/truss/runtime");
|
|
28053
28057
|
var import_jsx_runtime224 = require("react/jsx-runtime");
|
|
28054
|
-
var
|
|
28058
|
+
var __maybeInc30 = (inc) => {
|
|
28055
28059
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
28056
28060
|
};
|
|
28057
28061
|
function EnvironmentBannerLayout(props) {
|
|
@@ -28085,7 +28089,7 @@ function EnvironmentBannerLayout(props) {
|
|
|
28085
28089
|
"--zIndex": (0, import_runtime143.maybeCssVar)(zIndices.environmentBanner)
|
|
28086
28090
|
}],
|
|
28087
28091
|
width: ["w_var", {
|
|
28088
|
-
"--width": (0, import_runtime143.maybeCssVar)(
|
|
28092
|
+
"--width": (0, import_runtime143.maybeCssVar)(__maybeInc30(innerWidth))
|
|
28089
28093
|
}]
|
|
28090
28094
|
}), ...tid.bannerSticky, children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(EnvironmentBanner, { ...environmentBanner, ...tid.environmentBanner }) }) }),
|
|
28091
28095
|
children
|
|
@@ -28250,7 +28254,7 @@ function useNavbarLayoutHeight() {
|
|
|
28250
28254
|
|
|
28251
28255
|
// src/layouts/NavbarLayout/NavbarLayout.tsx
|
|
28252
28256
|
var import_jsx_runtime227 = require("react/jsx-runtime");
|
|
28253
|
-
var
|
|
28257
|
+
var __maybeInc31 = (inc) => {
|
|
28254
28258
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
28255
28259
|
};
|
|
28256
28260
|
function NavbarLayout(props) {
|
|
@@ -28281,7 +28285,7 @@ function NavbarLayout(props) {
|
|
|
28281
28285
|
"--zIndex": (0, import_runtime145.maybeCssVar)(zIndices.navbar)
|
|
28282
28286
|
}],
|
|
28283
28287
|
width: ["w_var", {
|
|
28284
|
-
"--width": (0, import_runtime145.maybeCssVar)(
|
|
28288
|
+
"--width": (0, import_runtime145.maybeCssVar)(__maybeInc31(innerWidth))
|
|
28285
28289
|
}]
|
|
28286
28290
|
}
|
|
28287
28291
|
) : (
|
|
@@ -28293,7 +28297,7 @@ function NavbarLayout(props) {
|
|
|
28293
28297
|
"--zIndex": (0, import_runtime145.maybeCssVar)(zIndices.navbar)
|
|
28294
28298
|
}],
|
|
28295
28299
|
width: ["w_var", {
|
|
28296
|
-
"--width": (0, import_runtime145.maybeCssVar)(
|
|
28300
|
+
"--width": (0, import_runtime145.maybeCssVar)(__maybeInc31(innerWidth))
|
|
28297
28301
|
}],
|
|
28298
28302
|
transition: "transitionTop"
|
|
28299
28303
|
}
|
|
@@ -28401,7 +28405,7 @@ function useBannerAndNavbarHeight() {
|
|
|
28401
28405
|
// src/layouts/PageHeaderLayout/PageHeaderLayout.tsx
|
|
28402
28406
|
var import_runtime148 = require("@homebound/truss/runtime");
|
|
28403
28407
|
var import_jsx_runtime230 = require("react/jsx-runtime");
|
|
28404
|
-
var
|
|
28408
|
+
var __maybeInc32 = (inc) => {
|
|
28405
28409
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
28406
28410
|
};
|
|
28407
28411
|
function PageHeaderLayout(props) {
|
|
@@ -28431,10 +28435,10 @@ function PageHeaderLayout(props) {
|
|
|
28431
28435
|
const innerCss = autoHideState === "static" ? {
|
|
28432
28436
|
position: "sticky",
|
|
28433
28437
|
left: ["left_var", {
|
|
28434
|
-
"--left": (0, import_runtime148.maybeCssVar)(
|
|
28438
|
+
"--left": (0, import_runtime148.maybeCssVar)(__maybeInc32(headerLeft))
|
|
28435
28439
|
}],
|
|
28436
28440
|
width: ["w_var", {
|
|
28437
|
-
"--width": (0, import_runtime148.maybeCssVar)(
|
|
28441
|
+
"--width": (0, import_runtime148.maybeCssVar)(__maybeInc32(headerWidth))
|
|
28438
28442
|
}],
|
|
28439
28443
|
zIndex: ["z_var", {
|
|
28440
28444
|
"--zIndex": (0, import_runtime148.maybeCssVar)(zIndices.pageStickyHeader)
|
|
@@ -28442,10 +28446,10 @@ function PageHeaderLayout(props) {
|
|
|
28442
28446
|
} : {
|
|
28443
28447
|
position: "fixed",
|
|
28444
28448
|
left: ["left_var", {
|
|
28445
|
-
"--left": (0, import_runtime148.maybeCssVar)(
|
|
28449
|
+
"--left": (0, import_runtime148.maybeCssVar)(__maybeInc32(headerLeft))
|
|
28446
28450
|
}],
|
|
28447
28451
|
width: ["w_var", {
|
|
28448
|
-
"--width": (0, import_runtime148.maybeCssVar)(
|
|
28452
|
+
"--width": (0, import_runtime148.maybeCssVar)(__maybeInc32(headerWidth))
|
|
28449
28453
|
}],
|
|
28450
28454
|
zIndex: ["z_var", {
|
|
28451
28455
|
"--zIndex": (0, import_runtime148.maybeCssVar)(zIndices.pageStickyHeader)
|
|
@@ -28474,7 +28478,7 @@ function PageHeaderLayout(props) {
|
|
|
28474
28478
|
// src/layouts/Workflow/JumpLinksRail.tsx
|
|
28475
28479
|
var import_runtime149 = require("@homebound/truss/runtime");
|
|
28476
28480
|
var import_jsx_runtime231 = require("react/jsx-runtime");
|
|
28477
|
-
var
|
|
28481
|
+
var __maybeInc33 = (inc) => {
|
|
28478
28482
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
28479
28483
|
};
|
|
28480
28484
|
var jumpLinksRailWidthPx = 180;
|
|
@@ -28494,7 +28498,7 @@ function JumpLinksRail(props) {
|
|
|
28494
28498
|
position: "sticky",
|
|
28495
28499
|
alignSelf: "asfs",
|
|
28496
28500
|
top: ["top_var", {
|
|
28497
|
-
"--top": (0, import_runtime149.maybeCssVar)(
|
|
28501
|
+
"--top": (0, import_runtime149.maybeCssVar)(__maybeInc33(stickyNavAndHeaderOffset()))
|
|
28498
28502
|
}]
|
|
28499
28503
|
}), ...tid, children: links.map((link) => /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(JumpLink, { label: link.label, href: `#${link.id}`, active: link.id === activeId, ...tid.link }, link.id)) });
|
|
28500
28504
|
}
|
|
@@ -28624,7 +28628,7 @@ function WorkflowActions(props) {
|
|
|
28624
28628
|
// src/layouts/Workflow/WorkflowPageLayout.tsx
|
|
28625
28629
|
var import_runtime150 = require("@homebound/truss/runtime");
|
|
28626
28630
|
var import_jsx_runtime235 = require("react/jsx-runtime");
|
|
28627
|
-
var
|
|
28631
|
+
var __maybeInc34 = (inc) => {
|
|
28628
28632
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
28629
28633
|
};
|
|
28630
28634
|
var mobileFooterHeightPx = 80;
|
|
@@ -28682,13 +28686,13 @@ function WorkflowPageLayout(props) {
|
|
|
28682
28686
|
position: "sticky",
|
|
28683
28687
|
left: "left0",
|
|
28684
28688
|
width: ["w_var", {
|
|
28685
|
-
"--width": (0, import_runtime150.maybeCssVar)(
|
|
28689
|
+
"--width": (0, import_runtime150.maybeCssVar)(__maybeInc34(headerWidth))
|
|
28686
28690
|
}],
|
|
28687
28691
|
zIndex: ["z_var", {
|
|
28688
28692
|
"--zIndex": (0, import_runtime150.maybeCssVar)(zIndices.pageStickyHeader)
|
|
28689
28693
|
}],
|
|
28690
28694
|
top: ["top_var", {
|
|
28691
|
-
"--top": (0, import_runtime150.maybeCssVar)(
|
|
28695
|
+
"--top": (0, import_runtime150.maybeCssVar)(__maybeInc34(outerTop))
|
|
28692
28696
|
}]
|
|
28693
28697
|
}), ...tid.header, children: /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(WorkflowHeader, { title, documentTitleSuffix, breadcrumbs, rightSlot: isMobile ? void 0 : actions, stepperTabs }) }),
|
|
28694
28698
|
/* @__PURE__ */ (0, import_jsx_runtime235.jsx)("div", { ...(0, import_runtime150.trussProps)({
|
|
@@ -28718,7 +28722,7 @@ function WorkflowPageLayout(props) {
|
|
|
28718
28722
|
position: "fixed",
|
|
28719
28723
|
bottom: "bottom0",
|
|
28720
28724
|
width: ["w_var", {
|
|
28721
|
-
"--width": (0, import_runtime150.maybeCssVar)(
|
|
28725
|
+
"--width": (0, import_runtime150.maybeCssVar)(__maybeInc34(headerWidth))
|
|
28722
28726
|
}],
|
|
28723
28727
|
height: ["h_var", {
|
|
28724
28728
|
"--height": `${mobileFooterHeightPx}px`
|