brd-ui-kit 0.1.25 → 0.1.26
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/brd-ui-kit.css +1 -1
- package/dist/components/basic-chart/basic-chart.d.ts +8 -1
- package/dist/components/basic-chart/basic-chart.stories.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +64 -47
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36113,57 +36113,74 @@ const Ite = 14.52, mC = 10, Rte = 4, wN = "#3B82F6", kte = {
|
|
|
36113
36113
|
hasTooltip: i = !0,
|
|
36114
36114
|
tooltip: o,
|
|
36115
36115
|
bar: a,
|
|
36116
|
-
chartTooltipContent: s
|
|
36116
|
+
chartTooltipContent: s,
|
|
36117
|
+
fillContainer: l = !1,
|
|
36118
|
+
minHeight: u = 200
|
|
36117
36119
|
}) => {
|
|
36118
|
-
const
|
|
36120
|
+
const c = e?.config ?? kte;
|
|
36119
36121
|
return /* @__PURE__ */ E(
|
|
36120
|
-
|
|
36122
|
+
"div",
|
|
36121
36123
|
{
|
|
36122
|
-
|
|
36123
|
-
|
|
36124
|
-
|
|
36125
|
-
|
|
36126
|
-
Ste,
|
|
36124
|
+
className: U("w-full", l ? "h-full" : "min-h-[200px]"),
|
|
36125
|
+
style: { minHeight: l ? void 0 : u },
|
|
36126
|
+
children: /* @__PURE__ */ E(
|
|
36127
|
+
Ote,
|
|
36127
36128
|
{
|
|
36128
|
-
|
|
36129
|
-
|
|
36130
|
-
|
|
36131
|
-
|
|
36132
|
-
|
|
36133
|
-
|
|
36134
|
-
|
|
36135
|
-
|
|
36136
|
-
|
|
36137
|
-
|
|
36138
|
-
|
|
36139
|
-
|
|
36140
|
-
|
|
36141
|
-
|
|
36142
|
-
|
|
36143
|
-
|
|
36144
|
-
|
|
36145
|
-
|
|
36146
|
-
|
|
36147
|
-
|
|
36148
|
-
|
|
36149
|
-
|
|
36150
|
-
|
|
36151
|
-
|
|
36152
|
-
|
|
36153
|
-
|
|
36154
|
-
|
|
36155
|
-
|
|
36156
|
-
|
|
36157
|
-
|
|
36158
|
-
|
|
36159
|
-
|
|
36160
|
-
|
|
36161
|
-
|
|
36162
|
-
|
|
36163
|
-
|
|
36164
|
-
|
|
36165
|
-
|
|
36166
|
-
|
|
36129
|
+
...e,
|
|
36130
|
+
config: e?.config ?? c,
|
|
36131
|
+
className: U(!l && "aspect-video", e?.className),
|
|
36132
|
+
children: /* @__PURE__ */ fe(
|
|
36133
|
+
Ste,
|
|
36134
|
+
{
|
|
36135
|
+
barSize: t?.width ?? Ite,
|
|
36136
|
+
...t,
|
|
36137
|
+
margin: t?.margin || { top: 10, right: 10, bottom: 20, left: 10 },
|
|
36138
|
+
children: [
|
|
36139
|
+
/* @__PURE__ */ E(
|
|
36140
|
+
Yk,
|
|
36141
|
+
{
|
|
36142
|
+
vertical: n?.vertical ?? !1,
|
|
36143
|
+
...n
|
|
36144
|
+
}
|
|
36145
|
+
),
|
|
36146
|
+
/* @__PURE__ */ E(
|
|
36147
|
+
oN,
|
|
36148
|
+
{
|
|
36149
|
+
tickLine: r?.y?.tickLine ?? !1,
|
|
36150
|
+
axisLine: r?.y?.axisLine ?? !1,
|
|
36151
|
+
tickMargin: r?.y?.tickMargin ?? mC,
|
|
36152
|
+
width: r?.y?.width ?? 35,
|
|
36153
|
+
...r?.y
|
|
36154
|
+
}
|
|
36155
|
+
),
|
|
36156
|
+
/* @__PURE__ */ E(
|
|
36157
|
+
iN,
|
|
36158
|
+
{
|
|
36159
|
+
tickLine: r?.x?.tickLine ?? !1,
|
|
36160
|
+
axisLine: r?.x?.axisLine ?? !1,
|
|
36161
|
+
tickMargin: r?.x?.tickMargin ?? mC,
|
|
36162
|
+
...r?.x
|
|
36163
|
+
}
|
|
36164
|
+
),
|
|
36165
|
+
i && /* @__PURE__ */ E(
|
|
36166
|
+
_te,
|
|
36167
|
+
{
|
|
36168
|
+
cursor: o?.cursor ?? !0,
|
|
36169
|
+
content: /* @__PURE__ */ E(Ate, { ...s }),
|
|
36170
|
+
...o
|
|
36171
|
+
}
|
|
36172
|
+
),
|
|
36173
|
+
/* @__PURE__ */ E(
|
|
36174
|
+
nN,
|
|
36175
|
+
{
|
|
36176
|
+
radius: a?.radius ?? Rte,
|
|
36177
|
+
fill: a?.fill ?? wN,
|
|
36178
|
+
...a
|
|
36179
|
+
}
|
|
36180
|
+
)
|
|
36181
|
+
]
|
|
36182
|
+
}
|
|
36183
|
+
)
|
|
36167
36184
|
}
|
|
36168
36185
|
)
|
|
36169
36186
|
}
|