@crewlethq/ui 0.155.0 → 0.156.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.
@@ -0,0 +1,39 @@
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ import type { MeterState } from '../Meter/index.js';
3
+ /** One window of a limit: a 5-hour window, a weekly one, a model's own. */
4
+ export interface LimitWindow {
5
+ /** Unique within the stack. */
6
+ id: string;
7
+ /** The window's short name, drawn at the leading edge: "5-hour", "Weekly Opus". */
8
+ label: string;
9
+ /** Where the window stands, as whoever enforces the limit says. */
10
+ state: MeterState;
11
+ /**
12
+ * The fraction of the window used, when it is known. Without it the bar is a
13
+ * state segment, never a guessed length.
14
+ */
15
+ used?: number | undefined;
16
+ /** The trailing figure. Defaults to the rounded percentage of `used`. */
17
+ figure?: string | undefined;
18
+ /** When the window turns over, in words: "resets 5am", "until Mon 9am". */
19
+ note?: string | undefined;
20
+ /** The bar's accessible name: "5-hour limit, 83% used, resets 05:00 UTC". */
21
+ name: string;
22
+ }
23
+ export interface LimitMetersProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
24
+ /** The windows, in the order they are drawn from the top. */
25
+ windows: readonly LimitWindow[];
26
+ /** The group's accessible name: "Limits of opus-main". */
27
+ label: string;
28
+ /** What a stack with no window says. */
29
+ empty?: ReactNode;
30
+ /** A muted line under the windows, such as how old the reading is: "as of 2h ago". */
31
+ caption?: ReactNode;
32
+ }
33
+ /** The tone a limit window is painted in. */
34
+ export declare function limitWindowTone(state: MeterState): 'neutral' | 'warning' | 'danger';
35
+ /**
36
+ * A compact stack of a limit's windows for a table cell, one line each. A known
37
+ * fraction is a `meter`; a window known only by its state is a hatched `img`.
38
+ */
39
+ export declare function LimitMeters({ windows, label, empty, caption, className, ...rest }: LimitMetersProps): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import './LimitMeters.css';
2
+ export { LimitMeters, limitWindowTone } from './LimitMeters.js';
3
+ export type { LimitMetersProps, LimitWindow } from './LimitMeters.js';
@@ -0,0 +1,2 @@
1
+ export { LimitMeters, limitWindowTone } from '../chunk-4LG6V4XY.js';
2
+ import '../chunk-ODEQTPFM.js';
@@ -0,0 +1,131 @@
1
+ /* A stack of limit windows: label, bar, figure and note line up across rows. */
2
+
3
+ .crewlet-limit-meters {
4
+ container-type: inline-size;
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: var(--spacing-1);
8
+ /* Inline-size containment gives no intrinsic width, so a content-sized column needs a floor. */
9
+ min-width: 12rem;
10
+ font-size: var(--font-size-xs);
11
+ line-height: var(--font-line-height-snug);
12
+ }
13
+
14
+ .crewlet-limit-meters__grid {
15
+ display: grid;
16
+ grid-template-columns: minmax(0, max-content) minmax(2.5rem, 1fr) max-content max-content;
17
+ align-items: center;
18
+ column-gap: var(--spacing-2);
19
+ row-gap: var(--spacing-1);
20
+ }
21
+
22
+ .crewlet-limit-meters__window {
23
+ display: contents;
24
+ --crewlet-limit-meters-tone: var(--color-text-tertiary);
25
+ }
26
+
27
+ .crewlet-limit-meters__window[data-state='near'] {
28
+ --crewlet-limit-meters-tone: var(--color-feedback-warning);
29
+ }
30
+
31
+ .crewlet-limit-meters__window[data-state='refusing'] {
32
+ --crewlet-limit-meters-tone: var(--color-feedback-danger);
33
+ }
34
+
35
+ /* Column 1 always, so a window without a note still starts its own row. */
36
+ .crewlet-limit-meters__label {
37
+ grid-column: 1;
38
+ max-width: 8rem;
39
+ overflow: hidden;
40
+ text-overflow: ellipsis;
41
+ white-space: nowrap;
42
+ color: var(--color-text-secondary);
43
+ }
44
+
45
+ /* The Meter's 6px track on the raised rung, with a hairline so its extent shows on any ground. */
46
+ .crewlet-limit-meters__track {
47
+ height: 6px;
48
+ border-radius: var(--radius-pill);
49
+ background: var(--color-surface-elevated);
50
+ box-shadow: inset 0 0 0 1px var(--color-border-default);
51
+ overflow: hidden;
52
+ }
53
+
54
+ .crewlet-limit-meters__fill {
55
+ height: 100%;
56
+ border-radius: var(--radius-pill);
57
+ background: var(--crewlet-limit-meters-tone);
58
+ transition: width var(--motion-duration-slow) var(--motion-easing-emphasized);
59
+ }
60
+
61
+ .crewlet-limit-meters__fill--some {
62
+ min-width: var(--spacing-1);
63
+ }
64
+
65
+ /* A state with no measured fraction: hatched across the track, so it never reads as a length. */
66
+ .crewlet-limit-meters__fill--state {
67
+ border-radius: 0;
68
+ background: repeating-linear-gradient(
69
+ -45deg,
70
+ var(--crewlet-limit-meters-tone) 0 2px,
71
+ transparent 2px 5px
72
+ );
73
+ }
74
+
75
+ .crewlet-limit-meters__figure {
76
+ justify-self: end;
77
+ white-space: nowrap;
78
+ font-variant-numeric: tabular-nums;
79
+ color: var(--color-text-primary);
80
+ }
81
+
82
+ .crewlet-limit-meters__window[data-state='near'] .crewlet-limit-meters__figure {
83
+ color: var(--color-feedback-warning-ink);
84
+ }
85
+
86
+ .crewlet-limit-meters__window[data-state='refusing'] .crewlet-limit-meters__figure {
87
+ color: var(--color-feedback-danger-ink);
88
+ }
89
+
90
+ .crewlet-limit-meters__note {
91
+ white-space: nowrap;
92
+ color: var(--color-text-tertiary);
93
+ }
94
+
95
+ .crewlet-limit-meters__empty,
96
+ .crewlet-limit-meters__caption {
97
+ color: var(--color-text-tertiary);
98
+ }
99
+
100
+ .crewlet-limit-meters__caption {
101
+ font-size: var(--font-size-2xs);
102
+ }
103
+
104
+ /* Narrow: the note moves under its bar rather than squeezing the bar away. */
105
+ @container (max-width: 16rem) {
106
+ .crewlet-limit-meters__grid {
107
+ grid-template-columns: minmax(0, max-content) minmax(2.5rem, 1fr) max-content;
108
+ }
109
+
110
+ .crewlet-limit-meters__note {
111
+ grid-column: 2 / -1;
112
+ margin-block-start: calc(-1 * var(--spacing-1) + 1px);
113
+ }
114
+ }
115
+
116
+ @media (prefers-reduced-motion: reduce) {
117
+ .crewlet-limit-meters__fill {
118
+ transition: none;
119
+ }
120
+ }
121
+
122
+ /* Forced colours repaint every background, so the bar takes the system pair the Meter uses. */
123
+ @media (forced-colors: active) {
124
+ .crewlet-limit-meters__track {
125
+ background: GrayText;
126
+ }
127
+
128
+ .crewlet-limit-meters__window {
129
+ --crewlet-limit-meters-tone: CanvasText;
130
+ }
131
+ }
@@ -1,8 +1,8 @@
1
- export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-7E3M2X52.js';
1
+ export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-2YAK37D6.js';
2
2
  import '../chunk-OAD4AXYJ.js';
