@crewlethq/ui 0.122.0 → 0.124.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.
Files changed (74) hide show
  1. package/README.md +45 -2
  2. package/dist/AvatarPicker/index.js +2 -2
  3. package/dist/Callout/Callout.d.ts +13 -1
  4. package/dist/Callout/index.d.ts +1 -1
  5. package/dist/Callout/index.js +1 -1
  6. package/dist/{Callout-G3N3IE6M.css → Callout-WLZKAFPT.css} +23 -0
  7. package/dist/Charts/StackedRing.d.ts +40 -0
  8. package/dist/Charts/TimeSeries.d.ts +8 -1
  9. package/dist/Charts/index.d.ts +2 -0
  10. package/dist/Charts/index.js +1 -1
  11. package/dist/{Charts-UJKADWXE.css → Charts-4VQ7T3GB.css} +85 -0
  12. package/dist/DataGrid/DataGrid.d.ts +11 -1
  13. package/dist/DataGrid/index.d.ts +1 -1
  14. package/dist/DataGrid/index.js +1 -1
  15. package/dist/{DataGrid-7KUUYSHA.css → DataGrid-KAFVH4B3.css} +3 -1
  16. package/dist/FindingList/FindingList.d.ts +8 -1
  17. package/dist/FindingList/index.js +1 -1
  18. package/dist/{FindingList-MPLA2ZTO.css → FindingList-5P2W5MIB.css} +24 -0
  19. package/dist/FollowBanner/index.js +2 -2
  20. package/dist/Fullscreen/FullscreenToggle.d.ts +21 -0
  21. package/dist/Fullscreen/index.d.ts +2 -0
  22. package/dist/Fullscreen/index.js +11 -1
  23. package/dist/GraphCanvas/GraphCanvas.d.ts +97 -16
  24. package/dist/GraphCanvas/index.d.ts +4 -4
  25. package/dist/GraphCanvas/index.js +3 -3
  26. package/dist/GraphCanvas/layout.d.ts +31 -1
  27. package/dist/GraphCanvas/walk.d.ts +5 -4
  28. package/dist/GraphCanvas-UZPZRP6S.css +793 -0
  29. package/dist/IconTile/IconTile.d.ts +26 -18
  30. package/dist/IconTile/index.d.ts +1 -1
  31. package/dist/IconTile/index.js +1 -1
  32. package/dist/IconTile-6OSCIHYU.css +112 -0
  33. package/dist/LinkInterstitial/index.js +2 -2
  34. package/dist/List/index.js +1 -1
  35. package/dist/{List-BNA4XGMH.css → List-DG77FXA6.css} +15 -0
  36. package/dist/OpenInAppCard/index.js +2 -2
  37. package/dist/OrgTable/index.js +3 -3
  38. package/dist/ReviewList/index.js +2 -2
  39. package/dist/RichEditor/index.js +2 -2
  40. package/dist/RoomRow/index.js +2 -2
  41. package/dist/SandboxedFrame/index.js +2 -2
  42. package/dist/SetupWizard/index.js +2 -2
  43. package/dist/ShareDialog/index.js +2 -2
  44. package/dist/TimeRangePicker/index.js +2 -2
  45. package/dist/TreeGrid/index.js +2 -2
  46. package/dist/{chunk-W5XCNEZC.js → chunk-3JLG6KRU.js} +23 -2
  47. package/dist/{chunk-NHHVN23D.js → chunk-45OOFAL6.js} +1 -1
  48. package/dist/{chunk-ZKGAEXLI.js → chunk-4EKHHHOQ.js} +1 -1
  49. package/dist/{chunk-AGVGX52B.js → chunk-7XYU5PSQ.js} +1 -1
  50. package/dist/{chunk-6KPHU4EB.js → chunk-DSBKVP73.js} +490 -122
  51. package/dist/{chunk-MDD6K5M4.js → chunk-EWJOBD25.js} +1 -1
  52. package/dist/{chunk-VY37HWFV.js → chunk-GAQU5V5R.js} +1 -1
  53. package/dist/{chunk-MVXQ74TB.js → chunk-I4V4GUVM.js} +1 -1
  54. package/dist/{chunk-XZQRJVOK.js → chunk-IMNCBQVO.js} +1 -1
  55. package/dist/chunk-J2GRBRGK.js +64 -0
  56. package/dist/{chunk-GUTZISXY.js → chunk-JXE4SCYV.js} +1 -1
  57. package/dist/{chunk-X5YI6QLW.js → chunk-NOKZULW3.js} +1 -1
  58. package/dist/{chunk-ZOMTCEHR.js → chunk-OFNJE4BN.js} +6 -1
  59. package/dist/{chunk-BPCY7ZID.js → chunk-RCQLXOGS.js} +9 -2
  60. package/dist/{chunk-75O3HCCD.js → chunk-T4TKY4VZ.js} +1 -1
  61. package/dist/{chunk-ENYHABQJ.js → chunk-VB7KAQBN.js} +1 -1
  62. package/dist/chunk-VRVNLJUA.js +46 -0
  63. package/dist/{chunk-6UVBOA4M.js → chunk-YKLYMQ6J.js} +1 -1
  64. package/dist/{chunk-MNTN5ESE.js → chunk-ZY5322MJ.js} +77 -3
  65. package/dist/generated/index.js +60 -60
  66. package/dist/index.js +60 -60
  67. package/dist/styles.css +766 -133
  68. package/package.json +3 -3
  69. package/dist/GraphCanvas-RSBMO2AF.css +0 -388
  70. package/dist/IconTile-G52XZVR4.css +0 -33
  71. package/dist/chunk-3LI4TRUR.js +0 -22
  72. package/dist/chunk-NEPNJMTD.js +0 -52
  73. package/dist/{chunk-2DZV4PHK.js → chunk-WLL3PFI3.js} +1 -1
  74. package/dist/{chunk-JWUIGUIS.js → chunk-YCT7LRYR.js} +1 -1
