@homebound/beam 2.414.0-alpha.2 → 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
  },
@@ -17111,6 +17112,7 @@ function FilterDropdownMenu(props) {
17111
17112
  ] }),
17112
17113
  variant: "secondaryBlack",
17113
17114
  onClick: () => setIsOpen(!isOpen),
17115
+ active: isOpen,
17114
17116
  ...testId.button
17115
17117
  }
17116
17118
  ),