3
- import '../chunk-NWKH5FF7.js';
4
3
  import '../chunk-NOZD547E.js';
5
4
  import '../chunk-7XUP32RY.js';
5
+ import '../chunk-NWKH5FF7.js';
6
6
  import '../chunk-CWACQEPP.js';
7
7
  import '../chunk-SJ3EUCFD.js';
8
8
  import '../chunk-GBKBME7Q.js';
@@ -1,4 +1,4 @@
1
- export { RichEditor, preloadRichEditor } from '../chunk-JUZKRHQB.js';
1
+ export { RichEditor, preloadRichEditor } from '../chunk-GFNCMSYS.js';
2
2
  export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
3
3
  import '../chunk-KOJPDCGQ.js';
4
4
  import '../chunk-CWACQEPP.js';
@@ -0,0 +1,71 @@
1
+ import { cx } from './chunk-ODEQTPFM.js';
2
+ import './LimitMeters-WCN2QTUU.css';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
5
+ var STATE_TONES = {
6
+ ok: "neutral",
7
+ near: "warning",
8
+ refusing: "danger"
9
+ };
10
+ function limitWindowTone(state) {
11
+ if (!Object.hasOwn(STATE_TONES, state)) {
12
+ throw new RangeError(`LimitMeters window state must be ok, near or refusing; it was ${String(state)}`);
13
+ }
14
+ return STATE_TONES[state];
15
+ }
16
+ function checked(windows) {
17
+ const seen = /* @__PURE__ */ new Set();
18
+ for (const w of windows) {
19
+ if (seen.has(w.id)) throw new RangeError(`LimitMeters window ids must be unique; "${w.id}" is used twice`);
20
+ seen.add(w.id);
21
+ if (w.used !== void 0 && (!Number.isFinite(w.used) || w.used < 0)) {
22
+ throw new RangeError(`LimitMeters window "${w.id}" used must be a finite fraction of at least 0; it was ${w.used}`);
23
+ }
24
+ }
25
+ }
26
+ function LimitMeters({ windows, label, empty = "None reported", caption, className, ...rest }) {
27
+ checked(windows);
28
+ if (windows.length === 0) {
29
+ return /* @__PURE__ */ jsxs("div", { ...rest, className: cx("crewlet-limit-meters", "crewlet-limit-meters--empty", className), children: [
30
+ /* @__PURE__ */ jsx("span", { className: "crewlet-limit-meters__empty", children: empty }),
31
+ caption === void 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-limit-meters__caption", children: caption })
32
+ ] });
33
+ }
34
+ return /* @__PURE__ */ jsxs("div", { ...rest, className: cx("crewlet-limit-meters", className), children: [
35
+ /* @__PURE__ */ jsx("div", { role: "group", "aria-label": label, className: "crewlet-limit-meters__grid", children: windows.map((w) => {
36
+ const known = w.used !== void 0;
37
+ const percent = known ? Math.min(100, Math.round(w.used * 100)) : 0;
38
+ const figure = w.figure ?? (known ? `${Math.round(w.used * 100)}%` : void 0);
39
+ return /* @__PURE__ */ jsxs("div", { className: "crewlet-limit-meters__window", "data-state": w.state, children: [
40
+ /* @__PURE__ */ jsx("span", { className: "crewlet-limit-meters__label", "aria-hidden": "true", children: w.label }),
41
+ /* @__PURE__ */ jsx(
42
+ "div",
43
+ {
44
+ className: "crewlet-limit-meters__track",
45
+ role: known ? "meter" : "img",
46
+ "aria-label": w.name,
47
+ "aria-valuenow": known ? percent : void 0,
48
+ "aria-valuemin": known ? 0 : void 0,
49
+ "aria-valuemax": known ? 100 : void 0,
50
+ children: /* @__PURE__ */ jsx(
51
+ "div",
52
+ {
53
+ className: cx(
54
+ "crewlet-limit-meters__fill",
55
+ known ? percent > 0 && "crewlet-limit-meters__fill--some" : "crewlet-limit-meters__fill--state"
56
+ ),
57
+ "data-tone": limitWindowTone(w.state),
58
+ style: { width: known ? `${percent}%` : "100%" }
59
+ }
60
+ )
61
+ }
62
+ ),
63
+ /* @__PURE__ */ jsx("span", { className: "crewlet-limit-meters__figure", "aria-hidden": "true", children: figure }),
64
+ w.note ? /* @__PURE__ */ jsx("span", { className: "crewlet-limit-meters__note", "aria-hidden": "true", children: w.note }) : null
65
+ ] }, w.id);
66
+ }) }),
67
+ caption === void 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-limit-meters__caption", children: caption })
68
+ ] });
69
+ }
70
+
71
+ export { LimitMeters, limitWindowTone };
@@ -9,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
9
9
  var engine = null;
10
10
  var loading = null;