@@ -1,4 +1,4 @@
1
- import { TreeGrid } from './chunk-X5YI6QLW.js';
1
+ import { TreeGrid } from './chunk-NOKZULW3.js';
2
2
  import { OrgLabel } from './chunk-DEVO45TG.js';
3
3
  import { createTreeModel, treeParent } from './chunk-MY374UUD.js';
4
4
  import { AddPill } from './chunk-5W3EYO5Q.js';
@@ -1,6 +1,6 @@
1
1
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './List-BNA4XGMH.css';
3
+ import './List-DG77FXA6.css';
4
4
  import { createContext, useContext, Children, isValidElement, cloneElement } from 'react';
5
5
  import { CircleAlertGlyph } from '@crewlethq/icons/glyphs';
6
6
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
1
  import { Modal } from './chunk-OG4GX2TB.js';
2
- import { Callout } from './chunk-BPCY7ZID.js';
2
+ import { Callout } from './chunk-RCQLXOGS.js';
3
3
  import { SegmentedControl } from './chunk-4PKMM3EZ.js';
4
4
  import { FormField, Input } from './chunk-NN44J7BP.js';
5
5
  import { Button } from './chunk-M2M6ZD7P.js';
@@ -1,6 +1,6 @@
1
1
  import { ConfirmModal } from './chunk-OG4GX2TB.js';
2
2
  import { InlineCode } from './chunk-PPGDH32L.js';
3
- import { Callout } from './chunk-BPCY7ZID.js';
3
+ import { Callout } from './chunk-RCQLXOGS.js';
4
4
  import './LinkInterstitial-ET4MSVSV.css';
5
5
  import { jsx, jsxs } from 'react/jsx-runtime';
6
6
 
