jclib-ui 1.0.277 → 1.0.278
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/jclib-ui.es.js
CHANGED
|
@@ -5292,6 +5292,8 @@ function ClipboardArea({ title, url, timerInMilliSeconds = 5e3 }) {
|
|
|
5292
5292
|
] }) })
|
|
5293
5293
|
] });
|
|
5294
5294
|
}
|
|
5295
|
+
const COLOR_DESTAQUE = "var(--data-item-destaque)";
|
|
5296
|
+
const COLOR_BODY = "var(--body-color)";
|
|
5295
5297
|
function DataItem({
|
|
5296
5298
|
caption,
|
|
5297
5299
|
colored,
|
|
@@ -5300,14 +5302,12 @@ function DataItem({
|
|
|
5300
5302
|
className,
|
|
5301
5303
|
...rest
|
|
5302
5304
|
}) {
|
|
5303
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "di-box " + className, ...rest, children: [
|
|
5305
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "di-box " + (className || ""), ...rest, children: [
|
|
5304
5306
|
caption && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { style: { fontWeight: isForm ? "bold" : "normal" }, children: caption }),
|
|
5305
5307
|
isForm ? /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: "form-control", value: children, readOnly: true }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5306
5308
|
"div",
|
|
5307
5309
|
{
|
|
5308
|
-
style: {
|
|
5309
|
-
color: colored ? "var(--data-item-destaque)" : "var(--body-color)"
|
|
5310
|
-
},
|
|
5310
|
+
style: { color: colored ? COLOR_DESTAQUE : COLOR_BODY },
|
|
5311
5311
|
className: "fw-bold",
|
|
5312
5312
|
children
|
|
5313
5313
|
}
|