11
11
  function loadEngine() {
12
- loading ??= import('./Editor-LGZMJEUD.js').then(
12
+ loading ??= import('./Editor-FXREHINI.js').then(
13
13
  (module) => {
14
14
  engine = module.Editor;
15
15
  return engine;
@@ -133,6 +133,7 @@ export * from '../KeyValueRows/index.js';
133
133
  export * from '../Layer/index.js';
134
134
  export * from '../LayersList/index.js';
135
135
  export * from '../Layout/index.js';
136
+ export * from '../LimitMeters/index.js';
136
137
  export * from '../Link/index.js';
137
138
  export * from '../LinkCard/index.js';
138
139
  export * from '../LinkInterstitial/index.js';
@@ -1,108 +1,109 @@
1
- import '../chunk-MC5JMA2T.js';
2
- export { ListInput, withDraft } from '../chunk-PW6QXVIX.js';
1
+ import '../chunk-XB6SMI7T.js';
2
+ export { WidgetFrame } from '../chunk-5ZTH54O6.js';
3
3
  export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from '../chunk-BALBOOKX.js';
4
- export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-V3HP2HOI.js';
4
+ export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-HHTAGV5R.js';
5
5
  export { TypeSpecimen } from '../chunk-JKAFEFFC.js';
6
+ export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-V3HP2HOI.js';
6
7
  export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-CJAPAIJG.js';
7
8
  export { VersionTimeline } from '../chunk-3RLOH5AR.js';
8
- export { WidgetFrame } from '../chunk-5ZTH54O6.js';
9
+ export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-7MAU74EI.js';
10
+ export { TileGrid } from '../chunk-UFID3DSP.js';
9
11
  export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-VXTRPLNB.js';
10
12
  export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-F6OYNO7O.js';
11
13
  export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from '../chunk-KWHZXFXJ.js';
12
14
  export { TOOL_CALL_LOG_LABELS, ToolCallLog, toolCallDuration } from '../chunk-KE27TSTC.js';
13
- export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-HHTAGV5R.js';
15
+ export { TagsInput } from '../chunk-ZC73GPA3.js';
14
16
  export { ThemeGallery } from '../chunk-35ALKQC5.js';
15
17
  export { ThemeSwatch } from '../chunk-3XQUEF5C.js';
16
18
  export { DensitySwitcher, ThemeSwitcher } from '../chunk-ODN3LSYW.js';
17
19
  export { ThemeToggle } from '../chunk-CXJMWEZC.js';
18
20
  export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
19
21
  export { ThinkingIndicator } from '../chunk-DX7ZHO47.js';
20
- export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-7MAU74EI.js';
21
- export { TileGrid } from '../chunk-UFID3DSP.js';
22
22
  export { Switcher } from '../chunk-O2J5PSWI.js';
23
23
  export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-Q3J23Q6P.js';
24
- export { TagsInput } from '../chunk-ZC73GPA3.js';
24
+ export { StatCard } from '../chunk-2YADDY4A.js';
25
25
  export { StatGroup } from '../chunk-OUD75UB2.js';
26
26
  export { Statement } from '../chunk-MZJKPTA5.js';
27
27
  export { StatusLegend } from '../chunk-CXFMNOPV.js';
28
28
  export { StatusLine } from '../chunk-LZ3TKYAY.js';
29
+ export { matchesShortcut, useShortcut } from '../chunk-K6PKXCR2.js';
29
30
  export { SLIDE_COMPARE_LABELS, SlideCompare } from '../chunk-KQUENZR3.js';
30
31
  export { SlideFilmstrip } from '../chunk-7CVV3DQC.js';
31
32
  export { SlideGrid } from '../chunk-73L3774J.js';
32
33
  export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from '../chunk-S656HY4W.js';
33
- export { StatCard } from '../chunk-2YADDY4A.js';
34
+ export { SetupWizard } from '../chunk-2DZV4PHK.js';
35
+ export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from '../chunk-BQMDD2FD.js';
34
36
  export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-6BGD32C5.js';
35
37
  export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-M4VA76JF.js';
36
38
  export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-7C6NHVMX.js';
37
39
  export { TagGroup } from '../chunk-FOUIZS7Q.js';
38
- export { matchesShortcut, useShortcut } from '../chunk-K6PKXCR2.js';
39
40
  import '../chunk-ZZMXJTII.js';
41
+ export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-D33K2BCZ.js';
40
42
  export { SegmentedMeter, segmentedMeterLabel } from '../chunk-4AK52VHB.js';
41
43
  export { SelectionBar } from '../chunk-3EL3IF3W.js';
42
44
  export { SEND_BUTTON_LABELS, SendButton } from '../chunk-2W2KAF7D.js';
43
45
  export { SETTING_FORM_LABELS, SettingForm } from '../chunk-NG6GEBSJ.js';
44
- export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from '../chunk-BQMDD2FD.js';
45
- export { SetupWizard } from '../chunk-2DZV4PHK.js';
46
+ export { ReviewList } from '../chunk-7XYU5PSQ.js';
47
+ export { RichEditor, preloadRichEditor } from '../chunk-GFNCMSYS.js';
48
+ export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
46
49
  export { canonicalMarkdown, roundTripMarkdown } from '../chunk-GBASM5EV.js';
47
50
  import '../chunk-7CSTEH5I.js';
48
51
  export { RoomRow } from '../chunk-45OOFAL6.js';
49
52
  export { RUN_STATES, RunChip } from '../chunk-L6SYLG3F.js';
50
53
  export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-CHUFHUQE.js';
51
54
  export { SearchTrigger } from '../chunk-U67UM3VS.js';
52
- export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-D33K2BCZ.js';
55
+ export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-XZ47PWVD.js';
53
56
  export { RecordChip, RecordChipList } from '../chunk-DWNKTIRN.js';
54
- export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-HW7QJS2C.js';
55
57
  export { RelatedRow } from '../chunk-ZPLAR53E.js';
58
+ export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-HW7QJS2C.js';
56
59
  export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from '../chunk-IZH5DCOQ.js';
57
60
  export { Table } from '../chunk-YGN4SBNP.js';
58
- export { ReviewList } from '../chunk-7XYU5PSQ.js';
59
- export { RichEditor, preloadRichEditor } from '../chunk-JUZKRHQB.js';
60
- export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
61
+ export { PrincipalPicker } from '../chunk-ITZAWYRG.js';
61
62
  export { PropertyList } from '../chunk-N2DCSSYC.js';
62
- export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-7E3M2X52.js';
63
+ export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-2YAK37D6.js';
63
64
  export { Prose } from '../chunk-DVVP27OD.js';
64
65
  export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from '../chunk-Y56FM3K4.js';
65
66
  export { RAIL_LIST_LABELS, RailList } from '../chunk-ECYA6XZL.js';
66
67
  export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-TTUFOH2Y.js';
67
68
  export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-27ZF7D3C.js';
68
- export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-XZ47PWVD.js';
69
69
  export { PresenceStack } from '../chunk-LL5H2Q5B.js';
70
70
  export { PresenterView, formatStopwatch } from '../chunk-BJE7TPO6.js';
71
71
  export { SLIDE_NAV_LABELS, SlideNav } from '../chunk-WSKVFRKK.js';
72
72
  export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from '../chunk-7O53SWKI.js';
73
73
  export { PricingCard } from '../chunk-O2XAJDK6.js';
74
- export { PrincipalPicker } from '../chunk-ITZAWYRG.js';
74
+ export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-3Q5USPLM.js';
75
+ export { TreeGrid } from '../chunk-RUKSDKG5.js';
76
+ export { Outline, scrollToHeading, useActiveHeading } from '../chunk-WYIPKGEO.js';
75
77
  export { PageNote } from '../chunk-CV4NES3P.js';
76
78
  export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from '../chunk-JNDZGQGS.js';
77
79
  export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from '../chunk-Z7BA2EVV.js';
78
80
  import '../chunk-CENOOTAV.js';
79
81
  export { PinTile } from '../chunk-ZFSKRN6D.js';
82
+ export { NewItemsNotice } from '../chunk-NCQC5Y4E.js';
80
83
  export { groupNotices } from '../chunk-YAUAMQOP.js';
81
84
  export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from '../chunk-W443OSWT.js';
82
85
  export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-AH7R777J.js';
83
86
  export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from '../chunk-CRKFCTOR.js';
84
- export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-3Q5USPLM.js';
85
- export { TreeGrid } from '../chunk-RUKSDKG5.js';
86
87
  export { OrgLabel } from '../chunk-PFP5HHZF.js';
87
- export { Outline, scrollToHeading, useActiveHeading } from '../chunk-WYIPKGEO.js';
88
+ export { MentionChip } from '../chunk-SYOMUNKU.js';
89
+ export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-46WA7E5V.js';
90
+ export { PersonRow } from '../chunk-42I2VSZZ.js';
88
91
  export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-ZAQ7CEYN.js';
89
92
  export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-FMKQSDBQ.js';
90
93
  export { MessageBubble } from '../chunk-KAQ2L74F.js';
91
- export { NewItemsNotice } from '../chunk-NCQC5Y4E.js';
94
+ export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-DPNVKWJX.js';
95
+ export { LIVE_PREVIEW_DWELL_MS, LIVE_PREVIEW_MARGIN, LIVE_PREVIEW_MAX, LIVE_PREVIEW_MAX_FRAMES, LIVE_PREVIEW_RENDER_MS, LIVE_PREVIEW_STILLS_KEPT, LivePreview, LivePreviewBudgetProvider, PREVIEW_FILL_MAX_CUT, PreviewScale, createLivePreviewBudget, createLivePreviewStills, immediately, perFrame, useLivePreview } from '../chunk-CQFQGAZI.js';
92
96
  export { LogoSlot, LogoSlotGroup } from '../chunk-ECHQLOWI.js';
93
97
  export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-N3LAAA4R.js';
94
98
  export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from '../chunk-27NS67UI.js';
95
- export { MentionChip } from '../chunk-SYOMUNKU.js';
96
- export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-46WA7E5V.js';
97
- export { PersonRow } from '../chunk-42I2VSZZ.js';
99
+ export { LimitMeters, limitWindowTone } from '../chunk-4LG6V4XY.js';
98
100
  export { Link } from '../chunk-UTKI2SAM.js';
99
101
  export { LinkCard } from '../chunk-346EXHOR.js';
100
102
  import '../chunk-KOJPDCGQ.js';
101
103
  export { LinkInterstitial, openExternal } from '../chunk-7XE5TC7X.js';
102
104
  export { List, ListItem } from '../chunk-GAQU5V5R.js';
103
105
  export { ListDetail, ListDetailBack } from '../chunk-CJGLMT44.js';
104
- export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-DPNVKWJX.js';
105
- export { LIVE_PREVIEW_DWELL_MS, LIVE_PREVIEW_MARGIN, LIVE_PREVIEW_MAX, LIVE_PREVIEW_MAX_FRAMES, LIVE_PREVIEW_RENDER_MS, LIVE_PREVIEW_STILLS_KEPT, LivePreview, LivePreviewBudgetProvider, PREVIEW_FILL_MAX_CUT, PreviewScale, createLivePreviewBudget, createLivePreviewStills, immediately, perFrame, useLivePreview } from '../chunk-CQFQGAZI.js';
106
+ export { ListInput, withDraft } from '../chunk-PW6QXVIX.js';
106
107
  export { KeyValueRows, keyValueRowsLabels } from '../chunk-EDQHZOU3.js';
107
108
  export { LAYERS_LIST_LABELS, LayersList } from '../chunk-TEOUMHAI.js';
108
109
  export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
@@ -152,11 +153,11 @@ export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSent
152
153
  export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-WAF36OFS.js';
153
154
  export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-OHXOUHTX.js';
154
155
  export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-7SXCCVUR.js';
155
- export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-2EPEVS2M.js';
156
156
  export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-4LNSURYZ.js';
157
157
  export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from '../chunk-EHD4CEHK.js';
158
158
  export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from '../chunk-OAD4AXYJ.js';
159
159
  export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from '../chunk-MXOT2CWL.js';
160
+ export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-2EPEVS2M.js';
160
161
  export { DescriptionList, DescriptionListItem } from '../chunk-LH4OF7FI.js';
161
162
  export { ConfirmField, confirmMatches } from '../chunk-V67VL3WD.js';
162
163
  export { InlineCode } from '../chunk-W4UJWFCZ.js';
@@ -201,10 +202,8 @@ export { Note } from '../chunk-YJPQJVRJ.js';
201
202
  export { CanvasSchematic } from '../chunk-NBWNLYWZ.js';
202
203
  export { CanvasToolbar, toolForKey } from '../chunk-M2USLODI.js';
203
204
  export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
204
- export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from '../chunk-YOCTDR2P.js';
205
- export { SuggestionList, SuggestionRow } from '../chunk-IR3OWPAZ.js';
206
- import '../chunk-6C7GQOBV.js';
207
- export { StatusCard } from '../chunk-NWKH5FF7.js';
205
+ 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, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from '../chunk-JD5K6Y7Q.js';
206
+ import '../chunk-CUEPPDBC.js';
208
207
  export { CatalogTile } from '../chunk-JKEGFDBG.js';
209
208
  export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from '../chunk-NOZD547E.js';
210
209
  export { DIFF_LIST_LABELS, DiffList } from '../chunk-7XUP32RY.js';
@@ -217,10 +216,12 @@ import '../chunk-5SGHW42B.js';
217
216
  import '../chunk-7W3LYIOC.js';
218
217
  export { Breadcrumb } from '../chunk-CN2EDXAW.js';
219
218
  export { KeyChip } from '../chunk-HBDA76EZ.js';
219
+ export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from '../chunk-YOCTDR2P.js';
220
+ export { SuggestionList, SuggestionRow } from '../chunk-IR3OWPAZ.js';
221
+ import '../chunk-6C7GQOBV.js';
222
+ export { StatusCard } from '../chunk-NWKH5FF7.js';
220
223
  export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from '../chunk-EE3DJMSQ.js';
221
224
  export { Callout } from '../chunk-CWACQEPP.js';
222
- 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, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from '../chunk-JD5K6Y7Q.js';
223
- import '../chunk-CUEPPDBC.js';
224
225
  export { ARTIFACT_REF_KIND_LABELS, ArtifactRef } from '../chunk-QNSAFNGT.js';
225
226
  export { InlineRef } from '../chunk-6KCQXKFQ.js';
226
227
  export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from '../chunk-KBZO4B33.js';
@@ -275,11 +276,11 @@ export { Menu } from '../chunk-ZMZNKDPO.js';
275
276
  export { ACCESS_DENIED_REASONS, AccessDeniedCard } from '../chunk-QTMUKRTN.js';
276
277
  export { EmptyState } from '../chunk-PPUR46MK.js';
277
278
  export { Accordion, AccordionItem } from '../chunk-3QEAANRP.js';
279
+ export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from '../chunk-OM2LABPS.js';
278
280
  export { ActivityLine } from '../chunk-DLYYW77C.js';
279
281
  export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from '../chunk-CRGYWLP6.js';
280
282
  export { AvatarStack, avatarStackLabel } from '../chunk-2PSOUDCS.js';
281
283
  export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RANGE, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, AVATAR_VERDICTS, AVATAR_VERDICT_LABELS, Avatar, avatarCorner, avatarInitialsName, avatarPixels, avatarTint, getInitials } from '../chunk-YMFFGPFE.js';
282
- export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from '../chunk-OM2LABPS.js';
283
284
  export { ADD_PILL_MS, AddPill } from '../chunk-5W3EYO5Q.js';
284
285
  export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-S4ADDFRT.js';
285
286
  export { Timeline, TimelineItem } from '../chunk-XDUXAQIS.js';
package/dist/index.js CHANGED
@@ -1,108 +1,109 @@
1
- import './chunk-MC5JMA2T.js';
2
- export { ListInput, withDraft } from './chunk-PW6QXVIX.js';
1
+ import './chunk-XB6SMI7T.js';
2
+ export { WidgetFrame } from './chunk-5ZTH54O6.js';
3
3
  export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from './chunk-BALBOOKX.js';
4
- export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-V3HP2HOI.js';
4
+ export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from './chunk-HHTAGV5R.js';
5
5
  export { TypeSpecimen } from './chunk-JKAFEFFC.js';
6
+ export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-V3HP2HOI.js';
6
7
  export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-CJAPAIJG.js';
7
8
  export { VersionTimeline } from './chunk-3RLOH5AR.js';
8
- export { WidgetFrame } from './chunk-5ZTH54O6.js';
9
+ export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-7MAU74EI.js';
10
+ export { TileGrid } from './chunk-UFID3DSP.js';
9
11
  export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-VXTRPLNB.js';
10
12
  export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-F6OYNO7O.js';
11
13
  export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from './chunk-KWHZXFXJ.js';
12
14
  export { TOOL_CALL_LOG_LABELS, ToolCallLog, toolCallDuration } from './chunk-KE27TSTC.js';
13
- export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from './chunk-HHTAGV5R.js';
15
+ export { TagsInput } from './chunk-ZC73GPA3.js';
14
16
  export { ThemeGallery } from './chunk-35ALKQC5.js';
15
17
  export { ThemeSwatch } from './chunk-3XQUEF5C.js';
16
18
  export { DensitySwitcher, ThemeSwitcher } from './chunk-ODN3LSYW.js';
17
19
  export { ThemeToggle } from './chunk-CXJMWEZC.js';
18
20
  export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from './chunk-Z24ZUSTX.js';
19
21
  export { ThinkingIndicator } from './chunk-DX7ZHO47.js';
20
- export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-7MAU74EI.js';
21
- export { TileGrid } from './chunk-UFID3DSP.js';
22
22
  export { Switcher } from './chunk-O2J5PSWI.js';
23
23
  export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from './chunk-Q3J23Q6P.js';
24
- export { TagsInput } from './chunk-ZC73GPA3.js';
24
+ export { StatCard } from './chunk-2YADDY4A.js';
25
25
  export { StatGroup } from './chunk-OUD75UB2.js';
26
26
  export { Statement } from './chunk-MZJKPTA5.js';
27
27
  export { StatusLegend } from './chunk-CXFMNOPV.js';
28
28
  export { StatusLine } from './chunk-LZ3TKYAY.js';
29
+ export { matchesShortcut, useShortcut } from './chunk-K6PKXCR2.js';
29
30
  export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-KQUENZR3.js';
30
31
  export { SlideFilmstrip } from './chunk-7CVV3DQC.js';
31
32
  export { SlideGrid } from './chunk-73L3774J.js';
32
33
  export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from './chunk-S656HY4W.js';
33
- export { StatCard } from './chunk-2YADDY4A.js';
34
+ export { SetupWizard } from './chunk-2DZV4PHK.js';
35
+ export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from './chunk-BQMDD2FD.js';
34
36
  export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-6BGD32C5.js';
35
37
  export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-M4VA76JF.js';
36
38
  export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from './chunk-7C6NHVMX.js';
37
39
  export { TagGroup } from './chunk-FOUIZS7Q.js';
38
- export { matchesShortcut, useShortcut } from './chunk-K6PKXCR2.js';
39
40
  import './chunk-ZZMXJTII.js';
41
+ export { SectionFrame, SectionFrameBody, SectionFrameNav } from './chunk-D33K2BCZ.js';
40
42
  export { SegmentedMeter, segmentedMeterLabel } from './chunk-4AK52VHB.js';
41
43
  export { SelectionBar } from './chunk-3EL3IF3W.js';
42
44
  export { SEND_BUTTON_LABELS, SendButton } from './chunk-2W2KAF7D.js';
43
45
  export { SETTING_FORM_LABELS, SettingForm } from './chunk-NG6GEBSJ.js';
44
- export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from './chunk-BQMDD2FD.js';
45
- export { SetupWizard } from './chunk-2DZV4PHK.js';
46
+ export { ReviewList } from './chunk-7XYU5PSQ.js';
47
+ export { RichEditor, preloadRichEditor } from './chunk-GFNCMSYS.js';
48
+ export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
46
49
  export { canonicalMarkdown, roundTripMarkdown } from './chunk-GBASM5EV.js';
47
50
  import './chunk-7CSTEH5I.js';
48
51
  export { RoomRow } from './chunk-45OOFAL6.js';
49
52
  export { RUN_STATES, RunChip } from './chunk-L6SYLG3F.js';
50
53
  export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-CHUFHUQE.js';
51
54
  export { SearchTrigger } from './chunk-U67UM3VS.js';
52
- export { SectionFrame, SectionFrameBody, SectionFrameNav } from './chunk-D33K2BCZ.js';
55
+ export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from './chunk-XZ47PWVD.js';
53
56
  export { RecordChip, RecordChipList } from './chunk-DWNKTIRN.js';
54
- export { REFUSAL_CARD_LABELS, RefusalCard } from './chunk-HW7QJS2C.js';
55
57
  export { RelatedRow } from './chunk-ZPLAR53E.js';
58
+ export { REFUSAL_CARD_LABELS, RefusalCard } from './chunk-HW7QJS2C.js';
56
59
  export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from './chunk-IZH5DCOQ.js';
57
60
  export { Table } from './chunk-YGN4SBNP.js';
58
- export { ReviewList } from './chunk-7XYU5PSQ.js';
59
- export { RichEditor, preloadRichEditor } from './chunk-JUZKRHQB.js';
60
- export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
61
+ export { PrincipalPicker } from './chunk-ITZAWYRG.js';
61
62
  export { PropertyList } from './chunk-N2DCSSYC.js';
62
- export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-7E3M2X52.js';
63
+ export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-2YAK37D6.js';
63
64
  export { Prose } from './chunk-DVVP27OD.js';
64
65
  export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.js';
65
66
  export { RAIL_LIST_LABELS, RailList } from './chunk-ECYA6XZL.js';
66
67
  export { NavDivider, NavGroup, NavItem, SidebarNav } from './chunk-TTUFOH2Y.js';
67
68
  export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from './chunk-27ZF7D3C.js';
68
- export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from './chunk-XZ47PWVD.js';
69
69
  export { PresenceStack } from './chunk-LL5H2Q5B.js';
70
70
  export { PresenterView, formatStopwatch } from './chunk-BJE7TPO6.js';
71
71
  export { SLIDE_NAV_LABELS, SlideNav } from './chunk-WSKVFRKK.js';
72
72
  export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from './chunk-7O53SWKI.js';
73
73
  export { PricingCard } from './chunk-O2XAJDK6.js';
74
- export { PrincipalPicker } from './chunk-ITZAWYRG.js';
74
+ export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-3Q5USPLM.js';
75
+ export { TreeGrid } from './chunk-RUKSDKG5.js';
76
+ export { Outline, scrollToHeading, useActiveHeading } from './chunk-WYIPKGEO.js';
75
77
  export { PageNote } from './chunk-CV4NES3P.js';
76
78
  export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from './chunk-JNDZGQGS.js';
77
79
  export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from './chunk-Z7BA2EVV.js';
78
80
  import './chunk-CENOOTAV.js';
79
81
  export { PinTile } from './chunk-ZFSKRN6D.js';
82
+ export { NewItemsNotice } from './chunk-NCQC5Y4E.js';
80
83
  export { groupNotices } from './chunk-YAUAMQOP.js';
81
84
  export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from './chunk-W443OSWT.js';
82
85
  export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from './chunk-AH7R777J.js';
83
86
  export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from './chunk-CRKFCTOR.js';
84
- export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-3Q5USPLM.js';
85
- export { TreeGrid } from './chunk-RUKSDKG5.js';
86
87
  export { OrgLabel } from './chunk-PFP5HHZF.js';
87
- export { Outline, scrollToHeading, useActiveHeading } from './chunk-WYIPKGEO.js';
88
+ export { MentionChip } from './chunk-SYOMUNKU.js';
89
+ export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './chunk-46WA7E5V.js';
90
+ export { PersonRow } from './chunk-42I2VSZZ.js';
88
91
  export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-ZAQ7CEYN.js';
89
92
  export { ActionDivider, MessageAction, MessageActions, QuickReaction } from './chunk-FMKQSDBQ.js';
90
93
  export { MessageBubble } from './chunk-KAQ2L74F.js';
91
- export { NewItemsNotice } from './chunk-NCQC5Y4E.js';
94
+ export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.js';
95
+ export { LIVE_PREVIEW_DWELL_MS, LIVE_PREVIEW_MARGIN, LIVE_PREVIEW_MAX, LIVE_PREVIEW_MAX_FRAMES, LIVE_PREVIEW_RENDER_MS, LIVE_PREVIEW_STILLS_KEPT, LivePreview, LivePreviewBudgetProvider, PREVIEW_FILL_MAX_CUT, PreviewScale, createLivePreviewBudget, createLivePreviewStills, immediately, perFrame, useLivePreview } from './chunk-CQFQGAZI.js';
92
96
  export { LogoSlot, LogoSlotGroup } from './chunk-ECHQLOWI.js';
93
97
  export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from './chunk-N3LAAA4R.js';
94
98
  export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from './chunk-27NS67UI.js';
95
- export { MentionChip } from './chunk-SYOMUNKU.js';
96
- export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './chunk-46WA7E5V.js';
97
- export { PersonRow } from './chunk-42I2VSZZ.js';
99
+ export { LimitMeters, limitWindowTone } from './chunk-4LG6V4XY.js';
98
100
  export { Link } from './chunk-UTKI2SAM.js';
99
101
  export { LinkCard } from './chunk-346EXHOR.js';
100
102
  import './chunk-KOJPDCGQ.js';
101
103
  export { LinkInterstitial, openExternal } from './chunk-7XE5TC7X.js';
102
104
  export { List, ListItem } from './chunk-GAQU5V5R.js';
103
105
  export { ListDetail, ListDetailBack } from './chunk-CJGLMT44.js';
104
- export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.js';
105
- export { LIVE_PREVIEW_DWELL_MS, LIVE_PREVIEW_MARGIN, LIVE_PREVIEW_MAX, LIVE_PREVIEW_MAX_FRAMES, LIVE_PREVIEW_RENDER_MS, LIVE_PREVIEW_STILLS_KEPT, LivePreview, LivePreviewBudgetProvider, PREVIEW_FILL_MAX_CUT, PreviewScale, createLivePreviewBudget, createLivePreviewStills, immediately, perFrame, useLivePreview } from './chunk-CQFQGAZI.js';
106
+ export { ListInput, withDraft } from './chunk-PW6QXVIX.js';
106
107
  export { KeyValueRows, keyValueRowsLabels } from './chunk-EDQHZOU3.js';
107
108
  export { LAYERS_LIST_LABELS, LayersList } from './chunk-TEOUMHAI.js';
108
109
  export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
@@ -152,11 +153,11 @@ export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSent
152
153
  export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from './chunk-WAF36OFS.js';
153
154
  export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-OHXOUHTX.js';
154
155
  export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from './chunk-7SXCCVUR.js';
155
- export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from './chunk-2EPEVS2M.js';
156
156
  export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from './chunk-4LNSURYZ.js';
157
157
  export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from './chunk-EHD4CEHK.js';
158
158
  export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from './chunk-OAD4AXYJ.js';
159
159
  export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from './chunk-MXOT2CWL.js';
160
+ export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from './chunk-2EPEVS2M.js';
160
161
  export { DescriptionList, DescriptionListItem } from './chunk-LH4OF7FI.js';
161
162
  export { ConfirmField, confirmMatches } from './chunk-V67VL3WD.js';
162
163
  export { InlineCode } from './chunk-W4UJWFCZ.js';
@@ -201,10 +202,8 @@ export { Note } from './chunk-YJPQJVRJ.js';
201
202
  export { CanvasSchematic } from './chunk-NBWNLYWZ.js';
202
203
  export { CanvasToolbar, toolForKey } from './chunk-M2USLODI.js';
203
204
  export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
204
- export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from './chunk-YOCTDR2P.js';
205
- export { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
206
- import './chunk-6C7GQOBV.js';
207
- export { StatusCard } from './chunk-NWKH5FF7.js';
205
+ 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, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from './chunk-JD5K6Y7Q.js';
206
+ import './chunk-CUEPPDBC.js';
208
207
  export { CatalogTile } from './chunk-JKEGFDBG.js';
209
208
  export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from './chunk-NOZD547E.js';
210
209
  export { DIFF_LIST_LABELS, DiffList } from './chunk-7XUP32RY.js';
@@ -217,10 +216,12 @@ import './chunk-5SGHW42B.js';
217
216
  import './chunk-7W3LYIOC.js';
218
217
  export { Breadcrumb } from './chunk-CN2EDXAW.js';
219
218
  export { KeyChip } from './chunk-HBDA76EZ.js';
219
+ export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from './chunk-YOCTDR2P.js';
220
+ export { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
221
+ import './chunk-6C7GQOBV.js';
222
+ export { StatusCard } from './chunk-NWKH5FF7.js';
220
223
  export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
221
224
  export { Callout } from './chunk-CWACQEPP.js';
222
- 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, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from './chunk-JD5K6Y7Q.js';
223
- import './chunk-CUEPPDBC.js';
224
225
  export { ARTIFACT_REF_KIND_LABELS, ArtifactRef } from './chunk-QNSAFNGT.js';
225
226
  export { InlineRef } from './chunk-6KCQXKFQ.js';
226
227
  export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-KBZO4B33.js';
@@ -275,11 +276,11 @@ export { Menu } from './chunk-ZMZNKDPO.js';
275
276
  export { ACCESS_DENIED_REASONS, AccessDeniedCard } from './chunk-QTMUKRTN.js';
276
277
  export { EmptyState } from './chunk-PPUR46MK.js';
277
278
  export { Accordion, AccordionItem } from './chunk-3QEAANRP.js';
279
+ export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from './chunk-OM2LABPS.js';
278
280
  export { ActivityLine } from './chunk-DLYYW77C.js';
279
281
  export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from './chunk-CRGYWLP6.js';
280
282
  export { AvatarStack, avatarStackLabel } from './chunk-2PSOUDCS.js';
281
283
  export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RANGE, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, AVATAR_VERDICTS, AVATAR_VERDICT_LABELS, Avatar, avatarCorner, avatarInitialsName, avatarPixels, avatarTint, getInitials } from './chunk-YMFFGPFE.js';
282
- export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from './chunk-OM2LABPS.js';
283
284
  export { ADD_PILL_MS, AddPill } from './chunk-5W3EYO5Q.js';
284
285
  export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from './chunk-S4ADDFRT.js';
285
286
  export { Timeline, TimelineItem } from './chunk-XDUXAQIS.js';
package/dist/styles.css CHANGED
@@ -27520,6 +27520,140 @@ a.crewlet-icon-btn {
27520
27520
 
27521
27521
 
27522
27522
 
27523
+ /* LimitMeters-WCN2QTUU.css */
27524
+ /* A stack of limit windows: label, bar, figure and note line up across rows. */
27525
+
27526
+ .crewlet-limit-meters {
27527
+ container-type: inline-size;
27528
+ display: flex;
27529
+ flex-direction: column;
27530
+ gap: var(--spacing-1);
27531
+ /* Inline-size containment gives no intrinsic width, so a content-sized column needs a floor. */
27532
+ min-width: 12rem;
27533
+ font-size: var(--font-size-xs);
27534
+ line-height: var(--font-line-height-snug);
27535
+ }
27536
+
27537
+ .crewlet-limit-meters__grid {
27538
+ display: grid;
27539
+ grid-template-columns: minmax(0, max-content) minmax(2.5rem, 1fr) max-content max-content;
27540
+ align-items: center;
27541
+ column-gap: var(--spacing-2);
27542
+ row-gap: var(--spacing-1);
27543
+ }
27544
+
27545
+ .crewlet-limit-meters__window {
27546
+ display: contents;
27547
+ --crewlet-limit-meters-tone: var(--color-text-tertiary);
27548
+ }
27549
+
27550
+ .crewlet-limit-meters__window[data-state='near'] {
27551
+ --crewlet-limit-meters-tone: var(--color-feedback-warning);
27552
+ }
27553
+
27554
+ .crewlet-limit-meters__window[data-state='refusing'] {
27555
+ --crewlet-limit-meters-tone: var(--color-feedback-danger);
27556
+ }
27557
+
27558
+ /* Column 1 always, so a window without a note still starts its own row. */
27559
+ .crewlet-limit-meters__label {
27560
+ grid-column: 1;
27561
+ max-width: 8rem;
27562
+ overflow: hidden;
27563
+ text-overflow: ellipsis;
27564
+ white-space: nowrap;
27565
+ color: var(--color-text-secondary);
27566
+ }
27567
+
27568
+ /* The Meter's 6px track on the raised rung, with a hairline so its extent shows on any ground. */
27569
+ .crewlet-limit-meters__track {
27570
+ height: 6px;
27571
+ border-radius: var(--radius-pill);
27572
+ background: var(--color-surface-elevated);
27573
+ box-shadow: inset 0 0 0 1px var(--color-border-default);
27574
+ overflow: hidden;
27575
+ }
27576
+
27577
+ .crewlet-limit-meters__fill {
27578
+ height: 100%;
27579
+ border-radius: var(--radius-pill);
27580
+ background: var(--crewlet-limit-meters-tone);
27581
+ transition: width var(--motion-duration-slow) var(--motion-easing-emphasized);
27582
+ }
27583
+
27584
+ .crewlet-limit-meters__fill--some {
27585
+ min-width: var(--spacing-1);
27586
+ }
27587
+
27588
+ /* A state with no measured fraction: hatched across the track, so it never reads as a length. */
27589
+ .crewlet-limit-meters__fill--state {
27590
+ border-radius: 0;
27591
+ background: repeating-linear-gradient(
27592
+ -45deg,
27593
+ var(--crewlet-limit-meters-tone) 0 2px,
27594
+ transparent 2px 5px
27595
+ );
27596
+ }
27597
+
27598
+ .crewlet-limit-meters__figure {
27599
+ justify-self: end;
27600
+ white-space: nowrap;
27601
+ font-variant-numeric: tabular-nums;
27602
+ color: var(--color-text-primary);
27603
+ }
27604
+
27605
+ .crewlet-limit-meters__window[data-state='near'] .crewlet-limit-meters__figure {
27606
+ color: var(--color-feedback-warning-ink);
27607
+ }
27608
+
27609
+ .crewlet-limit-meters__window[data-state='refusing'] .crewlet-limit-meters__figure {
27610
+ color: var(--color-feedback-danger-ink);
27611
+ }
27612
+
27613
+ .crewlet-limit-meters__note {
27614
+ white-space: nowrap;
27615
+ color: var(--color-text-tertiary);
27616
+ }
27617
+
27618
+ .crewlet-limit-meters__empty,
27619
+ .crewlet-limit-meters__caption {
27620
+ color: var(--color-text-tertiary);
27621
+ }
27622
+
27623
+ .crewlet-limit-meters__caption {
27624
+ font-size: var(--font-size-2xs);
27625
+ }
27626
+
27627
+ /* Narrow: the note moves under its bar rather than squeezing the bar away. */
27628
+ @container (max-width: 16rem) {
27629
+ .crewlet-limit-meters__grid {
27630
+ grid-template-columns: minmax(0, max-content) minmax(2.5rem, 1fr) max-content;
27631
+ }
27632
+
27633
+ .crewlet-limit-meters__note {
27634
+ grid-column: 2 / -1;
27635
+ margin-block-start: calc(-1 * var(--spacing-1) + 1px);
27636
+ }
27637
+ }
27638
+
27639
+ @media (prefers-reduced-motion: reduce) {
27640
+ .crewlet-limit-meters__fill {
27641
+ transition: none;
27642
+ }
27643
+ }
27644
+
27645
+ /* Forced colours repaint every background, so the bar takes the system pair the Meter uses. */
27646
+ @media (forced-colors: active) {
27647
+ .crewlet-limit-meters__track {
27648
+ background: GrayText;
27649
+ }
27650
+
27651
+ .crewlet-limit-meters__window {
27652
+ --crewlet-limit-meters-tone: CanvasText;
27653
+ }
27654
+ }
27655
+
27656
+
27523
27657
  /* Link-7AADYG2F.css */
27524
27658
  /*
27525
27659
  * A link: a navigation, an identity or a quiet reference. The ink is the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.155.0",
3
+ "version": "0.156.0",
4
4
  "description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,8 +42,8 @@
42
42
  "clean": "rm -rf dist src/generated"
43
43
  },
44
44
  "dependencies": {
45
- "@crewlethq/icons": "0.155.0",
46
- "@crewlethq/tokens": "0.155.0",
45
+ "@crewlethq/icons": "0.156.0",
46
+ "@crewlethq/tokens": "0.156.0",
47
47
  "prosemirror-commands": "1.7.2",
48
48
  "prosemirror-gapcursor": "1.4.1",
49
49
  "prosemirror-history": "1.5.1",
@@ -1,5 +1,5 @@
1
- import { schema, readMarkdown, writeMarkdown } from './chunk-7CSTEH5I.js';
2
1
  import { richEditorLabels } from './chunk-2DMTW2Y3.js';
2
+ import { schema, readMarkdown, writeMarkdown } from './chunk-7CSTEH5I.js';
3
3
  import './chunk-KOJPDCGQ.js';
4
4
  import { Toolbar } from './chunk-NPEI2QAN.js';
5
5
  import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-KBZO4B33.js';
@@ -1,6 +1,6 @@
1
1
  import { RefusalStrip, ReceiptStrip } from './chunk-OAD4AXYJ.js';
2
- import { StatusCard } from './chunk-NWKH5FF7.js';
3
2
  import { ChangeList } from './chunk-NOZD547E.js';
3
+ import { StatusCard } from './chunk-NWKH5FF7.js';
4
4
  import { Callout } from './chunk-CWACQEPP.js';
5
5
  import { toInstant, formatUntil, useNow, formatExact, toISO } from './chunk-GBKBME7Q.js';
6
6
  import { Checkbox } from './chunk-BRMJPZC4.js';
File without changes