@@ -0,0 +1,64 @@
1
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
2
+ import { cx } from './chunk-ODEQTPFM.js';
3
+ import './FindingList-5P2W5MIB.css';
4
+ import { CircleAlertGlyph, TriangleAlertGlyph } from '@crewlethq/icons/glyphs';
5
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
+
7
+ var TONE_LABELS = {
8
+ danger: "Problem",
9
+ warning: "Advice"
10
+ };
11
+ function FindingList({
12
+ findings,
13
+ label,
14
+ toneLabels,
15
+ density = "comfortable",
16
+ className
17
+ }) {
18
+ const words = { ...TONE_LABELS, ...toneLabels };
19
+ const ordered = [
20
+ ...findings.filter((f) => f.tone === "danger"),
21
+ ...findings.filter((f) => f.tone === "warning")
22
+ ];
23
+ return /* @__PURE__ */ jsx(
24
+ "ul",
25
+ {
26
+ className: cx(
27
+ "crewlet-finding-list",
28
+ density === "compact" && "crewlet-finding-list--compact",
29
+ className
30
+ ),
31
+ "aria-label": label,
32
+ children: ordered.map((f) => {
33
+ const body = /* @__PURE__ */ jsxs(Fragment, { children: [
34
+ /* @__PURE__ */ jsx(
35
+ "span",
36
+ {
37
+ className: cx("crewlet-finding-list__glyph", `is-${f.tone}`),
38
+ "aria-hidden": "true",
39
+ children: f.tone === "danger" ? /* @__PURE__ */ jsx(CircleAlertGlyph, { size: "sm" }) : /* @__PURE__ */ jsx(TriangleAlertGlyph, { size: "sm" })
40
+ }
41
+ ),
42
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-finding-list__text", children: [
43
+ f.location ? /* @__PURE__ */ jsx("span", { className: "crewlet-finding-list__location", children: f.location }) : null,
44
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-finding-list__message", children: [
45
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: `${words[f.tone]}: ` }),
46
+ f.message
47
+ ] })
48
+ ] })
49
+ ] });
50
+ return /* @__PURE__ */ jsx("li", { className: "crewlet-finding-list__item", children: f.onSelect ? /* @__PURE__ */ jsx(
51
+ "button",
52
+ {
53
+ type: "button",
54
+ className: "crewlet-finding-list__row",
55
+ onClick: f.onSelect,
56
+ children: body
57
+ }
58
+ ) : /* @__PURE__ */ jsx("div", { className: "crewlet-finding-list__row", children: body }) }, f.key);
59
+ })
60
+ }
61
+ );
62
+ }
63
+
64
+ export { FindingList };
@@ -1,7 +1,7 @@
1
1
  import { Select } from './chunk-AYVRS4LD.js';
2
2
  import { Modal } from './chunk-OG4GX2TB.js';
3
3
  import { CopyButton } from './chunk-AVK7RRQ4.js';
4
- import { Callout } from './chunk-BPCY7ZID.js';
4
+ import { Callout } from './chunk-RCQLXOGS.js';
5
5
  import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
6
6
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
7
7
  import { Button } from './chunk-M2M6ZD7P.js';
@@ -1,5 +1,5 @@
1
1
  import { useTreeState, treeExpandable, treeLevel, treePosInSet, treeSetSize, treeItemAction, treePrevious, treeNext, treeStep } from './chunk-MY374UUD.js';
2
- import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-ZOMTCEHR.js';
2
+ import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-OFNJE4BN.js';
3
3
  import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
4
4
  import { Checkbox } from './chunk-KFTVPWG2.js';
5
5
  import { EmptyState } from './chunk-PPUR46MK.js';
@@ -8,7 +8,7 @@ import { Button } from './chunk-M2M6ZD7P.js';
8
8
  import { IconButton } from './chunk-X5YI6E5X.js';
9
9
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
10
10
  import { cx } from './chunk-ODEQTPFM.js';
11
- import './DataGrid-7KUUYSHA.css';
11
+ import './DataGrid-KAFVH4B3.css';
12
12
  import { useId, useRef, useState, useMemo, useCallback, useLayoutEffect, useImperativeHandle, useSyncExternalStore, useEffect, Fragment as Fragment$1 } from 'react';
13
13
  import { breakpoint } from '@crewlethq/tokens';
14
14
  import { ArrowDownGlyph, ArrowUpGlyph, ArrowUpDownGlyph, GripVerticalGlyph, ChevronRightGlyph } from '@crewlethq/icons/glyphs';
