@rafal.lemieszewski/tide-ui 0.20.0 → 0.20.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.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5 -5
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -21734,11 +21734,11 @@ const Kd = (e, t = 0) => {
|
|
|
21734
21734
|
return /* @__PURE__ */ j(
|
|
21735
21735
|
"div",
|
|
21736
21736
|
{
|
|
21737
|
-
className: `rounded-
|
|
21737
|
+
className: `rounded-sm border border-[var(--color-border-primary-bold)] bg-[var(--color-surface-primary)] p-[var(--space-md)] shadow-md min-w-[120px] ${o}`,
|
|
21738
21738
|
role: "tooltip",
|
|
21739
21739
|
"aria-label": "Chart data tooltip",
|
|
21740
21740
|
children: [
|
|
21741
|
-
/* @__PURE__ */ g("p", { className: "text-
|
|
21741
|
+
/* @__PURE__ */ g("p", { className: "text-label-sm mb-[var(--space-xsm)] text-[var(--color-text-primary)]", children: n }),
|
|
21742
21742
|
t.map((s, l) => {
|
|
21743
21743
|
const d = r[s.dataKey];
|
|
21744
21744
|
let u;
|
|
@@ -21747,7 +21747,7 @@ const Kd = (e, t = 0) => {
|
|
|
21747
21747
|
Array.isArray(f) && f.length === 2 ? u = `${Kd(f[0])} – ${Kd(f[1])}` : u = typeof s.value == "number" ? Kd(s.value) : s.value;
|
|
21748
21748
|
} else
|
|
21749
21749
|
u = typeof s.value == "number" ? Kd(s.value) : s.value;
|
|
21750
|
-
return /* @__PURE__ */ j("div", { className: "flex items-center gap-[var(--space-xsm)]
|
|
21750
|
+
return /* @__PURE__ */ j("div", { className: "flex items-center gap-[var(--space-xsm)]", children: [
|
|
21751
21751
|
(() => {
|
|
21752
21752
|
switch (a) {
|
|
21753
21753
|
case "line":
|
|
@@ -21834,11 +21834,11 @@ const Kd = (e, t = 0) => {
|
|
|
21834
21834
|
);
|
|
21835
21835
|
}
|
|
21836
21836
|
})(),
|
|
21837
|
-
/* @__PURE__ */ j("span", { className: "text-[var(--color-text-primary)] min-w-0 break-words", children: [
|
|
21837
|
+
/* @__PURE__ */ j("span", { className: "text-body-sm text-[var(--color-text-primary)] min-w-0 break-words", children: [
|
|
21838
21838
|
d?.label || s.dataKey,
|
|
21839
21839
|
":"
|
|
21840
21840
|
] }),
|
|
21841
|
-
/* @__PURE__ */ g("span", { className: "text-
|
|
21841
|
+
/* @__PURE__ */ g("span", { className: "text-body-medium-sm text-[var(--color-text-primary)] ml-auto pl-[16px]", children: u })
|
|
21842
21842
|
] }, l);
|
|
21843
21843
|
}),
|
|
21844
21844
|
c.length > 0 && /* @__PURE__ */ j(nn, { children: [
|