@flesler/cursor-canvas-web 1.2.1 → 1.3.0

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.
@@ -1,10 +1,10 @@
1
1
  import { jsx as i, jsxs as y } from "react/jsx-runtime";
2
- import { useComputedColorScheme as ge, Button as xe, Alert as ve, Card as be, Checkbox as Se, Divider as ke, Title as W, ActionIcon as we, Badge as Ce, Group as Le, Select as Te, Stack as Pe, Text as H, Table as L, Textarea as Ae, TextInput as Me, Switch as Be } from "@mantine/core";
3
- import { useState as D, createContext as $e, useCallback as G, useContext as oe } from "react";
4
- import { useEffect as Ut, useMemo as Qt, useRef as en, useState as tn } from "react";
5
- import { r as De, u as te } from "./host-tokens-Dh2BFFjv.js";
6
- import { c as rn, a as on, b as an, d as sn, e as ln, f as cn, g as dn, h as un, i as fn } from "./host-tokens-Dh2BFFjv.js";
7
- import { BarChart as Fe, AreaChart as Ee, LineChart as Ne, DonutChart as Ie, PieChart as ze, ChartLegend as Re } from "@mantine/charts";
2
+ import { useComputedColorScheme as ve, Button as be, Alert as Se, Card as ke, Checkbox as we, Divider as Ce, Title as W, ActionIcon as Le, Badge as Te, Group as Pe, Select as Ae, Stack as Me, Text as H, Table as C, Textarea as Be, TextInput as $e, Switch as De } from "@mantine/core";
3
+ import { useState as D, createContext as ie, useCallback as G, useContext as O } from "react";
4
+ import { useEffect as Qt, useMemo as en, useRef as tn, useState as nn } from "react";
5
+ import { r as Fe, u as ne } from "./host-tokens-Bt6GPXN1.js";
6
+ import { c as on, a as an, b as sn, d as ln, e as cn, f as dn, g as un, h as fn, i as hn } from "./host-tokens-Bt6GPXN1.js";
7
+ import { BarChart as Ee, AreaChart as Ie, LineChart as Ne, DonutChart as ze, PieChart as Re, ChartLegend as _e } from "@mantine/charts";
8
8
  const w = {
9
9
  success: "#1F8A65",
10
10
  danger: "#CF2D56",
@@ -14,7 +14,7 @@ const w = {
14
14
  added: "#1F8A65",
15
15
  deleted: "#CF2D56",
16
16
  renamed: "#5A6CC0"
17
- }, ae = {
17
+ }, se = {
18
18
  success: "green",
19
19
  danger: "red",
20
20
  warning: "orange",
@@ -24,25 +24,25 @@ const w = {
24
24
  deleted: "red",
25
25
  renamed: "indigo"
26
26
  };
27
- function m() {
28
- const t = ge("light") === "dark" ? "dark" : "light";
29
- return De(t);
27
+ function g() {
28
+ const t = ve("light") === "dark" ? "dark" : "light";
29
+ return Fe(t);
30
30
  }
31
- const ie = {
31
+ const le = {
32
32
  verticalAlign: "bottom",
33
33
  align: "center"
34
- }, se = {
34
+ }, ce = {
35
35
  legend: { justifyContent: "center" }
36
36
  };
37
- function O() {
38
- const t = m().chart.sequence;
37
+ function j() {
38
+ const t = g().chart.sequence;
39
39
  return (n, r) => n ? w[n] : t[r % t.length];
40
40
  }
41
- function le() {
42
- const t = m().text.primary;
41
+ function de() {
42
+ const t = g().text.primary;
43
43
  return { textColor: t, barLabelColor: t };
44
44
  }
45
- function ce(e, t) {
45
+ function ue(e, t) {
46
46
  return e.map((n, r) => {
47
47
  const a = { category: n };
48
48
  for (const o of t)
@@ -50,16 +50,16 @@ function ce(e, t) {
50
50
  return a;
51
51
  });
52
52
  }
53
- function de(e, t) {
53
+ function fe(e, t) {
54
54
  return e.map((n, r) => ({
55
55
  name: n.name,
56
56
  color: t(n.tone, r)
57
57
  }));
58
58
  }
59
- function ue(e, t) {
59
+ function he(e, t) {
60
60
  return (n) => `${t ?? ""}${n}${e ?? ""}`;
61
61
  }
62
- function _e(e, t) {
62
+ function He(e, t) {
63
63
  if (e != null && e.length)
64
64
  return e.map((n) => ({
65
65
  ...t ? { x: n.value } : { y: n.value },
@@ -67,10 +67,10 @@ function _e(e, t) {
67
67
  color: n.tone ? w[n.tone] : w.neutral
68
68
  }));
69
69
  }
70
- const He = /* @__PURE__ */ new Set(["log", "symlog", "pow", "sqrt"]);
71
- function We(e) {
70
+ const We = /* @__PURE__ */ new Set(["log", "symlog", "pow", "sqrt"]);
71
+ function Ge(e) {
72
72
  const { scale: t } = e;
73
- return typeof t != "string" || !He.has(t) ? e : {
73
+ return typeof t != "string" || !We.has(t) ? e : {
74
74
  ...e,
75
75
  type: e.type ?? "number",
76
76
  allowDataOverflow: e.allowDataOverflow ?? !0,
@@ -78,29 +78,29 @@ function We(e) {
78
78
  domain: e.domain ?? [1, "dataMax"]
79
79
  };
80
80
  }
81
- function fe(e) {
82
- const t = _e(e.referenceLines, !!e.horizontal);
81
+ function pe(e) {
82
+ const t = He(e.referenceLines, !!e.horizontal);
83
83
  let n;
84
84
  if (!e.stacked && !e.normalized) {
85
85
  const o = e.beginAtZero !== !1;
86
86
  n = [e.yMin ?? (o ? 0 : "auto"), e.yMax ?? "auto"];
87
87
  }
88
- const r = e.valueAxis ? We(e.valueAxis) : void 0;
88
+ const r = e.valueAxis ? Ge(e.valueAxis) : void 0;
89
89
  if (!n && !r)
90
90
  return { referenceLines: t };
91
91
  const a = { ...n && { domain: n }, ...r };
92
92
  return e.horizontal ? { xAxisProps: a, referenceLines: t } : { yAxisProps: a, referenceLines: t };
93
93
  }
94
- function Ge(e, t, n) {
94
+ function Oe(e, t, n) {
95
95
  return e !== void 0 ? e : t.length === 1 && n.length <= 8;
96
96
  }
97
- const ne = 14;
98
- function Oe(e) {
99
- return e.length <= ne ? e : `${e.slice(0, ne - 1)}…`;
100
- }
97
+ const re = 14;
101
98
  function je(e) {
99
+ return e.length <= re ? e : `${e.slice(0, re - 1)}…`;
100
+ }
101
+ function Ke(e) {
102
102
  var o;
103
- const t = typeof e.x == "number" ? e.x : Number(e.x) || 0, n = typeof e.y == "number" ? e.y : Number(e.y) || 0, r = String(((o = e.payload) == null ? void 0 : o.value) ?? ""), a = Oe(r);
103
+ const t = typeof e.x == "number" ? e.x : Number(e.x) || 0, n = typeof e.y == "number" ? e.y : Number(e.y) || 0, r = String(((o = e.payload) == null ? void 0 : o.value) ?? ""), a = je(r);
104
104
  return /* @__PURE__ */ i("g", { transform: `translate(${t},${n})`, children: /* @__PURE__ */ y(
105
105
  "text",
106
106
  {
@@ -117,16 +117,16 @@ function je(e) {
117
117
  }
118
118
  ) });
119
119
  }
120
- function Ke(e) {
120
+ function Xe(e) {
121
121
  return {
122
122
  fontWeight: 700,
123
123
  fill: e
124
124
  };
125
125
  }
126
- function Xe() {
126
+ function qe() {
127
127
  return {
128
128
  yAxisProps: {
129
- tick: je,
129
+ tick: Ke,
130
130
  width: 96
131
131
  },
132
132
  barChartProps: {
@@ -134,14 +134,14 @@ function Xe() {
134
134
  }
135
135
  };
136
136
  }
137
- function qe() {
137
+ function Ve() {
138
138
  return {
139
139
  barChartProps: {
140
140
  margin: { top: 22 }
141
141
  }
142
142
  };
143
143
  }
144
- function ft({
144
+ function ht({
145
145
  categories: e,
146
146
  series: t,
147
147
  height: n = 240,
@@ -153,16 +153,16 @@ function ft({
153
153
  beginAtZero: d,
154
154
  yMin: l,
155
155
  yMax: u,
156
- referenceLines: g,
156
+ referenceLines: m,
157
157
  style: v,
158
158
  extra: h,
159
159
  smooth: k
160
160
  }) {
161
- const T = (h == null ? void 0 : h.smooth) ?? k, C = O(), P = le(), M = ce(e, t), $ = de(t, C), b = !!(r && (h != null && h.stacked)), F = fe({
161
+ const L = (h == null ? void 0 : h.smooth) ?? k, T = j(), P = de(), M = ue(e, t), $ = fe(t, T), b = !!(r && (h != null && h.stacked)), F = pe({
162
162
  beginAtZero: d,
163
163
  yMin: l,
164
164
  yMax: u,
165
- referenceLines: g,
165
+ referenceLines: m,
166
166
  horizontal: !1,
167
167
  stacked: b,
168
168
  valueAxis: h == null ? void 0 : h.valueAxis
@@ -171,23 +171,22 @@ function ft({
171
171
  data: M,
172
172
  dataKey: "category",
173
173
  series: $,
174
- curveType: T ? "monotone" : "linear",
174
+ curveType: L ? "monotone" : "linear",
175
175
  withLegend: t.length > 1,
176
- legendProps: ie,
177
- valueFormatter: ue(a, o),
176
+ legendProps: le,
177
+ valueFormatter: he(a, o),
178
178
  withPointLabels: c ?? e.length <= 20,
179
179
  tooltipProps: f ? void 0 : { cursor: !1 },
180
180
  styles: {
181
- ...se,
181
+ ...ce,
182
182
  legendItemName: { color: P.textColor }
183
183
  },
184
- ...P,
185
184
  ...F,
186
185
  style: v
187
186
  };
188
- return r ? /* @__PURE__ */ i(Ee, { ...A, type: b ? "stacked" : "default" }) : /* @__PURE__ */ i(Ne, { ...A });
187
+ return r ? /* @__PURE__ */ i(Ie, { ...A, type: b ? "stacked" : "default" }) : /* @__PURE__ */ i(Ne, { ...A });
189
188
  }
190
- function ht({
189
+ function pt({
191
190
  categories: e,
192
191
  series: t,
193
192
  height: n = 240,
@@ -199,57 +198,56 @@ function ht({
199
198
  showValues: d,
200
199
  beginAtZero: l,
201
200
  yMin: u,
202
- yMax: g,
201
+ yMax: m,
203
202
  referenceLines: v,
204
203
  style: h,
205
204
  extra: k
206
205
  }) {
207
- const T = O(), C = le(), P = ce(e, t), M = o ? "percent" : r ? "stacked" : "default", $ = fe({
206
+ const L = j(), T = de(), P = ue(e, t), M = o ? "percent" : r ? "stacked" : "default", $ = pe({
208
207
  beginAtZero: l,
209
208
  yMin: u,
210
- yMax: g,
209
+ yMax: m,
211
210
  referenceLines: v,
212
211
  horizontal: a,
213
212
  stacked: r,
214
213
  normalized: o,
215
214
  valueAxis: k == null ? void 0 : k.valueAxis
216
- }), b = !r && !o && Ge(d, t, e);
215
+ }), b = !r && !o && Oe(d, t, e);
217
216
  return /* @__PURE__ */ i(
218
- Fe,
217
+ Ee,
219
218
  {
220
219
  h: n,
221
220
  data: P,
222
221
  dataKey: "category",
223
- series: de(t, T),
222
+ series: fe(t, L),
224
223
  type: M,
225
224
  orientation: a ? "vertical" : "horizontal",
226
225
  withLegend: t.length > 1,
227
- legendProps: ie,
228
- valueFormatter: ue(c, f),
226
+ legendProps: le,
227
+ valueFormatter: he(c, f),
229
228
  withBarValueLabel: b,
230
- ...b ? { valueLabelProps: Ke(C.barLabelColor) } : {},
231
- ...a ? Xe() : b ? qe() : {},
229
+ ...b ? { valueLabelProps: Xe(T.barLabelColor) } : {},
230
+ ...a ? qe() : b ? Ve() : {},
232
231
  styles: {
233
- ...se,
234
- legendItemName: { color: C.textColor }
232
+ ...ce,
233
+ legendItemName: { color: T.textColor }
235
234
  },
236
- ...C,
237
235
  ...$,
238
236
  style: h
239
237
  }
240
238
  );
241
239
  }
242
- const Ve = 180, Ye = 540;
243
- function Ze(e, t) {
240
+ const Ye = 180, Ze = 540;
241
+ function Je(e, t) {
244
242
  if (t <= 0)
245
243
  return "0%";
246
244
  const n = e / t * 100;
247
245
  return n < 10 && Math.abs(n - Math.round(n)) > 0.05 ? `${n.toFixed(1)}%` : `${Math.round(n)}%`;
248
246
  }
249
- function Je(e) {
247
+ function Ue(e) {
250
248
  return Math.max(28, Math.round(e * 0.22));
251
249
  }
252
- function Ue(e) {
250
+ function Qe(e) {
253
251
  return e.map((t) => ({
254
252
  dataKey: t.name,
255
253
  value: t.name,
@@ -257,14 +255,14 @@ function Ue(e) {
257
255
  type: "circle"
258
256
  }));
259
257
  }
260
- function Qe(e, t) {
258
+ function et(e, t) {
261
259
  return e.map((n) => ({
262
260
  name: n.name,
263
261
  color: n.color,
264
- label: `${n.name} ${Ze(n.value, t)}`
262
+ label: `${n.name} ${Je(n.value, t)}`
265
263
  }));
266
264
  }
267
- function et({
265
+ function tt({
268
266
  total: e,
269
267
  family: t,
270
268
  primary: n,
@@ -285,27 +283,27 @@ function et({
285
283
  }
286
284
  );
287
285
  }
288
- function pt({ data: e, size: t = 200, donut: n, style: r }) {
289
- const [a, o] = D(null), c = m(), f = O(), d = e.map((h, k) => ({
286
+ function yt({ data: e, size: t = 200, donut: n, style: r }) {
287
+ const [a, o] = D(null), c = g(), f = j(), d = e.map((h, k) => ({
290
288
  name: h.label,
291
289
  value: h.value,
292
290
  color: f(h.tone, k)
293
291
  })), l = d.reduce((h, k) => h + k.value, 0), u = {
294
- startAngle: Ve,
295
- endAngle: Ye
296
- }, g = (h) => ({
292
+ startAngle: Ye,
293
+ endAngle: Ze
294
+ }, m = (h) => ({
297
295
  opacity: a === null || a === h ? 1 : 0.35
298
296
  }), v = n ? /* @__PURE__ */ i(
299
- Ie,
297
+ ze,
300
298
  {
301
299
  data: d,
302
300
  size: t,
303
- thickness: Je(t),
301
+ thickness: Ue(t),
304
302
  withTooltip: !0,
305
- cellProps: (h) => g(h.name),
303
+ cellProps: (h) => m(h.name),
306
304
  ...u,
307
305
  children: /* @__PURE__ */ i(
308
- et,
306
+ tt,
309
307
  {
310
308
  total: l,
311
309
  family: c.typography.fontFamily,
@@ -315,13 +313,13 @@ function pt({ data: e, size: t = 200, donut: n, style: r }) {
315
313
  )
316
314
  }
317
315
  ) : /* @__PURE__ */ i(
318
- ze,
316
+ Re,
319
317
  {
320
318
  data: d,
321
319
  size: t,
322
320
  withTooltip: !0,
323
321
  withLabelsLine: !1,
324
- cellProps: (h) => g(h.name),
322
+ cellProps: (h) => m(h.name),
325
323
  ...u
326
324
  }
327
325
  );
@@ -351,10 +349,10 @@ function pt({ data: e, size: t = 200, donut: n, style: r }) {
351
349
  }
352
350
  ),
353
351
  /* @__PURE__ */ i(
354
- Re,
352
+ _e,
355
353
  {
356
- payload: Ue(d),
357
- series: Qe(d, l),
354
+ payload: Qe(d),
355
+ series: et(d, l),
358
356
  legendPosition: "bottom",
359
357
  centered: !0,
360
358
  onHighlight: o,
@@ -376,7 +374,7 @@ function pt({ data: e, size: t = 200, donut: n, style: r }) {
376
374
  }
377
375
  );
378
376
  }
379
- function yt(e) {
377
+ function mt(e) {
380
378
  const {
381
379
  nodes: t,
382
380
  edges: n,
@@ -386,21 +384,21 @@ function yt(e) {
386
384
  rankGap: c = 64,
387
385
  nodeGap: f = 48,
388
386
  padding: d = 24
389
- } = e, l = t.map((s) => s.id), u = new Set(l), g = /* @__PURE__ */ new Map();
390
- for (const s of l) g.set(s, []);
387
+ } = e, l = t.map((s) => s.id), u = new Set(l), m = /* @__PURE__ */ new Map();
388
+ for (const s of l) m.set(s, []);
391
389
  for (const s of n)
392
- u.has(s.from) && u.has(s.to) && g.get(s.from).push(s.to);
393
- const v = 0, h = 1, k = 2, T = new Map(l.map((s) => [s, v])), C = /* @__PURE__ */ new Set(), P = (s, p) => `${s}\0${p}`, M = (s) => {
394
- T.set(s, h);
395
- for (const p of g.get(s) ?? []) {
396
- const x = T.get(p);
397
- x === h ? C.add(P(s, p)) : x === v && M(p);
390
+ u.has(s.from) && u.has(s.to) && m.get(s.from).push(s.to);
391
+ const v = 0, h = 1, k = 2, L = new Map(l.map((s) => [s, v])), T = /* @__PURE__ */ new Set(), P = (s, p) => `${s}\0${p}`, M = (s) => {
392
+ L.set(s, h);
393
+ for (const p of m.get(s) ?? []) {
394
+ const x = L.get(p);
395
+ x === h ? T.add(P(s, p)) : x === v && M(p);
398
396
  }
399
- T.set(s, k);
397
+ L.set(s, k);
400
398
  };
401
- for (const s of l) T.get(s) === v && M(s);
399
+ for (const s of l) L.get(s) === v && M(s);
402
400
  const $ = n.filter(
403
- (s) => u.has(s.from) && u.has(s.to) && !C.has(P(s.from, s.to))
401
+ (s) => u.has(s.from) && u.has(s.to) && !T.has(P(s.from, s.to))
404
402
  ), b = new Map(l.map((s) => [s, 0])), F = new Map(l.map((s) => [s, []]));
405
403
  for (const s of $)
406
404
  F.get(s.from).push(s.to), b.set(s.to, (b.get(s.to) ?? 0) + 1);
@@ -415,32 +413,32 @@ function yt(e) {
415
413
  const p = A.get(s);
416
414
  B.has(p) || B.set(p, []), B.get(p).push(s);
417
415
  }
418
- const E = [...B.keys()].sort((s, p) => s - p), S = r === "vertical", X = (s) => s * (S ? a : o) + Math.max(0, s - 1) * f, q = Math.max(
416
+ const E = [...B.keys()].sort((s, p) => s - p), S = r === "vertical", q = (s) => s * (S ? a : o) + Math.max(0, s - 1) * f, V = Math.max(
419
417
  0,
420
- ...E.map((s) => X(B.get(s).length))
421
- ), N = /* @__PURE__ */ new Map(), V = [];
418
+ ...E.map((s) => q(B.get(s).length))
419
+ ), I = /* @__PURE__ */ new Map(), Y = [];
422
420
  E.forEach((s, p) => {
423
- const x = B.get(s), R = X(x.length), _ = d + (q - R) / 2, I = d + p * ((S ? o : a) + c);
424
- x.forEach((U, Q) => {
425
- const ee = _ + Q * ((S ? a : o) + f), ye = S ? ee : I, me = S ? I : ee;
426
- N.set(U, { id: U, x: ye, y: me, rank: s, order: Q });
427
- }), V.push({
421
+ const x = B.get(s), R = q(x.length), _ = d + (V - R) / 2, N = d + p * ((S ? o : a) + c);
422
+ x.forEach((Q, ee) => {
423
+ const te = _ + ee * ((S ? a : o) + f), ge = S ? te : N, xe = S ? N : te;
424
+ I.set(Q, { id: Q, x: ge, y: xe, rank: s, order: ee });
425
+ }), Y.push({
428
426
  rank: s,
429
- x: S ? _ : I,
430
- y: S ? I : _,
427
+ x: S ? _ : N,
428
+ y: S ? N : _,
431
429
  width: S ? R : a,
432
430
  height: S ? o : R,
433
431
  nodeIds: x
434
432
  });
435
433
  });
436
- const Y = (s, p) => s ? S ? {
434
+ const Z = (s, p) => s ? S ? {
437
435
  x: s.x + a / 2,
438
436
  y: p === "source" ? s.y + o : s.y
439
437
  } : {
440
438
  x: p === "source" ? s.x + a : s.x,
441
439
  y: s.y + o / 2
442
- } : { x: 0, y: 0 }, pe = n.filter((s) => u.has(s.from) && u.has(s.to)).map((s) => {
443
- const p = Y(N.get(s.from), "source"), x = Y(N.get(s.to), "target");
440
+ } : { x: 0, y: 0 }, me = n.filter((s) => u.has(s.from) && u.has(s.to)).map((s) => {
441
+ const p = Z(I.get(s.from), "source"), x = Z(I.get(s.to), "target");
444
442
  return {
445
443
  from: s.from,
446
444
  to: s.to,
@@ -448,19 +446,19 @@ function yt(e) {
448
446
  sourceY: p.y,
449
447
  targetX: x.x,
450
448
  targetY: x.y,
451
- isBackEdge: C.has(P(s.from, s.to))
449
+ isBackEdge: T.has(P(s.from, s.to))
452
450
  };
453
- }), Z = d * 2 + E.length * (S ? o : a) + Math.max(0, E.length - 1) * c, J = d * 2 + q;
451
+ }), J = d * 2 + E.length * (S ? o : a) + Math.max(0, E.length - 1) * c, U = d * 2 + V;
454
452
  return {
455
- nodes: [...N.values()],
456
- edges: pe,
457
- ranks: V,
453
+ nodes: [...I.values()],
454
+ edges: me,
455
+ ranks: Y,
458
456
  direction: r,
459
- width: S ? J : Z,
460
- height: S ? Z : J
457
+ width: S ? U : J,
458
+ height: S ? J : U
461
459
  };
462
460
  }
463
- function mt({
461
+ function gt({
464
462
  additions: e = 0,
465
463
  deletions: t = 0,
466
464
  style: n
@@ -489,19 +487,19 @@ function mt({
489
487
  }
490
488
  );
491
489
  }
492
- const tt = {
490
+ const nt = {
493
491
  added: "+",
494
492
  removed: "-",
495
493
  unchanged: " "
496
494
  };
497
- function gt({
495
+ function xt({
498
496
  lines: e,
499
497
  showLineNumbers: t = !0,
500
498
  coloredLineNumbers: n = !0,
501
499
  showAccentStrip: r = !0,
502
500
  style: a
503
501
  }) {
504
- const o = m(), c = (l) => l === "added" ? o.diff.insertedLine : l === "removed" ? o.diff.removedLine : "transparent", f = (l) => l === "added" ? o.diff.stripAdded : l === "removed" ? o.diff.stripRemoved : "transparent", d = (l) => n && l === "added" ? w.added : n && l === "removed" ? w.deleted : o.text.tertiary;
502
+ const o = g(), c = (l) => l === "added" ? o.diff.insertedLine : l === "removed" ? o.diff.removedLine : "transparent", f = (l) => l === "added" ? o.diff.stripAdded : l === "removed" ? o.diff.stripRemoved : "transparent", d = (l) => n && l === "added" ? w.added : n && l === "removed" ? w.deleted : o.text.tertiary;
505
503
  return /* @__PURE__ */ i(
506
504
  "div",
507
505
  {
@@ -547,7 +545,7 @@ function gt({
547
545
  userSelect: "none",
548
546
  color: d(l.type)
549
547
  },
550
- children: tt[l.type]
548
+ children: nt[l.type]
551
549
  }
552
550
  ),
553
551
  /* @__PURE__ */ i(
@@ -569,8 +567,8 @@ function gt({
569
567
  }
570
568
  );
571
569
  }
572
- function nt({ status: e }) {
573
- const t = m(), n = e === "completed" ? w.success : e === "in_progress" ? t.accent.primary : e === "cancelled" ? w.danger : t.text.tertiary;
570
+ function rt({ status: e }) {
571
+ const t = g(), n = e === "completed" ? w.success : e === "in_progress" ? t.accent.primary : e === "cancelled" ? w.danger : t.text.tertiary;
574
572
  return /* @__PURE__ */ y(
575
573
  "svg",
576
574
  {
@@ -606,13 +604,13 @@ function nt({ status: e }) {
606
604
  }
607
605
  );
608
606
  }
609
- function rt({
607
+ function ot({
610
608
  todos: e,
611
609
  dimmedTodoIds: t,
612
610
  onTodoClick: n,
613
611
  style: r
614
612
  }) {
615
- const a = m();
613
+ const a = g();
616
614
  return e.length === 0 ? null : /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", ...r }, children: e.map((o) => {
617
615
  const c = t == null ? void 0 : t.has(o.id);
618
616
  return /* @__PURE__ */ y(
@@ -636,7 +634,7 @@ function rt({
636
634
  opacity: c ? 0.45 : 1
637
635
  },
638
636
  children: [
639
- /* @__PURE__ */ i(nt, { status: o.status }),
637
+ /* @__PURE__ */ i(rt, { status: o.status }),
640
638
  /* @__PURE__ */ i(
641
639
  "span",
642
640
  {
@@ -653,14 +651,14 @@ function rt({
653
651
  );
654
652
  }) });
655
653
  }
656
- function xt({
654
+ function vt({
657
655
  todos: e,
658
656
  dimmedTodoIds: t,
659
657
  defaultExpanded: n = !1,
660
658
  onTodoClick: r,
661
659
  style: a
662
660
  }) {
663
- const o = m(), [c, f] = D(n);
661
+ const o = g(), [c, f] = D(n);
664
662
  if (e.length === 0) return null;
665
663
  const d = e.filter((l) => l.status === "completed").length;
666
664
  return /* @__PURE__ */ y(
@@ -728,7 +726,7 @@ function xt({
728
726
  }
729
727
  ),
730
728
  c && /* @__PURE__ */ i("div", { style: { padding: 6 }, children: /* @__PURE__ */ i(
731
- rt,
729
+ ot,
732
730
  {
733
731
  todos: e,
734
732
  dimmedTodoIds: t,
@@ -739,7 +737,7 @@ function xt({
739
737
  }
740
738
  );
741
739
  }
742
- function vt(e, t) {
740
+ function bt(e, t) {
743
741
  const n = `canvas:${e}`, [r, a] = D(() => {
744
742
  if (typeof localStorage > "u") return t;
745
743
  try {
@@ -763,14 +761,14 @@ function vt(e, t) {
763
761
  );
764
762
  return [r, o];
765
763
  }
766
- function bt() {
764
+ function St() {
767
765
  return G((e) => {
768
766
  }, []);
769
767
  }
770
- function St(e, t) {
768
+ function kt(e, t) {
771
769
  return { ...e, ...t };
772
770
  }
773
- function j(e, t, n) {
771
+ function K(e, t, n) {
774
772
  const r = e.typography[t];
775
773
  return {
776
774
  fontFamily: e.typography.fontFamily,
@@ -782,25 +780,25 @@ function j(e, t, n) {
782
780
  ...n
783
781
  };
784
782
  }
785
- function kt({ children: e, style: t }) {
786
- const n = m();
787
- return /* @__PURE__ */ i(W, { order: 1, style: j(n, "h1", t), children: e });
788
- }
789
783
  function wt({ children: e, style: t }) {
790
- const n = m();
791
- return /* @__PURE__ */ i(W, { order: 2, style: j(n, "h2", t), children: e });
784
+ const n = g();
785
+ return /* @__PURE__ */ i(W, { order: 1, style: K(n, "h1", t), children: e });
792
786
  }
793
787
  function Ct({ children: e, style: t }) {
794
- const n = m();
795
- return /* @__PURE__ */ i(W, { order: 3, style: j(n, "h3", t), children: e });
788
+ const n = g();
789
+ return /* @__PURE__ */ i(W, { order: 2, style: K(n, "h2", t), children: e });
790
+ }
791
+ function Lt({ children: e, style: t }) {
792
+ const n = g();
793
+ return /* @__PURE__ */ i(W, { order: 3, style: K(n, "h3", t), children: e });
796
794
  }
797
- const ot = {
795
+ const at = {
798
796
  normal: 400,
799
797
  medium: 500,
800
798
  semibold: 600,
801
799
  bold: 700
802
- };
803
- function Lt({
800
+ }, oe = ie(!1);
801
+ function Tt({
804
802
  children: e,
805
803
  tone: t = "primary",
806
804
  size: n = "body",
@@ -810,27 +808,28 @@ function Lt({
810
808
  truncate: c,
811
809
  style: f
812
810
  }) {
813
- const d = m();
814
- return /* @__PURE__ */ i(
811
+ const d = g(), u = O(oe) && r === "p" ? "span" : r, m = r === "p";
812
+ return /* @__PURE__ */ i(oe.Provider, { value: !0, children: /* @__PURE__ */ i(
815
813
  H,
816
814
  {
817
- component: r,
815
+ component: u,
818
816
  size: n === "small" ? "xs" : "sm",
819
- fw: ot[a],
817
+ fw: at[a],
820
818
  c: t === "primary" ? void 0 : d.text[t],
821
819
  truncate: c,
822
820
  style: {
823
821
  fontStyle: o ? "italic" : void 0,
824
822
  ...t === "primary" ? { color: d.text.primary } : void 0,
823
+ ...m && u === "span" ? { display: "block" } : void 0,
825
824
  fontFamily: d.typography.fontFamily,
826
825
  ...f
827
826
  },
828
827
  children: e
829
828
  }
830
- );
829
+ ) });
831
830
  }
832
- function Tt({ children: e, style: t }) {
833
- const n = m();
831
+ function Pt({ children: e, style: t }) {
832
+ const n = g();
834
833
  return /* @__PURE__ */ i(
835
834
  "code",
836
835
  {
@@ -847,8 +846,8 @@ function Tt({ children: e, style: t }) {
847
846
  }
848
847
  );
849
848
  }
850
- function Pt({ children: e, href: t, style: n }) {
851
- const r = m();
849
+ function At({ children: e, href: t, style: n }) {
850
+ const r = g();
852
851
  return /* @__PURE__ */ i(
853
852
  "a",
854
853
  {
@@ -860,17 +859,17 @@ function Pt({ children: e, href: t, style: n }) {
860
859
  }
861
860
  );
862
861
  }
863
- function At({ children: e, gap: t, style: n }) {
864
- return /* @__PURE__ */ i(Pe, { gap: t, style: n, children: e });
862
+ function Mt({ children: e, gap: t, style: n }) {
863
+ return /* @__PURE__ */ i(Me, { gap: t, style: n, children: e });
865
864
  }
866
- const re = {
865
+ const ae = {
867
866
  start: "flex-start",
868
867
  center: "center",
869
868
  end: "flex-end",
870
869
  stretch: "stretch",
871
870
  "space-between": "space-between"
872
871
  };
873
- function Mt({
872
+ function Bt({
874
873
  children: e,
875
874
  gap: t,
876
875
  align: n = "center",
@@ -879,21 +878,21 @@ function Mt({
879
878
  style: o
880
879
  }) {
881
880
  return /* @__PURE__ */ i(
882
- Le,
881
+ Pe,
883
882
  {
884
883
  gap: t,
885
- align: re[n],
886
- justify: re[r],
884
+ align: ae[n],
885
+ justify: ae[r],
887
886
  wrap: a ? "wrap" : "nowrap",
888
887
  style: o,
889
888
  children: e
890
889
  }
891
890
  );
892
891
  }
893
- function Bt() {
892
+ function $t() {
894
893
  return /* @__PURE__ */ i("div", { style: { flex: 1 } });
895
894
  }
896
- function $t({ children: e, columns: t, gap: n = 16, align: r, style: a }) {
895
+ function Dt({ children: e, columns: t, gap: n = 16, align: r, style: a }) {
897
896
  const o = typeof t == "number" ? `repeat(${t}, minmax(0, 1fr))` : t;
898
897
  return /* @__PURE__ */ i(
899
898
  "div",
@@ -909,16 +908,16 @@ function $t({ children: e, columns: t, gap: n = 16, align: r, style: a }) {
909
908
  }
910
909
  );
911
910
  }
912
- function Dt({ style: e }) {
913
- return /* @__PURE__ */ i(ke, { style: e });
911
+ function Ft({ style: e }) {
912
+ return /* @__PURE__ */ i(Ce, { style: e });
914
913
  }
915
- const K = $e({
914
+ const X = ie({
916
915
  collapsible: !1,
917
916
  open: !0,
918
917
  toggle: () => {
919
918
  }
920
919
  });
921
- function Ft({
920
+ function Et({
922
921
  children: e,
923
922
  variant: t = "default",
924
923
  collapsible: n = !1,
@@ -927,12 +926,12 @@ function Ft({
927
926
  onOpenChange: o,
928
927
  style: c
929
928
  }) {
930
- const f = m(), [d, l] = D(r), u = a ?? d, g = G(() => {
929
+ const f = g(), [d, l] = D(r), u = a ?? d, m = G(() => {
931
930
  const v = !u;
932
931
  a === void 0 && l(v), o == null || o(v);
933
932
  }, [u, a, o]);
934
933
  return /* @__PURE__ */ i(
935
- be,
934
+ ke,
936
935
  {
937
936
  withBorder: t !== "borderless",
938
937
  radius: f.radius.md,
@@ -942,12 +941,12 @@ function Ft({
942
941
  borderColor: f.stroke.secondary,
943
942
  ...c
944
943
  },
945
- children: /* @__PURE__ */ i(K.Provider, { value: { collapsible: n, open: u, toggle: g }, children: e })
944
+ children: /* @__PURE__ */ i(X.Provider, { value: { collapsible: n, open: u, toggle: m }, children: e })
946
945
  }
947
946
  );
948
947
  }
949
- function Et({ children: e, trailing: t, style: n }) {
950
- const r = m(), { collapsible: a, open: o, toggle: c } = oe(K);
948
+ function It({ children: e, trailing: t, style: n }) {
949
+ const r = g(), { collapsible: a, open: o, toggle: c } = O(X);
951
950
  return /* @__PURE__ */ y(
952
951
  "div",
953
952
  {
@@ -969,7 +968,7 @@ function Et({ children: e, trailing: t, style: n }) {
969
968
  },
970
969
  children: [
971
970
  /* @__PURE__ */ y("span", { style: { display: "inline-flex", alignItems: "center", gap: 6 }, children: [
972
- a && /* @__PURE__ */ i(he, { expanded: o }),
971
+ a && /* @__PURE__ */ i(ye, { expanded: o }),
973
972
  e
974
973
  ] }),
975
974
  t != null && /* @__PURE__ */ i("span", { children: t })
@@ -978,10 +977,10 @@ function Et({ children: e, trailing: t, style: n }) {
978
977
  );
979
978
  }
980
979
  function Nt({ children: e, style: t }) {
981
- const { collapsible: n, open: r } = oe(K);
980
+ const { collapsible: n, open: r } = O(X);
982
981
  return n && !r ? null : /* @__PURE__ */ i("div", { style: { padding: 14, ...t }, children: e });
983
982
  }
984
- function he({ expanded: e }) {
983
+ function ye({ expanded: e }) {
985
984
  return /* @__PURE__ */ i(
986
985
  "svg",
987
986
  {
@@ -1007,8 +1006,8 @@ function he({ expanded: e }) {
1007
1006
  }
1008
1007
  );
1009
1008
  }
1010
- function It({ value: e, label: t, tone: n, style: r }) {
1011
- const a = m();
1009
+ function zt({ value: e, label: t, tone: n, style: r }) {
1010
+ const a = g();
1012
1011
  return /* @__PURE__ */ y("div", { style: r, children: [
1013
1012
  /* @__PURE__ */ i(
1014
1013
  H,
@@ -1036,7 +1035,7 @@ function It({ value: e, label: t, tone: n, style: r }) {
1036
1035
  )
1037
1036
  ] });
1038
1037
  }
1039
- function zt({
1038
+ function Rt({
1040
1039
  children: e,
1041
1040
  active: t,
1042
1041
  tone: n = "neutral",
@@ -1048,9 +1047,9 @@ function zt({
1048
1047
  onClick: d
1049
1048
  }) {
1050
1049
  return /* @__PURE__ */ i(
1051
- Ce,
1050
+ Te,
1052
1051
  {
1053
- color: ae[n],
1052
+ color: se[n],
1054
1053
  variant: t ? "filled" : "light",
1055
1054
  size: r === "sm" ? "sm" : "md",
1056
1055
  leftSection: a,
@@ -1066,7 +1065,7 @@ function zt({
1066
1065
  }
1067
1066
  );
1068
1067
  }
1069
- function Rt({
1068
+ function _t({
1070
1069
  children: e,
1071
1070
  tone: t = "neutral",
1072
1071
  title: n,
@@ -1074,9 +1073,9 @@ function Rt({
1074
1073
  style: a
1075
1074
  }) {
1076
1075
  return /* @__PURE__ */ i(
1077
- ve,
1076
+ Se,
1078
1077
  {
1079
- color: ae[t],
1078
+ color: se[t],
1080
1079
  title: n,
1081
1080
  icon: r,
1082
1081
  variant: "light",
@@ -1085,14 +1084,14 @@ function Rt({
1085
1084
  }
1086
1085
  );
1087
1086
  }
1088
- const at = {
1087
+ const it = {
1089
1088
  success: "rgba(31,138,101,0.12)",
1090
1089
  danger: "rgba(207,45,86,0.12)",
1091
1090
  warning: "rgba(232,163,61,0.14)",
1092
1091
  info: "rgba(46,121,181,0.12)",
1093
1092
  neutral: "rgba(136,136,168,0.12)"
1094
1093
  };
1095
- function _t({
1094
+ function Ht({
1096
1095
  headers: e,
1097
1096
  rows: t,
1098
1097
  columnAlign: n,
@@ -1104,7 +1103,7 @@ function _t({
1104
1103
  emptyMessage: d
1105
1104
  }) {
1106
1105
  return /* @__PURE__ */ y(
1107
- L,
1106
+ C,
1108
1107
  {
1109
1108
  withTableBorder: a,
1110
1109
  withColumnBorders: !1,
@@ -1113,15 +1112,15 @@ function _t({
1113
1112
  highlightOnHover: !0,
1114
1113
  style: f,
1115
1114
  children: [
1116
- /* @__PURE__ */ i(L.Thead, { children: /* @__PURE__ */ i(L.Tr, { children: e.map((l, u) => /* @__PURE__ */ i(L.Th, { ta: (n == null ? void 0 : n[u]) ?? "left", children: l }, u)) }) }),
1117
- /* @__PURE__ */ i(L.Tbody, { children: t.length === 0 ? /* @__PURE__ */ i(L.Tr, { children: /* @__PURE__ */ i(L.Td, { colSpan: e.length, ta: "center", c: "dimmed", children: d ?? "No data" }) }) : t.map((l, u) => {
1118
- const g = r == null ? void 0 : r[u];
1115
+ /* @__PURE__ */ i(C.Thead, { children: /* @__PURE__ */ i(C.Tr, { children: e.map((l, u) => /* @__PURE__ */ i(C.Th, { ta: (n == null ? void 0 : n[u]) ?? "left", children: l }, u)) }) }),
1116
+ /* @__PURE__ */ i(C.Tbody, { children: t.length === 0 ? /* @__PURE__ */ i(C.Tr, { children: /* @__PURE__ */ i(C.Td, { colSpan: e.length, ta: "center", c: "dimmed", children: d ?? "No data" }) }) : t.map((l, u) => {
1117
+ const m = r == null ? void 0 : r[u];
1119
1118
  return /* @__PURE__ */ i(
1120
- L.Tr,
1119
+ C.Tr,
1121
1120
  {
1122
- style: g ? { background: at[g] } : void 0,
1121
+ style: m ? { background: it[m] } : void 0,
1123
1122
  children: e.map((v, h) => /* @__PURE__ */ i(
1124
- L.Td,
1123
+ C.Td,
1125
1124
  {
1126
1125
  ta: (n == null ? void 0 : n[h]) ?? "left",
1127
1126
  children: l[h]
@@ -1136,12 +1135,12 @@ function _t({
1136
1135
  }
1137
1136
  );
1138
1137
  }
1139
- const it = {
1138
+ const st = {
1140
1139
  primary: "filled",
1141
1140
  secondary: "default",
1142
1141
  ghost: "subtle"
1143
1142
  };
1144
- function Ht({
1143
+ function Wt({
1145
1144
  children: e,
1146
1145
  variant: t = "secondary",
1147
1146
  disabled: n,
@@ -1150,9 +1149,9 @@ function Ht({
1150
1149
  onClick: o
1151
1150
  }) {
1152
1151
  return /* @__PURE__ */ i(
1153
- xe,
1152
+ be,
1154
1153
  {
1155
- variant: it[t],
1154
+ variant: st[t],
1156
1155
  color: t === "primary" ? "accent" : void 0,
1157
1156
  size: "xs",
1158
1157
  disabled: n,
@@ -1163,7 +1162,7 @@ function Ht({
1163
1162
  }
1164
1163
  );
1165
1164
  }
1166
- function Wt({
1165
+ function Gt({
1167
1166
  children: e,
1168
1167
  onClick: t,
1169
1168
  disabled: n,
@@ -1173,7 +1172,7 @@ function Wt({
1173
1172
  style: c
1174
1173
  }) {
1175
1174
  return /* @__PURE__ */ i(
1176
- we,
1175
+ Le,
1177
1176
  {
1178
1177
  variant: a === "circle" ? "light" : "subtle",
1179
1178
  radius: a === "circle" ? "xl" : "sm",
@@ -1188,7 +1187,7 @@ function Wt({
1188
1187
  }
1189
1188
  );
1190
1189
  }
1191
- function Gt({
1190
+ function Ot({
1192
1191
  value: e,
1193
1192
  onChange: t,
1194
1193
  options: n,
@@ -1197,7 +1196,7 @@ function Gt({
1197
1196
  style: o
1198
1197
  }) {
1199
1198
  return /* @__PURE__ */ i(
1200
- Te,
1199
+ Ae,
1201
1200
  {
1202
1201
  value: e,
1203
1202
  data: n,
@@ -1211,7 +1210,7 @@ function Gt({
1211
1210
  }
1212
1211
  );
1213
1212
  }
1214
- function Ot({
1213
+ function jt({
1215
1214
  checked: e,
1216
1215
  onChange: t,
1217
1216
  disabled: n,
@@ -1219,7 +1218,7 @@ function Ot({
1219
1218
  style: a
1220
1219
  }) {
1221
1220
  return /* @__PURE__ */ i(
1222
- Se,
1221
+ we,
1223
1222
  {
1224
1223
  checked: e,
1225
1224
  disabled: n,
@@ -1229,7 +1228,7 @@ function Ot({
1229
1228
  }
1230
1229
  );
1231
1230
  }
1232
- function jt({
1231
+ function Kt({
1233
1232
  checked: e,
1234
1233
  onChange: t,
1235
1234
  disabled: n,
@@ -1237,7 +1236,7 @@ function jt({
1237
1236
  style: a
1238
1237
  }) {
1239
1238
  return /* @__PURE__ */ i(
1240
- Be,
1239
+ De,
1241
1240
  {
1242
1241
  checked: e,
1243
1242
  disabled: n,
@@ -1247,7 +1246,7 @@ function jt({
1247
1246
  }
1248
1247
  );
1249
1248
  }
1250
- function Kt({
1249
+ function Xt({
1251
1250
  value: e,
1252
1251
  onChange: t,
1253
1252
  placeholder: n,
@@ -1256,7 +1255,7 @@ function Kt({
1256
1255
  style: o
1257
1256
  }) {
1258
1257
  return /* @__PURE__ */ i(
1259
- Me,
1258
+ $e,
1260
1259
  {
1261
1260
  value: e,
1262
1261
  placeholder: n,
@@ -1267,7 +1266,7 @@ function Kt({
1267
1266
  }
1268
1267
  );
1269
1268
  }
1270
- function Xt({
1269
+ function qt({
1271
1270
  value: e,
1272
1271
  onChange: t,
1273
1272
  placeholder: n,
@@ -1276,7 +1275,7 @@ function Xt({
1276
1275
  style: o
1277
1276
  }) {
1278
1277
  return /* @__PURE__ */ i(
1279
- Ae,
1278
+ Be,
1280
1279
  {
1281
1280
  value: e,
1282
1281
  placeholder: n,
@@ -1288,8 +1287,8 @@ function Xt({
1288
1287
  }
1289
1288
  );
1290
1289
  }
1291
- function qt({ color: e, style: t }) {
1292
- const n = m();
1290
+ function Vt({ color: e, style: t }) {
1291
+ const n = g();
1293
1292
  return /* @__PURE__ */ i(
1294
1293
  "span",
1295
1294
  {
@@ -1305,14 +1304,14 @@ function qt({ color: e, style: t }) {
1305
1304
  }
1306
1305
  );
1307
1306
  }
1308
- function Vt({
1307
+ function Yt({
1309
1308
  segments: e,
1310
1309
  total: t,
1311
1310
  topLeftLabel: n,
1312
1311
  topRightLabel: r,
1313
1312
  style: a
1314
1313
  }) {
1315
- const o = m(), c = t > 0 ? t : 1, f = e.reduce(
1314
+ const o = g(), c = t > 0 ? t : 1, f = e.reduce(
1316
1315
  (l, u) => l + (Number.isFinite(u.value) && u.value > 0 ? u.value : 0),
1317
1316
  0
1318
1317
  ), d = Math.max(0, c - f);
@@ -1335,12 +1334,12 @@ function Vt({
1335
1334
  ),
1336
1335
  /* @__PURE__ */ y("div", { style: { display: "flex", gap: 2, height: 8 }, children: [
1337
1336
  e.map((l, u) => {
1338
- const g = Number.isFinite(l.value) && l.value > 0 ? l.value : 0, v = o.category[l.color ?? te[u % te.length]];
1337
+ const m = Number.isFinite(l.value) && l.value > 0 ? l.value : 0, v = o.category[l.color ?? ne[u % ne.length]];
1339
1338
  return /* @__PURE__ */ i(
1340
1339
  "div",
1341
1340
  {
1342
1341
  style: {
1343
- width: `${g / c * 100}%`,
1342
+ width: `${m / c * 100}%`,
1344
1343
  background: v,
1345
1344
  borderRadius: 3
1346
1345
  }
@@ -1361,7 +1360,7 @@ function Vt({
1361
1360
  ] })
1362
1361
  ] });
1363
1362
  }
1364
- function Yt({
1363
+ function Zt({
1365
1364
  title: e,
1366
1365
  leading: t,
1367
1366
  count: n,
@@ -1370,7 +1369,7 @@ function Yt({
1370
1369
  defaultOpen: o = !1,
1371
1370
  style: c
1372
1371
  }) {
1373
- const f = m(), [d, l] = D(o);
1372
+ const f = g(), [d, l] = D(o);
1374
1373
  return /* @__PURE__ */ y("div", { style: c, children: [
1375
1374
  /* @__PURE__ */ y(
1376
1375
  "div",
@@ -1387,7 +1386,7 @@ function Yt({
1387
1386
  fontSize: 14
1388
1387
  },
1389
1388
  children: [
1390
- /* @__PURE__ */ i(he, { expanded: d }),
1389
+ /* @__PURE__ */ i(ye, { expanded: d }),
1391
1390
  t,
1392
1391
  /* @__PURE__ */ i("span", { style: { fontWeight: 500 }, children: e }),
1393
1392
  n != null && /* @__PURE__ */ i("span", { style: { color: f.text.tertiary, fontSize: 12 }, children: n }),
@@ -1400,58 +1399,58 @@ function Yt({
1400
1399
  ] });
1401
1400
  }
1402
1401
  export {
1403
- ht as BarChart,
1404
- Ht as Button,
1405
- Rt as Callout,
1406
- Ft as Card,
1402
+ pt as BarChart,
1403
+ Wt as Button,
1404
+ _t as Callout,
1405
+ Et as Card,
1407
1406
  Nt as CardBody,
1408
- Et as CardHeader,
1409
- Ot as Checkbox,
1410
- Tt as Code,
1411
- Yt as CollapsibleSection,
1412
- mt as DiffStats,
1413
- gt as DiffView,
1414
- Dt as Divider,
1415
- $t as Grid,
1416
- kt as H1,
1417
- wt as H2,
1418
- Ct as H3,
1419
- Wt as IconButton,
1420
- ft as LineChart,
1421
- Pt as Link,
1422
- pt as PieChart,
1423
- zt as Pill,
1424
- Mt as Row,
1425
- Gt as Select,
1426
- Bt as Spacer,
1427
- At as Stack,
1428
- It as Stat,
1429
- qt as Swatch,
1430
- _t as Table,
1431
- Lt as Text,
1432
- Xt as TextArea,
1433
- Kt as TextInput,
1434
- rt as TodoList,
1435
- xt as TodoListCard,
1436
- jt as Toggle,
1437
- Vt as UsageBar,
1438
- rn as canvasPaletteDark,
1439
- on as canvasPaletteGrokDark,
1440
- an as canvasPaletteGrokLight,
1441
- sn as canvasPaletteLight,
1442
- ln as canvasTokens,
1443
- cn as canvasTokensLight,
1444
- dn as categoryPaletteDark,
1445
- un as categoryPaletteLight,
1446
- fn as colorPalette,
1447
- yt as computeDAGLayout,
1448
- St as mergeStyle,
1449
- te as usageColorSequence,
1450
- bt as useCanvasAction,
1451
- vt as useCanvasState,
1452
- Ut as useEffect,
1453
- m as useHostTheme,
1454
- Qt as useMemo,
1455
- en as useRef,
1456
- tn as useState
1407
+ It as CardHeader,
1408
+ jt as Checkbox,
1409
+ Pt as Code,
1410
+ Zt as CollapsibleSection,
1411
+ gt as DiffStats,
1412
+ xt as DiffView,
1413
+ Ft as Divider,
1414
+ Dt as Grid,
1415
+ wt as H1,
1416
+ Ct as H2,
1417
+ Lt as H3,
1418
+ Gt as IconButton,
1419
+ ht as LineChart,
1420
+ At as Link,
1421
+ yt as PieChart,
1422
+ Rt as Pill,
1423
+ Bt as Row,
1424
+ Ot as Select,
1425
+ $t as Spacer,
1426
+ Mt as Stack,
1427
+ zt as Stat,
1428
+ Vt as Swatch,
1429
+ Ht as Table,
1430
+ Tt as Text,
1431
+ qt as TextArea,
1432
+ Xt as TextInput,
1433
+ ot as TodoList,
1434
+ vt as TodoListCard,
1435
+ Kt as Toggle,
1436
+ Yt as UsageBar,
1437
+ on as canvasPaletteDark,
1438
+ an as canvasPaletteGrokDark,
1439
+ sn as canvasPaletteGrokLight,
1440
+ ln as canvasPaletteLight,
1441
+ cn as canvasTokens,
1442
+ dn as canvasTokensLight,
1443
+ un as categoryPaletteDark,
1444
+ fn as categoryPaletteLight,
1445
+ hn as colorPalette,
1446
+ mt as computeDAGLayout,
1447
+ kt as mergeStyle,
1448
+ ne as usageColorSequence,
1449
+ St as useCanvasAction,
1450
+ bt as useCanvasState,
1451
+ Qt as useEffect,
1452
+ g as useHostTheme,
1453
+ en as useMemo,
1454
+ tn as useRef,
1455
+ nn as useState
1457
1456
  };