@homebound/beam 2.414.0-alpha.1 → 2.414.0-alpha.3

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
@@ -7052,6 +7052,7 @@ function Button(props) {
7052
7052
  download,
7053
7053
  contrast = false,
7054
7054
  forceFocusStyles = false,
7055
+ active = false,
7055
7056
  labelInFlight,
7056
7057
  ...otherProps
7057
7058
  } = props;
@@ -7105,8 +7106,8 @@ function Button(props) {
7105
7106
  css: {
7106
7107
  ...Css.buttonBase.tt("inherit").$,
7107
7108
  ...baseStyles5,
7108
- ...isHovered && !isPressed ? hoverStyles4 : {},
7109
- ...isPressed ? pressedStyles3 : {},
7109
+ ...isHovered && !isPressed && !active ? hoverStyles4 : {},
7110
+ ...isPressed || active ? pressedStyles3 : {},
7110
7111
  ...isDisabled || asyncInProgress ? { ...disabledStyles4, ...Css.cursorNotAllowed.$ } : {},
7111
7112
  ...isFocusVisible || forceFocusStyles ? focusStyles2 : {}
7112
7113
  },
@@ -7146,7 +7147,7 @@ var variantStyles = (contrast) => ({
7146
7147
  secondaryBlack: {
7147
7148
  baseStyles: Css.bgWhite.bcGray300.bw1.ba.gray900.$,
7148
7149
  hoverStyles: Css.bgGray100.if(contrast).bgGray700.white.$,
7149
- pressedStyles: Css.gray900.if(contrast).bgWhite.gray900.$,
7150
+ pressedStyles: Css.bgGray100.gray900.if(contrast).bgWhite.gray900.$,
7150
7151
  disabledStyles: Css.gray400.if(contrast).gray700.$,
7151
7152
  focusStyles: Css.boxShadow(`0px 0px 0px 2px ${"rgba(255,255,255,1)" /* White */}, 0px 0px 0px 4px ${"rgba(36, 36, 36, 1)" /* Gray900 */}`).if(contrast).boxShadow(`0px 0px 0px 2px ${"rgba(175, 175, 175, 1)" /* Gray500 */}`).$
7152
7153
  },
@@ -7203,7 +7204,7 @@ var variantStyles = (contrast) => ({
7203
7204
  });
7204
7205
  var sizeStyles = {
7205
7206
  sm: Css.hPx(32).pxPx(12).$,
7206
- md: Css.hPx(40).px1.$,
7207
+ md: Css.hPx(40).px2.$,
7207
7208
  lg: Css.hPx(48).px3.$
7208
7209
  };
7209
7210
  var iconStyles = {
@@ -8858,16 +8859,14 @@ function TextFieldBase(props) {
8858
8859
  ...labelStyle === "hidden" && Css.mhPx(fieldHeight - maybeSmaller).if(compact).mhPx(compactFieldHeight - maybeSmaller).$
8859
8860
  },
8860
8861
  input: {
8861
- ...Css.w100.mw0.outline0.fg1.bgColor(bgColor).$,
8862
+ ...Css.w100.mw0.outline0.fg1.bgTransparent.$,
8862
8863
  // Not using Truss's inline `if` statement here because `addIn` properties do not respect the if statement.
8863
8864
  ...contrast && !inputStylePalette && Css.addIn("&::selection", Css.bgGray800.$).$,
8864
- // Make the background transparent when highlighting the field on hover
8865
- ...borderOnHover && Css.bgTransparent.$,
8866
8865
  // For "multiline" fields we add top and bottom padding of 7px for compact, or 11px for non-compact, to properly match the height of the single line fields
8867
8866
  ...multiline ? Css.br4.pyPx(compact ? 7 : textFieldBaseMultilineTopPadding).add("resize", "none").$ : Css.truncate.$
8868
8867
  },
8869
8868
  hover: Css.bgColor(hoverBgColor).if(contrast).bcGray600.$,
8870
- focus: Css.bcBlue700.if(contrast).bcBlue500.if(borderOnHover).bgColor(hoverBgColor).bcBlue500.$,
8869
+ focus: Css.bcBlue700.bgColor(hoverBgColor).if(contrast).bcBlue500.if(borderOnHover).bcBlue500.$,
8871
8870
  disabled: visuallyDisabled ? Css.cursorNotAllowed.gray600.bgColor(disabledBgColor).if(contrast).gray500.$ : Css.cursorNotAllowed.$,
8872
8871
  error: Css.bcRed600.if(contrast).bcRed400.$
8873
8872
  };
@@ -17113,10 +17112,11 @@ function FilterDropdownMenu(props) {
17113
17112
  ] }),
17114
17113
  variant: "secondaryBlack",
17115
17114
  onClick: () => setIsOpen(!isOpen),
17115
+ active: isOpen,
17116
17116
  ...testId.button
17117
17117
  }
17118
17118
  ),
17119
- isOpen && /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { css: Css.df.aic.fww.gap1.order(1).$, children: [
17119
+ isOpen && /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { css: Css.df.aic.fww.gap1.w100.$, children: [
17120
17120
  groupBy && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
17121
17121
  SelectField,
17122
17122
  {