@rafal.lemieszewski/tide-ui 0.26.0 → 0.27.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 +32 -22
- 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
|
@@ -21842,11 +21842,11 @@ const Kd = (e, t = 0) => {
|
|
|
21842
21842
|
] }, l);
|
|
21843
21843
|
}),
|
|
21844
21844
|
c.length > 0 && /* @__PURE__ */ T(an, { children: [
|
|
21845
|
-
/* @__PURE__ */ g("div", { className: "
|
|
21845
|
+
/* @__PURE__ */ g("div", { className: "my-[var(--space-md)]" }),
|
|
21846
21846
|
c.map((s, l) => /* @__PURE__ */ T(E.Fragment, { children: [
|
|
21847
|
-
s.tooltipLabel && /* @__PURE__ */ g("p", { className: "text-
|
|
21848
|
-
!s.tooltipLabel && l === 0 && /* @__PURE__ */ g("p", { className: "text-
|
|
21849
|
-
s.dataPoints.map((d, u) => /* @__PURE__ */ T("div", { className: "flex items-center gap-[var(--space-xsm)]
|
|
21847
|
+
s.tooltipLabel && /* @__PURE__ */ g("p", { className: "text-label-sm mb-[var(--space-xsm)] text-[var(--color-text-primary)]", children: s.tooltipLabel }),
|
|
21848
|
+
!s.tooltipLabel && l === 0 && /* @__PURE__ */ g("p", { className: "text-label-sm mb-[var(--space-xsm)] text-[var(--color-text-primary)]", children: "Reference Markers:" }),
|
|
21849
|
+
s.dataPoints.map((d, u) => /* @__PURE__ */ T("div", { className: "flex items-center gap-[var(--space-xsm)]", children: [
|
|
21850
21850
|
(() => {
|
|
21851
21851
|
switch (d.shape || "circle") {
|
|
21852
21852
|
case "triangle":
|
|
@@ -21886,11 +21886,11 @@ const Kd = (e, t = 0) => {
|
|
|
21886
21886
|
);
|
|
21887
21887
|
}
|
|
21888
21888
|
})(),
|
|
21889
|
-
/* @__PURE__ */ T("span", { className: "text-[var(--color-text-
|
|
21889
|
+
/* @__PURE__ */ T("span", { className: "text-body-sm text-[var(--color-text-primary)] min-w-0 break-words", children: [
|
|
21890
21890
|
d.label || `Marker ${u + 1}`,
|
|
21891
21891
|
":"
|
|
21892
21892
|
] }),
|
|
21893
|
-
/* @__PURE__ */ g("span", { className: "
|
|
21893
|
+
/* @__PURE__ */ g("span", { className: "text-body-medium-sm text-[var(--color-text-primary)] ml-auto pl-[16px]", children: Kd(d.yValue) })
|
|
21894
21894
|
] }, `marker-${l}-point-${u}`))
|
|
21895
21895
|
] }, `marker-section-${l}`))
|
|
21896
21896
|
] })
|
|
@@ -21991,7 +21991,8 @@ function hke({
|
|
|
21991
21991
|
left: 0,
|
|
21992
21992
|
right: 0,
|
|
21993
21993
|
height: k,
|
|
21994
|
-
paddingTop: 8
|
|
21994
|
+
paddingTop: 8,
|
|
21995
|
+
zIndex: 1
|
|
21995
21996
|
}
|
|
21996
21997
|
} : YF(), F = {
|
|
21997
21998
|
data: R,
|
|
@@ -22154,7 +22155,8 @@ function hke({
|
|
|
22154
22155
|
position: { x: void 0, y: void 0 },
|
|
22155
22156
|
offset: 10,
|
|
22156
22157
|
animationDuration: 0,
|
|
22157
|
-
allowEscapeViewBox: te
|
|
22158
|
+
allowEscapeViewBox: te,
|
|
22159
|
+
wrapperStyle: { zIndex: 100 }
|
|
22158
22160
|
}
|
|
22159
22161
|
),
|
|
22160
22162
|
u && /* @__PURE__ */ g(Eo, { content: /* @__PURE__ */ g(Re, {}), ...G }),
|
|
@@ -22203,7 +22205,8 @@ function hke({
|
|
|
22203
22205
|
position: { x: void 0, y: void 0 },
|
|
22204
22206
|
offset: 10,
|
|
22205
22207
|
animationDuration: 0,
|
|
22206
|
-
allowEscapeViewBox: te
|
|
22208
|
+
allowEscapeViewBox: te,
|
|
22209
|
+
wrapperStyle: { zIndex: 100 }
|
|
22207
22210
|
}
|
|
22208
22211
|
),
|
|
22209
22212
|
u && /* @__PURE__ */ g(Eo, { content: /* @__PURE__ */ g(Re, {}), ...G }),
|
|
@@ -22256,16 +22259,19 @@ function hke({
|
|
|
22256
22259
|
...L && { domain: L }
|
|
22257
22260
|
}
|
|
22258
22261
|
),
|
|
22259
|
-
H?.map(
|
|
22260
|
-
|
|
22261
|
-
|
|
22262
|
-
|
|
22263
|
-
|
|
22264
|
-
|
|
22265
|
-
|
|
22266
|
-
|
|
22267
|
-
|
|
22268
|
-
|
|
22262
|
+
H?.map(
|
|
22263
|
+
(X, xe) => X.showLine !== !1 ? /* @__PURE__ */ g(
|
|
22264
|
+
JT,
|
|
22265
|
+
{
|
|
22266
|
+
x: X.xValue,
|
|
22267
|
+
yAxisId: "left",
|
|
22268
|
+
stroke: X.lineStyle?.stroke || "#000000",
|
|
22269
|
+
strokeWidth: X.lineStyle?.strokeWidth || 2,
|
|
22270
|
+
strokeDasharray: X.lineStyle?.strokeDasharray
|
|
22271
|
+
},
|
|
22272
|
+
`marker-line-${xe}`
|
|
22273
|
+
) : null
|
|
22274
|
+
),
|
|
22269
22275
|
p && /* @__PURE__ */ g(
|
|
22270
22276
|
Gd,
|
|
22271
22277
|
{
|
|
@@ -22279,7 +22285,8 @@ function hke({
|
|
|
22279
22285
|
position: { x: void 0, y: void 0 },
|
|
22280
22286
|
offset: 10,
|
|
22281
22287
|
animationDuration: 0,
|
|
22282
|
-
allowEscapeViewBox: te
|
|
22288
|
+
allowEscapeViewBox: te,
|
|
22289
|
+
wrapperStyle: { zIndex: 100 }
|
|
22283
22290
|
}
|
|
22284
22291
|
),
|
|
22285
22292
|
u && /* @__PURE__ */ g(Eo, { content: /* @__PURE__ */ g(Re, {}), ...G }),
|
|
@@ -22315,6 +22322,7 @@ function hke({
|
|
|
22315
22322
|
{
|
|
22316
22323
|
x: X.xValue,
|
|
22317
22324
|
y: he.yValue,
|
|
22325
|
+
yAxisId: "left",
|
|
22318
22326
|
r: he.size || 4,
|
|
22319
22327
|
fill: he.fill || "var(--color-chart-line-1)",
|
|
22320
22328
|
stroke: he.stroke || "transparent",
|
|
@@ -22351,7 +22359,8 @@ function hke({
|
|
|
22351
22359
|
position: { x: void 0, y: void 0 },
|
|
22352
22360
|
offset: 10,
|
|
22353
22361
|
animationDuration: 0,
|
|
22354
|
-
allowEscapeViewBox: te
|
|
22362
|
+
allowEscapeViewBox: te,
|
|
22363
|
+
wrapperStyle: { zIndex: 100 }
|
|
22355
22364
|
}
|
|
22356
22365
|
),
|
|
22357
22366
|
u && /* @__PURE__ */ g(Eo, { content: /* @__PURE__ */ g(Re, {}), ...G }),
|
|
@@ -22415,7 +22424,8 @@ function hke({
|
|
|
22415
22424
|
position: { x: void 0, y: void 0 },
|
|
22416
22425
|
offset: 10,
|
|
22417
22426
|
animationDuration: 0,
|
|
22418
|
-
allowEscapeViewBox: te
|
|
22427
|
+
allowEscapeViewBox: te,
|
|
22428
|
+
wrapperStyle: { zIndex: 100 }
|
|
22419
22429
|
}
|
|
22420
22430
|
),
|
|
22421
22431
|
u && /* @__PURE__ */ g(Eo, { content: /* @__PURE__ */ g(Re, {}), ...G }),
|