@eclass/ui-kit 1.35.0 → 1.37.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.
@@ -29543,7 +29543,9 @@ function BtnTertiary({
29543
29543
  tabIndex,
29544
29544
  id: id2,
29545
29545
  activeWhenPress = false,
29546
- onClick
29546
+ onClick,
29547
+ onMouseEnter,
29548
+ onMouseLeave
29547
29549
  }) {
29548
29550
  var _a;
29549
29551
  const gray = vars("colors-neutral-gray");
@@ -29611,6 +29613,8 @@ function BtnTertiary({
29611
29613
  leftIcon: lIcon,
29612
29614
  m: m2,
29613
29615
  onClick,
29616
+ onMouseEnter,
29617
+ onMouseLeave,
29614
29618
  _hover: {
29615
29619
  color: `${blue}`
29616
29620
  },
@@ -29618,7 +29622,7 @@ function BtnTertiary({
29618
29622
  boxShadow: `inset 0 0 0 2px ${blue}, inset 0 0 0 4px ${white}`
29619
29623
  },
29620
29624
  _focus: {
29621
- color: activeWhenPress ? `${blue}` : "inherit",
29625
+ color: activeWhenPress ? `${blue} !important` : "inherit",
29622
29626
  boxShadow: "none"
29623
29627
  },
29624
29628
  _active: {
@@ -29650,10 +29654,21 @@ function BtnLink({
29650
29654
  children,
29651
29655
  m: m2 = "0",
29652
29656
  onClick,
29653
- id: id2
29657
+ id: id2,
29658
+ as = "button",
29659
+ href = ""
29654
29660
  }) {
29661
+ const typeButton = {
29662
+ button: {
29663
+ onClick
29664
+ },
29665
+ a: {
29666
+ href,
29667
+ target: "_blank"
29668
+ }
29669
+ };
29655
29670
  return /* @__PURE__ */ jsx(Box, {
29656
- as: "button",
29671
+ as,
29657
29672
  id: id2,
29658
29673
  backgroundColor: "transparent",
29659
29674
  borderStyle: "none",
@@ -29668,11 +29683,11 @@ function BtnLink({
29668
29683
  textDecorationLine: "underline",
29669
29684
  color: vars("colors-main-deepSkyBlue"),
29670
29685
  m: m2,
29671
- onClick,
29672
29686
  _hover: {
29673
29687
  color: vars("colors-neutral-darkCharcoal"),
29674
29688
  cursor: "pointer"
29675
29689
  },
29690
+ ...typeButton[as],
29676
29691
  children
29677
29692
  });
29678
29693
  }