@lark-apaas/client-toolkit-lite 1.1.0-alpha.0 → 1.1.0-alpha.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.
- package/dist/index.cjs +11 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -565,8 +565,7 @@ var badgeBase = {
|
|
|
565
565
|
gap: 4,
|
|
566
566
|
border: "1px solid rgba(255,255,255,0.1)",
|
|
567
567
|
padding: "6px 10px",
|
|
568
|
-
background: "
|
|
569
|
-
backdropFilter: "blur(5px)",
|
|
568
|
+
background: "#1f2329",
|
|
570
569
|
boxShadow: "0 6px 12px 0 rgba(65,68,74,0.04), 0 8px 24px 8px rgba(65,68,74,0.04)",
|
|
571
570
|
borderRadius: 6,
|
|
572
571
|
fontFamily: FONT_FAMILY,
|
|
@@ -667,15 +666,20 @@ var btnBase = {
|
|
|
667
666
|
justifyContent: "center",
|
|
668
667
|
height: 34,
|
|
669
668
|
borderRadius: 8,
|
|
670
|
-
|
|
669
|
+
borderWidth: "0.5px",
|
|
670
|
+
borderStyle: "solid",
|
|
671
|
+
borderColor: "rgba(255,255,255,0.11)",
|
|
671
672
|
background: "rgba(255,255,255,0.03)",
|
|
672
673
|
color: "#ebebeb",
|
|
673
674
|
cursor: "pointer",
|
|
674
675
|
fontSize: 12,
|
|
675
|
-
fontFamily: FONT_FAMILY
|
|
676
|
+
fontFamily: FONT_FAMILY,
|
|
677
|
+
transition: "background 0.15s ease, border-color 0.15s ease"
|
|
678
|
+
};
|
|
679
|
+
var btnHovered = {
|
|
680
|
+
background: "rgba(255,255,255,0.08)",
|
|
681
|
+
borderColor: "rgba(255,255,255,0.2)"
|
|
676
682
|
};
|
|
677
|
-
var btnHoverBg = "rgba(255,255,255,0.08)";
|
|
678
|
-
var btnHoverBorder = "rgba(255,255,255,0.2)";
|
|
679
683
|
var overlayStyle = {
|
|
680
684
|
position: "fixed",
|
|
681
685
|
inset: 0,
|
|
@@ -769,10 +773,7 @@ var HoverButton = /* @__PURE__ */ __name(({ style, onClick, children, ...rest })
|
|
|
769
773
|
return /* @__PURE__ */ import_react5.default.createElement("div", {
|
|
770
774
|
style: {
|
|
771
775
|
...style,
|
|
772
|
-
...hovered ? {
|
|
773
|
-
background: btnHoverBg,
|
|
774
|
-
borderColor: btnHoverBorder
|
|
775
|
-
} : {}
|
|
776
|
+
...hovered ? btnHovered : {}
|
|
776
777
|
},
|
|
777
778
|
onMouseEnter: /* @__PURE__ */ __name(() => setHovered(true), "onMouseEnter"),
|
|
778
779
|
onMouseLeave: /* @__PURE__ */ __name(() => setHovered(false), "onMouseLeave"),
|