@homebound/beam 4.20.0 → 4.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -7722,8 +7722,12 @@ function CompanionRowImpl(props) {
7722
7722
  ...{
7723
7723
  height: "ha",
7724
7724
  whiteSpace: "wsn",
7725
- paddingTop: "pt_8px",
7726
- paddingBottom: "pb_8px",
7725
+ paddingTop: ["pt_var", {
7726
+ "--paddingTop": `${isLeading ? 12 : 8}px`
7727
+ }],
7728
+ paddingBottom: ["pb_var", {
7729
+ "--paddingBottom": `${isLeading ? 8 : 12}px`
7730
+ }],
7727
7731
  width: ["w_var", {
7728
7732
  "--width": (0, import_runtime16.maybeCssVar)(__maybeInc7(`calc(${columnSizes.join(" + ")}${levelIndent ? ` - ${levelIndent}px` : ""})`))
7729
7733
  }]
@@ -12890,7 +12894,8 @@ var variantStyles2 = {
12890
12894
  hoverStyles: {
12891
12895
  color: ["color_var", {
12892
12896
  "--color": "var(--b-text-link-hover)"
12893
- }]
12897
+ }],
12898
+ textDecoration: "tdu"
12894
12899
  },
12895
12900
  pressedStyles: {
12896
12901
  color: ["color_var", {
@@ -13364,7 +13369,18 @@ function OverlayTrigger(props) {
13364
13369
  });
13365
13370
  const tid = useTestIds(props, isTextButton(trigger) ? defaultTestId(labelOr(trigger, "overlayTrigger")) : isNavLinkButton(trigger) ? defaultTestId(trigger.navLabel) : isIconButton(trigger) ? trigger.icon : trigger.name);
13366
13371
  return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "dib lh_0", children: [
13367
- isTextButton(trigger) ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Button, { variant: variant ? variant : "secondary", ...trigger, menuTriggerProps: wrappedMenuTriggerProps, buttonRef, endAdornment: !hideEndAdornment ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { icon: state.isOpen ? "chevronUp" : "chevronDown" }) : null, disabled, tooltip, onClick: wrappedMenuTriggerProps.onPress ?? noop, forceFocusStyles: showActiveBorder && state.isOpen, ...tid }) : isNavLinkButton(trigger) ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NavLink, { active: trigger.active, variant: trigger.variant, icon: trigger.icon, label: trigger.navLabel, disabled: !!disabled, menuTriggerProps: wrappedMenuTriggerProps, buttonRef, ...tid }) : isIconButton(trigger) ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(IconButton, { ...trigger, menuTriggerProps: wrappedMenuTriggerProps, buttonRef, ...tid, disabled, tooltip, onClick: wrappedMenuTriggerProps.onPress ?? noop, forceFocusStyles: showActiveBorder && state.isOpen }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AvatarButton, { ...trigger, menuTriggerProps: wrappedMenuTriggerProps, buttonRef, ...tid, disabled, tooltip, onClick: wrappedMenuTriggerProps.onPress ?? noop, forceFocusStyles: showActiveBorder && state.isOpen }),
13372
+ isTextButton(trigger) ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Button, { variant: variant ? variant : "secondary", ...trigger, menuTriggerProps: wrappedMenuTriggerProps, buttonRef, endAdornment: !hideEndAdornment ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
13373
+ Icon,
13374
+ {
13375
+ icon: state.isOpen ? "chevronUp" : "chevronDown",
13376
+ ...(trigger.variant ?? variant) === "text" && {
13377
+ inc: 2,
13378
+ xss: {
13379
+ marginLeft: "ml_neg6px"
13380
+ }
13381
+ }
13382
+ }
13383
+ ) : null, disabled, tooltip, onClick: wrappedMenuTriggerProps.onPress ?? noop, forceFocusStyles: showActiveBorder && state.isOpen, ...tid }) : isNavLinkButton(trigger) ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NavLink, { active: trigger.active, variant: trigger.variant, icon: trigger.icon, label: trigger.navLabel, disabled: !!disabled, menuTriggerProps: wrappedMenuTriggerProps, buttonRef, ...tid }) : isIconButton(trigger) ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(IconButton, { ...trigger, menuTriggerProps: wrappedMenuTriggerProps, buttonRef, ...tid, disabled, tooltip, onClick: wrappedMenuTriggerProps.onPress ?? noop, forceFocusStyles: showActiveBorder && state.isOpen }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AvatarButton, { ...trigger, menuTriggerProps: wrappedMenuTriggerProps, buttonRef, ...tid, disabled, tooltip, onClick: wrappedMenuTriggerProps.onPress ?? noop, forceFocusStyles: showActiveBorder && state.isOpen }),
13368
13384
  state.isOpen && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Popover, { triggerRef: buttonRef, popoverRef, positionProps, onClose: () => state.close(), isOpen: state.isOpen, children })
13369
13385
  ] });
13370
13386
  }
@@ -20334,7 +20350,6 @@ function InlineFeedbackBanner(props) {
20334
20350
  return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { ...(0, import_runtime85.trussProps)({
20335
20351
  display: "df",
20336
20352
  alignItems: "ais",
20337
- gap: "g_1",
20338
20353
  width: "w100",
20339
20354
  paddingTop: "pt1",
20340
20355
  paddingBottom: "pb1",
@@ -20352,23 +20367,28 @@ function InlineFeedbackBanner(props) {
20352
20367
  borderColor: ["bc_var", {
20353
20368
  "--borderColor": (0, import_runtime85.maybeCssVar)(borderColor)
20354
20369
  }],
20355
- boxShadow: "bshBasic"
20370
+ boxShadow: ["boxShadow_var", {
20371
+ "--boxShadow": (0, import_runtime85.maybeCssVar)(bannerShadow)
20372
+ }]
20356
20373
  }), ...tid, children: [
20357
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "df fs0", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Tag, { ...tagProps, ...tid.tag }) }),
20374
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "df aic h_24px fs0", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Tag, { ...tagProps, ...tid.tag }) }),
20358
20375
  /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { ...(0, import_runtime85.trussProps)({
20359
20376
  flexGrow: "fg1",
20360
20377
  minWidth: "mw0",
20361
- paddingTop: "pt_1px",
20378
+ marginLeft: "ml_4px",
20379
+ paddingTop: "pt_4px",
20380
+ paddingBottom: "pb_4px",
20362
20381
  color: ["color_var", {
20363
20382
  "--color": "var(--b-on-surface)"
20364
20383
  }]
20365
20384
  }), ...tid.description, children: description }),
20366
- actions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "df aic g_1_5 fs0", children: actions.map((action) => "kind" in action ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(ButtonMenu, { trigger: {
20385
+ actions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "df aic h_24px g_2 ml_20px fs0", children: actions.map((action) => "kind" in action ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(ButtonMenu, { trigger: {
20367
20386
  label: action.label,
20368
20387
  variant: "text"
20369
20388
  }, items: action.items, disabled: action.disabled, tooltip: action.tooltip }, action.label) : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Button, { ...action, variant: "text" }, `${action.label}`)) })
20370
20389
  ] });
20371
20390
  }
20391
+ var bannerShadow = "0px 2px 4px rgba(53, 53, 53, 0.08)";
20372
20392
  var typeStyles2 = {
20373
20393
  error: {
20374
20394
  icon: "xCircle",