kaleido-ui 0.1.114 → 0.1.115
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 +1 -1
- package/dist/web/index.js +1 -1
- package/package.json +1 -1
package/dist/web/index.cjs
CHANGED
|
@@ -3843,7 +3843,7 @@ var import_react11 = require("react");
|
|
|
3843
3843
|
var import_react_dom = require("react-dom");
|
|
3844
3844
|
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
3845
3845
|
function NetworkMiniBadge({ iconUrl, label }) {
|
|
3846
|
-
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: cn(iconBadgeOverlayClass, "overflow-hidden"), children: iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("img", { src: iconUrl, alt: label ?? "", className: "h-full w-full object-cover" }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "flex h-full w-full items-center justify-center bg-muted text-xxs font-bold uppercase leading-none text-muted-foreground", children: label?.charAt(0) }) });
|
|
3846
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: cn(iconBadgeOverlayClass, "overflow-hidden bg-card"), children: iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("img", { src: iconUrl, alt: label ?? "", className: "h-full w-full object-cover" }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "flex h-full w-full items-center justify-center bg-muted text-xxs font-bold uppercase leading-none text-muted-foreground", children: label?.charAt(0) }) });
|
|
3847
3847
|
}
|
|
3848
3848
|
function readableTagColor(color) {
|
|
3849
3849
|
const raw = color.replace("#", "");
|
package/dist/web/index.js
CHANGED
|
@@ -3658,7 +3658,7 @@ import { useState as useState11 } from "react";
|
|
|
3658
3658
|
import { createPortal } from "react-dom";
|
|
3659
3659
|
import { Fragment as Fragment6, jsx as jsx38, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
3660
3660
|
function NetworkMiniBadge({ iconUrl, label }) {
|
|
3661
|
-
return /* @__PURE__ */ jsx38("span", { className: cn(iconBadgeOverlayClass, "overflow-hidden"), children: iconUrl ? /* @__PURE__ */ jsx38("img", { src: iconUrl, alt: label ?? "", className: "h-full w-full object-cover" }) : /* @__PURE__ */ jsx38("span", { className: "flex h-full w-full items-center justify-center bg-muted text-xxs font-bold uppercase leading-none text-muted-foreground", children: label?.charAt(0) }) });
|
|
3661
|
+
return /* @__PURE__ */ jsx38("span", { className: cn(iconBadgeOverlayClass, "overflow-hidden bg-card"), children: iconUrl ? /* @__PURE__ */ jsx38("img", { src: iconUrl, alt: label ?? "", className: "h-full w-full object-cover" }) : /* @__PURE__ */ jsx38("span", { className: "flex h-full w-full items-center justify-center bg-muted text-xxs font-bold uppercase leading-none text-muted-foreground", children: label?.charAt(0) }) });
|
|
3662
3662
|
}
|
|
3663
3663
|
function readableTagColor(color) {
|
|
3664
3664
|
const raw = color.replace("#", "");
|
package/package.json
CHANGED