@crewlethq/ui 0.168.2 → 0.169.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-OU6O6CFN.js';
2
- import '../chunk-DXC4K33F.js';
1
+ export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-HMVGIYAZ.js';
2
+ import '../chunk-54R5IINE.js';
3
3
  import '../chunk-657WR3MX.js';
4
4
  import '../chunk-3XXFU4XP.js';
5
5
  import '../chunk-ZJGGXYFS.js';
@@ -6,11 +6,13 @@ import { type ReactNode } from 'react';
6
6
  * - `text`: free text, spaces kept.
7
7
  * - `multiline`: prose in a textarea, every space and newline kept, spell check on.
8
8
  * - `secret`: a credential, masked unless the value is a whole reference.
9
+ * - `secret-multiline`: a credential that spans lines, such as a PEM private
10
+ * key: a masked box that keeps every line break, and a file picker.
9
11
  * - `url`: an address, wearing an `https://` affix, whitespace dropped.
10
12
  * - `id` and `email`: one token, whitespace dropped.
11
13
  * - `choice` and `handle`: one of `choices`, picked from a listbox.
12
14
  */
13
- export type ValueFieldKind = 'text' | 'multiline' | 'secret' | 'url' | 'id' | 'choice' | 'handle' | 'email';
15
+ export type ValueFieldKind = 'text' | 'multiline' | 'secret' | 'secret-multiline' | 'url' | 'id' | 'choice' | 'handle' | 'email';
14
16
  /** One option of a `choice` or `handle` field. */
