@eclass/ui-kit 1.41.0 → 1.41.2
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/eclass-ui-kit.es.js
CHANGED
|
@@ -29715,7 +29715,6 @@ function BtnTertiary({
|
|
|
29715
29715
|
onMouseEnter,
|
|
29716
29716
|
onMouseLeave
|
|
29717
29717
|
}) {
|
|
29718
|
-
var _a;
|
|
29719
29718
|
const gray = vars("colors-neutral-gray");
|
|
29720
29719
|
const blue = vars("colors-main-deepSkyBlue");
|
|
29721
29720
|
const white = vars("colors-neutral-white");
|
|
@@ -29753,7 +29752,10 @@ function BtnTertiary({
|
|
|
29753
29752
|
}),
|
|
29754
29753
|
noIcon: /* @__PURE__ */ jsx(Fragment, {})
|
|
29755
29754
|
};
|
|
29756
|
-
let icon
|
|
29755
|
+
let icon;
|
|
29756
|
+
if (btnIcons[iconStatus] && iconStatus !== "noIcon") {
|
|
29757
|
+
icon = btnIcons[iconStatus];
|
|
29758
|
+
}
|
|
29757
29759
|
if (iconCustom) {
|
|
29758
29760
|
icon = iconCustom;
|
|
29759
29761
|
}
|
|
@@ -29772,6 +29774,7 @@ function BtnTertiary({
|
|
|
29772
29774
|
lineHeight: "16px",
|
|
29773
29775
|
textDecorationLine: "underline",
|
|
29774
29776
|
borderRadius: "12px",
|
|
29777
|
+
gap: "0.5rem",
|
|
29775
29778
|
paddingTop: vars("space-xxs"),
|
|
29776
29779
|
paddingBottom: vars("space-xxs"),
|
|
29777
29780
|
paddingLeft: vars("space-xs"),
|
|
@@ -29797,21 +29800,8 @@ function BtnTertiary({
|
|
|
29797
29800
|
bg: "transparent"
|
|
29798
29801
|
},
|
|
29799
29802
|
sx: {
|
|
29800
|
-
"
|
|
29801
|
-
|
|
29802
|
-
fill: `${blue}`
|
|
29803
|
-
},
|
|
29804
|
-
"@media (hover: none)": {
|
|
29805
|
-
color: `${gray}`,
|
|
29806
|
-
"svg path": {
|
|
29807
|
-
fill: colorIcon
|
|
29808
|
-
}
|
|
29809
|
-
}
|
|
29810
|
-
},
|
|
29811
|
-
"&:focus": {
|
|
29812
|
-
"svg path": {
|
|
29813
|
-
fill: activeWhenPress ? `${blue}` : ""
|
|
29814
|
-
}
|
|
29803
|
+
">span": {
|
|
29804
|
+
mr: 0
|
|
29815
29805
|
}
|
|
29816
29806
|
},
|
|
29817
29807
|
children
|