@gearbox-protocol/ui-kit 4.0.1 → 4.0.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/cjs/components/base/review-button/review-button.cjs +1 -1
- package/dist/cjs/components/base/segmented-tabs/segmented-tabs.cjs +1 -1
- package/dist/cjs/components/buttons/button/button.variants.cjs +1 -1
- package/dist/cjs/components/buttons/tab-button/tab-button.cjs +1 -1
- package/dist/cjs/components/client-adapters/index.cjs +1 -1
- package/dist/cjs/components/graph/default-config.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/components/base/review-button/review-button.js +19 -25
- package/dist/esm/components/base/segmented-tabs/segmented-tabs.js +7 -6
- package/dist/esm/components/buttons/button/button.variants.js +5 -5
- package/dist/esm/components/buttons/tab-button/tab-button.js +12 -9
- package/dist/esm/components/client-adapters/index.js +2 -4
- package/dist/esm/components/graph/default-config.js +20 -20
- package/dist/esm/components/index.js +279 -281
- package/dist/esm/components/navbar-logo/navbar-logo.js +10 -13
- package/dist/esm/components/rounded-image/rounded-image.js +23 -26
- package/dist/esm/index.js +327 -329
- package/dist/globals.css +1 -1
- package/dist/types/components/client-adapters/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/cjs/components/client-adapters/styled-button/index.cjs +0 -1
- package/dist/cjs/components/client-adapters/styled-button/styled-button.cjs +0 -1
- package/dist/esm/components/client-adapters/styled-button/index.js +0 -4
- package/dist/esm/components/client-adapters/styled-button/styled-button.js +0 -29
- package/dist/types/components/client-adapters/styled-button/index.d.ts +0 -1
- package/dist/types/components/client-adapters/styled-button/styled-button.d.ts +0 -18
|
@@ -9,19 +9,16 @@ function p({
|
|
|
9
9
|
...n
|
|
10
10
|
}) {
|
|
11
11
|
const r = o ? { width: o, height: o } : {};
|
|
12
|
-
return (
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
...n
|
|
23
|
-
}
|
|
24
|
-
)
|
|
12
|
+
return /* @__PURE__ */ a(
|
|
13
|
+
"img",
|
|
14
|
+
{
|
|
15
|
+
alt: "Logo",
|
|
16
|
+
className: c("object-contain", t),
|
|
17
|
+
style: { ...r, ...i },
|
|
18
|
+
loading: "lazy",
|
|
19
|
+
decoding: "async",
|
|
20
|
+
...n
|
|
21
|
+
}
|
|
25
22
|
);
|
|
26
23
|
}
|
|
27
24
|
export {
|
|
@@ -33,32 +33,29 @@ const U = k.forwardRef(
|
|
|
33
33
|
}, j = () => {
|
|
34
34
|
n(!0);
|
|
35
35
|
};
|
|
36
|
-
return (
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
...y
|
|
60
|
-
}
|
|
61
|
-
)
|
|
36
|
+
return /* @__PURE__ */ E(
|
|
37
|
+
"img",
|
|
38
|
+
{
|
|
39
|
+
ref: I,
|
|
40
|
+
src: v || f(o),
|
|
41
|
+
alt: "",
|
|
42
|
+
className: N(
|
|
43
|
+
R === "cover" ? "object-cover" : "object-contain object-center",
|
|
44
|
+
g && "rounded-full",
|
|
45
|
+
!b && "bg-gray-90 dark:bg-gray-110 rounded-full",
|
|
46
|
+
t
|
|
47
|
+
),
|
|
48
|
+
style: {
|
|
49
|
+
width: c,
|
|
50
|
+
height: c,
|
|
51
|
+
...p
|
|
52
|
+
},
|
|
53
|
+
loading: "lazy",
|
|
54
|
+
decoding: "async",
|
|
55
|
+
onError: L,
|
|
56
|
+
onLoad: j,
|
|
57
|
+
...y
|
|
58
|
+
}
|
|
62
59
|
);
|
|
63
60
|
}
|
|
64
61
|
);
|