@homebound/beam 4.3.1 → 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/index.cjs CHANGED
@@ -5858,10 +5858,10 @@ function Loader({
5858
5858
  borderWidth: ["bw_var", {
5859
5859
  "--borderWidth": (0, import_runtime8.maybeCssVar)(`${borderSize}px`)
5860
5860
  }],
5861
- height: ["h_var", {
5861
+ height: ["sq_var", {
5862
5862
  "--height": `${dimensions}px`
5863
5863
  }],
5864
- width: ["w_var", {
5864
+ width: ["sq_var", {
5865
5865
  "--width": `${dimensions}px`
5866
5866
  }],
5867
5867
  borderColor: ["bc_var", {
@@ -6156,8 +6156,8 @@ var variantStyles = {
6156
6156
  // Blue100/200 hover fills have no semantic tokens — keep palette for those.
6157
6157
  base: {
6158
6158
  borderRadius: "br100",
6159
- width: "w_48px",
6160
6159
  height: "h_48px",
6160
+ width: "w_48px",
6161
6161
  borderColor: ["bc_var", {
6162
6162
  "--borderColor": "var(--b-field-border-default)"
6163
6163
  }],
@@ -10564,12 +10564,12 @@ function Avatar({
10564
10564
  const [showFallback, setShowFallback] = (0, import_react33.useState)(src === void 0);
10565
10565
  const styles = {
10566
10566
  borderRadius: "br100",
10567
- width: ["w_var", {
10568
- "--width": `${px2}px`
10569
- }],
10570
- height: ["h_var", {
10567
+ height: ["sq_var", {
10571
10568
  "--height": `${px2}px`
10572
10569
  }],
10570
+ width: ["sq_var", {
10571
+ "--width": `${px2}px`
10572
+ }],
10573
10573
  minWidth: ["mw_var", {
10574
10574
  "--minWidth": `${px2}px`
10575
10575
  }],
@@ -15233,8 +15233,8 @@ function Day(props) {
15233
15233
  ...(0, import_runtime56.trussProps)({
15234
15234
  position: "absolute",
15235
15235
  bottom: "bot_4px",
15236
- width: "w_4px",
15237
15236
  height: "h_4px",
15237
+ width: "w_4px",
15238
15238
  backgroundColor: ["bgColor_var", {
15239
15239
  "--backgroundColor": "var(--b-primary)"
15240
15240
  }],
@@ -25963,9 +25963,9 @@ function StepIcon({
25963
25963
  if (state === "complete") {
25964
25964
  return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(Icon, { icon: "check" });
25965
25965
  }
25966
- return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime195.jsx)("div", { ...(0, import_runtime128.trussProps)({
25967
- width: "w_10px",
25966
+ return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)("div", { className: "h_24px w_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime195.jsx)("div", { ...(0, import_runtime128.trussProps)({
25968
25967
  height: "h_10px",
25968
+ width: "w_10px",
25969
25969
  borderStyle: "bss",
25970
25970
  borderWidth: "bw2",
25971
25971
  borderRadius: "br100",
@@ -28920,9 +28920,11 @@ function PageHeader2(props) {
28920
28920
  ...otherProps
28921
28921
  } = props;
28922
28922
  const tid = useTestIds(otherProps, "header");
28923
- return /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ (0, import_jsx_runtime231.jsxs)(import_jsx_runtime231.Fragment, { children: [
28923
+ const hasActions = !!actions && actions.length > 0;
28924
+ return /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ (0, import_jsx_runtime231.jsxs)("div", { className: "df gap1 fs0", ...tid.actions, children: [
28925
+ /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(AutoSaveIndicator, { hideOnIdle: true }),
28924
28926
  rightSlot,
28925
- actions && actions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(HeaderActions, { actions, collapseOnSm: true })
28927
+ hasActions && /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(HeaderActions, { actions, collapseOnSm: true })
28926
28928
  ] }), bottomSlot: tabs && /* @__PURE__ */ (0, import_jsx_runtime231.jsx)("div", { ...(0, import_runtime151.trussProps)(pageContentPaddingX), children: /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(Tabs, { ...tabs, ...tid.tabs }) }) });
28927
28929
  }
28928
28930