@eclass/ui-kit 1.34.1 → 1.35.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.
@@ -29542,6 +29542,7 @@ function BtnTertiary({
29542
29542
  type = "button",
29543
29543
  tabIndex,
29544
29544
  id: id2,
29545
+ activeWhenPress = false,
29545
29546
  onClick
29546
29547
  }) {
29547
29548
  var _a;
@@ -29617,6 +29618,7 @@ function BtnTertiary({
29617
29618
  boxShadow: `inset 0 0 0 2px ${blue}, inset 0 0 0 4px ${white}`
29618
29619
  },
29619
29620
  _focus: {
29621
+ color: activeWhenPress ? `${blue}` : "inherit",
29620
29622
  boxShadow: "none"
29621
29623
  },
29622
29624
  _active: {
@@ -29633,6 +29635,11 @@ function BtnTertiary({
29633
29635
  fill: colorIcon
29634
29636
  }
29635
29637
  }
29638
+ },
29639
+ "&:focus": {
29640
+ "svg path": {
29641
+ fill: activeWhenPress ? `${blue}` : ""
29642
+ }
29636
29643
  }
29637
29644
  },
29638
29645
  children
@@ -29677,9 +29684,11 @@ const NewTooltip = ({
29677
29684
  isDisabled: isDisabled2 = false,
29678
29685
  m: m2,
29679
29686
  maxWidth = "200px",
29680
- placement = "bottom"
29687
+ placement = "bottom",
29688
+ isOpen
29681
29689
  }) => {
29682
29690
  return /* @__PURE__ */ jsx(Tooltip, {
29691
+ isOpen,
29683
29692
  sx: {
29684
29693
  bg: vars("colors-neutral-darkCharcoal"),
29685
29694
  borderRadius: "10px",