@prefecthq/prefab-ui 0.14.1 → 0.15.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/_renderer/{charts-DJVmhIYa.mjs → charts-D-pKyP39.mjs} +15 -18
- package/dist/_renderer/{compound-calendar-Bdi0xMlk.mjs → compound-calendar-B1sYT0pG.mjs} +1 -1
- package/dist/_renderer/{content-D_hfMsE9.mjs → content-4PK157p7.mjs} +1 -1
- package/dist/_renderer/{embed-DZKrLZHP.mjs → embed-CoEkwCbq.mjs} +3663 -3663
- package/dist/_renderer/embed.mjs +1 -1
- package/dist/_renderer/{svg-DGZIEyzS.mjs → svg-DCd0QiBt.mjs} +1 -1
- package/dist/playground.html +2881 -1928
- package/package.json +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Y, j as D, c as rt } from "./embed-
|
|
1
|
+
import { a as Y, j as D, c as rt } from "./embed-CoEkwCbq.mjs";
|
|
2
2
|
import { n as ca, g as ce, a as R, R as _ } from "./icons-CImNZgDa.mjs";
|
|
3
3
|
var pu, Qh;
|
|
4
4
|
function Ke() {
|
|
@@ -21250,14 +21250,14 @@ function cF({
|
|
|
21250
21250
|
className: s
|
|
21251
21251
|
}) {
|
|
21252
21252
|
if (typeof e == "string") return null;
|
|
21253
|
-
const f = oa(t);
|
|
21253
|
+
const f = R.useMemo(() => e, [JSON.stringify(e)]), l = oa(t);
|
|
21254
21254
|
return /* @__PURE__ */ D.jsx(
|
|
21255
21255
|
ir,
|
|
21256
21256
|
{
|
|
21257
|
-
config:
|
|
21257
|
+
config: l,
|
|
21258
21258
|
className: s,
|
|
21259
21259
|
style: { height: a, aspectRatio: "auto" },
|
|
21260
|
-
children: /* @__PURE__ */ D.jsxs(zB, { children: [
|
|
21260
|
+
children: /* @__PURE__ */ D.jsxs(zB, { data: f, children: [
|
|
21261
21261
|
c && /* @__PURE__ */ D.jsx(ra, {}),
|
|
21262
21262
|
/* @__PURE__ */ D.jsx(
|
|
21263
21263
|
pt,
|
|
@@ -21284,20 +21284,17 @@ function cF({
|
|
|
21284
21284
|
i && /* @__PURE__ */ D.jsx(ia, { dataKey: i, type: "number", name: i, range: [40, 400] }),
|
|
21285
21285
|
u && /* @__PURE__ */ D.jsx(Dr, { content: /* @__PURE__ */ D.jsx(ar, {}) }),
|
|
21286
21286
|
o && /* @__PURE__ */ D.jsx(Bn, { content: /* @__PURE__ */ D.jsx(Nr, {}) }),
|
|
21287
|
-
t.map((
|
|
21288
|
-
|
|
21289
|
-
|
|
21290
|
-
|
|
21291
|
-
|
|
21292
|
-
|
|
21293
|
-
|
|
21294
|
-
|
|
21295
|
-
|
|
21296
|
-
|
|
21297
|
-
|
|
21298
|
-
l.dataKey
|
|
21299
|
-
);
|
|
21300
|
-
})
|
|
21287
|
+
t.map((p) => /* @__PURE__ */ D.jsx(
|
|
21288
|
+
aa,
|
|
21289
|
+
{
|
|
21290
|
+
name: p.label ?? p.dataKey,
|
|
21291
|
+
data: t.length === 1 ? f : f.filter(
|
|
21292
|
+
(h) => h._series === p.dataKey
|
|
21293
|
+
),
|
|
21294
|
+
fill: `var(--color-${p.dataKey})`
|
|
21295
|
+
},
|
|
21296
|
+
p.dataKey
|
|
21297
|
+
))
|
|
21301
21298
|
] })
|
|
21302
21299
|
}
|
|
21303
21300
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as A, c as Y, b as lt, B as En, P as Fn, d as In, e as Bn } from "./embed-
|
|
1
|
+
import { j as A, c as Y, b as lt, B as En, P as Fn, d as In, e as Bn } from "./embed-CoEkwCbq.mjs";
|
|
2
2
|
import { R as m, a as x, f as jn, e as Hn, h as St, j as An } from "./icons-CImNZgDa.mjs";
|
|
3
3
|
const pt = 6048e5, qn = 864e5, Ct = 6e4, xt = 36e5, ht = Symbol.for("constructDateFrom");
|
|
4
4
|
function j(e, t) {
|