@eclass/ui-kit 1.34.1 → 1.36.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.
- package/dist/eclass-ui-kit.es.js +15 -2
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +15 -15
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/molecules/Buttons/BtnTertiary.d.ts +4 -1
- package/dist/molecules/Tooltip/NewTooltip.d.ts +1 -0
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/eclass-ui-kit.es.js
CHANGED
|
@@ -29542,7 +29542,10 @@ function BtnTertiary({
|
|
|
29542
29542
|
type = "button",
|
|
29543
29543
|
tabIndex,
|
|
29544
29544
|
id: id2,
|
|
29545
|
-
|
|
29545
|
+
activeWhenPress = false,
|
|
29546
|
+
onClick,
|
|
29547
|
+
onMouseEnter,
|
|
29548
|
+
onMouseLeave
|
|
29546
29549
|
}) {
|
|
29547
29550
|
var _a;
|
|
29548
29551
|
const gray = vars("colors-neutral-gray");
|
|
@@ -29610,6 +29613,8 @@ function BtnTertiary({
|
|
|
29610
29613
|
leftIcon: lIcon,
|
|
29611
29614
|
m: m2,
|
|
29612
29615
|
onClick,
|
|
29616
|
+
onMouseEnter,
|
|
29617
|
+
onMouseLeave,
|
|
29613
29618
|
_hover: {
|
|
29614
29619
|
color: `${blue}`
|
|
29615
29620
|
},
|
|
@@ -29617,6 +29622,7 @@ function BtnTertiary({
|
|
|
29617
29622
|
boxShadow: `inset 0 0 0 2px ${blue}, inset 0 0 0 4px ${white}`
|
|
29618
29623
|
},
|
|
29619
29624
|
_focus: {
|
|
29625
|
+
color: activeWhenPress ? `${blue} !important` : "inherit",
|
|
29620
29626
|
boxShadow: "none"
|
|
29621
29627
|
},
|
|
29622
29628
|
_active: {
|
|
@@ -29633,6 +29639,11 @@ function BtnTertiary({
|
|
|
29633
29639
|
fill: colorIcon
|
|
29634
29640
|
}
|
|
29635
29641
|
}
|
|
29642
|
+
},
|
|
29643
|
+
"&:focus": {
|
|
29644
|
+
"svg path": {
|
|
29645
|
+
fill: activeWhenPress ? `${blue}` : ""
|
|
29646
|
+
}
|
|
29636
29647
|
}
|
|
29637
29648
|
},
|
|
29638
29649
|
children
|
|
@@ -29677,9 +29688,11 @@ const NewTooltip = ({
|
|
|
29677
29688
|
isDisabled: isDisabled2 = false,
|
|
29678
29689
|
m: m2,
|
|
29679
29690
|
maxWidth = "200px",
|
|
29680
|
-
placement = "bottom"
|
|
29691
|
+
placement = "bottom",
|
|
29692
|
+
isOpen
|
|
29681
29693
|
}) => {
|
|
29682
29694
|
return /* @__PURE__ */ jsx(Tooltip, {
|
|
29695
|
+
isOpen,
|
|
29683
29696
|
sx: {
|
|
29684
29697
|
bg: vars("colors-neutral-darkCharcoal"),
|
|
29685
29698
|
borderRadius: "10px",
|