@eclass/ui-kit 1.42.0 → 1.42.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.
@@ -29542,6 +29542,7 @@ function Btn({
29542
29542
  m: m2 = "0",
29543
29543
  onClick,
29544
29544
  rightIcon,
29545
+ role = "button",
29545
29546
  rounded = false,
29546
29547
  size: size2 = "regular",
29547
29548
  touchDark = false,
@@ -29571,7 +29572,7 @@ function Btn({
29571
29572
  children: /* @__PURE__ */ jsx(Button, {
29572
29573
  "aria-label": ariaLabel,
29573
29574
  id: id2,
29574
- role: "button",
29575
+ role,
29575
29576
  bg: colorMain,
29576
29577
  borderRadius,
29577
29578
  color: color2,
@@ -29647,6 +29648,7 @@ function BtnPrimary({
29647
29648
  isLoading = false,
29648
29649
  onClick,
29649
29650
  rightIcon,
29651
+ role = "button",
29650
29652
  size: size2 = "regular",
29651
29653
  type = "button",
29652
29654
  tabIndex,
@@ -29662,6 +29664,7 @@ function BtnPrimary({
29662
29664
  m: m2,
29663
29665
  onClick,
29664
29666
  rightIcon,
29667
+ role,
29665
29668
  size: size2,
29666
29669
  type,
29667
29670
  tabIndex,
@@ -29679,6 +29682,7 @@ function BtnSecondary({
29679
29682
  isLoading = false,
29680
29683
  onClick,
29681
29684
  rightIcon,
29685
+ role = "button",
29682
29686
  size: size2 = "regular",
29683
29687
  type = "button",
29684
29688
  tabIndex,
@@ -29701,6 +29705,7 @@ function BtnSecondary({
29701
29705
  m: m2,
29702
29706
  onClick,
29703
29707
  rightIcon,
29708
+ role,
29704
29709
  size: size2,
29705
29710
  touchDark: true,
29706
29711
  type,
@@ -29721,6 +29726,7 @@ function BtnTertiary({
29721
29726
  onMouseEnter,
29722
29727
  onMouseLeave,
29723
29728
  rightIcon,
29729
+ role = "button",
29724
29730
  type = "button",
29725
29731
  tabIndex,
29726
29732
  withoutColor = false
@@ -29774,7 +29780,7 @@ function BtnTertiary({
29774
29780
  return /* @__PURE__ */ jsx(Button, {
29775
29781
  "aria-label": ariaLabel,
29776
29782
  id: id2,
29777
- role: "button",
29783
+ role,
29778
29784
  type,
29779
29785
  tabIndex,
29780
29786
  background: "transparent",
@@ -29821,7 +29827,7 @@ function BtnTertiary({
29821
29827
  }
29822
29828
  BtnTertiary.displayName = "BtnTertiary";
29823
29829
  function BtnLink({
29824
- as = "button",
29830
+ as = "a",
29825
29831
  ariaLabel,
29826
29832
  children,
29827
29833
  fontSize = "0.875rem",
@@ -29829,6 +29835,7 @@ function BtnLink({
29829
29835
  id: id2,
29830
29836
  m: m2 = "0",
29831
29837
  onClick,
29838
+ role = "link",
29832
29839
  tabIndex,
29833
29840
  textDecorationLine = true
29834
29841
  }) {
@@ -29845,7 +29852,7 @@ function BtnLink({
29845
29852
  as,
29846
29853
  "aria-label": ariaLabel,
29847
29854
  id: id2,
29848
- role: "button",
29855
+ role,
29849
29856
  backgroundColor: "transparent",
29850
29857
  borderStyle: "none",
29851
29858
  className: "linkButton",