kaleido-ui 0.1.22 → 0.1.23
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/web/index.cjs +4 -3
- package/dist/web/index.js +4 -3
- package/package.json +1 -1
package/dist/web/index.cjs
CHANGED
|
@@ -1159,13 +1159,14 @@ function NetworkBadge({
|
|
|
1159
1159
|
);
|
|
1160
1160
|
}
|
|
1161
1161
|
if (network === "RGB-LN") {
|
|
1162
|
+
const innerGlyph = size === "sm" ? "size-2.5" : "size-3";
|
|
1162
1163
|
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("span", { className: "inline-flex items-center gap-0.5", children: [
|
|
1163
1164
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1164
1165
|
"img",
|
|
1165
1166
|
{
|
|
1166
1167
|
src: `${iconBasePath}/rgb/rgb-logo.svg`,
|
|
1167
1168
|
alt: "RGB",
|
|
1168
|
-
className: cn(
|
|
1169
|
+
className: cn(innerGlyph, "object-contain", defaultIconClassName, iconClassName)
|
|
1169
1170
|
}
|
|
1170
1171
|
),
|
|
1171
1172
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
@@ -1173,7 +1174,7 @@ function NetworkBadge({
|
|
|
1173
1174
|
{
|
|
1174
1175
|
src: `${iconBasePath}/lightning/lightning.svg`,
|
|
1175
1176
|
alt: "Lightning",
|
|
1176
|
-
className: cn(
|
|
1177
|
+
className: cn(innerGlyph, "object-contain", iconClassName)
|
|
1177
1178
|
}
|
|
1178
1179
|
)
|
|
1179
1180
|
] });
|
|
@@ -1194,7 +1195,7 @@ function NetworkBadge({
|
|
|
1194
1195
|
{
|
|
1195
1196
|
className: cn(
|
|
1196
1197
|
"flex items-center justify-center rounded-full shadow-inner",
|
|
1197
|
-
isDualGlyph ? size === "sm" ? "h-
|
|
1198
|
+
isDualGlyph ? size === "sm" ? "h-5 px-1" : "h-7 px-1.5" : chipSize,
|
|
1198
1199
|
iconBg,
|
|
1199
1200
|
className
|
|
1200
1201
|
),
|
package/dist/web/index.js
CHANGED
|
@@ -998,13 +998,14 @@ function NetworkBadge({
|
|
|
998
998
|
);
|
|
999
999
|
}
|
|
1000
1000
|
if (network === "RGB-LN") {
|
|
1001
|
+
const innerGlyph = size === "sm" ? "size-2.5" : "size-3";
|
|
1001
1002
|
return /* @__PURE__ */ jsxs6("span", { className: "inline-flex items-center gap-0.5", children: [
|
|
1002
1003
|
/* @__PURE__ */ jsx15(
|
|
1003
1004
|
"img",
|
|
1004
1005
|
{
|
|
1005
1006
|
src: `${iconBasePath}/rgb/rgb-logo.svg`,
|
|
1006
1007
|
alt: "RGB",
|
|
1007
|
-
className: cn(
|
|
1008
|
+
className: cn(innerGlyph, "object-contain", defaultIconClassName, iconClassName)
|
|
1008
1009
|
}
|
|
1009
1010
|
),
|
|
1010
1011
|
/* @__PURE__ */ jsx15(
|
|
@@ -1012,7 +1013,7 @@ function NetworkBadge({
|
|
|
1012
1013
|
{
|
|
1013
1014
|
src: `${iconBasePath}/lightning/lightning.svg`,
|
|
1014
1015
|
alt: "Lightning",
|
|
1015
|
-
className: cn(
|
|
1016
|
+
className: cn(innerGlyph, "object-contain", iconClassName)
|
|
1016
1017
|
}
|
|
1017
1018
|
)
|
|
1018
1019
|
] });
|
|
@@ -1033,7 +1034,7 @@ function NetworkBadge({
|
|
|
1033
1034
|
{
|
|
1034
1035
|
className: cn(
|
|
1035
1036
|
"flex items-center justify-center rounded-full shadow-inner",
|
|
1036
|
-
isDualGlyph ? size === "sm" ? "h-
|
|
1037
|
+
isDualGlyph ? size === "sm" ? "h-5 px-1" : "h-7 px-1.5" : chipSize,
|
|
1037
1038
|
iconBg,
|
|
1038
1039
|
className
|
|
1039
1040
|
),
|
package/package.json
CHANGED