@kodiak-finance/orderly-chart 2.9.2-alpha.1 → 2.9.3
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.js +15 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -124,7 +124,7 @@ var OrderlyChartTooltip = (props) => {
|
|
|
124
124
|
size: "sm",
|
|
125
125
|
coloring,
|
|
126
126
|
showIdentifier: coloring,
|
|
127
|
-
unitClassName: "oui-text-base-contrast-54 oui-
|
|
127
|
+
unitClassName: "oui-text-base-contrast-54 oui-ms-1",
|
|
128
128
|
weight: "semibold",
|
|
129
129
|
rm,
|
|
130
130
|
dp,
|
|
@@ -211,6 +211,8 @@ var XAxisLabel = (props) => {
|
|
|
211
211
|
y: 0,
|
|
212
212
|
dy: 16,
|
|
213
213
|
textAnchor: index === 0 ? "start" : "end",
|
|
214
|
+
direction: "ltr",
|
|
215
|
+
unicodeBidi: "plaintext",
|
|
214
216
|
fontSize: 10,
|
|
215
217
|
fill: "rgba(var(--oui-color-base-foreground)/0.54)",
|
|
216
218
|
children: index === 0 ? payload.value : t("chart.now")
|
|
@@ -264,6 +266,7 @@ var PnLBarChart = (props) => {
|
|
|
264
266
|
recharts.BarChart,
|
|
265
267
|
{
|
|
266
268
|
data,
|
|
269
|
+
style: { direction: "ltr" },
|
|
267
270
|
margin: { left: -10, top: 10, right: 10, bottom: 30 },
|
|
268
271
|
children: [
|
|
269
272
|
!invisible && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -332,6 +335,8 @@ var XAxisLabel2 = (props) => {
|
|
|
332
335
|
y: 0,
|
|
333
336
|
dy: 16,
|
|
334
337
|
textAnchor: "end",
|
|
338
|
+
direction: "ltr",
|
|
339
|
+
unicodeBidi: "plaintext",
|
|
335
340
|
fontSize: 10,
|
|
336
341
|
fill: "rgba(var(--oui-color-base-foreground)/0.54)",
|
|
337
342
|
children: index === 0 ? payload.value : t("chart.now")
|
|
@@ -372,6 +377,7 @@ var PnlLineChart = (props) => {
|
|
|
372
377
|
recharts.LineChart,
|
|
373
378
|
{
|
|
374
379
|
data,
|
|
380
|
+
style: { direction: "ltr" },
|
|
375
381
|
margin: { top: 20, right: 10, left: -10, bottom: 0 },
|
|
376
382
|
children: [
|
|
377
383
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -474,6 +480,7 @@ var PnlAreaChart = (props) => {
|
|
|
474
480
|
recharts.AreaChart,
|
|
475
481
|
{
|
|
476
482
|
data,
|
|
483
|
+
style: { direction: "ltr" },
|
|
477
484
|
margin: { top: 20, right: 10, left: -10, bottom: 0 },
|
|
478
485
|
children: [
|
|
479
486
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -584,6 +591,7 @@ var VolumeAreaChart = (props) => {
|
|
|
584
591
|
recharts.AreaChart,
|
|
585
592
|
{
|
|
586
593
|
data,
|
|
594
|
+
style: { direction: "ltr" },
|
|
587
595
|
margin: { top: 20, right: 10, left: -10, bottom: 0 },
|
|
588
596
|
children: [
|
|
589
597
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1875,6 +1883,7 @@ var AssetLineChart = (props) => {
|
|
|
1875
1883
|
width: 530,
|
|
1876
1884
|
height: 180,
|
|
1877
1885
|
data: props.data,
|
|
1886
|
+
style: { direction: "ltr" },
|
|
1878
1887
|
margin: { top: 20, right: 10, left: -20, bottom: -10 },
|
|
1879
1888
|
children: [
|
|
1880
1889
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1948,6 +1957,7 @@ var AssetLineChart = (props) => {
|
|
|
1948
1957
|
width: 530,
|
|
1949
1958
|
height: 180,
|
|
1950
1959
|
data: props.data,
|
|
1960
|
+
style: { direction: "ltr" },
|
|
1951
1961
|
margin: { top: 20, right: 10, left: -20, bottom: -10 },
|
|
1952
1962
|
children: [
|
|
1953
1963
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2037,6 +2047,7 @@ var AssetAreaChart = (props) => {
|
|
|
2037
2047
|
width: 530,
|
|
2038
2048
|
height: 180,
|
|
2039
2049
|
data: props.data,
|
|
2050
|
+
style: { direction: "ltr" },
|
|
2040
2051
|
margin: { top: 20, right: 10, left: -20, bottom: -10 },
|
|
2041
2052
|
children: [
|
|
2042
2053
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2149,6 +2160,8 @@ var XAxisLabel3 = (props) => {
|
|
|
2149
2160
|
y: 0,
|
|
2150
2161
|
dy: 16,
|
|
2151
2162
|
textAnchor: index === 0 ? "start" : "end",
|
|
2163
|
+
direction: "ltr",
|
|
2164
|
+
unicodeBidi: "plaintext",
|
|
2152
2165
|
fontSize: 10,
|
|
2153
2166
|
fill: "rgba(var(--oui-color-base-foreground)/0.54)",
|
|
2154
2167
|
children: index === 0 ? payload.value : t("chart.now")
|
|
@@ -2214,6 +2227,7 @@ var VolBarChart = (props) => {
|
|
|
2214
2227
|
recharts.BarChart,
|
|
2215
2228
|
{
|
|
2216
2229
|
data: props.data,
|
|
2230
|
+
style: { direction: "ltr" },
|
|
2217
2231
|
margin: { left: -10, top: 10, right: 10, bottom: 30 },
|
|
2218
2232
|
children: [
|
|
2219
2233
|
!props.invisible && /* @__PURE__ */ jsxRuntime.jsx(
|