@crewlethq/ui 0.13.0 → 0.15.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.
- package/README.md +42 -0
- package/dist/AppShell/AppShell.d.ts +76 -11
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +2 -2
- package/dist/{AppShell-CEVLW4QG.css → AppShell-6QUD7NWM.css} +74 -1
- package/dist/AvatarPicker/index.js +4 -4
- package/dist/Canvas/index.js +3 -3
- package/dist/Charts/StackedColumns.d.ts +30 -7
- package/dist/Charts/index.d.ts +1 -1
- package/dist/Charts/index.js +1 -1
- package/dist/{Charts-JUERFLAR.css → Charts-JYW4X5ZL.css} +18 -1
- package/dist/CommandPalette/index.js +3 -3
- package/dist/DataTable/index.js +5 -5
- package/dist/DataView/index.js +9 -9
- package/dist/DateTimePicker/index.js +3 -3
- package/dist/{DateTimePicker-4AZBTODT.css → DateTimePicker-NJ6XH2TE.css} +4 -3
- package/dist/DescriptionList/DescriptionList.d.ts +9 -1
- package/dist/DescriptionList/index.js +1 -1
- package/dist/{DescriptionList-YYY3V3O6.css → DescriptionList-IXMRCSMK.css} +24 -0
- package/dist/FactList/index.js +3 -3
- package/dist/Layer/index.js +1 -1
- package/dist/Layer-J222IFNX.css +33 -0
- package/dist/Layout/index.js +1 -1
- package/dist/{Layout-2ZCV3IGF.css → Layout-ZBEGLXAE.css} +18 -0
- package/dist/ListInput/index.js +3 -3
- package/dist/MarkdownEditor/index.js +1 -1
- package/dist/Menu/index.js +2 -2
- package/dist/Modal/index.js +2 -2
- package/dist/{Modal-3YJ2GG2T.css → Modal-RQAYGG4L.css} +1 -1
- package/dist/OrgTable/index.js +5 -5
- package/dist/Popover/index.js +2 -2
- package/dist/Select/index.js +2 -2
- package/dist/{Select-XMZ44RWY.css → Select-2P7AWUE4.css} +32 -6
- package/dist/Shortcut/index.js +1 -1
- package/dist/Switcher/index.js +5 -5
- package/dist/TagsInput/index.js +3 -3
- package/dist/TimeWindowPicker/index.js +4 -4
- package/dist/{TimeWindowPicker-GBF4JDFI.css → TimeWindowPicker-BZ5HHATU.css} +5 -4
- package/dist/Toaster/Toaster.d.ts +6 -1
- package/dist/Toaster/index.js +2 -2
- package/dist/{Toaster-KZ7YE2HA.css → Toaster-EOOOTSJT.css} +82 -87
- package/dist/Toolbar/index.js +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/TreeCanvas/index.js +4 -4
- package/dist/TreeGrid/index.js +3 -3
- package/dist/{chunk-UZPHPW3Z.js → chunk-2GXTIK37.js} +4 -4
- package/dist/{chunk-RZ7RGECB.js → chunk-2OLCUNG7.js} +1 -1
- package/dist/{chunk-JDPAA2JU.js → chunk-2UU5IGZI.js} +2 -2
- package/dist/{chunk-B2CITO6R.js → chunk-7BZPYA5P.js} +3 -3
- package/dist/{chunk-2PZBIHRV.js → chunk-AMH67MLM.js} +2 -2
- package/dist/{chunk-6LXMLQUM.js → chunk-B2Z2CDM5.js} +2 -2
- package/dist/{chunk-O2ZDZZS7.js → chunk-BWRGFKJP.js} +3 -2
- package/dist/{chunk-75WOCYGC.js → chunk-DYHSQHAZ.js} +1 -1
- package/dist/{chunk-4FFHJBEN.js → chunk-EFNHOVC2.js} +1 -1
- package/dist/{chunk-XN4JBAN3.js → chunk-F2XSYBKH.js} +8 -2
- package/dist/{chunk-XFE5W2I4.js → chunk-FC4YTTFJ.js} +14 -4
- package/dist/{chunk-L3CTFFLZ.js → chunk-H3XOMT7W.js} +53 -9
- package/dist/{chunk-7RPGY3JE.js → chunk-HMPFGIWM.js} +1 -1
- package/dist/{chunk-HKGS67VG.js → chunk-IYZZL3MZ.js} +1 -1
- package/dist/{chunk-URYDN2KA.js → chunk-JI5AVQLA.js} +1 -1
- package/dist/{chunk-CF6DTETT.js → chunk-K4VORB64.js} +2 -2
- package/dist/{chunk-S3IENQ3E.js → chunk-LCF4WPYS.js} +3 -3
- package/dist/{chunk-4WNNEDKO.js → chunk-MLT2HBPN.js} +87 -74
- package/dist/{chunk-TFH6SYWB.js → chunk-NS7BVLL3.js} +1 -1
- package/dist/{chunk-LELD5KPA.js → chunk-QH3AKP2N.js} +22 -9
- package/dist/{chunk-WY2NLRZN.js → chunk-QV266R6G.js} +3 -3
- package/dist/{chunk-CQY5NTRS.js → chunk-QWOPX2MN.js} +1 -1
- package/dist/{chunk-53DVJCVW.js → chunk-VYOKRN2I.js} +1 -1
- package/dist/{chunk-W4ENKCXJ.js → chunk-ZAC7SKUN.js} +1 -1
- package/dist/generated/index.js +33 -33
- package/dist/index.js +33 -33
- package/dist/styles.css +279 -114
- package/package.json +3 -3
- package/dist/Layer-NAFSGCFA.css +0 -23
- package/dist/{chunk-LZP7FGT7.js → chunk-GARACZAH.js} +1 -1
- package/dist/{chunk-GG2QEZO2.js → chunk-JCO3SIST.js} +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
2
2
|
import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
3
3
|
import { IconButton } from './chunk-4FQT6ZAY.js';
|
|
4
|
-
import { useLayerContainer } from './chunk-
|
|
4
|
+
import { useLayerContainer } from './chunk-HMPFGIWM.js';
|
|
5
5
|
import { focusables, useModalLayer, useBodyScrollLock } from './chunk-R25RGPUB.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
|
-
import './Modal-
|
|
7
|
+
import './Modal-RQAYGG4L.css';
|
|
8
8
|
import { useId, useRef, useCallback } from 'react';
|
|
9
9
|
import { createPortal } from 'react-dom';
|
|
10
10
|
import { XGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Skeleton } from './chunk-W5J7R5EB.js';
|
|
2
|
-
import { Modal } from './chunk-
|
|
2
|
+
import { Modal } from './chunk-K4VORB64.js';
|
|
3
3
|
import { useListbox, useOptionKeys } from './chunk-F73MC7EZ.js';
|
|
4
4
|
import { Input } from './chunk-FTEJPHBI.js';
|
|
5
5
|
import { KeyChip, highlightMatch } from './chunk-FYTIJM2T.js';
|
|
6
|
-
import { useMediaMatch } from './chunk-IG75YMUN.js';
|
|
7
6
|
import { announce } from './chunk-RSAQOKH3.js';
|
|
8
|
-
import {
|
|
7
|
+
import { useMediaMatch } from './chunk-IG75YMUN.js';
|
|
8
|
+
import { Popover } from './chunk-BWRGFKJP.js';
|
|
9
9
|
import { focusables, isComposing } from './chunk-R25RGPUB.js';
|
|
10
10
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
11
11
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './Charts-
|
|
3
|
+
import './Charts-JYW4X5ZL.css';
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import { useState, useRef, useCallback, useId } from 'react';
|
|
6
6
|
|
|
@@ -445,6 +445,7 @@ function niceScale(peak, steps = 4) {
|
|
|
445
445
|
return { top, step: Number(step.toPrecision(12)) };
|
|
446
446
|
}
|
|
447
447
|
var COMPACT = new Intl.NumberFormat(void 0, { notation: "compact", maximumFractionDigits: 1 });
|
|
448
|
+
var PLOT_HEIGHT = "11.5rem";
|
|
448
449
|
function StackedColumns({
|
|
449
450
|
series,
|
|
450
451
|
buckets,
|
|
@@ -452,7 +453,8 @@ function StackedColumns({
|
|
|
452
453
|
label,
|
|
453
454
|
legend = "below",
|
|
454
455
|
head,
|
|
455
|
-
height =
|
|
456
|
+
height = PLOT_HEIGHT,
|
|
457
|
+
minHeight = PLOT_HEIGHT,
|
|
456
458
|
format = (value) => COMPACT.format(value),
|
|
457
459
|
formatTime = (at) => new Date(at).toLocaleDateString(),
|
|
458
460
|
summary,
|
|
@@ -493,81 +495,92 @@ function StackedColumns({
|
|
|
493
495
|
}
|
|
494
496
|
);
|
|
495
497
|
const hasHead = head !== void 0 && head !== null && head !== false;
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
"
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
498
|
+
const headed = hasHead || legend === "head";
|
|
499
|
+
const fill = height === "fill";
|
|
500
|
+
const rows = fill ? `${headed ? "auto " : ""}minmax(${minHeight}, 1fr) auto` : void 0;
|
|
501
|
+
const plotHeight = fill ? "100%" : height;
|
|
502
|
+
return /* @__PURE__ */ jsxs(
|
|
503
|
+
"figure",
|
|
504
|
+
{
|
|
505
|
+
className: cx("crewlet-stacked-columns", fill && "crewlet-stacked-columns--fill", className),
|
|
506
|
+
style: rows === void 0 ? void 0 : { gridTemplateRows: rows },
|
|
507
|
+
children: [
|
|
508
|
+
headed ? /* @__PURE__ */ jsxs("div", { className: "crewlet-stacked-columns__head", children: [
|
|
509
|
+
hasHead ? /* @__PURE__ */ jsx("div", { className: "crewlet-stacked-columns__heading", children: head }) : null,
|
|
510
|
+
legend === "head" ? key : null
|
|
511
|
+
] }) : null,
|
|
512
|
+
/* @__PURE__ */ jsx("div", { className: "crewlet-stacked-columns__axis", "aria-hidden": true, style: { height: plotHeight }, children: ticks.map((tick) => /* @__PURE__ */ jsx("span", { className: "crewlet-stacked-columns__tick", children: format(tick) }, tick)) }),
|
|
513
|
+
/* @__PURE__ */ jsxs("div", { className: "crewlet-chart-frame", role: "group", "aria-label": label, ...hover.plotProps, children: [
|
|
514
|
+
/* @__PURE__ */ jsxs(
|
|
515
|
+
"div",
|
|
516
|
+
{
|
|
517
|
+
className: "crewlet-stacked-columns__plot",
|
|
518
|
+
role: "img",
|
|
519
|
+
"aria-label": sentence,
|
|
520
|
+
style: { height: plotHeight },
|
|
521
|
+
children: [
|
|
522
|
+
/* @__PURE__ */ jsx("div", { className: "crewlet-stacked-columns__grid", "aria-hidden": true, children: ticks.map((tick) => /* @__PURE__ */ jsx("span", { className: "crewlet-stacked-columns__grid-line" }, tick)) }),
|
|
523
|
+
buckets.map((bucket, index) => {
|
|
524
|
+
const total = totals[index] ?? 0;
|
|
525
|
+
const parts = shown.filter((one) => valueOf(bucket, one.id) > 0);
|
|
526
|
+
return /* @__PURE__ */ jsx(
|
|
521
527
|
"div",
|
|
522
528
|
{
|
|
523
|
-
className: "crewlet-stacked-
|
|
524
|
-
|
|
525
|
-
children:
|
|
526
|
-
"
|
|
529
|
+
className: cx("crewlet-stacked-columns__slot", hover.active === index && "is-active"),
|
|
530
|
+
onPointerEnter: () => hover.point(index),
|
|
531
|
+
children: /* @__PURE__ */ jsx(
|
|
532
|
+
"div",
|
|
527
533
|
{
|
|
528
|
-
className: "crewlet-stacked-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
534
|
+
className: "crewlet-stacked-columns__column",
|
|
535
|
+
style: { height: `${(total / top * 100).toFixed(3)}%` },
|
|
536
|
+
children: parts.map((one) => /* @__PURE__ */ jsx(
|
|
537
|
+
"span",
|
|
538
|
+
{
|
|
539
|
+
className: "crewlet-stacked-columns__segment",
|
|
540
|
+
"data-series": one.id,
|
|
541
|
+
style: {
|
|
542
|
+
flexGrow: valueOf(bucket, one.id),
|
|
543
|
+
"--crewlet-stacked-columns-segment-color": one.color
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
one.id
|
|
547
|
+
))
|
|
548
|
+
}
|
|
549
|
+
)
|
|
550
|
+
},
|
|
551
|
+
bucket.t
|
|
552
|
+
);
|
|
553
|
+
})
|
|
554
|
+
]
|
|
555
|
+
}
|
|
556
|
+
),
|
|
557
|
+
/* @__PURE__ */ jsx(
|
|
558
|
+
ChartTooltip,
|
|
559
|
+
{
|
|
560
|
+
open: active != null,
|
|
561
|
+
anchor: hover.active == null ? void 0 : { start: hover.active / buckets.length, end: (hover.active + 1) / buckets.length },
|
|
562
|
+
title: active == null ? void 0 : formatTime(active.t),
|
|
563
|
+
rows: active == null ? [] : shown.map((one) => ({ id: one.id, name: one.name, value: format(valueOf(active, one.id)), color: one.color })),
|
|
564
|
+
total: active == null || hover.active == null ? void 0 : { value: format(totals[hover.active] ?? 0) }
|
|
565
|
+
}
|
|
566
|
+
)
|
|
567
|
+
] }),
|
|
568
|
+
/* @__PURE__ */ jsxs("figcaption", { className: "crewlet-stacked-columns__scale", children: [
|
|
569
|
+
/* @__PURE__ */ jsx("span", { children: first == null ? "" : formatTime(first) }),
|
|
570
|
+
middle != null && /* @__PURE__ */ jsx(
|
|
571
|
+
"span",
|
|
572
|
+
{
|
|
573
|
+
className: "crewlet-stacked-columns__middle",
|
|
574
|
+
style: { left: `${((centre + 0.5) / buckets.length * 100).toFixed(3)}%` },
|
|
575
|
+
children: formatTime(middle)
|
|
576
|
+
}
|
|
577
|
+
),
|
|
578
|
+
/* @__PURE__ */ jsx("span", { children: last == null || last === first ? "" : formatTime(last) })
|
|
579
|
+
] }),
|
|
580
|
+
legend === "below" ? key : null
|
|
581
|
+
]
|
|
582
|
+
}
|
|
583
|
+
);
|
|
571
584
|
}
|
|
572
585
|
|
|
573
586
|
export { ActivityStrip, BarList, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Legend, Sparkline, StackedBar, StackedColumns, TimeSeries, dataColor, niceScale, useChartHover };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
2
2
|
import { IconButton } from './chunk-4FQT6ZAY.js';
|
|
3
|
-
import { useLayerContainer, viewportBounds, LAYER_GAP, outsideBounds, placePopup, LAYER_REPOSITION_EVENT } from './chunk-
|
|
3
|
+
import { useLayerContainer, viewportBounds, LAYER_GAP, outsideBounds, placePopup, LAYER_REPOSITION_EVENT } from './chunk-HMPFGIWM.js';
|
|
4
4
|
import { usePopupLayer } from './chunk-R25RGPUB.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './Menu-BT5PMFJI.css';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { useLayerContainer } from './chunk-
|
|
1
|
+
import { useLayerContainer } from './chunk-HMPFGIWM.js';
|
|
2
2
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
|
-
import './Toaster-
|
|
4
|
+
import './Toaster-EOOOTSJT.css';
|
|
5
5
|
import { createContext, useMemo, useState, useRef, useEffect, useContext, useCallback } from 'react';
|
|
6
6
|
import { createPortal } from 'react-dom';
|
|
7
7
|
import { XGlyph, CircleAlertGlyph, TriangleAlertGlyph, CircleCheckGlyph, InfoGlyph } from '@crewlethq/icons/glyphs';
|
|
8
8
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
var ICONS = {
|
|
11
|
-
info: /* @__PURE__ */ jsx(InfoGlyph, { size: "
|
|
12
|
-
success: /* @__PURE__ */ jsx(CircleCheckGlyph, { size: "
|
|
13
|
-
warning: /* @__PURE__ */ jsx(TriangleAlertGlyph, { size: "
|
|
14
|
-
danger: /* @__PURE__ */ jsx(CircleAlertGlyph, { size: "
|
|
11
|
+
info: /* @__PURE__ */ jsx(InfoGlyph, { size: "lg" }),
|
|
12
|
+
success: /* @__PURE__ */ jsx(CircleCheckGlyph, { size: "lg" }),
|
|
13
|
+
warning: /* @__PURE__ */ jsx(TriangleAlertGlyph, { size: "lg" }),
|
|
14
|
+
danger: /* @__PURE__ */ jsx(CircleAlertGlyph, { size: "lg" })
|
|
15
15
|
};
|
|
16
16
|
var TITLES = {
|
|
17
17
|
info: null,
|
|
@@ -27,6 +27,11 @@ var DURATIONS = {
|
|
|
27
27
|
};
|
|
28
28
|
var KNOWN = /* @__PURE__ */ new Set(["info", "success", "warning", "danger"]);
|
|
29
29
|
var isKnown = (variant) => KNOWN.has(variant);
|
|
30
|
+
var durationOf = (toast) => {
|
|
31
|
+
const variant = toast.variant ?? "info";
|
|
32
|
+
return toast.duration ?? (isKnown(variant) ? DURATIONS[variant] : 0);
|
|
33
|
+
};
|
|
34
|
+
var isSticky = (toast) => durationOf(toast) <= 0;
|
|
30
35
|
var politeness = (variant) => variant === "danger" || variant === "quota" ? "assertive" : "polite";
|
|
31
36
|
var isToastAction = (value) => {
|
|
32
37
|
if (!value || typeof value !== "object") return false;
|
|
@@ -50,7 +55,7 @@ function ToastItem({
|
|
|
50
55
|
const variant = toast.variant ?? "info";
|
|
51
56
|
const known = isKnown(variant);
|
|
52
57
|
const { id, version } = toast;
|
|
53
|
-
const duration = toast
|
|
58
|
+
const duration = durationOf(toast);
|
|
54
59
|
const dismiss = useCallback(() => onDismiss(id), [onDismiss, id]);
|
|
55
60
|
const [paused, setPaused] = useState(false);
|
|
56
61
|
const remaining = useRef(duration);
|
|
@@ -215,6 +220,15 @@ var ToastContext = createContext(NONE);
|
|
|
215
220
|
function useToast() {
|
|
216
221
|
return useContext(ToastContext);
|
|
217
222
|
}
|
|
223
|
+
function admit(held, toast, max) {
|
|
224
|
+
const stack = [...held.filter((one) => one.id !== toast.id), toast];
|
|
225
|
+
const over = stack.length - max;
|
|
226
|
+
if (over <= 0) return stack;
|
|
227
|
+
const evicted = new Set(
|
|
228
|
+
stack.slice(0, -1).filter((one) => !isSticky(one)).slice(0, over)
|
|
229
|
+
);
|
|
230
|
+
return stack.filter((one) => !evicted.has(one));
|
|
231
|
+
}
|
|
218
232
|
function ToastProvider({ children, position = "bottom-right", renderAction, max = 4 }) {
|
|
219
233
|
const [toasts, setToasts] = useState([]);
|
|
220
234
|
const next = useRef(1);
|
|
@@ -225,9 +239,8 @@ function ToastProvider({ children, position = "bottom-right", renderAction, max
|
|
|
225
239
|
(toast) => {
|
|
226
240
|
const id = toast.id ?? `crewlet-toast-${next.current++}`;
|
|
227
241
|
setToasts((current) => {
|
|
228
|
-
const rest = current.filter((one) => one.id !== id);
|
|
229
242
|
const version = (current.find((one) => one.id === id)?.version ?? 0) + 1;
|
|
230
|
-
return
|
|
243
|
+
return admit(current, { ...toast, id, version }, max);
|
|
231
244
|
});
|
|
232
245
|
return id;
|
|
233
246
|
},
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Menu } from './chunk-
|
|
1
|
+
import { Menu } from './chunk-NS7BVLL3.js';
|
|
2
2
|
import { EmptyValue } from './chunk-EUCC37WY.js';
|
|
3
|
-
import {
|
|
3
|
+
import { Modal } from './chunk-K4VORB64.js';
|
|
4
4
|
import { useClipboard } from './chunk-5VNUYO76.js';
|
|
5
|
-
import { Modal } from './chunk-CF6DTETT.js';
|
|
6
5
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
7
6
|
import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
|
|
7
|
+
import { Checkbox } from './chunk-YCTMKKRA.js';
|
|
8
8
|
import { IconButton } from './chunk-4FQT6ZAY.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useLayerContainer, viewportBounds, LAYER_GAP, outsideBounds, placePopup, LAYER_REPOSITION_EVENT } from './chunk-
|
|
1
|
+
import { useLayerContainer, viewportBounds, LAYER_GAP, outsideBounds, placePopup, LAYER_REPOSITION_EVENT } from './chunk-HMPFGIWM.js';
|
|
2
2
|
import { usePopupLayer } from './chunk-R25RGPUB.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './Tooltip-LKQF7CE4.css';
|
package/dist/generated/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import '../chunk-6AR2T5Y4.js';
|
|
2
2
|
import '../chunk-AER7UDD4.js';
|
|
3
3
|
export { Timeline, TimelineItem } from '../chunk-O67VF5MS.js';
|
|
4
|
-
export { ToastProvider, Toaster, useToast } from '../chunk-
|
|
5
|
-
export { TreeCanvas } from '../chunk-
|
|
4
|
+
export { ToastProvider, Toaster, useToast } from '../chunk-QH3AKP2N.js';
|
|
5
|
+
export { TreeCanvas } from '../chunk-2OLCUNG7.js';
|
|
6
6
|
export { TagGroup } from '../chunk-E6UWRXNM.js';
|
|
7
|
-
export { TagsInput } from '../chunk-
|
|
7
|
+
export { TagsInput } from '../chunk-JCO3SIST.js';
|
|
8
8
|
export { Text } from '../chunk-23DHIMJA.js';
|
|
9
9
|
export { ThemeGallery } from '../chunk-KLIEPFEZ.js';
|
|
10
10
|
export { ThemeSwatch } from '../chunk-MNFU2RNT.js';
|
|
11
11
|
export { DensitySwitcher, ThemeSwitcher } from '../chunk-SBRE7IML.js';
|
|
12
12
|
export { ThemeToggle } from '../chunk-6TSZCBID.js';
|
|
13
13
|
export { applyDensity, applyStoredPreferences, applyTheme, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-K3OWD7BJ.js';
|
|
14
|
-
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-
|
|
14
|
+
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-7BZPYA5P.js';
|
|
15
15
|
export { StatGroup } from '../chunk-QVAFL2LE.js';
|
|
16
16
|
export { Stepper } from '../chunk-5QWIJSQM.js';
|
|
17
17
|
export { Switch } from '../chunk-A722MUNR.js';
|
|
18
|
-
export { Switcher } from '../chunk-
|
|
18
|
+
export { Switcher } from '../chunk-LCF4WPYS.js';
|
|
19
19
|
export { Table } from '../chunk-V2N3BMOT.js';
|
|
20
20
|
export { Section } from '../chunk-A2UXBCLO.js';
|
|
21
21
|
export { SegmentedMeter, segmentedMeterLabel } from '../chunk-4AK52VHB.js';
|
|
22
|
-
export { Select } from '../chunk-
|
|
22
|
+
export { Select } from '../chunk-FC4YTTFJ.js';
|
|
23
23
|
export { matchesShortcut, useShortcut } from '../chunk-2FPENTCF.js';
|
|
24
24
|
export { NavGroup, NavItem, SidebarNav } from '../chunk-UCCC7YVZ.js';
|
|
25
25
|
export { Skeleton } from '../chunk-W5J7R5EB.js';
|
|
@@ -28,22 +28,22 @@ export { Outline, scrollToHeading, useActiveHeading } from '../chunk-A5YKNRG6.js
|
|
|
28
28
|
export { PricingCard } from '../chunk-UCYIRDND.js';
|
|
29
29
|
export { Tag } from '../chunk-LOECRMHA.js';
|
|
30
30
|
export { StatusDot } from '../chunk-WIATRXEJ.js';
|
|
31
|
-
export { ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-ZAJHGDAW.js';
|
|
32
31
|
export { Prose } from '../chunk-JCSA3XVH.js';
|
|
32
|
+
export { ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-ZAJHGDAW.js';
|
|
33
33
|
export { SearchTrigger } from '../chunk-6DRDCT22.js';
|
|
34
34
|
export { MARKDOWN_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-77IEHFY4.js';
|
|
35
35
|
import '../chunk-VYY56AMX.js';
|
|
36
36
|
export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from '../chunk-4PZ6FJKW.js';
|
|
37
37
|
export { NewItemsNotice } from '../chunk-PXU6HOZB.js';
|
|
38
38
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from '../chunk-IHGKPEEV.js';
|
|
39
|
-
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-
|
|
40
|
-
export { TreeGrid } from '../chunk-
|
|
39
|
+
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-DYHSQHAZ.js';
|
|
40
|
+
export { TreeGrid } from '../chunk-B2Z2CDM5.js';
|
|
41
41
|
export { SIZE_EPSILON, TYPE_AHEAD_RESET_MS, createTreeModel, isTypeAheadKey, layoutConnectors, layoutForest, placeGroups, treeAllExpandable, treeAncestors, treeCollapseOrAscend, treeExpandOrDescend, treeExpandTo, treeExpandable, treeFirst, treeFirstChild, treeItemAction, treeLast, treeLevel, treeNext, treeParent, treePosInSet, treePrevious, treeSetSize, treeStep, treeTypeAhead, treeVisible, typeAheadBuffer, useLayoutAnchor, useMeasuredSizes, useTreeState } from '../chunk-MY374UUD.js';
|
|
42
42
|
export { OrgLabel } from '../chunk-6OF2DBKY.js';
|
|
43
|
+
export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
|
|
43
44
|
export { Link } from '../chunk-FBSEJO2C.js';
|
|
44
|
-
export { AutoGrid, Inline, Spacer, Stack } from '../chunk-W4ENKCXJ.js';
|
|
45
45
|
export { List, ListItem } from '../chunk-DS2C73RJ.js';
|
|
46
|
-
export { ListInput } from '../chunk-
|
|
46
|
+
export { ListInput } from '../chunk-GARACZAH.js';
|
|
47
47
|
export { useFullscreen } from '../chunk-XDTYBF2F.js';
|
|
48
48
|
export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
|
|
49
49
|
import '../chunk-EXHQ2QVW.js';
|
|
@@ -55,66 +55,66 @@ export { EmptyState } from '../chunk-RA2ULG6H.js';
|
|
|
55
55
|
export { EntityChip } from '../chunk-DDTDN5L2.js';
|
|
56
56
|
export { ErrorBoundary } from '../chunk-XX2VQE55.js';
|
|
57
57
|
export { Eyebrow } from '../chunk-RK4XPHVG.js';
|
|
58
|
-
export { FactList } from '../chunk-
|
|
59
|
-
export { Tooltip } from '../chunk-
|
|
58
|
+
export { FactList } from '../chunk-JI5AVQLA.js';
|
|
59
|
+
export { Tooltip } from '../chunk-QWOPX2MN.js';
|
|
60
60
|
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from '../chunk-5YLON2PW.js';
|
|
61
|
-
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-
|
|
61
|
+
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-2GXTIK37.js';
|
|
62
62
|
export { PageHeader } from '../chunk-HOXGBLEY.js';
|
|
63
63
|
export { RelativeTime, currentNow, formatElapsed, formatExact, formatRelative, formatUntil, toISO, toInstant, useNow } from '../chunk-3CZ7XAVY.js';
|
|
64
64
|
export { Toolbar, ToolbarOverflow, ToolbarWide } from '../chunk-PGRPNDWM.js';
|
|
65
|
-
export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-
|
|
66
|
-
export { Menu } from '../chunk-
|
|
65
|
+
export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-QV266R6G.js';
|
|
66
|
+
export { Menu } from '../chunk-NS7BVLL3.js';
|
|
67
67
|
export { EMPTY_VALUE, EmptyValue } from '../chunk-EUCC37WY.js';
|
|
68
|
-
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-
|
|
69
|
-
export { DescriptionList, DescriptionListItem } from '../chunk-
|
|
68
|
+
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-2UU5IGZI.js';
|
|
69
|
+
export { DescriptionList, DescriptionListItem } from '../chunk-F2XSYBKH.js';
|
|
70
70
|
export { DIFF_LIST_LABELS, DiffList } from '../chunk-LFHCXZO5.js';
|
|
71
71
|
export { Disclosure } from '../chunk-S4RCG44T.js';
|
|
72
|
-
export { Checkbox } from '../chunk-YCTMKKRA.js';
|
|
73
72
|
export { ChoiceButtons } from '../chunk-YSJC7AZC.js';
|
|
73
|
+
export { ActivityStrip, BarList, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Legend, Sparkline, StackedBar, StackedColumns, TimeSeries, dataColor, niceScale, useChartHover } from '../chunk-MLT2HBPN.js';
|
|
74
74
|
export { ChoiceList } from '../chunk-QBXZLGK2.js';
|
|
75
|
-
export { CodeBlock } from '../chunk-KGTQ5CVD.js';
|
|
76
|
-
export { CopyButton, Copyable } from '../chunk-YACKC3K2.js';
|
|
77
|
-
export { useClipboard, writeClipboard } from '../chunk-5VNUYO76.js';
|
|
78
75
|
export { Combobox } from '../chunk-4Y7WKXAW.js';
|
|
79
|
-
export { CommandPalette } from '../chunk-
|
|
80
|
-
export { ConfirmModal, Modal } from '../chunk-
|
|
76
|
+
export { CommandPalette } from '../chunk-IYZZL3MZ.js';
|
|
77
|
+
export { ConfirmModal, Modal } from '../chunk-K4VORB64.js';
|
|
81
78
|
export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from '../chunk-F73MC7EZ.js';
|
|
82
79
|
export { COMPOSER_COUNTER_AT, Composer } from '../chunk-QSLIN64M.js';
|
|
83
80
|
export { Kbd, isApplePlatform, keyGlyph } from '../chunk-SMBKXWML.js';
|
|
84
81
|
export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea } from '../chunk-FTEJPHBI.js';
|
|
82
|
+
export { CodeBlock } from '../chunk-KGTQ5CVD.js';
|
|
83
|
+
export { CopyButton, Copyable } from '../chunk-YACKC3K2.js';
|
|
84
|
+
export { useClipboard, writeClipboard } from '../chunk-5VNUYO76.js';
|
|
85
85
|
export { Container } from '../chunk-QVE4GJAT.js';
|
|
86
86
|
export { Breadcrumb } from '../chunk-VWNC2L6W.js';
|
|
87
87
|
export { KeyChip } from '../chunk-FYTIJM2T.js';
|
|
88
88
|
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from '../chunk-GXQ3B46I.js';
|
|
89
89
|
export { Callout } from '../chunk-R6FBDTP3.js';
|
|
90
|
-
export { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, CANVAS_FIT_PADDING, CANVAS_FOCUS_CONTEXT, CANVAS_MAX_ZOOM, CANVAS_MIN_ZOOM, CANVAS_PAN_MARGIN, CANVAS_PAN_STEP, CANVAS_REVEAL_PADDING, CANVAS_TAP_SLOP, CANVAS_WHEEL_LINE_PX, CANVAS_WHEEL_ZOOM_PER_PIXEL, CANVAS_ZOOM_CEILING, CANVAS_ZOOM_LIMITS, CANVAS_ZOOM_STEP, Canvas, IDENTITY_VIEW, anchorView, beyondSlop, clampPan, clampZoom, fitView, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from '../chunk-
|
|
91
|
-
import '../chunk-
|
|
90
|
+
export { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, CANVAS_FIT_PADDING, CANVAS_FOCUS_CONTEXT, CANVAS_MAX_ZOOM, CANVAS_MIN_ZOOM, CANVAS_PAN_MARGIN, CANVAS_PAN_STEP, CANVAS_REVEAL_PADDING, CANVAS_TAP_SLOP, CANVAS_WHEEL_LINE_PX, CANVAS_WHEEL_ZOOM_PER_PIXEL, CANVAS_ZOOM_CEILING, CANVAS_ZOOM_LIMITS, CANVAS_ZOOM_STEP, Canvas, IDENTITY_VIEW, anchorView, beyondSlop, clampPan, clampZoom, fitView, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from '../chunk-AMH67MLM.js';
|
|
91
|
+
import '../chunk-VYOKRN2I.js';
|
|
92
92
|
export { Button, ButtonLink } from '../chunk-OG6CL3EB.js';
|
|
93
93
|
export { Card } from '../chunk-EG6NYWVK.js';
|
|
94
94
|
export { useCardHeaderSlot } from '../chunk-AV2DXAEL.js';
|
|
95
95
|
import '../chunk-3L5NHASN.js';
|
|
96
|
-
export {
|
|
96
|
+
export { Checkbox } from '../chunk-YCTMKKRA.js';
|
|
97
97
|
export { Accordion, AccordionItem } from '../chunk-G2AVKPSL.js';
|
|
98
98
|
export { DisclosureAnatomy } from '../chunk-ENJUPIND.js';
|
|
99
99
|
export { HeadingLevelProvider, headingTag, nextHeadingLevel, useHeadingLevel } from '../chunk-PQADV6P6.js';
|
|
100
100
|
export { ADD_PILL_MS, AddPill } from '../chunk-74WGARJE.js';
|
|
101
|
-
export {
|
|
101
|
+
export { Announcer, announce, useAnnouncer } from '../chunk-RSAQOKH3.js';
|
|
102
|
+
export { AppShell, AppShellRail, AppShellRailRow, AppShellToggle, AppShellTopbar, useAppShell } from '../chunk-H3XOMT7W.js';
|
|
102
103
|
import '../chunk-IG75YMUN.js';
|
|
103
104
|
export { IconButton } from '../chunk-4FQT6ZAY.js';
|
|
104
105
|
export { AvatarStack, avatarStackLabel } from '../chunk-6NIZCQUM.js';
|
|
105
|
-
export {
|
|
106
|
-
export { AvatarPicker } from '../chunk-4FFHJBEN.js';
|
|
106
|
+
export { AvatarPicker } from '../chunk-EFNHOVC2.js';
|
|
107
107
|
export { HuePicker } from '../chunk-NXDEPUVG.js';
|
|
108
108
|
export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from '../chunk-AYKXMIOR.js';
|
|
109
109
|
export { SegmentedControl } from '../chunk-26PEPONN.js';
|
|
110
110
|
export { TabPanel, Tabs, tabId } from '../chunk-4LDTQWS7.js';
|
|
111
|
-
export { Popover } from '../chunk-
|
|
111
|
+
export { Popover } from '../chunk-BWRGFKJP.js';
|
|
112
112
|
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-YXMCUKFI.js';
|
|
113
113
|
import '../chunk-CBOICT64.js';
|
|
114
114
|
export { Count } from '../chunk-BHHIIK3M.js';
|
|
115
|
-
export { LAYER_GAP, LAYER_REPOSITION_EVENT, LayerHost, outsideBounds, placePopup, useLayerContainer, viewportBounds } from '../chunk-
|
|
115
|
+
export { LAYER_GAP, LAYER_REPOSITION_EVENT, LayerHost, outsideBounds, placePopup, useLayerContainer, viewportBounds } from '../chunk-HMPFGIWM.js';
|
|
116
116
|
export { focusables, isComposing, isModalLayerOpen, layerCount, useBodyScrollLock, useModalLayer, usePopupLayer } from '../chunk-R25RGPUB.js';
|
|
117
|
-
export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, Avatar, avatarCorner, avatarPixels, avatarTint, getInitials } from '../chunk-HI6Q2UXQ.js';
|
|
118
117
|
export { VisuallyHidden } from '../chunk-BZFWDIV6.js';
|
|
118
|
+
export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, Avatar, avatarCorner, avatarPixels, avatarTint, getInitials } from '../chunk-HI6Q2UXQ.js';
|
|
119
119
|
export { BrandLockup } from '../chunk-7KBNFFM3.js';
|
|
120
120
|
export { cx } from '../chunk-ODEQTPFM.js';
|