15
17
  export interface ValueFieldChoice {
16
18
  value: string;
@@ -26,6 +28,12 @@ export interface ValueFieldLabels {
26
28
  references: string;
27
29
  /** The choice placeholder while nothing is chosen. "Choose one" by default. */
28
30
  choose: string;
31
+ /** A `secret-multiline` field's file picker. "Choose file" by default. */
32
+ chooseFile: string;
33
+ /** Said when a picked file is larger than `maxFileBytes`. */
34
+ fileTooLarge: string;
35
+ /** Said when a picked file could not be read. */
36
+ fileUnreadable: string;
29
37
  }
30
38
  export interface ValueFieldProps {
31
39
  label: string;
@@ -74,8 +82,15 @@ export interface ValueFieldProps {
74
82
  * by default; a product with its own reference grammar passes it here.
75
83
  */
76
84
  isReference?: ((value: string) => boolean) | undefined;
77
- /** How many lines a `multiline` field shows before it scrolls. Three by default. */
85
+ /** How many lines a `multiline` or `secret-multiline` field shows before it scrolls. Three by default. */
78
86
  rows?: number | undefined;
87
+ /**
88
+ * The file types a `secret-multiline` field's picker offers, as the file
89
+ * input's `accept` takes them (`.p8,.pem`). Every file by default.
90
+ */
91
+ accept?: string | undefined;
92
+ /** The largest file a `secret-multiline` picker reads, in bytes. 64 KiB by default. */
93
+ maxFileBytes?: number | undefined;
79
94
  /** Show the help line only while the field has focus. See [FormField]. */
80
95
  helperOnFocus?: boolean | undefined;
81
96
  labels?: Partial<ValueFieldLabels> | undefined;
@@ -89,6 +104,13 @@ export interface ValueFieldProps {
89
104
  * what keeps the value out of an autofill store, out of a screenshot and out
90
105
  * of the accessibility tree as text.
91
106
  *
107
+ * A KEY THAT SPANS LINES KEEPS THEM. A one-line box (a password input
108
+ * included) strips every line break from what is pasted into it, so a PEM
109
+ * key pasted into a `secret` field arrives as one line no parser takes.
110
+ * `secret-multiline` is a textarea masked with `-webkit-text-security`, which
111
+ * every current engine draws, with a file picker that reads the file in the
112
+ * browser: nothing is uploaded until the form is submitted.
113
+ *
92
114
  * A REFERENCE IS NOT A CREDENTIAL, so it is not masked. A secret whose value
93
115
  * is wholly a `${NAME}` holds the NAME of a stored entry, and the reader has
94
116
  * to be able to see which entry it points at. Typing over it masks again the
@@ -116,4 +138,4 @@ export interface ValueFieldProps {
116
138
  * no longer offers keeps a row of its own rather than vanishing into a
117
139
  * different selection.
118
140
  */
119
- export declare function ValueField({ label, mark, kind, value, onChange, help, error, placeholder, choices, disabled, required, markRequired, autoFocus, references, onReferencesNeeded, isReference, rows, helperOnFocus, labels, className, }: ValueFieldProps): import("react").JSX.Element;
141
+ export declare function ValueField({ label, mark, kind, value, onChange, help, error, placeholder, choices, disabled, required, markRequired, autoFocus, references, onReferencesNeeded, isReference, rows, accept, maxFileBytes, helperOnFocus, labels, className, }: ValueFieldProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-DXC4K33F.js';
1
+ export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-54R5IINE.js';
2
2
  import '../chunk-657WR3MX.js';
3
3
  import '../chunk-ZJGGXYFS.js';
4
4
  import '../chunk-KW7T23RT.js';
@@ -7,6 +7,8 @@ import '../chunk-NICEDVZM.js';
7
7
  import '../chunk-JLKO7PSK.js';
8
8
  import '../chunk-PJV5HVZY.js';
9
9
  import '../chunk-TEXK4RK6.js';
10
+ import '../chunk-34K3XN47.js';
11
+ import '../chunk-XSPCITPN.js';
10
12
  import '../chunk-2YTOOH3A.js';
11
13
  import '../chunk-XHTQ4X4P.js';
12
14
  import '../chunk-TDFLCUBE.js';
@@ -0,0 +1,47 @@
1
+ /*
2
+ * ValueField: a labelled value with the control its kind needs.
3
+ *
4
+ * The row is FormField's and every control is the package's own; what is
5
+ * drawn here is the mark a label may carry, such as a third party's logo,
6
+ * set on the label's line ahead of its words.
7
+ */
8
+
9
+ .crewlet-value-field__label {
10
+ display: inline-flex;
11
+ align-items: center;
12
+ gap: var(--spacing-1);
13
+ }
14
+
15
+ /*
16
+ * A credential that spans lines (`secret-multiline`): its box, then the file
17
+ * picker under it. Masked with text-security, which keeps the lines the key
18
+ * is made of visible as rows of discs, so a reader can see that a whole key
19
+ * is there without seeing any of it.
20
+ */
21
+ .crewlet-value-field__key {
22
+ display: flex;
23
+ flex-direction: column;
24
+ gap: var(--spacing-2);
25
+ }
26
+
27
+ .crewlet-value-field__key-box {
28
+ font-family: var(--font-family-mono);
29
+ font-variant-ligatures: none;
30
+ font-size: var(--font-size-compact);
31
+ white-space: pre;
32
+ overflow-wrap: normal;
33
+ }
34
+
35
+ .crewlet-value-field__key-box--masked {
36
+ -webkit-text-security: disc;
37
+ }
38
+
39
+ .crewlet-value-field__key-box--reference {
40
+ color: var(--color-text-secondary);
41
+ }
42
+
43
+ .crewlet-value-field__key-actions {
44
+ display: flex;
45
+ align-items: center;
46
+ gap: var(--spacing-2);
47
+ }
@@ -1,13 +1,15 @@
1
1
  import { Select } from './chunk-657WR3MX.js';
2
2
  import { Combobox } from './chunk-ZJGGXYFS.js';
3
3
  import { FormField, Textarea, InputAffix } from './chunk-XB3ITOJB.js';
4
+ import { Button } from './chunk-34K3XN47.js';
5
+ import { cx } from './chunk-ODEQTPFM.js';
4
6
  import './Input-YVCNNTYT.css';
5
7
  import './VisuallyHidden-OUYVMKEH.css';
6
8
  import './HitArea-QUOS6ZDJ.css';
7
9
  import './Combobox-GHT43K32.css';
8
10
  import './Select-2FAOIL73.css';
9
- import './ValueField-EIBD6RYS.css';
10
- import { useId, useRef, useState } from 'react';
11
+ import './ValueField-JK7JPVR6.css';
12
+ import { useId, useState, useRef } from 'react';
11
13
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
12
14
 
13
15
  // src/ValueField/references.ts
@@ -65,8 +67,12 @@ function urlSchemeOf(value) {
65
67
  }
66
68
  var DEFAULT_LABELS = {
67
69
  references: "Secrets",
68
- choose: "Choose one"
70
+ choose: "Choose one",
71
+ chooseFile: "Choose file",
72
+ fileTooLarge: "That file is too large to be a key. Choose the key file itself.",
73
+ fileUnreadable: "That file could not be read. Choose it again, or paste its contents."
69
74
  };
75
+ var MAX_FILE_BYTES = 64 * 1024;
70
76
  function ValueField({
71
77
  label,
72
78
  mark,
@@ -85,6 +91,8 @@ function ValueField({
85
91
  onReferencesNeeded,
86
92
  isReference = isWholeReference,
87
93
  rows = 3,
94
+ accept,
95
+ maxFileBytes = MAX_FILE_BYTES,
88
96
  helperOnFocus,
89
97
  labels,
90
98
  className
@@ -94,7 +102,25 @@ function ValueField({
94
102
  const affixId = `${id}-affix`;
95
103
  const picker = kind === "choice" || kind === "handle";
96
104
  const reference = isReference(value);
97
- const masked = kind === "secret" && !reference;
105
+ const masked = (kind === "secret" || kind === "secret-multiline") && !reference;
106
+ const [fileProblem, setFileProblem] = useState("");
107
+ const filePicker = useRef(null);
108
+ async function picked(event) {
109
+ const file = event.currentTarget.files?.[0];
110
+ event.currentTarget.value = "";
111
+ if (!file) return;
112
+ if (file.size > maxFileBytes) {
113
+ setFileProblem(words.fileTooLarge);
114
+ return;
115
+ }
116
+ try {
117
+ const text = await file.text();
118
+ setFileProblem("");
119
+ onChange(text);
120
+ } catch {
121
+ setFileProblem(words.fileUnreadable);
122
+ }
123
+ }
98
124
  const tight = kind === "url" || kind === "id" || kind === "email";
99
125
  const own = kind === "url" ? urlSchemeOf(value) : "";
100
126
  const referenceBase = own === "" && value.trimStart().startsWith("$");
@@ -156,7 +182,7 @@ function ValueField({
156
182
  requiredNews: required === true && markRequired === true,
157
183
  helper,
158
184
  helperOnFocus,
159
- error,
185
+ error: error ?? (fileProblem || void 0),
160
186
  describedBy: affix ? affixId : void 0,
161
187
  children: (field) => picker ? /* @__PURE__ */ jsx(
162
188
  Select,
@@ -172,7 +198,63 @@ function ValueField({
172
198
  required: required === true,
173
199
  "aria-describedby": field.describedBy
174
200
  }
175
- ) : kind === "multiline" ? /* @__PURE__ */ jsx(
201
+ ) : kind === "secret-multiline" ? /* @__PURE__ */ jsxs("span", { className: "crewlet-value-field__key", children: [
202
+ /* @__PURE__ */ jsx(
203
+ Textarea,
204
+ {
205
+ id: field.id,
206
+ rows,
207
+ value,
208
+ placeholder,
209
+ disabled,
210
+ autoComplete: "off",
211
+ spellCheck: false,
212
+ autoCapitalize: "off",
213
+ autoCorrect: "off",
214
+ "data-1p-ignore": true,
215
+ "data-lpignore": "true",
216
+ "data-bwignore": true,
217
+ className: cx(
218
+ "crewlet-value-field__key-box",
219
+ masked && "crewlet-value-field__key-box--masked",
220
+ reference && "crewlet-value-field__key-box--reference"
221
+ ),
222
+ autoFocus,
223
+ "aria-describedby": field.describedBy,
224
+ "aria-required": required === true || void 0,
225
+ error: field.invalid,
226
+ onChange: (event) => {
227
+ setFileProblem("");
228
+ onChange(event.target.value);
229
+ }
230
+ }
231
+ ),
232
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-value-field__key-actions", children: [
233
+ /* @__PURE__ */ jsx(
234
+ Button,
235
+ {
236
+ size: "small",
237
+ variant: "secondary",
238
+ disabled: disabled === true,
239
+ onClick: () => filePicker.current?.click(),
240
+ "aria-label": `${words.chooseFile}: ${label}`,
241
+ children: words.chooseFile
242
+ }
243
+ ),
244
+ /* @__PURE__ */ jsx(
245
+ "input",
246
+ {
247
+ ref: filePicker,
248
+ type: "file",
249
+ accept,
250
+ hidden: true,
251
+ tabIndex: -1,
252
+ "aria-hidden": "true",
253
+ onChange: (event) => void picked(event)
254
+ }
255
+ )
256
+ ] })
257
+ ] }) : kind === "multiline" ? /* @__PURE__ */ jsx(
176
258
  Textarea,
177
259
  {
178
260
  id: field.id,
@@ -1,4 +1,4 @@
1
- import { ValueField } from './chunk-DXC4K33F.js';
1
+ import { ValueField } from './chunk-54R5IINE.js';
2
2
  import { RefusalStrip, ReceiptStrip } from './chunk-3XXFU4XP.js';
3
3
  import { ChangeList } from './chunk-5D7RMXM2.js';
4
4
  import { StatusCard } from './chunk-PGLERBQT.js';
@@ -1,10 +1,10 @@
1
1
  import '../chunk-BPR6WAZV.js';
2
- export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-IGN5DJAL.js';
3
2
  export { VersionTimeline } from '../chunk-AHKLBQRI.js';
3
+ export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-IGN5DJAL.js';
4
4
  export { WidgetFrame } from '../chunk-5ZTH54O6.js';
5
5
  export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from '../chunk-BALBOOKX.js';
6
6
  export { TOOL_CALL_LOG_LABELS, ToolCallLog, toolCallDuration } from '../chunk-ZQE2BHQA.js';
7
- export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from '../chunk-KWHZXFXJ.js';
7
+ export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-LXA6DJ6E.js';
8
8
  export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-OKIAXHI6.js';
9
9
  export { TypeSpecimen } from '../chunk-JKAFEFFC.js';
10
10
  export { DensitySwitcher, ThemeSwitcher } from '../chunk-QB5XR2KR.js';
@@ -13,8 +13,8 @@ export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTh
13
13
  export { ThinkingIndicator } from '../chunk-DX7ZHO47.js';
14
14
  export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-NFGDQQPN.js';
15
15
  export { TileGrid } from '../chunk-UFID3DSP.js';
16
- export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-LXA6DJ6E.js';
17
16
  export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-BJXMDDIA.js';
17
+ export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from '../chunk-KWHZXFXJ.js';
18
18
  export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-426IGR6U.js';
19
19
  export { TagsInput } from '../chunk-HM3HM3OF.js';
20
20
  export { ThemeGallery } from '../chunk-Z226JFUB.js';
@@ -26,9 +26,9 @@ export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from '../chunk-S656HY4W.j
26
26
  export { StatCard } from '../chunk-2YADDY4A.js';
27
27
  export { StatGroup } from '../chunk-OUD75UB2.js';
28
28
  export { Statement } from '../chunk-MZJKPTA5.js';
29
- export { matchesShortcut, useShortcut } from '../chunk-K6PKXCR2.js';
30
29
  import '../chunk-ZZMXJTII.js';
31
30
  export { SLIDE_COMPARE_LABELS, SlideCompare } from '../chunk-4IHTBHJP.js';
31
+ export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-BFJPUEZP.js';
32
32
  export { SlideFilmstrip } from '../chunk-TIOFWBL5.js';
33
33
  export { SlideGrid } from '../chunk-73L3774J.js';
34
34
  export { SEND_BUTTON_LABELS, SendButton } from '../chunk-7XGTRZP4.js';
@@ -36,17 +36,17 @@ export { SETTING_FORM_LABELS, SettingForm } from '../chunk-2G6TDWIL.js';
36
36
  export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from '../chunk-NEL3JDJA.js';
37
37
  export { SetupWizard } from '../chunk-EZIMNB6H.js';
38
38
  export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-WPFK5F4Q.js';
39
- export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-BFJPUEZP.js';
40
39
  export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-GXX6B5XM.js';
41
40
  export { TagGroup } from '../chunk-FOUIZS7Q.js';
41
+ export { matchesShortcut, useShortcut } from '../chunk-K6PKXCR2.js';
42
42
  export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-FXAV22EB.js';
43
43
  export { SearchTrigger } from '../chunk-U67UM3VS.js';
44
44
  export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-P5DKWJMS.js';
45
45
  export { SegmentedMeter, segmentedMeterLabel } from '../chunk-4AK52VHB.js';
46
46
  export { SelectionBar } from '../chunk-XJEAJ6KD.js';
47
- export { ReviewList } from '../chunk-TLMAPIWU.js';
48
47
  export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from '../chunk-W3BVLXE6.js';
49
48
  export { Table } from '../chunk-YGN4SBNP.js';
49
+ export { ReviewList } from '../chunk-TLMAPIWU.js';
50
50
  export { RichEditor, preloadRichEditor } from '../chunk-T6HFLCXB.js';
51
51
  export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-DGXHQMNP.js';
52
52
  export { canonicalMarkdown, roundTripMarkdown } from '../chunk-W5JAJJZO.js';
@@ -64,8 +64,8 @@ export { RelatedRow } from '../chunk-ROMQFKKG.js';
64
64
  export { PricingCard } from '../chunk-JSYAITYQ.js';
65
65
  export { PrincipalPicker } from '../chunk-NIIID2TS.js';
66
66
  export { PropertyList } from '../chunk-N2DCSSYC.js';
67
- export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-OU6O6CFN.js';
68
- export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-DXC4K33F.js';
67
+ export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-HMVGIYAZ.js';
68
+ export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-54R5IINE.js';
69
69
  export { Prose } from '../chunk-DVVP27OD.js';
70
70
  export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from '../chunk-Y56FM3K4.js';
71
71
  export { PinTile } from '../chunk-CFQCRO5S.js';
@@ -82,24 +82,24 @@ export { PageNote } from '../chunk-CV4NES3P.js';
82
82
  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-4MMH7LHV.js';
83
83
  export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from '../chunk-32DEM46L.js';
84
84
  import '../chunk-CENOOTAV.js';
85
- export { Money } from '../chunk-T467RY4O.js';
86
85
  export { MONEY_FIELD_LABELS, MoneyField, moneyFieldProblem } from '../chunk-OMMPRYHF.js';
87
- export { decimalOf, formatMoney, minorUnits, moneyDecimal, parseMoney, sumByCurrency, toMicros } from '../chunk-G6DKKJN6.js';
86
+ export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from '../chunk-PPDA7E6Q.js';
88
87
  export { NewItemsNotice } from '../chunk-NCQC5Y4E.js';
89
88
  export { groupNotices } from '../chunk-YAUAMQOP.js';
90
89
  export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from '../chunk-W443OSWT.js';
91
90
  export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-VYYBR3X2.js';
92
- export { MentionChip } from '../chunk-SYOMUNKU.js';
93
91
  export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-46WA7E5V.js';
94
92
  export { PersonRow } from '../chunk-42I2VSZZ.js';
95
93
  export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-67CPYCD7.js';
96
94
  export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-6BSXZDRV.js';
97
95
  export { MessageBubble } from '../chunk-DQISTOEH.js';
98
- export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-DPNVKWJX.js';
96
+ export { Money } from '../chunk-T467RY4O.js';
97
+ export { decimalOf, formatMoney, minorUnits, moneyDecimal, parseMoney, sumByCurrency, toMicros } from '../chunk-G6DKKJN6.js';
99
98
  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';
100
99
  export { LogoSlot, LogoSlotGroup } from '../chunk-3ZBYTHLJ.js';
101
100
  export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-ROL6QPFN.js';
102
- export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from '../chunk-PPDA7E6Q.js';
101
+ export { MentionChip } from '../chunk-SYOMUNKU.js';
102
+ export { LimitMeters, limitWindowTone } from '../chunk-APH674YQ.js';
103
103
  export { Link } from '../chunk-UTKI2SAM.js';
104
104
  export { LinkCard } from '../chunk-RSZE4FED.js';
105
105
  import '../chunk-KOJPDCGQ.js';
@@ -107,25 +107,25 @@ export { LinkInterstitial, openExternal } from '../chunk-35ZF72VO.js';
107
107
  export { ListDetail, ListDetailBack } from '../chunk-I7GIUCQN.js';
108
108
  export { ListInput, withDraft } from '../chunk-GVRBOOOA.js';
109
109
  export { List, ListItem } from '../chunk-GAQU5V5R.js';
110
+ export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-DPNVKWJX.js';
110
111
  export { KeyValueRows, keyValueRowsLabels } from '../chunk-IGOKQN7W.js';
111
112
  export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
112
113
  export { LAYERS_LIST_LABELS, LayersList } from '../chunk-TEOUMHAI.js';
113
- export { LimitMeters, limitWindowTone } from '../chunk-APH674YQ.js';
114
114
  import '../chunk-FFMCMSJB.js';
115
115
  export { IconTile } from '../chunk-VRVNLJUA.js';
116
116
  export { ImageUpload } from '../chunk-4QWTD6JO.js';
117
117
  export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from '../chunk-PKPVDGSG.js';
118
118
  export { IndicatorAnchor } from '../chunk-27MJPU7G.js';
119
119
  export { INLINE_EDITOR_LABELS, InlineEditor } from '../chunk-COKMMM7K.js';
120
- export { FolderTile, describeFolderContents, folderContentsParts } from '../chunk-ESZXGC4P.js';
121
120
  export { FindingList } from '../chunk-J2GRBRGK.js';
121
+ export { FolderTile, describeFolderContents, folderContentsParts } from '../chunk-ESZXGC4P.js';
122
122
  export { FollowBanner } from '../chunk-KRYBW64N.js';
123
123
  export { DEFAULT_FRAME_THEME, EXTERNAL_URL_MAX, FRAME_BRIDGE, FRAME_MESSAGE, FRAME_ORIGIN_MODES, FRAME_SANDBOX_TOKENS, applyFrameTheme, checkFrameSandbox, externalUrl, frameFragment, frameOriginMatches, frameThemeMessage, httpOrigin, isFocusExit, isFrameNonce, negotiateBridge, parseFrameFragment, portTargetOrigin, readFrameHello, readFramePortMessage, readFrameTheme, readOpenLink } from '../chunk-F6V2PTN6.js';
124
124
  export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from '../chunk-ZXXDZJQN.js';
125
- export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
126
125
  export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_FOCUS_ZOOM, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_TILE_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphDetail, graphFocusView, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, placeTrunkLabels, routeGraphEdges } from '../chunk-BDDJI6NA.js';
127
126
  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';
128
127
  export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from '../chunk-37FXQ4TH.js';
128
+ export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
129
129
  import '../chunk-MICRGE3J.js';
130
130
  export { EntityList } from '../chunk-VLDDTLZ3.js';
131
131
  export { ErrorBoundary } from '../chunk-B5GJR4XT.js';
@@ -155,8 +155,8 @@ export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS
155
155
  export { PageHeader } from '../chunk-FPDIHEM4.js';
156
156
  export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from '../chunk-UL7X5F5W.js';
157
157
  export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-QFGUP7RL.js';
158
- export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-W3PSFOH2.js';
159
158
  export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-5TQRAZQG.js';
159
+ export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-W3PSFOH2.js';
160
160
  export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-KL3BX2KM.js';
161
161
  export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from '../chunk-2MN3RNRM.js';
162
162
  export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from '../chunk-3XXFU4XP.js';
@@ -177,8 +177,8 @@ export { Combobox } from '../chunk-ZJGGXYFS.js';
177
177
  export { CommandPalette } from '../chunk-TGAK4TEX.js';
178
178
  export { ConfirmModal, Modal } from '../chunk-HHV5WHTT.js';
179
179
  export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from '../chunk-KW7T23RT.js';
180
- export { COMMENT_PIN_CURSOR_COLOURS, COMMENT_PIN_CURSOR_SIZE, CommentPin, CommentPinGlyph, commentPinCursor, commentPinCursorAt } from '../chunk-ML4E6FFN.js';
181
180
  export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-Q3PUOZEA.js';
181
+ export { COMMENT_PIN_CURSOR_COLOURS, COMMENT_PIN_CURSOR_SIZE, CommentPin, CommentPinGlyph, commentPinCursor, commentPinCursorAt } from '../chunk-ML4E6FFN.js';
182
182
  export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from '../chunk-DF3LU2RW.js';
183
183
  export { LockedLabel } from '../chunk-TODOBUXO.js';
184
184
  export { CHIP_FIELD_LABELS, ChipField } from '../chunk-ITFAH735.js';
@@ -201,9 +201,9 @@ import '../chunk-5QJNA7KD.js';
201
201
  export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-GNNJDQ5J.js';
202
202
  export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from '../chunk-EE3OJJKW.js';
203
203
  export { CheckGrid } from '../chunk-U5DWD5SV.js';
204
+ export { CanvasSchematic } from '../chunk-NBWNLYWZ.js';
204
205
  export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from '../chunk-ABA5XK5H.js';
205
206
  export { Note } from '../chunk-YJPQJVRJ.js';
206
- export { CanvasSchematic } from '../chunk-NBWNLYWZ.js';
207
207
  export { CanvasToolbar, toolForKey } from '../chunk-JSW2QOGC.js';
208
208
  export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
209
209
  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-DUTG73M4.js';
@@ -232,16 +232,16 @@ export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdow
232
232
  export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from '../chunk-7UQQEUOT.js';
233
233
  export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from '../chunk-PJMDWQC2.js';
234
234
  export { Tag } from '../chunk-HOIZJFYS.js';
235
+ export { ATTENTION_LIST_LABELS, AttentionList } from '../chunk-LPOUIGTP.js';
236
+ export { NOTICE_LIST_LABELS, NoticeList } from '../chunk-JH6K5UWI.js';
235
237
  export { AuthLayout } from '../chunk-THCLP7TT.js';
236
238
  export { BrandLockup } from '../chunk-KXWJJWBD.js';
239
+ export { BrandChip } from '../chunk-UH44L7OJ.js';
237
240
  export { AvatarPicker } from '../chunk-ANBJ2XS5.js';
238
241
  export { HuePicker, HueSwatch } from '../chunk-PETPFNNE.js';
239
242
  export { Popover } from '../chunk-AJFA2XDQ.js';
240
243
  export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-CBUAKPF7.js';
241
244
  export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from '../chunk-AYKXMIOR.js';
242
- export { BrandChip } from '../chunk-UH44L7OJ.js';
243
- export { ATTENTION_LIST_LABELS, AttentionList } from '../chunk-LPOUIGTP.js';
244
- export { NOTICE_LIST_LABELS, NoticeList } from '../chunk-JH6K5UWI.js';
245
245
  export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-VEIJ5IOK.js';
246
246
  export { Skeleton } from '../chunk-WFAJYBLX.js';
247
247
  export { PRINCIPAL_KINDS, PrincipalAvatar } from '../chunk-265IX4YA.js';
@@ -284,8 +284,8 @@ export { ActivityLine } from '../chunk-VPRD5NWJ.js';
284
284
  export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from '../chunk-P3N7FAMP.js';
285
285
  export { AvatarStack, avatarStackLabel } from '../chunk-JWHXDVN5.js';
286
286
  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';
287
- export { ADD_PILL_MS, AddPill } from '../chunk-5W3EYO5Q.js';
288
287
  export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from '../chunk-OM2LABPS.js';
288
+ export { ADD_PILL_MS, AddPill } from '../chunk-5W3EYO5Q.js';
289
289
  export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-HK7R34BA.js';
290
290
  export { Timeline, TimelineItem } from '../chunk-XDUXAQIS.js';
291
291
  export { Section } from '../chunk-WFCWPXJN.js';
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import './chunk-BPR6WAZV.js';
2
- export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-IGN5DJAL.js';
3
2
  export { VersionTimeline } from './chunk-AHKLBQRI.js';
3
+ export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-IGN5DJAL.js';
4
4
  export { WidgetFrame } from './chunk-5ZTH54O6.js';
5
5
  export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from './chunk-BALBOOKX.js';
6
6
  export { TOOL_CALL_LOG_LABELS, ToolCallLog, toolCallDuration } from './chunk-ZQE2BHQA.js';
7
- export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from './chunk-KWHZXFXJ.js';
7
+ export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-LXA6DJ6E.js';
8
8
  export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from './chunk-OKIAXHI6.js';
9
9
  export { TypeSpecimen } from './chunk-JKAFEFFC.js';
10
10
  export { DensitySwitcher, ThemeSwitcher } from './chunk-QB5XR2KR.js';
@@ -13,8 +13,8 @@ export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTh
13
13
  export { ThinkingIndicator } from './chunk-DX7ZHO47.js';
14
14
  export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-NFGDQQPN.js';
15
15
  export { TileGrid } from './chunk-UFID3DSP.js';
16
- export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-LXA6DJ6E.js';
17
16
  export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-BJXMDDIA.js';
17
+ export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from './chunk-KWHZXFXJ.js';
18
18
  export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from './chunk-426IGR6U.js';
19
19
  export { TagsInput } from './chunk-HM3HM3OF.js';
20
20
  export { ThemeGallery } from './chunk-Z226JFUB.js';
@@ -26,9 +26,9 @@ export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from './chunk-S656HY4W.js
26
26
  export { StatCard } from './chunk-2YADDY4A.js';
27
27
  export { StatGroup } from './chunk-OUD75UB2.js';
28
28
  export { Statement } from './chunk-MZJKPTA5.js';
29
- export { matchesShortcut, useShortcut } from './chunk-K6PKXCR2.js';
30
29
  import './chunk-ZZMXJTII.js';
31
30
  export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-4IHTBHJP.js';
31
+ export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-BFJPUEZP.js';
32
32
  export { SlideFilmstrip } from './chunk-TIOFWBL5.js';
33
33
  export { SlideGrid } from './chunk-73L3774J.js';
34
34
  export { SEND_BUTTON_LABELS, SendButton } from './chunk-7XGTRZP4.js';
@@ -36,17 +36,17 @@ export { SETTING_FORM_LABELS, SettingForm } from './chunk-2G6TDWIL.js';
36
36
  export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from './chunk-NEL3JDJA.js';
37
37
  export { SetupWizard } from './chunk-EZIMNB6H.js';
38
38
  export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-WPFK5F4Q.js';
39
- export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-BFJPUEZP.js';
40
39
  export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from './chunk-GXX6B5XM.js';
41
40
  export { TagGroup } from './chunk-FOUIZS7Q.js';
41
+ export { matchesShortcut, useShortcut } from './chunk-K6PKXCR2.js';
42
42
  export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-FXAV22EB.js';
43
43
  export { SearchTrigger } from './chunk-U67UM3VS.js';
44
44
  export { SectionFrame, SectionFrameBody, SectionFrameNav } from './chunk-P5DKWJMS.js';
45
45
  export { SegmentedMeter, segmentedMeterLabel } from './chunk-4AK52VHB.js';
46
46
  export { SelectionBar } from './chunk-XJEAJ6KD.js';
47
- export { ReviewList } from './chunk-TLMAPIWU.js';
48
47
  export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from './chunk-W3BVLXE6.js';
49
48
  export { Table } from './chunk-YGN4SBNP.js';
49
+ export { ReviewList } from './chunk-TLMAPIWU.js';
50
50
  export { RichEditor, preloadRichEditor } from './chunk-T6HFLCXB.js';
51
51
  export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-DGXHQMNP.js';
52
52
  export { canonicalMarkdown, roundTripMarkdown } from './chunk-W5JAJJZO.js';
@@ -64,8 +64,8 @@ export { RelatedRow } from './chunk-ROMQFKKG.js';
64
64
  export { PricingCard } from './chunk-JSYAITYQ.js';
65
65
  export { PrincipalPicker } from './chunk-NIIID2TS.js';
66
66
  export { PropertyList } from './chunk-N2DCSSYC.js';
67
- export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-OU6O6CFN.js';
68
- export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-DXC4K33F.js';
67
+ export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-HMVGIYAZ.js';
68
+ export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-54R5IINE.js';
69
69
  export { Prose } from './chunk-DVVP27OD.js';
70
70
  export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.js';
71
71
  export { PinTile } from './chunk-CFQCRO5S.js';
@@ -82,24 +82,24 @@ export { PageNote } from './chunk-CV4NES3P.js';
82
82
  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-4MMH7LHV.js';
83
83
  export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from './chunk-32DEM46L.js';
84
84
  import './chunk-CENOOTAV.js';
85
- export { Money } from './chunk-T467RY4O.js';
86
85
  export { MONEY_FIELD_LABELS, MoneyField, moneyFieldProblem } from './chunk-OMMPRYHF.js';
87
- export { decimalOf, formatMoney, minorUnits, moneyDecimal, parseMoney, sumByCurrency, toMicros } from './chunk-G6DKKJN6.js';
86
+ export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from './chunk-PPDA7E6Q.js';
88
87
  export { NewItemsNotice } from './chunk-NCQC5Y4E.js';
89
88
  export { groupNotices } from './chunk-YAUAMQOP.js';
90
89
  export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from './chunk-W443OSWT.js';
91
90
  export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from './chunk-VYYBR3X2.js';
92
- export { MentionChip } from './chunk-SYOMUNKU.js';
93
91
  export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './chunk-46WA7E5V.js';
94
92
  export { PersonRow } from './chunk-42I2VSZZ.js';
95
93
  export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-67CPYCD7.js';
96
94
  export { ActionDivider, MessageAction, MessageActions, QuickReaction } from './chunk-6BSXZDRV.js';
97
95
  export { MessageBubble } from './chunk-DQISTOEH.js';
98
- export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.js';
96
+ export { Money } from './chunk-T467RY4O.js';
97
+ export { decimalOf, formatMoney, minorUnits, moneyDecimal, parseMoney, sumByCurrency, toMicros } from './chunk-G6DKKJN6.js';
99
98
  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';
100
99
  export { LogoSlot, LogoSlotGroup } from './chunk-3ZBYTHLJ.js';
101
100
  export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from './chunk-ROL6QPFN.js';
102
- export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from './chunk-PPDA7E6Q.js';
101
+ export { MentionChip } from './chunk-SYOMUNKU.js';
102
+ export { LimitMeters, limitWindowTone } from './chunk-APH674YQ.js';
103
103
  export { Link } from './chunk-UTKI2SAM.js';
104
104
  export { LinkCard } from './chunk-RSZE4FED.js';
105
105
  import './chunk-KOJPDCGQ.js';
@@ -107,25 +107,25 @@ export { LinkInterstitial, openExternal } from './chunk-35ZF72VO.js';
107
107
  export { ListDetail, ListDetailBack } from './chunk-I7GIUCQN.js';
108
108
  export { ListInput, withDraft } from './chunk-GVRBOOOA.js';
109
109
  export { List, ListItem } from './chunk-GAQU5V5R.js';
110
+ export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.js';
110
111
  export { KeyValueRows, keyValueRowsLabels } from './chunk-IGOKQN7W.js';
111
112
  export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
112
113
  export { LAYERS_LIST_LABELS, LayersList } from './chunk-TEOUMHAI.js';
113
- export { LimitMeters, limitWindowTone } from './chunk-APH674YQ.js';
114
114
  import './chunk-FFMCMSJB.js';
115
115
  export { IconTile } from './chunk-VRVNLJUA.js';
116
116
  export { ImageUpload } from './chunk-4QWTD6JO.js';
117
117
  export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from './chunk-PKPVDGSG.js';
118
118
  export { IndicatorAnchor } from './chunk-27MJPU7G.js';
119
119
  export { INLINE_EDITOR_LABELS, InlineEditor } from './chunk-COKMMM7K.js';
120
- export { FolderTile, describeFolderContents, folderContentsParts } from './chunk-ESZXGC4P.js';
121
120
  export { FindingList } from './chunk-J2GRBRGK.js';
121
+ export { FolderTile, describeFolderContents, folderContentsParts } from './chunk-ESZXGC4P.js';
122
122
  export { FollowBanner } from './chunk-KRYBW64N.js';
123
123
  export { DEFAULT_FRAME_THEME, EXTERNAL_URL_MAX, FRAME_BRIDGE, FRAME_MESSAGE, FRAME_ORIGIN_MODES, FRAME_SANDBOX_TOKENS, applyFrameTheme, checkFrameSandbox, externalUrl, frameFragment, frameOriginMatches, frameThemeMessage, httpOrigin, isFocusExit, isFrameNonce, negotiateBridge, parseFrameFragment, portTargetOrigin, readFrameHello, readFramePortMessage, readFrameTheme, readOpenLink } from './chunk-F6V2PTN6.js';
124
124
  export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from './chunk-ZXXDZJQN.js';
125
- export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
126
125
  export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_FOCUS_ZOOM, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_TILE_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphDetail, graphFocusView, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, placeTrunkLabels, routeGraphEdges } from './chunk-BDDJI6NA.js';
127
126
  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';
128
127
  export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from './chunk-37FXQ4TH.js';
128
+ export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
129
129
  import './chunk-MICRGE3J.js';
130
130
  export { EntityList } from './chunk-VLDDTLZ3.js';
131
131
  export { ErrorBoundary } from './chunk-B5GJR4XT.js';
@@ -155,8 +155,8 @@ export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS
155
155
  export { PageHeader } from './chunk-FPDIHEM4.js';
156
156
  export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from './chunk-UL7X5F5W.js';
157
157
  export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from './chunk-QFGUP7RL.js';
158
- export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-W3PSFOH2.js';
159
158
  export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from './chunk-5TQRAZQG.js';
159
+ export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-W3PSFOH2.js';
160
160
  export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from './chunk-KL3BX2KM.js';
161
161
  export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from './chunk-2MN3RNRM.js';
162
162
  export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from './chunk-3XXFU4XP.js';
@@ -177,8 +177,8 @@ export { Combobox } from './chunk-ZJGGXYFS.js';
177
177
  export { CommandPalette } from './chunk-TGAK4TEX.js';
178
178
  export { ConfirmModal, Modal } from './chunk-HHV5WHTT.js';
179
179
  export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
180
- export { COMMENT_PIN_CURSOR_COLOURS, COMMENT_PIN_CURSOR_SIZE, CommentPin, CommentPinGlyph, commentPinCursor, commentPinCursorAt } from './chunk-ML4E6FFN.js';
181
180
  export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-Q3PUOZEA.js';
181
+ export { COMMENT_PIN_CURSOR_COLOURS, COMMENT_PIN_CURSOR_SIZE, CommentPin, CommentPinGlyph, commentPinCursor, commentPinCursorAt } from './chunk-ML4E6FFN.js';
182
182
  export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from './chunk-DF3LU2RW.js';
183
183
  export { LockedLabel } from './chunk-TODOBUXO.js';
184
184
  export { CHIP_FIELD_LABELS, ChipField } from './chunk-ITFAH735.js';
@@ -201,9 +201,9 @@ import './chunk-5QJNA7KD.js';
201
201
  export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from './chunk-GNNJDQ5J.js';
202
202
  export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from './chunk-EE3OJJKW.js';
203
203
  export { CheckGrid } from './chunk-U5DWD5SV.js';
204
+ export { CanvasSchematic } from './chunk-NBWNLYWZ.js';
204
205
  export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from './chunk-ABA5XK5H.js';
205
206
  export { Note } from './chunk-YJPQJVRJ.js';
206
- export { CanvasSchematic } from './chunk-NBWNLYWZ.js';
207
207
  export { CanvasToolbar, toolForKey } from './chunk-JSW2QOGC.js';
208
208
  export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
209
209
  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-DUTG73M4.js';
@@ -232,16 +232,16 @@ export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdow
232
232
  export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from './chunk-7UQQEUOT.js';
233
233
  export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from './chunk-PJMDWQC2.js';
234
234
  export { Tag } from './chunk-HOIZJFYS.js';
235
+ export { ATTENTION_LIST_LABELS, AttentionList } from './chunk-LPOUIGTP.js';
236
+ export { NOTICE_LIST_LABELS, NoticeList } from './chunk-JH6K5UWI.js';
235
237
  export { AuthLayout } from './chunk-THCLP7TT.js';
236
238
  export { BrandLockup } from './chunk-KXWJJWBD.js';
239
+ export { BrandChip } from './chunk-UH44L7OJ.js';
237
240
  export { AvatarPicker } from './chunk-ANBJ2XS5.js';
238
241
  export { HuePicker, HueSwatch } from './chunk-PETPFNNE.js';
239
242
  export { Popover } from './chunk-AJFA2XDQ.js';
240
243
  export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from './chunk-CBUAKPF7.js';
241
244
  export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from './chunk-AYKXMIOR.js';
242
- export { BrandChip } from './chunk-UH44L7OJ.js';
243
- export { ATTENTION_LIST_LABELS, AttentionList } from './chunk-LPOUIGTP.js';
244
- export { NOTICE_LIST_LABELS, NoticeList } from './chunk-JH6K5UWI.js';
245
245
  export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from './chunk-VEIJ5IOK.js';
246
246
  export { Skeleton } from './chunk-WFAJYBLX.js';
247
247
  export { PRINCIPAL_KINDS, PrincipalAvatar } from './chunk-265IX4YA.js';
@@ -284,8 +284,8 @@ export { ActivityLine } from './chunk-VPRD5NWJ.js';
284
284
  export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from './chunk-P3N7FAMP.js';
285
285
  export { AvatarStack, avatarStackLabel } from './chunk-JWHXDVN5.js';
286
286
  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';
287
- export { ADD_PILL_MS, AddPill } from './chunk-5W3EYO5Q.js';
288
287
  export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from './chunk-OM2LABPS.js';
288
+ export { ADD_PILL_MS, AddPill } from './chunk-5W3EYO5Q.js';
289
289
  export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from './chunk-HK7R34BA.js';
290
290
  export { Timeline, TimelineItem } from './chunk-XDUXAQIS.js';
291
291
  export { Section } from './chunk-WFCWPXJN.js';
package/dist/styles.css CHANGED
@@ -52381,7 +52381,7 @@ svg.crewlet-time-window__tick {
52381
52381
  }
52382
52382
 
52383
52383
 
52384
- /* ValueField-EIBD6RYS.css */
52384
+ /* ValueField-JK7JPVR6.css */
52385
52385
  /*
52386
52386
  * ValueField: a labelled value with the control its kind needs.
52387
52387
  *
@@ -52396,6 +52396,40 @@ svg.crewlet-time-window__tick {
52396
52396
  gap: var(--spacing-1);
52397
52397
  }
52398
52398
 
52399
+ /*
52400
+ * A credential that spans lines (`secret-multiline`): its box, then the file
52401
+ * picker under it. Masked with text-security, which keeps the lines the key
52402
+ * is made of visible as rows of discs, so a reader can see that a whole key
52403
+ * is there without seeing any of it.
52404
+ */
52405
+ .crewlet-value-field__key {
52406
+ display: flex;
52407
+ flex-direction: column;
52408
+ gap: var(--spacing-2);
52409
+ }
52410
+
52411
+ .crewlet-value-field__key-box {
52412
+ font-family: var(--font-family-mono);
52413
+ font-variant-ligatures: none;
52414
+ font-size: var(--font-size-compact);
52415
+ white-space: pre;
52416
+ overflow-wrap: normal;
52417
+ }
52418
+
52419
+ .crewlet-value-field__key-box--masked {
52420
+ -webkit-text-security: disc;
52421
+ }
52422
+
52423
+ .crewlet-value-field__key-box--reference {
52424
+ color: var(--color-text-secondary);
52425
+ }
52426
+
52427
+ .crewlet-value-field__key-actions {
52428
+ display: flex;
52429
+ align-items: center;
52430
+ gap: var(--spacing-2);
52431
+ }
52432
+
52399
52433
 
52400
52434
  /* VersionCompare-UUZOPTQO.css */
52401
52435
  /* VersionCompare: a head naming the two versions with the lens switch at its
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.168.2",
3
+ "version": "0.169.0",
4
4
  "description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -43,8 +43,8 @@
43
43
  "clean": "rm -rf dist src/generated"
44
44
  },
45
45
  "dependencies": {
46
- "@crewlethq/icons": "0.168.2",
47
- "@crewlethq/tokens": "0.168.2",
46
+ "@crewlethq/icons": "0.169.0",
47
+ "@crewlethq/tokens": "0.169.0",
48
48
  "prosemirror-commands": "1.7.2",
49
49
  "prosemirror-gapcursor": "1.4.1",
50
50
  "prosemirror-history": "1.5.1",
@@ -1,13 +0,0 @@
1
- /*
2
- * ValueField: a labelled value with the control its kind needs.
3
- *
4
- * The row is FormField's and every control is the package's own; what is
5
- * drawn here is the mark a label may carry, such as a third party's logo,
6
- * set on the label's line ahead of its words.
7
- */
8
-
9
- .crewlet-value-field__label {
10
- display: inline-flex;
11
- align-items: center;
12
- gap: var(--spacing-1);
13
- }