@homebound/beam 3.92.1 → 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.js CHANGED
@@ -21655,6 +21655,9 @@ import { AnimatePresence as AnimatePresence2, motion as motion2 } from "framer-m
21655
21655
  import { useState as useState40 } from "react";
21656
21656
  import { trussProps as trussProps92, maybeCssVar as maybeCssVar44 } from "@homebound/truss/runtime";
21657
21657
  import { Fragment as Fragment29, jsx as jsx152, jsxs as jsxs75 } from "react/jsx-runtime";
21658
+ var __maybeInc20 = (inc) => {
21659
+ return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
21660
+ };
21658
21661
  var RIGHT_SIDEBAR_MIN_WIDTH = "250px";
21659
21662
  function RightSidebar({
21660
21663
  content,
@@ -21699,8 +21702,8 @@ function RightSidebar({
21699
21702
  "--minWidth": maybeCssVar44(RIGHT_SIDEBAR_MIN_WIDTH)
21700
21703
  }],
21701
21704
  zIndex: "z0",
21702
- maxHeight: ["maxh_var", {
21703
- "--maxHeight": maybeCssVar44(`calc(100vh - ${headerHeightPx2}px)`)
21705
+ height: ["h_var", {
21706
+ "--height": maybeCssVar44(__maybeInc20(`calc(100vh - ${headerHeightPx2}px)`))
21704
21707
  }],
21705
21708
  overflowY: "oya",
21706
21709
  paddingLeft: "pl4",
@@ -22159,7 +22162,7 @@ function useActiveSection(sectionsWithRefs) {
22159
22162
  // src/components/Layout/FullBleed.tsx
22160
22163
  import { mergeProps as mergeProps25, maybeCssVar as maybeCssVar46 } from "@homebound/truss/runtime";
22161
22164
  import { cloneElement as cloneElement3 } from "react";
22162
- var __maybeInc20 = (inc) => {
22165
+ var __maybeInc21 = (inc) => {
22163
22166
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
22164
22167
  };
22165
22168
  function FullBleed({
@@ -22190,17 +22193,17 @@ function FullBleed({
22190
22193
  // inverts that padding with negative margins before re-applying it to the child.
22191
22194
  {
22192
22195
  marginLeft: ["ml_var", {
22193
- "--marginLeft": maybeCssVar46(__maybeInc20(invertSpacing(paddingLeft)))
22196
+ "--marginLeft": maybeCssVar46(__maybeInc21(invertSpacing(paddingLeft)))
22194
22197
  }],
22195
22198
  marginRight: ["mr_var", {
22196
- "--marginRight": maybeCssVar46(__maybeInc20(invertSpacing(paddingRight)))
22199
+ "--marginRight": maybeCssVar46(__maybeInc21(invertSpacing(paddingRight)))
22197
22200
  }],
22198
22201
  ...!omitPadding ? {
22199
22202
  paddingLeft: ["pl_var", {
22200
- "--paddingLeft": maybeCssVar46(__maybeInc20(paddingLeft))
22203
+ "--paddingLeft": maybeCssVar46(__maybeInc21(paddingLeft))
22201
22204
  }],
22202
22205
  paddingRight: ["pr_var", {
22203
- "--paddingRight": maybeCssVar46(__maybeInc20(paddingRight))
22206
+ "--paddingRight": maybeCssVar46(__maybeInc21(paddingRight))
22204
22207
  }]
22205
22208
  } : {}
22206
22209
  }
@@ -22294,7 +22297,7 @@ function useRightPaneContext() {
22294
22297
  // src/components/Layout/RightPaneLayout/DocumentScrollRightPane.tsx
22295
22298
  import { mergeProps as mergeProps26, maybeCssVar as maybeCssVar47 } from "@homebound/truss/runtime";
22296
22299
  import { jsx as jsx159 } from "react/jsx-runtime";
22297
- var __maybeInc21 = (inc) => {
22300
+ var __maybeInc22 = (inc) => {
22298
22301
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
22299
22302
  };
22300
22303
  function DocumentScrollRightPane({
@@ -22335,14 +22338,14 @@ function DocumentScrollRightPane({
22335
22338
  position: "fixed",
22336
22339
  transition: "transitionTop",
22337
22340
  top: ["top_var", {
22338
- "--top": maybeCssVar47(__maybeInc21(stickyTableHeaderOffset()))
22341
+ "--top": maybeCssVar47(__maybeInc22(stickyTableHeaderOffset()))
22339
22342
  }],
22340
22343
  right: "right_0",
22341
22344
  height: ["h_var", {
22342
- "--height": maybeCssVar47(__maybeInc21(documentScrollRightPaneHeight()))
22345
+ "--height": maybeCssVar47(__maybeInc22(documentScrollRightPaneHeight()))
22343
22346
  }],
22344
22347
  width: ["w_var", {
22345
- "--width": maybeCssVar47(__maybeInc21(documentScrollRightPaneWidth(paneWidth)))
22348
+ "--width": maybeCssVar47(__maybeInc22(documentScrollRightPaneWidth(paneWidth)))
22346
22349
  }],
22347
22350
  overflowY: "oya",
22348
22351
  backgroundColor: ["bgColor_var", {
@@ -23611,7 +23614,7 @@ function parseStoredTableView(raw) {
23611
23614
  // src/components/Layout/GridTableLayout/GridTableLayout.tsx
23612
23615
  import { trussProps as trussProps102, maybeCssVar as maybeCssVar50 } from "@homebound/truss/runtime";
23613
23616
  import { Fragment as Fragment40, jsx as jsx183, jsxs as jsxs89 } from "react/jsx-runtime";
23614
- var __maybeInc22 = (inc) => {
23617
+ var __maybeInc23 = (inc) => {
23615
23618
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
23616
23619
  };
23617
23620
  function GridTableLayoutComponent(props) {
@@ -23672,13 +23675,13 @@ function GridTableLayoutComponent(props) {
23672
23675
  transition: "transitionTop",
23673
23676
  position: "sticky",
23674
23677
  top: ["top_var", {
23675
- "--top": maybeCssVar50(__maybeInc22(stickyNavAndHeaderOffset()))
23678
+ "--top": maybeCssVar50(__maybeInc23(stickyNavAndHeaderOffset()))
23676
23679
  }],
23677
23680
  left: ["left_var", {
23678
- "--left": maybeCssVar50(__maybeInc22(documentScrollChromeLeft()))
23681
+ "--left": maybeCssVar50(__maybeInc23(documentScrollChromeLeft()))
23679
23682
  }],
23680
23683
  width: ["w_var", {
23681
- "--width": maybeCssVar50(__maybeInc22(`min(100%, ${documentScrollChromeWidth()})`))
23684
+ "--width": maybeCssVar50(__maybeInc23(`min(100%, ${documentScrollChromeWidth()})`))
23682
23685
  }],
23683
23686
  zIndex: ["z_var", {
23684
23687
  "--zIndex": maybeCssVar50(zIndices.tableActions)
@@ -23819,7 +23822,7 @@ import { AnimatePresence as AnimatePresence4, motion as motion4 } from "framer-m
23819
23822
  import { useEffect as useEffect30 } from "react";
23820
23823
  import { trussProps as trussProps103, maybeCssVar as maybeCssVar51 } from "@homebound/truss/runtime";
23821
23824
  import { Fragment as Fragment41, jsx as jsx185, jsxs as jsxs90 } from "react/jsx-runtime";
23822
- var __maybeInc23 = (inc) => {
23825
+ var __maybeInc24 = (inc) => {
23823
23826
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
23824
23827
  };
23825
23828
  function RightPaneLayout(props) {
@@ -23840,7 +23843,7 @@ function RightPaneLayout(props) {
23840
23843
  /* @__PURE__ */ jsx185("div", { ...trussProps103({
23841
23844
  ...{
23842
23845
  width: ["w_var", {
23843
- "--width": maybeCssVar51(__maybeInc23(`calc(100% - ${paneWidth + 24}px)`))
23846
+ "--width": maybeCssVar51(__maybeInc24(`calc(100% - ${paneWidth + 24}px)`))
23844
23847
  }],
23845
23848
  transition: "transition_width_2s_linear",
23846
23849
  height: "h100",
@@ -23856,7 +23859,7 @@ function RightPaneLayout(props) {
23856
23859
  ...{
23857
23860
  ...!!defaultPaneContent ? {
23858
23861
  width: ["w_var", {
23859
- "--width": maybeCssVar51(__maybeInc23(`calc(100% - ${paneWidth + 24}px)`))
23862
+ "--width": maybeCssVar51(__maybeInc24(`calc(100% - ${paneWidth + 24}px)`))
23860
23863
  }],
23861
23864
  marginRight: "mr3"
23862
23865
  } : {}
@@ -25007,7 +25010,7 @@ function ResponsiveGridItem(props) {
25007
25010
  // src/components/Grid/useResponsiveGrid.ts
25008
25011
  import { useMemo as useMemo47 } from "react";
25009
25012
  import { maybeCssVar as maybeCssVar54 } from "@homebound/truss/runtime";
25010
- var __maybeInc24 = (inc) => {
25013
+ var __maybeInc25 = (inc) => {
25011
25014
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
25012
25015
  };
25013
25016
  function useResponsiveGrid(props) {
@@ -25029,7 +25032,7 @@ function useResponsiveGrid(props) {
25029
25032
  }],
25030
25033
  containerType: "ctis",
25031
25034
  gap: ["gap_var", {
25032
- "--gap": maybeCssVar54(__maybeInc24(gridGap))
25035
+ "--gap": maybeCssVar54(__maybeInc25(gridGap))
25033
25036
  }]
25034
25037
  };
25035
25038
  }, [minColumnWidth, gap, columns]);
@@ -25511,7 +25514,7 @@ function useAppNavGroupExpanded(linkGroup) {
25511
25514
  // src/components/AppNav/AppNavGroup.tsx
25512
25515
  import { trussProps as trussProps115, maybeCssVar as maybeCssVar56 } from "@homebound/truss/runtime";
25513
25516
  import { Fragment as Fragment45, jsx as jsx203, jsxs as jsxs102 } from "react/jsx-runtime";
25514
- var __maybeInc25 = (inc) => {
25517
+ var __maybeInc26 = (inc) => {
25515
25518
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
25516
25519
  };
25517
25520
  function AppNavGroupView(props) {
@@ -25558,7 +25561,7 @@ function AppNavGroupDisclosure(props) {
25558
25561
  overflow: "oh",
25559
25562
  transition: "transitionHeight",
25560
25563
  height: ["h_var", {
25561
- "--height": maybeCssVar56(__maybeInc25(contentHeight))
25564
+ "--height": maybeCssVar56(__maybeInc26(contentHeight))
25562
25565
  }]
25563
25566
  }), ...tid.panel, ...!expanded ? {
25564
25567
  inert: "true"
@@ -26382,7 +26385,7 @@ import { useButton as useButton12, useFocusRing as useFocusRing18, useHover as u
26382
26385
  import { trussProps as trussProps122, maybeCssVar as maybeCssVar59 } from "@homebound/truss/runtime";
26383
26386
  import { jsx as jsx214, jsxs as jsxs109 } from "react/jsx-runtime";
26384
26387
  import { createElement as createElement6 } from "react";
26385
- var __maybeInc26 = (inc) => {
26388
+ var __maybeInc27 = (inc) => {
26386
26389
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
26387
26390
  };
26388
26391
  function Stepper(props) {
@@ -26442,7 +26445,7 @@ function Stepper(props) {
26442
26445
  transition: "transition_width_200ms",
26443
26446
  height: "h100",
26444
26447
  width: ["w_var", {
26445
- "--width": maybeCssVar59(__maybeInc26(`${(lastCompletedStep + 1) / steps.length * 100}%`))
26448
+ "--width": maybeCssVar59(__maybeInc27(`${(lastCompletedStep + 1) / steps.length * 100}%`))
26446
26449
  }]
26447
26450
  }) }) })
26448
26451
  ] });
@@ -27392,7 +27395,7 @@ function useToast() {
27392
27395
  // src/layouts/SideNavLayout/SideNavLayout.tsx
27393
27396
  import { trussProps as trussProps128, mergeProps as mergeProps36, maybeCssVar as maybeCssVar61 } from "@homebound/truss/runtime";
27394
27397
  import { jsx as jsx222, jsxs as jsxs115 } from "react/jsx-runtime";
27395
- var __maybeInc27 = (inc) => {
27398
+ var __maybeInc28 = (inc) => {
27396
27399
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
27397
27400
  };
27398
27401
  function SideNavLayout(props) {
@@ -27448,11 +27451,11 @@ function SideNavLayoutContent(props) {
27448
27451
  "--zIndex": maybeCssVar61(zIndices.sideNav)
27449
27452
  }],
27450
27453
  top: ["top_var", {
27451
- "--top": maybeCssVar61(__maybeInc27(navTop))
27454
+ "--top": maybeCssVar61(__maybeInc28(navTop))
27452
27455
  }],
27453
27456
  alignSelf: "asfs",
27454
27457
  height: ["h_var", {
27455
- "--height": maybeCssVar61(__maybeInc27(railViewportHeight))
27458
+ "--height": maybeCssVar61(__maybeInc28(railViewportHeight))
27456
27459
  }],
27457
27460
  width: ["w_var", {
27458
27461
  "--width": `${collapsed ? railCollapsedWidthPx : railWidthPx}px`
@@ -27462,7 +27465,7 @@ function SideNavLayoutContent(props) {
27462
27465
  position: "fixed",
27463
27466
  left: "left0",
27464
27467
  top: ["top_var", {
27465
- "--top": maybeCssVar61(__maybeInc27(navTop))
27468
+ "--top": maybeCssVar61(__maybeInc28(navTop))
27466
27469
  }],
27467
27470
  bottom: "bottom0",
27468
27471
  zIndex: ["z_var", {
@@ -27507,7 +27510,7 @@ function SideNavLayoutContent(props) {
27507
27510
  // src/layouts/CenteredLayout/CenteredLayout.tsx
27508
27511
  import { mergeProps as mergeProps37, maybeCssVar as maybeCssVar62 } from "@homebound/truss/runtime";
27509
27512
  import { jsx as jsx223 } from "react/jsx-runtime";
27510
- var __maybeInc28 = (inc) => {
27513
+ var __maybeInc29 = (inc) => {
27511
27514
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
27512
27515
  };
27513
27516
  function CenteredLayout(props) {
@@ -27547,17 +27550,17 @@ var smContentPaddingX = "12px";
27547
27550
  var mdAndUpContentPaddingX = pageContentPaddingXValue;
27548
27551
  var centeredPaddingX = {
27549
27552
  paddingLeft: ["px_var mdandup_pl3", {
27550
- "--paddingLeft": maybeCssVar62(__maybeInc28(smContentPaddingX))
27553
+ "--paddingLeft": maybeCssVar62(__maybeInc29(smContentPaddingX))
27551
27554
  }],
27552
27555
  paddingRight: ["px_var mdandup_pr3", {
27553
- "--paddingRight": maybeCssVar62(__maybeInc28(smContentPaddingX))
27556
+ "--paddingRight": maybeCssVar62(__maybeInc29(smContentPaddingX))
27554
27557
  }]
27555
27558
  };
27556
27559
 
27557
27560
  // src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayout.tsx
27558
27561
  import { trussProps as trussProps129, mergeProps as mergeProps38, maybeCssVar as maybeCssVar63 } from "@homebound/truss/runtime";
27559
27562
  import { jsx as jsx224, jsxs as jsxs116 } from "react/jsx-runtime";
27560
- var __maybeInc29 = (inc) => {
27563
+ var __maybeInc30 = (inc) => {
27561
27564
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
27562
27565
  };
27563
27566
  function EnvironmentBannerLayout(props) {
@@ -27591,7 +27594,7 @@ function EnvironmentBannerLayout(props) {
27591
27594
  "--zIndex": maybeCssVar63(zIndices.environmentBanner)
27592
27595
  }],
27593
27596
  width: ["w_var", {
27594
- "--width": maybeCssVar63(__maybeInc29(innerWidth))
27597
+ "--width": maybeCssVar63(__maybeInc30(innerWidth))
27595
27598
  }]
27596
27599
  }), ...tid.bannerSticky, children: /* @__PURE__ */ jsx224(EnvironmentBanner, { ...environmentBanner, ...tid.environmentBanner }) }) }),
27597
27600
  children
@@ -27756,7 +27759,7 @@ function useNavbarLayoutHeight() {
27756
27759
 
27757
27760
  // src/layouts/NavbarLayout/NavbarLayout.tsx
27758
27761
  import { jsx as jsx227, jsxs as jsxs118 } from "react/jsx-runtime";
27759
- var __maybeInc30 = (inc) => {
27762
+ var __maybeInc31 = (inc) => {
27760
27763
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
27761
27764
  };
27762
27765
  function NavbarLayout(props) {
@@ -27787,7 +27790,7 @@ function NavbarLayout(props) {
27787
27790
  "--zIndex": maybeCssVar64(zIndices.navbar)
27788
27791
  }],
27789
27792
  width: ["w_var", {
27790
- "--width": maybeCssVar64(__maybeInc30(innerWidth))
27793
+ "--width": maybeCssVar64(__maybeInc31(innerWidth))
27791
27794
  }]
27792
27795
  }
27793
27796
  ) : (
@@ -27799,7 +27802,7 @@ function NavbarLayout(props) {
27799
27802
  "--zIndex": maybeCssVar64(zIndices.navbar)
27800
27803
  }],
27801
27804
  width: ["w_var", {
27802
- "--width": maybeCssVar64(__maybeInc30(innerWidth))
27805
+ "--width": maybeCssVar64(__maybeInc31(innerWidth))
27803
27806
  }],
27804
27807
  transition: "transitionTop"
27805
27808
  }
@@ -27907,7 +27910,7 @@ function useBannerAndNavbarHeight() {
27907
27910
  // src/layouts/PageHeaderLayout/PageHeaderLayout.tsx
27908
27911
  import { mergeProps as mergeProps40, maybeCssVar as maybeCssVar65 } from "@homebound/truss/runtime";
27909
27912
  import { jsx as jsx230, jsxs as jsxs120 } from "react/jsx-runtime";
27910
- var __maybeInc31 = (inc) => {
27913
+ var __maybeInc32 = (inc) => {
27911
27914
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
27912
27915
  };
27913
27916
  function PageHeaderLayout(props) {
@@ -27937,10 +27940,10 @@ function PageHeaderLayout(props) {
27937
27940
  const innerCss = autoHideState === "static" ? {
27938
27941
  position: "sticky",
27939
27942
  left: ["left_var", {
27940
- "--left": maybeCssVar65(__maybeInc31(headerLeft))
27943
+ "--left": maybeCssVar65(__maybeInc32(headerLeft))
27941
27944
  }],
27942
27945
  width: ["w_var", {
27943
- "--width": maybeCssVar65(__maybeInc31(headerWidth))
27946
+ "--width": maybeCssVar65(__maybeInc32(headerWidth))
27944
27947
  }],
27945
27948
  zIndex: ["z_var", {
27946
27949
  "--zIndex": maybeCssVar65(zIndices.pageStickyHeader)
@@ -27948,10 +27951,10 @@ function PageHeaderLayout(props) {
27948
27951
  } : {
27949
27952
  position: "fixed",
27950
27953
  left: ["left_var", {
27951
- "--left": maybeCssVar65(__maybeInc31(headerLeft))
27954
+ "--left": maybeCssVar65(__maybeInc32(headerLeft))
27952
27955
  }],
27953
27956
  width: ["w_var", {
27954
- "--width": maybeCssVar65(__maybeInc31(headerWidth))
27957
+ "--width": maybeCssVar65(__maybeInc32(headerWidth))
27955
27958
  }],
27956
27959
  zIndex: ["z_var", {
27957
27960
  "--zIndex": maybeCssVar65(zIndices.pageStickyHeader)
@@ -27980,7 +27983,7 @@ function PageHeaderLayout(props) {
27980
27983
  // src/layouts/Workflow/JumpLinksRail.tsx
27981
27984
  import { trussProps as trussProps133, maybeCssVar as maybeCssVar66 } from "@homebound/truss/runtime";
27982
27985
  import { jsx as jsx231 } from "react/jsx-runtime";
27983
- var __maybeInc32 = (inc) => {
27986
+ var __maybeInc33 = (inc) => {
27984
27987
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
27985
27988
  };
27986
27989
  var jumpLinksRailWidthPx = 180;
@@ -28000,7 +28003,7 @@ function JumpLinksRail(props) {
28000
28003
  position: "sticky",
28001
28004
  alignSelf: "asfs",
28002
28005
  top: ["top_var", {
28003
- "--top": maybeCssVar66(__maybeInc32(stickyNavAndHeaderOffset()))
28006
+ "--top": maybeCssVar66(__maybeInc33(stickyNavAndHeaderOffset()))
28004
28007
  }]
28005
28008
  }), ...tid, children: links.map((link) => /* @__PURE__ */ jsx231(JumpLink, { label: link.label, href: `#${link.id}`, active: link.id === activeId, ...tid.link }, link.id)) });
28006
28009
  }
@@ -28130,7 +28133,7 @@ function WorkflowActions(props) {
28130
28133
  // src/layouts/Workflow/WorkflowPageLayout.tsx
28131
28134
  import { trussProps as trussProps134, mergeProps as mergeProps41, maybeCssVar as maybeCssVar67 } from "@homebound/truss/runtime";
28132
28135
  import { jsx as jsx235, jsxs as jsxs122 } from "react/jsx-runtime";
28133
- var __maybeInc33 = (inc) => {
28136
+ var __maybeInc34 = (inc) => {
28134
28137
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
28135
28138
  };
28136
28139
  var mobileFooterHeightPx = 80;
@@ -28188,13 +28191,13 @@ function WorkflowPageLayout(props) {
28188
28191
  position: "sticky",
28189
28192
  left: "left0",
28190
28193
  width: ["w_var", {
28191
- "--width": maybeCssVar67(__maybeInc33(headerWidth))
28194
+ "--width": maybeCssVar67(__maybeInc34(headerWidth))
28192
28195
  }],
28193
28196
  zIndex: ["z_var", {
28194
28197
  "--zIndex": maybeCssVar67(zIndices.pageStickyHeader)
28195
28198
  }],
28196
28199
  top: ["top_var", {
28197
- "--top": maybeCssVar67(__maybeInc33(outerTop))
28200
+ "--top": maybeCssVar67(__maybeInc34(outerTop))
28198
28201
  }]
28199
28202
  }), ...tid.header, children: /* @__PURE__ */ jsx235(WorkflowHeader, { title, documentTitleSuffix, breadcrumbs, rightSlot: isMobile ? void 0 : actions, stepperTabs }) }),
28200
28203
  /* @__PURE__ */ jsx235("div", { ...trussProps134({
@@ -28224,7 +28227,7 @@ function WorkflowPageLayout(props) {
28224
28227
  position: "fixed",
28225
28228
  bottom: "bottom0",
28226
28229
  width: ["w_var", {
28227
- "--width": maybeCssVar67(__maybeInc33(headerWidth))
28230
+ "--width": maybeCssVar67(__maybeInc34(headerWidth))
28228
28231
  }],
28229
28232
  height: ["h_var", {
28230
28233
  "--height": `${mobileFooterHeightPx}px`