@@ -306,6 +306,8 @@ function DataGrid({
306
306
  onRowActivate,
307
307
  rowHref,
308
308
  isSelected,
309
+ isPointed,
310
+ onRowPoint,
309
311
  selection,
310
312
  isFailed,
311
313
  rowTone,
@@ -710,6 +712,7 @@ function DataGrid({
710
712
  className: cx(
711
713
  "crewlet-data-grid__row",
712
714
  marked && "crewlet-data-grid__row--selected",
715
+ !marked && isPointed?.(row) && "crewlet-data-grid__row--pointed",
713
716
  picked && "crewlet-data-grid__row--picked",
714
717
  tone === "danger" && "crewlet-data-grid__row--failed",
715
718
  cursor === at && "crewlet-data-grid__row--cursor"
@@ -720,6 +723,8 @@ function DataGrid({
720
723
  "data-pending": pending || void 0,
721
724
  "aria-busy": pending || void 0,
722
725
  "aria-current": overlay === null && marked ? "true" : void 0,
726
+ onPointerEnter: onRowPoint ? () => onRowPoint(row) : void 0,
727
+ onPointerLeave: onRowPoint ? () => onRowPoint(null) : void 0,
723
728
  children: inner
724
729
  }
725
730
  ),
@@ -1,5 +1,5 @@
1
1
  import { cx } from './chunk-ODEQTPFM.js';
2
- import './Callout-G3N3IE6M.css';
2
+ import './Callout-WLZKAFPT.css';
3
3
  import { CircleAlertGlyph, TriangleAlertGlyph, CircleCheckGlyph, InfoGlyph } from '@crewlethq/icons/glyphs';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
5
5
 
@@ -15,6 +15,7 @@ var Callout = ({
15
15
  title,
16
16
  icon,
17
17
  layout = "card",
18
+ appearance = "tinted",
18
19
  action,
19
20
  live,
20
21
  className,
@@ -25,7 +26,13 @@ var Callout = ({
25
26
  {
26
27
  ...rest,
27
28
  "aria-live": live,
28
- className: cx("crewlet-callout", `crewlet-callout--${variant}`, `crewlet-callout--${layout}`, className),
29
+ className: cx(
30
+ "crewlet-callout",
31
+ `crewlet-callout--${variant}`,
32
+ `crewlet-callout--${layout}`,
33
+ appearance === "quiet" && "crewlet-callout--quiet",
34
+ className
35
+ ),
29
36
  children: [
30
37
  /* @__PURE__ */ jsx("span", { className: "crewlet-callout__icon", "aria-hidden": true, children: icon ?? GLYPHS[variant] }),
31
38
  /* @__PURE__ */ jsxs("div", { className: "crewlet-callout__content", children: [
@@ -1,5 +1,5 @@
1
1
  import { safeHref } from './chunk-KBZO4B33.js';
2
- import { IconTile } from './chunk-3LI4TRUR.js';
2
+ import { IconTile } from './chunk-VRVNLJUA.js';
3
3
  import { ReceiptStrip } from './chunk-TMHG4576.js';
4
4
  import { StatusCard } from './chunk-7L75YB57.js';
5
5
  import { ButtonLink, Button } from './chunk-M2M6ZD7P.js';
@@ -1,5 +1,5 @@
1
1
  import { richEditorLabels } from './chunk-2DMTW2Y3.js';
2
- import { Callout } from './chunk-BPCY7ZID.js';
2
+ import { Callout } from './chunk-RCQLXOGS.js';
3
3
  import { Skeleton } from './chunk-WFAJYBLX.js';
4
4
  import { Button } from './chunk-M2M6ZD7P.js';
5
5
  import './RichEditor-5CF3QV3J.css';
@@ -0,0 +1,46 @@
1
+ import { cx } from './chunk-ODEQTPFM.js';
2
+ import './IconTile-6OSCIHYU.css';
3
+ import { TriangleAlertGlyph, CircleAlertGlyph, InfoGlyph } from '@crewlethq/icons/glyphs';
4
+ import { jsxs, jsx } from 'react/jsx-runtime';
5
+
6
+ function statusGlyph(tone) {
7
+ if (tone === "danger") return /* @__PURE__ */ jsx(TriangleAlertGlyph, {});
8
+ if (tone === "warning") return /* @__PURE__ */ jsx(CircleAlertGlyph, {});
9
+ return /* @__PURE__ */ jsx(InfoGlyph, {});
10
+ }
11
+ function IconTile({
12
+ children,
13
+ hue,
14
+ tone = "accent",
15
+ size = "md",
16
+ shape = "square",
17
+ mark,
18
+ status,
19
+ dashed = false,
20
+ className,
21
+ ...rest
22
+ }) {
23
+ return /* @__PURE__ */ jsxs(
24
+ "span",
25
+ {
26
+ "aria-hidden": "true",
27
+ ...rest,
28
+ "data-status": status?.tone,
29
+ "data-dashed": dashed ? "" : void 0,
30
+ className: cx(
31
+ "crewlet-icon-tile",
32
+ `crewlet-icon-tile--${size}`,
33
+ shape === "disc" && "crewlet-icon-tile--disc",
34
+ hue ? `crewlet-icon-tile--${hue}` : tone === "neutral" && "crewlet-icon-tile--neutral",
35
+ className
36
+ ),
37
+ children: [
38
+ children,
39
+ mark ? /* @__PURE__ */ jsx("span", { className: "crewlet-icon-tile__mark", children: mark }) : null,
40
+ status ? /* @__PURE__ */ jsx("span", { className: "crewlet-icon-tile__badge", children: status.glyph ?? statusGlyph(status.tone) }) : null
41
+ ]
42
+ }
43
+ );
44
+ }
45
+
46
+ export { IconTile };
@@ -1,4 +1,4 @@
1
- import { Callout } from './chunk-BPCY7ZID.js';
1
+ import { Callout } from './chunk-RCQLXOGS.js';
2
2
  import { Button } from './chunk-M2M6ZD7P.js';
3
3
  import { isComposing } from './chunk-EDPMHSLZ.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,7 +1,7 @@
1
1
  import { Text } from './chunk-XLMURU75.js';
2
2
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
- import './Charts-UJKADWXE.css';
4
+ import './Charts-4VQ7T3GB.css';
5
5
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
6
  import { useState, useRef, useCallback, useId } from 'react';
7
7
 
@@ -292,6 +292,77 @@ function StackedBar({
292
292
  /* @__PURE__ */ jsx(VisuallyHidden, { id: named, children: sentence })
293
293
  ] });
294
294
  }
295
+ var BOX = 64;
296
+ var LINE = 6;
297
+ var RADIUS = (BOX - LINE) / 2;
298
+ var ROUND = 2 * Math.PI * RADIUS;
299
+ var GAP = 2;
300
+ function StackedRing({
301
+ segments,
302
+ children,
303
+ size = "4rem",
304
+ summary,
305
+ format = (value) => value.toLocaleString(),
306
+ emptyLabel = "Nothing recorded",
307
+ className
308
+ }) {
309
+ const named = useId();
310
+ const total = segments.reduce((sum, segment) => sum + Math.max(0, segment.value), 0);
311
+ const drawn = segments.map((segment, index) => ({ ...segment, color: segment.color ?? dataColor(index) })).filter((segment) => segment.value > 0);
312
+ const parts = drawn.map((segment) => ({
313
+ label: segment.label,
314
+ value: segment.value,
315
+ percent: total > 0 ? Math.round(segment.value / total * 100) : 0
316
+ }));
317
+ const sentence = drawn.length === 0 ? emptyLabel : summary ? summary(parts) : parts.map((part) => `${part.label}: ${format(part.value)} (${part.percent}%)`).join(", ");
318
+ const gap = drawn.length > 1 ? GAP : 0;
319
+ let from = 0;
320
+ const arcs = drawn.map((segment) => {
321
+ const length = segment.value / total * ROUND;
322
+ const arc = { id: segment.id, color: segment.color, from, length: Math.max(0.01, length - gap) };
323
+ from += length;
324
+ return arc;
325
+ });
326
+ const circles = (className2) => arcs.map((arc) => /* @__PURE__ */ jsx(
327
+ "circle",
328
+ {
329
+ className: className2,
330
+ cx: BOX / 2,
331
+ cy: BOX / 2,
332
+ r: RADIUS,
333
+ strokeDasharray: `${arc.length.toFixed(2)} ${(ROUND - arc.length).toFixed(2)}`,
334
+ strokeDashoffset: (-arc.from).toFixed(2),
335
+ style: { "--crewlet-stacked-ring-segment-color": arc.color }
336
+ },
337
+ arc.id
338
+ ));
339
+ return /* @__PURE__ */ jsxs(
340
+ "div",
341
+ {
342
+ className: cx("crewlet-stacked-ring", className),
343
+ style: { "--crewlet-stacked-ring-size": size },
344
+ children: [
345
+ /* @__PURE__ */ jsxs(
346
+ "svg",
347
+ {
348
+ className: "crewlet-stacked-ring__plot",
349
+ viewBox: `0 0 ${BOX} ${BOX}`,
350
+ role: "img",
351
+ "aria-labelledby": named,
352
+ focusable: "false",
353
+ children: [
354
+ /* @__PURE__ */ jsx("circle", { className: "crewlet-stacked-ring__track", cx: BOX / 2, cy: BOX / 2, r: RADIUS }),
355
+ /* @__PURE__ */ jsx("g", { className: "crewlet-stacked-ring__halo", children: circles("crewlet-stacked-ring__arc") }),
356
+ /* @__PURE__ */ jsx("g", { children: circles("crewlet-stacked-ring__arc") })
357
+ ]
358
+ }
359
+ ),
360
+ children !== void 0 && children !== null ? /* @__PURE__ */ jsx("span", { className: "crewlet-stacked-ring__figure", children }) : null,
361
+ /* @__PURE__ */ jsx(VisuallyHidden, { id: named, children: sentence })
362
+ ]
363
+ }
364
+ );
365
+ }
295
366
  function ActivityStrip({
296
367
  buckets,
297
368
  label,
@@ -609,12 +680,14 @@ function Sparkline({
609
680
  values,
610
681
  color = DATA_COLOR_OTHER,
611
682
  current = false,
683
+ weight = "regular",
612
684
  height = "1.75rem",
613
685
  className
614
686
  }) {
615
687
  const width = 200;
616
688
  const box = 28;
617
- const classes = cx("crewlet-spark", current && "crewlet-spark--current", className);
689
+ const fine = weight === "fine";
690
+ const classes = cx("crewlet-spark", current && "crewlet-spark--current", fine && "crewlet-spark--fine", className);
618
691
  if (values.length < 2) return /* @__PURE__ */ jsx("div", { className: classes, style: { height }, "aria-hidden": true });
619
692
  const peak = Math.max(1, ...values);
620
693
  const step = width / (values.length - 1);
@@ -622,6 +695,7 @@ function Sparkline({
622
695
  const points = values.map((value, index) => `${(index * step).toFixed(2)},${y(value).toFixed(2)}`).join(" ");
623
696
  const last = values[values.length - 1];
624
697
  return /* @__PURE__ */ jsxs("div", { className: classes, style: { height }, "aria-hidden": true, children: [
698
+ fine ? /* @__PURE__ */ jsx("svg", { className: "crewlet-spark__halo", viewBox: `0 0 ${width} ${box}`, preserveAspectRatio: "none", children: /* @__PURE__ */ jsx("polyline", { className: "crewlet-chart__series", points, stroke: color, vectorEffect: "non-scaling-stroke" }) }) : null,
625
699
  /* @__PURE__ */ jsx("svg", { className: "crewlet-spark__plot", viewBox: `0 0 ${width} ${box}`, preserveAspectRatio: "none", children: /* @__PURE__ */ jsx("polyline", { className: "crewlet-chart__series", points, stroke: color, vectorEffect: "non-scaling-stroke" }) }),
626
700
  current ? /* @__PURE__ */ jsx("span", { className: "crewlet-spark__current", style: { top: `${(y(last) / box * 100).toFixed(2)}%` } }) : null
627
701
  ] });
@@ -805,4 +879,4 @@ function StackedColumns({
805
879
  );
806
880
  }
807
881
 
808
- export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover };
882
+ export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, StackedRing, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover };