@crewlethq/ui 0.123.0 → 0.125.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ArtifactBar/ArtifactBar.d.ts +5 -0
- package/dist/ArtifactBar/index.js +1 -1
- package/dist/Callout/Callout.d.ts +13 -1
- package/dist/Callout/index.d.ts +1 -1
- package/dist/Callout/index.js +1 -1
- package/dist/{Callout-G3N3IE6M.css → Callout-WLZKAFPT.css} +23 -0
- package/dist/DataView/index.js +1 -1
- package/dist/FindingList/FindingList.d.ts +8 -1
- package/dist/FindingList/index.js +1 -1
- package/dist/{FindingList-MPLA2ZTO.css → FindingList-5P2W5MIB.css} +24 -0
- package/dist/FollowBanner/index.js +2 -2
- package/dist/LinkInterstitial/index.js +2 -2
- package/dist/List/index.js +1 -1
- package/dist/{List-BNA4XGMH.css → List-DG77FXA6.css} +15 -0
- package/dist/RichEditor/index.js +2 -2
- package/dist/RoomRow/index.js +2 -2
- package/dist/SandboxedFrame/index.js +2 -2
- package/dist/SetupWizard/index.js +2 -2
- package/dist/ShareDialog/index.js +2 -2
- package/dist/TimeRangePicker/index.js +2 -2
- package/dist/{chunk-NHHVN23D.js → chunk-45OOFAL6.js} +1 -1
- package/dist/{chunk-ZKGAEXLI.js → chunk-4EKHHHOQ.js} +1 -1
- package/dist/{chunk-2DJOEXY4.js → chunk-G3NIP7AZ.js} +2 -1
- package/dist/{chunk-VY37HWFV.js → chunk-GAQU5V5R.js} +1 -1
- package/dist/{chunk-MVXQ74TB.js → chunk-I4V4GUVM.js} +1 -1
- package/dist/{chunk-XZQRJVOK.js → chunk-IMNCBQVO.js} +1 -1
- package/dist/chunk-J2GRBRGK.js +64 -0
- package/dist/{chunk-GUTZISXY.js → chunk-JXE4SCYV.js} +1 -1
- package/dist/{chunk-BPCY7ZID.js → chunk-RCQLXOGS.js} +9 -2
- package/dist/{chunk-ENYHABQJ.js → chunk-VB7KAQBN.js} +1 -1
- package/dist/{chunk-6UVBOA4M.js → chunk-YKLYMQ6J.js} +1 -1
- package/dist/generated/index.js +35 -35
- package/dist/index.js +35 -35
- package/dist/styles.css +65 -3
- package/package.json +3 -3
- package/dist/chunk-NEPNJMTD.js +0 -52
- package/dist/{chunk-2DZV4PHK.js → chunk-WLL3PFI3.js} +1 -1
|
@@ -9,6 +9,11 @@ import { type MenuEntry } from '../Menu/index.js';
|
|
|
9
9
|
* does not. An element could only ever be drawn in one of the two.
|
|
10
10
|
*/
|
|
11
11
|
export interface ArtifactBarTool {
|
|
12
|
+
/**
|
|
13
|
+
* Its identity. A tool whose key also names a row of the bar's `menu` is
|
|
14
|
+
* one action in two places, an icon button while the bar is wide and that
|
|
15
|
+
* row of More, so on a narrow bar it does not fold into More a second time.
|
|
16
|
+
*/
|
|
12
17
|
key: string;
|
|
13
18
|
/** What it does, in words: the button's name, its tooltip and its menu row. */
|
|
14
19
|
label: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from '../chunk-
|
|
1
|
+
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from '../chunk-G3NIP7AZ.js';
|
|
2
2
|
import '../chunk-KWXVG3CH.js';
|
|
3
3
|
import '../chunk-4PKMM3EZ.js';
|
|
4
4
|
import '../chunk-GIYIKUJE.js';
|
|
@@ -16,6 +16,17 @@ export type CalloutVariant = Exclude<Tone, 'brand'>;
|
|
|
16
16
|
* rounded card would leave a gutter of page colour down both sides.
|
|
17
17
|
*/
|
|
18
18
|
export type CalloutLayout = 'card' | 'banner';
|
|
19
|
+
/**
|
|
20
|
+
* How loudly the tone is drawn.
|
|
21
|
+
*
|
|
22
|
+
* `tinted` (the default) is the tone's soft fill behind the tone's ink: a
|
|
23
|
+
* sentence the screen is saying. `quiet` keeps the tone on the glyph and the
|
|
24
|
+
* leading edge alone, with the words in the page's own ink on a quiet
|
|
25
|
+
* surface, for a callout that holds a READING: a reviewer's reasons, a list
|
|
26
|
+
* of findings. A full tint behind several paragraphs outshouts the controls
|
|
27
|
+
* beside it, and the tone's ink on every line makes each of them a warning.
|
|
28
|
+
*/
|
|
29
|
+
export type CalloutAppearance = 'tinted' | 'quiet';
|
|
19
30
|
export interface CalloutProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
20
31
|
variant?: CalloutVariant | undefined;
|
|
21
32
|
/**
|
|
@@ -29,6 +40,7 @@ export interface CalloutProps extends Omit<HTMLAttributes<HTMLDivElement>, 'titl
|
|
|
29
40
|
/** A glyph replacing the variant's own. A component, not a name. */
|
|
30
41
|
icon?: ReactNode;
|
|
31
42
|
layout?: CalloutLayout | undefined;
|
|
43
|
+
appearance?: CalloutAppearance | undefined;
|
|
32
44
|
/** A control at the trailing edge: "Reconnect", "Open the log", "Dismiss". */
|
|
33
45
|
action?: ReactNode;
|
|
34
46
|
/**
|
|
@@ -50,4 +62,4 @@ export interface CalloutProps extends Omit<HTMLAttributes<HTMLDivElement>, 'titl
|
|
|
50
62
|
* anything that is the OUTCOME of a press they just made should not be a
|
|
51
63
|
* callout they have to go looking for.
|
|
52
64
|
*/
|
|
53
|
-
export declare const Callout: ({ variant, title, icon, layout, action, live, className, children, ...rest }: CalloutProps) => import("react").JSX.Element;
|
|
65
|
+
export declare const Callout: ({ variant, title, icon, layout, appearance, action, live, className, children, ...rest }: CalloutProps) => import("react").JSX.Element;
|
package/dist/Callout/index.d.ts
CHANGED
package/dist/Callout/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Callout } from '../chunk-
|
|
1
|
+
export { Callout } from '../chunk-RCQLXOGS.js';
|
|
2
2
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
|
|
68
68
|
.crewlet-callout__content {
|
|
69
69
|
min-width: 0;
|
|
70
|
+
/* A word no line can hold (a path, an address) breaks rather than pushing
|
|
71
|
+
past the callout's own edge, whatever element inside carries it. */
|
|
72
|
+
overflow-wrap: anywhere;
|
|
70
73
|
padding-block: var(--crewlet-callout-lead, 0px);
|
|
71
74
|
}
|
|
72
75
|
|
|
@@ -160,3 +163,23 @@
|
|
|
160
163
|
border-bottom-color: var(--color-border-default);
|
|
161
164
|
padding: var(--spacing-2) var(--spacing-4);
|
|
162
165
|
}
|
|
166
|
+
|
|
167
|
+
/* ── appearances ───────────────────────────────────────────────────────── */
|
|
168
|
+
|
|
169
|
+
/*
|
|
170
|
+
* QUIET: the tone on the glyph and the leading edge alone, the words in the
|
|
171
|
+
* page's own ink on a quiet surface. For a callout that holds a reading (a
|
|
172
|
+
* reviewer's reasons, a list of findings), where a full tint behind several
|
|
173
|
+
* paragraphs outshouts the controls beside it and the tone's ink on every
|
|
174
|
+
* line makes each of them a warning. The glyph still says which tone this
|
|
175
|
+
* is, so the hue is never the only carrier here either.
|
|
176
|
+
*/
|
|
177
|
+
.crewlet-callout--quiet {
|
|
178
|
+
border-inline-start: 2px solid var(--crewlet-callout-ink);
|
|
179
|
+
background: var(--color-surface-inset);
|
|
180
|
+
color: var(--color-text-primary);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.crewlet-callout--quiet > .crewlet-callout__icon {
|
|
184
|
+
color: var(--crewlet-callout-ink);
|
|
185
|
+
}
|
package/dist/DataView/index.js
CHANGED
|
@@ -7,8 +7,8 @@ import '../chunk-OG4GX2TB.js';
|
|
|
7
7
|
import '../chunk-KW7T23RT.js';
|
|
8
8
|
import '../chunk-STJ7QBC3.js';
|
|
9
9
|
import '../chunk-DTIW4CHZ.js';
|
|
10
|
-
import '../chunk-NPEI2QAN.js';
|
|
11
10
|
import '../chunk-EE3DJMSQ.js';
|
|
11
|
+
import '../chunk-NPEI2QAN.js';
|
|
12
12
|
import '../chunk-KDRJZWE3.js';
|
|
13
13
|
import '../chunk-GBKBME7Q.js';
|
|
14
14
|
import '../chunk-WGLOH33S.js';
|
|
@@ -22,6 +22,13 @@ export interface FindingListProps {
|
|
|
22
22
|
label: string;
|
|
23
23
|
/** What each tone is called to a screen reader, before the message. */
|
|
24
24
|
toneLabels?: Partial<Record<FindingTone, string>> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* How much room a row takes. `comfortable` (the default) gives each row the
|
|
27
|
+
* ground a pointer hovers. `compact` sets the rows a small step apart, and a
|
|
28
|
+
* row that goes nowhere against the list's own edge, for findings read as
|
|
29
|
+
* part of a longer passage (a reviewer's note) rather than walked one by one.
|
|
30
|
+
*/
|
|
31
|
+
density?: "comfortable" | "compact" | undefined;
|
|
25
32
|
className?: string | undefined;
|
|
26
33
|
}
|
|
27
34
|
/**
|
|
@@ -32,4 +39,4 @@ export interface FindingListProps {
|
|
|
32
39
|
* Tab and Enter takes it to the line, as a pointer does. The tone is said in
|
|
33
40
|
* words before the message, since a glyph's colour is not a word.
|
|
34
41
|
*/
|
|
35
|
-
export declare function FindingList({ findings, label, toneLabels, className, }: FindingListProps): import("react").JSX.Element;
|
|
42
|
+
export declare function FindingList({ findings, label, toneLabels, density, className, }: FindingListProps): import("react").JSX.Element;
|
|
@@ -81,3 +81,27 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
81
81
|
line-height: var(--font-line-height-normal);
|
|
82
82
|
overflow-wrap: anywhere;
|
|
83
83
|
}
|
|
84
|
+
|
|
85
|
+
/*
|
|
86
|
+
* COMPACT: rows a small step apart, in the size and leading of the passage
|
|
87
|
+
* the list stands in, so a finding reads as one more line of it. A row that
|
|
88
|
+
* goes nowhere has no hover ground to keep, so it gives up its side padding
|
|
89
|
+
* too and its glyph stands on the edge the words around the list start from.
|
|
90
|
+
*/
|
|
91
|
+
.crewlet-finding-list--compact .crewlet-finding-list__row {
|
|
92
|
+
padding-block: var(--spacing-1);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.crewlet-finding-list--compact div.crewlet-finding-list__row {
|
|
96
|
+
padding-inline: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.crewlet-finding-list--compact .crewlet-finding-list__message {
|
|
100
|
+
font-size: inherit;
|
|
101
|
+
line-height: inherit;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* The glyph's box is the inherited line, which the message now shares. */
|
|
105
|
+
.crewlet-finding-list--compact .crewlet-finding-list__row:not(:has(.crewlet-finding-list__location)) > .crewlet-finding-list__glyph {
|
|
106
|
+
height: 1lh;
|
|
107
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { FollowBanner } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { FollowBanner } from '../chunk-YKLYMQ6J.js';
|
|
2
|
+
import '../chunk-RCQLXOGS.js';
|
|
3
3
|
import '../chunk-M2M6ZD7P.js';
|
|
4
4
|
import '../chunk-XSPCITPN.js';
|
|
5
5
|
import '../chunk-TDFLCUBE.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { LinkInterstitial, openExternal } from '../chunk-
|
|
1
|
+
export { LinkInterstitial, openExternal } from '../chunk-IMNCBQVO.js';
|
|
2
2
|
import '../chunk-OG4GX2TB.js';
|
|
3
3
|
import '../chunk-PPGDH32L.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-RCQLXOGS.js';
|
|
5
5
|
import '../chunk-M2M6ZD7P.js';
|
|
6
6
|
import '../chunk-XSPCITPN.js';
|
|
7
7
|
import '../chunk-X5YI6E5X.js';
|
package/dist/List/index.js
CHANGED
|
@@ -122,6 +122,21 @@
|
|
|
122
122
|
list-style: revert;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
/*
|
|
126
|
+
* A BULLETED LIST'S MARKER IS ITS OWN, not its ancestors'. `revert` hands the
|
|
127
|
+
* choice to the browser, which draws a hollow circle for any list inside
|
|
128
|
+
* another, one whose rows carry no marker at all included: a card's list of
|
|
129
|
+
* rows turned every bulleted list in it hollow. The disc is stated, and only
|
|
130
|
+
* a bulleted list inside a bulleted one steps to the circle.
|
|
131
|
+
*/
|
|
132
|
+
.crewlet-list--bulleted {
|
|
133
|
+
list-style-type: disc;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.crewlet-list--bulleted .crewlet-list--bulleted {
|
|
137
|
+
list-style-type: circle;
|
|
138
|
+
}
|
|
139
|
+
|
|
125
140
|
.crewlet-list--bulleted .crewlet-list__item,
|
|
126
141
|
.crewlet-list--numbered .crewlet-list__item {
|
|
127
142
|
display: list-item;
|
package/dist/RichEditor/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { RichEditor, preloadRichEditor } from '../chunk-
|
|
1
|
+
export { RichEditor, preloadRichEditor } from '../chunk-VB7KAQBN.js';
|
|
2
2
|
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
3
3
|
import '../chunk-KOJPDCGQ.js';
|
|
4
4
|
import '../chunk-KBZO4B33.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-RCQLXOGS.js';
|
|
6
6
|
import '../chunk-WFAJYBLX.js';
|
|
7
7
|
import '../chunk-M2M6ZD7P.js';
|
|
8
8
|
import '../chunk-XSPCITPN.js';
|
package/dist/RoomRow/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-
|
|
1
|
+
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-4EKHHHOQ.js';
|
|
2
2
|
import '../chunk-F6V2PTN6.js';
|
|
3
3
|
import '../chunk-ZXXDZJQN.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-RCQLXOGS.js';
|
|
5
5
|
import '../chunk-WFAJYBLX.js';
|
|
6
6
|
import '../chunk-M2M6ZD7P.js';
|
|
7
7
|
import '../chunk-XSPCITPN.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { SetupWizard } from '../chunk-
|
|
2
|
-
import '../chunk-FPDIHEM4.js';
|
|
1
|
+
export { SetupWizard } from '../chunk-WLL3PFI3.js';
|
|
3
2
|
import '../chunk-EHD4CEHK.js';
|
|
3
|
+
import '../chunk-FPDIHEM4.js';
|
|
4
4
|
import '../chunk-QRE6JCHS.js';
|
|
5
5
|
import '../chunk-D5O64CVE.js';
|
|
6
6
|
import '../chunk-SK4BIFTG.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-
|
|
1
|
+
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-JXE4SCYV.js';
|
|
2
2
|
import '../chunk-AYVRS4LD.js';
|
|
3
3
|
import '../chunk-OG4GX2TB.js';
|
|
4
4
|
import '../chunk-KW7T23RT.js';
|
|
5
5
|
import '../chunk-AVK7RRQ4.js';
|
|
6
6
|
import '../chunk-STJ7QBC3.js';
|
|
7
7
|
import '../chunk-DTIW4CHZ.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-RCQLXOGS.js';
|
|
9
9
|
import '../chunk-HF5L56YQ.js';
|
|
10
10
|
import '../chunk-5SMYKL3D.js';
|
|
11
11
|
import '../chunk-XZY6S3UC.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-
|
|
1
|
+
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-I4V4GUVM.js';
|
|
2
2
|
import '../chunk-OG4GX2TB.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-RCQLXOGS.js';
|
|
4
4
|
import '../chunk-KWXVG3CH.js';
|
|
5
5
|
import '../chunk-4PKMM3EZ.js';
|
|
6
6
|
import '../chunk-GIYIKUJE.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { frameThemeMessage, readFrameHello, frameOriginMatches, negotiateBridge, FRAME_MESSAGE, portTargetOrigin, checkFrameSandbox, httpOrigin, isFrameNonce, frameFragment, readOpenLink, externalUrl, isFocusExit } from './chunk-F6V2PTN6.js';
|
|
2
|
-
import { Callout } from './chunk-
|
|
2
|
+
import { Callout } from './chunk-RCQLXOGS.js';
|
|
3
3
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
4
4
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -47,7 +47,8 @@ function ArtifactBar({
|
|
|
47
47
|
const headingId = useId();
|
|
48
48
|
const Root = as;
|
|
49
49
|
const apple = isApplePlatform();
|
|
50
|
-
const
|
|
50
|
+
const listed = new Set(menu.map((entry) => entry.key));
|
|
51
|
+
const folding = [...kindTools, ...tools].filter((t) => !t.labelled && !listed.has(t.key));
|
|
51
52
|
const pinned = [...kindTools, ...tools].filter((t) => t.labelled);
|
|
52
53
|
const folded = [
|
|
53
54
|
...modes ? modes.options.map(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './List-
|
|
3
|
+
import './List-DG77FXA6.css';
|
|
4
4
|
import { createContext, useContext, Children, isValidElement, cloneElement } from 'react';
|
|
5
5
|
import { CircleAlertGlyph } from '@crewlethq/icons/glyphs';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Modal } from './chunk-OG4GX2TB.js';
|
|
2
|
-
import { Callout } from './chunk-
|
|
2
|
+
import { Callout } from './chunk-RCQLXOGS.js';
|
|
3
3
|
import { SegmentedControl } from './chunk-4PKMM3EZ.js';
|
|
4
4
|
import { FormField, Input } from './chunk-NN44J7BP.js';
|
|
5
5
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfirmModal } from './chunk-OG4GX2TB.js';
|
|
2
2
|
import { InlineCode } from './chunk-PPGDH32L.js';
|
|
3
|
-
import { Callout } from './chunk-
|
|
3
|
+
import { Callout } from './chunk-RCQLXOGS.js';
|
|
4
4
|
import './LinkInterstitial-ET4MSVSV.css';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
2
|
+
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
+
import './FindingList-5P2W5MIB.css';
|
|
4
|
+
import { CircleAlertGlyph, TriangleAlertGlyph } from '@crewlethq/icons/glyphs';
|
|
5
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
var TONE_LABELS = {
|
|
8
|
+
danger: "Problem",
|
|
9
|
+
warning: "Advice"
|
|
10
|
+
};
|
|
11
|
+
function FindingList({
|
|
12
|
+
findings,
|
|
13
|
+
label,
|
|
14
|
+
toneLabels,
|
|
15
|
+
density = "comfortable",
|
|
16
|
+
className
|
|
17
|
+
}) {
|
|
18
|
+
const words = { ...TONE_LABELS, ...toneLabels };
|
|
19
|
+
const ordered = [
|
|
20
|
+
...findings.filter((f) => f.tone === "danger"),
|
|
21
|
+
...findings.filter((f) => f.tone === "warning")
|
|
22
|
+
];
|
|
23
|
+
return /* @__PURE__ */ jsx(
|
|
24
|
+
"ul",
|
|
25
|
+
{
|
|
26
|
+
className: cx(
|
|
27
|
+
"crewlet-finding-list",
|
|
28
|
+
density === "compact" && "crewlet-finding-list--compact",
|
|
29
|
+
className
|
|
30
|
+
),
|
|
31
|
+
"aria-label": label,
|
|
32
|
+
children: ordered.map((f) => {
|
|
33
|
+
const body = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
34
|
+
/* @__PURE__ */ jsx(
|
|
35
|
+
"span",
|
|
36
|
+
{
|
|
37
|
+
className: cx("crewlet-finding-list__glyph", `is-${f.tone}`),
|
|
38
|
+
"aria-hidden": "true",
|
|
39
|
+
children: f.tone === "danger" ? /* @__PURE__ */ jsx(CircleAlertGlyph, { size: "sm" }) : /* @__PURE__ */ jsx(TriangleAlertGlyph, { size: "sm" })
|
|
40
|
+
}
|
|
41
|
+
),
|
|
42
|
+
/* @__PURE__ */ jsxs("span", { className: "crewlet-finding-list__text", children: [
|
|
43
|
+
f.location ? /* @__PURE__ */ jsx("span", { className: "crewlet-finding-list__location", children: f.location }) : null,
|
|
44
|
+
/* @__PURE__ */ jsxs("span", { className: "crewlet-finding-list__message", children: [
|
|
45
|
+
/* @__PURE__ */ jsx(VisuallyHidden, { children: `${words[f.tone]}: ` }),
|
|
46
|
+
f.message
|
|
47
|
+
] })
|
|
48
|
+
] })
|
|
49
|
+
] });
|
|
50
|
+
return /* @__PURE__ */ jsx("li", { className: "crewlet-finding-list__item", children: f.onSelect ? /* @__PURE__ */ jsx(
|
|
51
|
+
"button",
|
|
52
|
+
{
|
|
53
|
+
type: "button",
|
|
54
|
+
className: "crewlet-finding-list__row",
|
|
55
|
+
onClick: f.onSelect,
|
|
56
|
+
children: body
|
|
57
|
+
}
|
|
58
|
+
) : /* @__PURE__ */ jsx("div", { className: "crewlet-finding-list__row", children: body }) }, f.key);
|
|
59
|
+
})
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export { FindingList };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Select } from './chunk-AYVRS4LD.js';
|
|
2
2
|
import { Modal } from './chunk-OG4GX2TB.js';
|
|
3
3
|
import { CopyButton } from './chunk-AVK7RRQ4.js';
|
|
4
|
-
import { Callout } from './chunk-
|
|
4
|
+
import { Callout } from './chunk-RCQLXOGS.js';
|
|
5
5
|
import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
6
6
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
7
7
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
2
|
-
import './Callout-
|
|
2
|
+
import './Callout-WLZKAFPT.css';
|
|
3
3
|
import { CircleAlertGlyph, TriangleAlertGlyph, CircleCheckGlyph, InfoGlyph } from '@crewlethq/icons/glyphs';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -15,6 +15,7 @@ var Callout = ({
|
|
|
15
15
|
title,
|
|
16
16
|
icon,
|
|
17
17
|
layout = "card",
|
|
18
|
+
appearance = "tinted",
|
|
18
19
|
action,
|
|
19
20
|
live,
|
|
20
21
|
className,
|
|
@@ -25,7 +26,13 @@ var Callout = ({
|
|
|
25
26
|
{
|
|
26
27
|
...rest,
|
|
27
28
|
"aria-live": live,
|
|
28
|
-
className: cx(
|
|
29
|
+
className: cx(
|
|
30
|
+
"crewlet-callout",
|
|
31
|
+
`crewlet-callout--${variant}`,
|
|
32
|
+
`crewlet-callout--${layout}`,
|
|
33
|
+
appearance === "quiet" && "crewlet-callout--quiet",
|
|
34
|
+
className
|
|
35
|
+
),
|
|
29
36
|
children: [
|
|
30
37
|
/* @__PURE__ */ jsx("span", { className: "crewlet-callout__icon", "aria-hidden": true, children: icon ?? GLYPHS[variant] }),
|
|
31
38
|
/* @__PURE__ */ jsxs("div", { className: "crewlet-callout__content", children: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
2
|
-
import { Callout } from './chunk-
|
|
2
|
+
import { Callout } from './chunk-RCQLXOGS.js';
|
|
3
3
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
4
4
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
5
5
|
import './RichEditor-5CF3QV3J.css';
|
package/dist/generated/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference
|
|
|
5
5
|
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-DVZRAYX3.js';
|
|
6
6
|
export { VersionTimeline } from '../chunk-RM5RKPFV.js';
|
|
7
7
|
export { WidgetFrame } from '../chunk-5ZTH54O6.js';
|
|
8
|
-
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-
|
|
8
|
+
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-I4V4GUVM.js';
|
|
9
9
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-SG3MDOVO.js';
|
|
10
10
|
export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from '../chunk-25CL7J4J.js';
|
|
11
11
|
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-ZJQNN7ZJ.js';
|
|
@@ -17,19 +17,19 @@ export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTh
|
|
|
17
17
|
export { ThinkingIndicator } from '../chunk-DX7ZHO47.js';
|
|
18
18
|
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-I5HJ6Y6E.js';
|
|
19
19
|
export { TileGrid } from '../chunk-UFID3DSP.js';
|
|
20
|
-
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-V3ZKGVC2.js';
|
|
21
20
|
export { Switcher } from '../chunk-I4FO353C.js';
|
|
21
|
+
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-V3ZKGVC2.js';
|
|
22
22
|
export { TagsInput } from '../chunk-A5VNNA3V.js';
|
|
23
23
|
export { StatGroup } from '../chunk-OUD75UB2.js';
|
|
24
24
|
export { Statement } from '../chunk-MZJKPTA5.js';
|
|
25
25
|
export { StatusLegend } from '../chunk-CXFMNOPV.js';
|
|
26
26
|
export { StatusLine } from '../chunk-435WY2WT.js';
|
|
27
27
|
export { SLIDE_COMPARE_LABELS, SlideCompare } from '../chunk-FSCJV5M5.js';
|
|
28
|
-
export { SlideFilmstrip } from '../chunk-L3PK6KON.js';
|
|
29
28
|
export { SlideGrid } from '../chunk-73L3774J.js';
|
|
30
29
|
export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from '../chunk-S656HY4W.js';
|
|
30
|
+
export { SlideFilmstrip } from '../chunk-L3PK6KON.js';
|
|
31
31
|
export { StatCard } from '../chunk-2YADDY4A.js';
|
|
32
|
-
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-
|
|
32
|
+
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-JXE4SCYV.js';
|
|
33
33
|
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-YJ2V7QSY.js';
|
|
34
34
|
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-BWSO2YRR.js';
|
|
35
35
|
export { TagGroup } from '../chunk-FOUIZS7Q.js';
|
|
@@ -39,14 +39,14 @@ export { SegmentedMeter, segmentedMeterLabel } from '../chunk-4AK52VHB.js';
|
|
|
39
39
|
export { SelectionBar } from '../chunk-XIKU44QE.js';
|
|
40
40
|
export { SEND_BUTTON_LABELS, SendButton } from '../chunk-PNSUXNNY.js';
|
|
41
41
|
export { SettingsTable, SettingsTableRow } from '../chunk-SOYPCCSJ.js';
|
|
42
|
-
export { SetupWizard } from '../chunk-
|
|
43
|
-
export { RichEditor, preloadRichEditor } from '../chunk-
|
|
42
|
+
export { SetupWizard } from '../chunk-WLL3PFI3.js';
|
|
43
|
+
export { RichEditor, preloadRichEditor } from '../chunk-VB7KAQBN.js';
|
|
44
44
|
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
45
45
|
export { canonicalMarkdown, roundTripMarkdown } from '../chunk-GBASM5EV.js';
|
|
46
46
|
import '../chunk-7CSTEH5I.js';
|
|
47
|
-
export { RoomRow } from '../chunk-
|
|
47
|
+
export { RoomRow } from '../chunk-45OOFAL6.js';
|
|
48
48
|
export { RUN_STATES, RunChip } from '../chunk-L6SYLG3F.js';
|
|
49
|
-
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-
|
|
49
|
+
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-4EKHHHOQ.js';
|
|
50
50
|
export { SearchTrigger } from '../chunk-ERNT3UTB.js';
|
|
51
51
|
export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-EFY7R766.js';
|
|
52
52
|
export { RecordChip, RecordChipList } from '../chunk-GMQ54OQF.js';
|
|
@@ -59,10 +59,10 @@ export { PrincipalPicker } from '../chunk-NSUMHNUS.js';
|
|
|
59
59
|
export { PropertyList } from '../chunk-4PEPSGCZ.js';
|
|
60
60
|
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-OBPLHZMV.js';
|
|
61
61
|
export { Prose } from '../chunk-DVVP27OD.js';
|
|
62
|
-
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from '../chunk-Y56FM3K4.js';
|
|
63
62
|
export { RAIL_LIST_LABELS, RailList } from '../chunk-5PHBOCIX.js';
|
|
64
63
|
export { Select } from '../chunk-AYVRS4LD.js';
|
|
65
64
|
export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-SM2MM4DQ.js';
|
|
65
|
+
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from '../chunk-Y56FM3K4.js';
|
|
66
66
|
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-LZCGLS7U.js';
|
|
67
67
|
export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-XZ47PWVD.js';
|
|
68
68
|
export { PresenceStack } from '../chunk-MTIW75QU.js';
|
|
@@ -84,11 +84,11 @@ export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-T4TKY4VZ.js';
|
|
|
84
84
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from '../chunk-5AORKQ5Q.js';
|
|
85
85
|
export { OrgLabel } from '../chunk-DEVO45TG.js';
|
|
86
86
|
export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from '../chunk-GTS35WLS.js';
|
|
87
|
-
export { MentionChip } from '../chunk-SYOMUNKU.js';
|
|
88
87
|
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-KTH2KXZY.js';
|
|
89
88
|
export { PersonRow } from '../chunk-XROJ6XQ3.js';
|
|
90
89
|
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-SAHYQ53P.js';
|
|
91
90
|
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-NHCY563I.js';
|
|
91
|
+
export { MentionChip } from '../chunk-SYOMUNKU.js';
|
|
92
92
|
export { MessageBubble } from '../chunk-KAQ2L74F.js';
|
|
93
93
|
export { ListInput, withDraft } from '../chunk-N4O345GS.js';
|
|
94
94
|
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-DPNVKWJX.js';
|
|
@@ -100,27 +100,27 @@ export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
|
|
|
100
100
|
export { Link } from '../chunk-JZI7SIM6.js';
|
|
101
101
|
export { LinkCard } from '../chunk-346EXHOR.js';
|
|
102
102
|
import '../chunk-KOJPDCGQ.js';
|
|
103
|
-
export {
|
|
104
|
-
export {
|
|
103
|
+
export { LinkInterstitial, openExternal } from '../chunk-IMNCBQVO.js';
|
|
104
|
+
export { List, ListItem } from '../chunk-GAQU5V5R.js';
|
|
105
105
|
export { ListDetail, ListDetailBack } from '../chunk-DNBIBLT2.js';
|
|
106
|
-
export {
|
|
106
|
+
export { IndicatorAnchor } from '../chunk-27MJPU7G.js';
|
|
107
107
|
export { INLINE_EDITOR_LABELS, InlineEditor } from '../chunk-WMZ2MROV.js';
|
|
108
108
|
export { InlineRef } from '../chunk-ACXYNJZR.js';
|
|
109
109
|
export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from '../chunk-KBZO4B33.js';
|
|
110
110
|
export { KeyValueRows, keyValueRowsLabels } from '../chunk-Q7WKCU2U.js';
|
|
111
|
-
export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
|
|
112
111
|
export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_OPEN_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, routeGraphEdges } from '../chunk-DSBKVP73.js';
|
|
113
112
|
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';
|
|
113
|
+
export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
|
|
114
114
|
import '../chunk-MICRGE3J.js';
|
|
115
115
|
import '../chunk-FFMCMSJB.js';
|
|
116
116
|
export { IconTile } from '../chunk-VRVNLJUA.js';
|
|
117
117
|
export { ImageUpload } from '../chunk-K6Y6CDEZ.js';
|
|
118
|
-
export {
|
|
119
|
-
export { FileList } from '../chunk-FQBSYMEW.js';
|
|
118
|
+
export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from '../chunk-MLSDZFBN.js';
|
|
120
119
|
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from '../chunk-L6HUVA33.js';
|
|
121
|
-
export {
|
|
120
|
+
export { FileList } from '../chunk-FQBSYMEW.js';
|
|
121
|
+
export { FindingList } from '../chunk-J2GRBRGK.js';
|
|
122
122
|
export { FolderTile, describeFolderContents, folderContentsParts } from '../chunk-PFZKJXEA.js';
|
|
123
|
-
export { FollowBanner } from '../chunk-
|
|
123
|
+
export { FollowBanner } from '../chunk-YKLYMQ6J.js';
|
|
124
124
|
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';
|
|
125
125
|
export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from '../chunk-ZXXDZJQN.js';
|
|
126
126
|
export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from '../chunk-3JLG6KRU.js';
|
|
@@ -137,10 +137,7 @@ export { DownloadButton } from '../chunk-GCRACVZO.js';
|
|
|
137
137
|
export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-YNRKVY7X.js';
|
|
138
138
|
export { EditingStatus } from '../chunk-KRF3GQ63.js';
|
|
139
139
|
export { EMOJI_GROUPS, EMOJI_GROUP_GLYPHS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from '../chunk-YCKDBXHQ.js';
|
|
140
|
-
export {
|
|
141
|
-
export { PageHeader } from '../chunk-FPDIHEM4.js';
|
|
142
|
-
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from '../chunk-E4QX4VET.js';
|
|
143
|
-
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-AQZPZYSY.js';
|
|
140
|
+
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-OHXOUHTX.js';
|
|
144
141
|
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-P42LNYRX.js';
|
|
145
142
|
export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from '../chunk-EHD4CEHK.js';
|
|
146
143
|
export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from '../chunk-MXOT2CWL.js';
|
|
@@ -154,13 +151,16 @@ export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatCo
|
|
|
154
151
|
export { CursorFlag } from '../chunk-MMCYH5LB.js';
|
|
155
152
|
export { PresenceRing, presenceHueClass } from '../chunk-EFX2YC5T.js';
|
|
156
153
|
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-OFNJE4BN.js';
|
|
154
|
+
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-7RG5WLBS.js';
|
|
155
|
+
export { PageHeader } from '../chunk-FPDIHEM4.js';
|
|
156
|
+
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from '../chunk-E4QX4VET.js';
|
|
157
|
+
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-AQZPZYSY.js';
|
|
157
158
|
export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-FOXA6UZS.js';
|
|
158
|
-
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-OHXOUHTX.js';
|
|
159
159
|
export { Combobox } from '../chunk-WUJ54OTI.js';
|
|
160
|
-
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-BF3PFRBE.js';
|
|
161
160
|
export { CommandPalette } from '../chunk-L34X7Q6C.js';
|
|
162
161
|
export { ConfirmModal, Modal } from '../chunk-OG4GX2TB.js';
|
|
163
162
|
export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from '../chunk-KW7T23RT.js';
|
|
163
|
+
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-BF3PFRBE.js';
|
|
164
164
|
export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from '../chunk-QFI5C4YF.js';
|
|
165
165
|
export { LockedLabel } from '../chunk-TODOBUXO.js';
|
|
166
166
|
export { ConfirmField, confirmMatches } from '../chunk-BODW4JH3.js';
|
|
@@ -168,11 +168,11 @@ export { InlineCode } from '../chunk-PPGDH32L.js';
|
|
|
168
168
|
export { CONFLICT_NOTE_LABELS, ConflictNote } from '../chunk-DM3BTGBZ.js';
|
|
169
169
|
export { Container } from '../chunk-HJO4WCH6.js';
|
|
170
170
|
export { CHIP_FIELD_LABELS, ChipField } from '../chunk-YUW4DD2Z.js';
|
|
171
|
-
export { ChoiceButtons } from '../chunk-AHW3K3SH.js';
|
|
172
171
|
export { ChoiceCards } from '../chunk-FHPHRIPO.js';
|
|
172
|
+
export { ChoiceButtons } from '../chunk-AHW3K3SH.js';
|
|
173
173
|
export { ChoiceList } from '../chunk-XU7RQNT6.js';
|
|
174
|
-
export { ColorChip } from '../chunk-C6T4VBEY.js';
|
|
175
174
|
export { CodeBlock } from '../chunk-Y7F23SAX.js';
|
|
175
|
+
export { ColorChip } from '../chunk-C6T4VBEY.js';
|
|
176
176
|
export { ColorField } from '../chunk-UQA7SV3B.js';
|
|
177
177
|
export { ColorSwatch } from '../chunk-W25SEC3I.js';
|
|
178
178
|
export { CopyButton, Copyable } from '../chunk-AVK7RRQ4.js';
|
|
@@ -182,15 +182,11 @@ import '../chunk-3L5NHASN.js';
|
|
|
182
182
|
export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, StackedRing, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from '../chunk-ZY5322MJ.js';
|
|
183
183
|
export { ChatDay, ChatDayPill } from '../chunk-RBQOS3JC.js';
|
|
184
184
|
export { ChatDivider } from '../chunk-EI242VTX.js';
|
|
185
|
-
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-KTKPC3CV.js';
|
|
186
|
-
export { CheckGrid } from '../chunk-AYLFZW27.js';
|
|
187
185
|
import '../chunk-5QJNA7KD.js';
|
|
186
|
+
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-KTKPC3CV.js';
|
|
188
187
|
export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from '../chunk-Y3EV3Q2U.js';
|
|
189
|
-
export {
|
|
190
|
-
export { Note } from '../chunk-YJPQJVRJ.js';
|
|
188
|
+
export { CheckGrid } from '../chunk-AYLFZW27.js';
|
|
191
189
|
export { CanvasSchematic } from '../chunk-NBWNLYWZ.js';
|
|
192
|
-
export { CanvasToolbar, toolForKey } from '../chunk-T2FJN6C6.js';
|
|
193
|
-
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
|
|
194
190
|
export { CatalogTile } from '../chunk-JKEGFDBG.js';
|
|
195
191
|
export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from '../chunk-NB53SAL4.js';
|
|
196
192
|
export { DIFF_LIST_LABELS, DiffList } from '../chunk-RGJB34YN.js';
|
|
@@ -208,7 +204,11 @@ export { SuggestionList, SuggestionRow } from '../chunk-IR3OWPAZ.js';
|
|
|
208
204
|
import '../chunk-6C7GQOBV.js';
|
|
209
205
|
export { StatusCard } from '../chunk-7L75YB57.js';
|
|
210
206
|
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from '../chunk-EE3DJMSQ.js';
|
|
211
|
-
export { Callout } from '../chunk-
|
|
207
|
+
export { Callout } from '../chunk-RCQLXOGS.js';
|
|
208
|
+
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-5UNIA2VJ.js';
|
|
209
|
+
export { Note } from '../chunk-YJPQJVRJ.js';
|
|
210
|
+
export { CanvasToolbar, toolForKey } from '../chunk-T2FJN6C6.js';
|
|
211
|
+
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
|
|
212
212
|
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-GKHZSNIV.js';
|
|
213
213
|
import '../chunk-X4HBZSXA.js';
|
|
214
214
|
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from '../chunk-7UQQEUOT.js';
|
|
@@ -249,7 +249,7 @@ export { Switch } from '../chunk-6YYRFGXO.js';
|
|
|
249
249
|
export { DEFAULT_REORDER_LABELS, moveKey, useReorder, useReorderLists } from '../chunk-JMBPMSNI.js';
|
|
250
250
|
export { Checkbox, CheckboxGroup } from '../chunk-KFTVPWG2.js';
|
|
251
251
|
export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from '../chunk-DOY3KC6I.js';
|
|
252
|
-
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from '../chunk-
|
|
252
|
+
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from '../chunk-G3NIP7AZ.js';
|
|
253
253
|
import '../chunk-KWXVG3CH.js';
|
|
254
254
|
export { SegmentedControl } from '../chunk-4PKMM3EZ.js';
|
|
255
255
|
export { TabPanel, Tabs, tabId } from '../chunk-GIYIKUJE.js';
|
|
@@ -261,11 +261,11 @@ export { Menu } from '../chunk-35S25WJZ.js';
|
|
|
261
261
|
export { ACCESS_DENIED_REASONS, AccessDeniedCard } from '../chunk-QTMUKRTN.js';
|
|
262
262
|
export { EmptyState } from '../chunk-PPUR46MK.js';
|
|
263
263
|
export { Accordion, AccordionItem } from '../chunk-3QEAANRP.js';
|
|
264
|
-
export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from '../chunk-OM2LABPS.js';
|
|
265
264
|
export { ActivityLine } from '../chunk-BG4GI5W3.js';
|
|
266
265
|
export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from '../chunk-SFO4KY65.js';
|
|
267
266
|
export { AvatarStack, avatarStackLabel } from '../chunk-5SMYKL3D.js';
|
|
268
267
|
export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RANGE, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, Avatar, avatarCorner, avatarInitialsName, avatarPixels, avatarTint, getInitials } from '../chunk-XZY6S3UC.js';
|
|
268
|
+
export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from '../chunk-OM2LABPS.js';
|
|
269
269
|
export { ADD_PILL_MS, AddPill } from '../chunk-5W3EYO5Q.js';
|
|
270
270
|
export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-NZFYX5UF.js';
|
|
271
271
|
export { Timeline, TimelineItem } from '../chunk-XDUXAQIS.js';
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference
|
|
|
5
5
|
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-DVZRAYX3.js';
|
|
6
6
|
export { VersionTimeline } from './chunk-RM5RKPFV.js';
|
|
7
7
|
export { WidgetFrame } from './chunk-5ZTH54O6.js';
|
|
8
|
-
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-
|
|
8
|
+
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-I4V4GUVM.js';
|
|
9
9
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-SG3MDOVO.js';
|
|
10
10
|
export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from './chunk-25CL7J4J.js';
|
|
11
11
|
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from './chunk-ZJQNN7ZJ.js';
|
|
@@ -17,19 +17,19 @@ export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTh
|
|
|
17
17
|
export { ThinkingIndicator } from './chunk-DX7ZHO47.js';
|
|
18
18
|
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-I5HJ6Y6E.js';
|
|
19
19
|
export { TileGrid } from './chunk-UFID3DSP.js';
|
|
20
|
-
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from './chunk-V3ZKGVC2.js';
|
|
21
20
|
export { Switcher } from './chunk-I4FO353C.js';
|
|
21
|
+
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from './chunk-V3ZKGVC2.js';
|
|
22
22
|
export { TagsInput } from './chunk-A5VNNA3V.js';
|
|
23
23
|
export { StatGroup } from './chunk-OUD75UB2.js';
|
|
24
24
|
export { Statement } from './chunk-MZJKPTA5.js';
|
|
25
25
|
export { StatusLegend } from './chunk-CXFMNOPV.js';
|
|
26
26
|
export { StatusLine } from './chunk-435WY2WT.js';
|
|
27
27
|
export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-FSCJV5M5.js';
|
|
28
|
-
export { SlideFilmstrip } from './chunk-L3PK6KON.js';
|
|
29
28
|
export { SlideGrid } from './chunk-73L3774J.js';
|
|
30
29
|
export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from './chunk-S656HY4W.js';
|
|
30
|
+
export { SlideFilmstrip } from './chunk-L3PK6KON.js';
|
|
31
31
|
export { StatCard } from './chunk-2YADDY4A.js';
|
|
32
|
-
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-
|
|
32
|
+
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-JXE4SCYV.js';
|
|
33
33
|
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-YJ2V7QSY.js';
|
|
34
34
|
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from './chunk-BWSO2YRR.js';
|
|
35
35
|
export { TagGroup } from './chunk-FOUIZS7Q.js';
|
|
@@ -39,14 +39,14 @@ export { SegmentedMeter, segmentedMeterLabel } from './chunk-4AK52VHB.js';
|
|
|
39
39
|
export { SelectionBar } from './chunk-XIKU44QE.js';
|
|
40
40
|
export { SEND_BUTTON_LABELS, SendButton } from './chunk-PNSUXNNY.js';
|
|
41
41
|
export { SettingsTable, SettingsTableRow } from './chunk-SOYPCCSJ.js';
|
|
42
|
-
export { SetupWizard } from './chunk-
|
|
43
|
-
export { RichEditor, preloadRichEditor } from './chunk-
|
|
42
|
+
export { SetupWizard } from './chunk-WLL3PFI3.js';
|
|
43
|
+
export { RichEditor, preloadRichEditor } from './chunk-VB7KAQBN.js';
|
|
44
44
|
export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
45
45
|
export { canonicalMarkdown, roundTripMarkdown } from './chunk-GBASM5EV.js';
|
|
46
46
|
import './chunk-7CSTEH5I.js';
|
|
47
|
-
export { RoomRow } from './chunk-
|
|
47
|
+
export { RoomRow } from './chunk-45OOFAL6.js';
|
|
48
48
|
export { RUN_STATES, RunChip } from './chunk-L6SYLG3F.js';
|
|
49
|
-
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-
|
|
49
|
+
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-4EKHHHOQ.js';
|
|
50
50
|
export { SearchTrigger } from './chunk-ERNT3UTB.js';
|
|
51
51
|
export { SectionFrame, SectionFrameBody, SectionFrameNav } from './chunk-EFY7R766.js';
|
|
52
52
|
export { RecordChip, RecordChipList } from './chunk-GMQ54OQF.js';
|
|
@@ -59,10 +59,10 @@ export { PrincipalPicker } from './chunk-NSUMHNUS.js';
|
|
|
59
59
|
export { PropertyList } from './chunk-4PEPSGCZ.js';
|
|
60
60
|
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-OBPLHZMV.js';
|
|
61
61
|
export { Prose } from './chunk-DVVP27OD.js';
|
|
62
|
-
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.js';
|
|
63
62
|
export { RAIL_LIST_LABELS, RailList } from './chunk-5PHBOCIX.js';
|
|
64
63
|
export { Select } from './chunk-AYVRS4LD.js';
|
|
65
64
|
export { NavDivider, NavGroup, NavItem, SidebarNav } from './chunk-SM2MM4DQ.js';
|
|
65
|
+
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.js';
|
|
66
66
|
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from './chunk-LZCGLS7U.js';
|
|
67
67
|
export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from './chunk-XZ47PWVD.js';
|
|
68
68
|
export { PresenceStack } from './chunk-MTIW75QU.js';
|
|
@@ -84,11 +84,11 @@ export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from './chunk-T4TKY4VZ.js';
|
|
|
84
84
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from './chunk-5AORKQ5Q.js';
|
|
85
85
|
export { OrgLabel } from './chunk-DEVO45TG.js';
|
|
86
86
|
export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from './chunk-GTS35WLS.js';
|
|
87
|
-
export { MentionChip } from './chunk-SYOMUNKU.js';
|
|
88
87
|
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './chunk-KTH2KXZY.js';
|
|
89
88
|
export { PersonRow } from './chunk-XROJ6XQ3.js';
|
|
90
89
|
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-SAHYQ53P.js';
|
|
91
90
|
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from './chunk-NHCY563I.js';
|
|
91
|
+
export { MentionChip } from './chunk-SYOMUNKU.js';
|
|
92
92
|
export { MessageBubble } from './chunk-KAQ2L74F.js';
|
|
93
93
|
export { ListInput, withDraft } from './chunk-N4O345GS.js';
|
|
94
94
|
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.js';
|
|
@@ -100,27 +100,27 @@ export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
|
|
|
100
100
|
export { Link } from './chunk-JZI7SIM6.js';
|
|
101
101
|
export { LinkCard } from './chunk-346EXHOR.js';
|
|
102
102
|
import './chunk-KOJPDCGQ.js';
|
|
103
|
-
export {
|
|
104
|
-
export {
|
|
103
|
+
export { LinkInterstitial, openExternal } from './chunk-IMNCBQVO.js';
|
|
104
|
+
export { List, ListItem } from './chunk-GAQU5V5R.js';
|
|
105
105
|
export { ListDetail, ListDetailBack } from './chunk-DNBIBLT2.js';
|
|
106
|
-
export {
|
|
106
|
+
export { IndicatorAnchor } from './chunk-27MJPU7G.js';
|
|
107
107
|
export { INLINE_EDITOR_LABELS, InlineEditor } from './chunk-WMZ2MROV.js';
|
|
108
108
|
export { InlineRef } from './chunk-ACXYNJZR.js';
|
|
109
109
|
export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-KBZO4B33.js';
|
|
110
110
|
export { KeyValueRows, keyValueRowsLabels } from './chunk-Q7WKCU2U.js';
|
|
111
|
-
export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
|
|
112
111
|
export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_OPEN_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, routeGraphEdges } from './chunk-DSBKVP73.js';
|
|
113
112
|
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';
|
|
113
|
+
export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
|
|
114
114
|
import './chunk-MICRGE3J.js';
|
|
115
115
|
import './chunk-FFMCMSJB.js';
|
|
116
116
|
export { IconTile } from './chunk-VRVNLJUA.js';
|
|
117
117
|
export { ImageUpload } from './chunk-K6Y6CDEZ.js';
|
|
118
|
-
export {
|
|
119
|
-
export { FileList } from './chunk-FQBSYMEW.js';
|
|
118
|
+
export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from './chunk-MLSDZFBN.js';
|
|
120
119
|
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from './chunk-L6HUVA33.js';
|
|
121
|
-
export {
|
|
120
|
+
export { FileList } from './chunk-FQBSYMEW.js';
|
|
121
|
+
export { FindingList } from './chunk-J2GRBRGK.js';
|
|
122
122
|
export { FolderTile, describeFolderContents, folderContentsParts } from './chunk-PFZKJXEA.js';
|
|
123
|
-
export { FollowBanner } from './chunk-
|
|
123
|
+
export { FollowBanner } from './chunk-YKLYMQ6J.js';
|
|
124
124
|
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';
|
|
125
125
|
export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from './chunk-ZXXDZJQN.js';
|
|
126
126
|
export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from './chunk-3JLG6KRU.js';
|
|
@@ -137,10 +137,7 @@ export { DownloadButton } from './chunk-GCRACVZO.js';
|
|
|
137
137
|
export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-YNRKVY7X.js';
|
|
138
138
|
export { EditingStatus } from './chunk-KRF3GQ63.js';
|
|
139
139
|
export { EMOJI_GROUPS, EMOJI_GROUP_GLYPHS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from './chunk-YCKDBXHQ.js';
|
|
140
|
-
export {
|
|
141
|
-
export { PageHeader } from './chunk-FPDIHEM4.js';
|
|
142
|
-
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from './chunk-E4QX4VET.js';
|
|
143
|
-
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from './chunk-AQZPZYSY.js';
|
|
140
|
+
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-OHXOUHTX.js';
|
|
144
141
|
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from './chunk-P42LNYRX.js';
|
|
145
142
|
export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from './chunk-EHD4CEHK.js';
|
|
146
143
|
export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from './chunk-MXOT2CWL.js';
|
|
@@ -154,13 +151,16 @@ export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatCo
|
|
|
154
151
|
export { CursorFlag } from './chunk-MMCYH5LB.js';
|
|
155
152
|
export { PresenceRing, presenceHueClass } from './chunk-EFX2YC5T.js';
|
|
156
153
|
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from './chunk-OFNJE4BN.js';
|
|
154
|
+
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from './chunk-7RG5WLBS.js';
|
|
155
|
+
export { PageHeader } from './chunk-FPDIHEM4.js';
|
|
156
|
+
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from './chunk-E4QX4VET.js';
|
|
157
|
+
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from './chunk-AQZPZYSY.js';
|
|
157
158
|
export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from './chunk-FOXA6UZS.js';
|
|
158
|
-
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-OHXOUHTX.js';
|
|
159
159
|
export { Combobox } from './chunk-WUJ54OTI.js';
|
|
160
|
-
export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-BF3PFRBE.js';
|
|
161
160
|
export { CommandPalette } from './chunk-L34X7Q6C.js';
|
|
162
161
|
export { ConfirmModal, Modal } from './chunk-OG4GX2TB.js';
|
|
163
162
|
export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
163
|
+
export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-BF3PFRBE.js';
|
|
164
164
|
export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from './chunk-QFI5C4YF.js';
|
|
165
165
|
export { LockedLabel } from './chunk-TODOBUXO.js';
|
|
166
166
|
export { ConfirmField, confirmMatches } from './chunk-BODW4JH3.js';
|
|
@@ -168,11 +168,11 @@ export { InlineCode } from './chunk-PPGDH32L.js';
|
|
|
168
168
|
export { CONFLICT_NOTE_LABELS, ConflictNote } from './chunk-DM3BTGBZ.js';
|
|
169
169
|
export { Container } from './chunk-HJO4WCH6.js';
|
|
170
170
|
export { CHIP_FIELD_LABELS, ChipField } from './chunk-YUW4DD2Z.js';
|
|
171
|
-
export { ChoiceButtons } from './chunk-AHW3K3SH.js';
|
|
172
171
|
export { ChoiceCards } from './chunk-FHPHRIPO.js';
|
|
172
|
+
export { ChoiceButtons } from './chunk-AHW3K3SH.js';
|
|
173
173
|
export { ChoiceList } from './chunk-XU7RQNT6.js';
|
|
174
|
-
export { ColorChip } from './chunk-C6T4VBEY.js';
|
|
175
174
|
export { CodeBlock } from './chunk-Y7F23SAX.js';
|
|
175
|
+
export { ColorChip } from './chunk-C6T4VBEY.js';
|
|
176
176
|
export { ColorField } from './chunk-UQA7SV3B.js';
|
|
177
177
|
export { ColorSwatch } from './chunk-W25SEC3I.js';
|
|
178
178
|
export { CopyButton, Copyable } from './chunk-AVK7RRQ4.js';
|
|
@@ -182,15 +182,11 @@ import './chunk-3L5NHASN.js';
|
|
|
182
182
|
export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, StackedRing, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from './chunk-ZY5322MJ.js';
|
|
183
183
|
export { ChatDay, ChatDayPill } from './chunk-RBQOS3JC.js';
|
|
184
184
|
export { ChatDivider } from './chunk-EI242VTX.js';
|
|
185
|
-
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from './chunk-KTKPC3CV.js';
|
|
186
|
-
export { CheckGrid } from './chunk-AYLFZW27.js';
|
|
187
185
|
import './chunk-5QJNA7KD.js';
|
|
186
|
+
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from './chunk-KTKPC3CV.js';
|
|
188
187
|
export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from './chunk-Y3EV3Q2U.js';
|
|
189
|
-
export {
|
|
190
|
-
export { Note } from './chunk-YJPQJVRJ.js';
|
|
188
|
+
export { CheckGrid } from './chunk-AYLFZW27.js';
|
|
191
189
|
export { CanvasSchematic } from './chunk-NBWNLYWZ.js';
|
|
192
|
-
export { CanvasToolbar, toolForKey } from './chunk-T2FJN6C6.js';
|
|
193
|
-
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
|
|
194
190
|
export { CatalogTile } from './chunk-JKEGFDBG.js';
|
|
195
191
|
export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from './chunk-NB53SAL4.js';
|
|
196
192
|
export { DIFF_LIST_LABELS, DiffList } from './chunk-RGJB34YN.js';
|
|
@@ -208,7 +204,11 @@ export { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
|
|
|
208
204
|
import './chunk-6C7GQOBV.js';
|
|
209
205
|
export { StatusCard } from './chunk-7L75YB57.js';
|
|
210
206
|
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
|
|
211
|
-
export { Callout } from './chunk-
|
|
207
|
+
export { Callout } from './chunk-RCQLXOGS.js';
|
|
208
|
+
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-5UNIA2VJ.js';
|
|
209
|
+
export { Note } from './chunk-YJPQJVRJ.js';
|
|
210
|
+
export { CanvasToolbar, toolForKey } from './chunk-T2FJN6C6.js';
|
|
211
|
+
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
|
|
212
212
|
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-GKHZSNIV.js';
|
|
213
213
|
import './chunk-X4HBZSXA.js';
|
|
214
214
|
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from './chunk-7UQQEUOT.js';
|
|
@@ -249,7 +249,7 @@ export { Switch } from './chunk-6YYRFGXO.js';
|
|
|
249
249
|
export { DEFAULT_REORDER_LABELS, moveKey, useReorder, useReorderLists } from './chunk-JMBPMSNI.js';
|
|
250
250
|
export { Checkbox, CheckboxGroup } from './chunk-KFTVPWG2.js';
|
|
251
251
|
export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from './chunk-DOY3KC6I.js';
|
|
252
|
-
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from './chunk-
|
|
252
|
+
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from './chunk-G3NIP7AZ.js';
|
|
253
253
|
import './chunk-KWXVG3CH.js';
|
|
254
254
|
export { SegmentedControl } from './chunk-4PKMM3EZ.js';
|
|
255
255
|
export { TabPanel, Tabs, tabId } from './chunk-GIYIKUJE.js';
|
|
@@ -261,11 +261,11 @@ export { Menu } from './chunk-35S25WJZ.js';
|
|
|
261
261
|
export { ACCESS_DENIED_REASONS, AccessDeniedCard } from './chunk-QTMUKRTN.js';
|
|
262
262
|
export { EmptyState } from './chunk-PPUR46MK.js';
|
|
263
263
|
export { Accordion, AccordionItem } from './chunk-3QEAANRP.js';
|
|
264
|
-
export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from './chunk-OM2LABPS.js';
|
|
265
264
|
export { ActivityLine } from './chunk-BG4GI5W3.js';
|
|
266
265
|
export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from './chunk-SFO4KY65.js';
|
|
267
266
|
export { AvatarStack, avatarStackLabel } from './chunk-5SMYKL3D.js';
|
|
268
267
|
export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RANGE, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, Avatar, avatarCorner, avatarInitialsName, avatarPixels, avatarTint, getInitials } from './chunk-XZY6S3UC.js';
|
|
268
|
+
export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from './chunk-OM2LABPS.js';
|
|
269
269
|
export { ADD_PILL_MS, AddPill } from './chunk-5W3EYO5Q.js';
|
|
270
270
|
export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from './chunk-NZFYX5UF.js';
|
|
271
271
|
export { Timeline, TimelineItem } from './chunk-XDUXAQIS.js';
|
package/dist/styles.css
CHANGED
|
@@ -7329,7 +7329,7 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
|
|
|
7329
7329
|
}
|
|
7330
7330
|
|
|
7331
7331
|
|
|
7332
|
-
/* Callout-
|
|
7332
|
+
/* Callout-WLZKAFPT.css */
|
|
7333
7333
|
/*
|
|
7334
7334
|
* The callout: a status that stays in the content flow.
|
|
7335
7335
|
*
|
|
@@ -7399,6 +7399,9 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
|
|
|
7399
7399
|
|
|
7400
7400
|
.crewlet-callout__content {
|
|
7401
7401
|
min-width: 0;
|
|
7402
|
+
/* A word no line can hold (a path, an address) breaks rather than pushing
|
|
7403
|
+
past the callout's own edge, whatever element inside carries it. */
|
|
7404
|
+
overflow-wrap: anywhere;
|
|
7402
7405
|
padding-block: var(--crewlet-callout-lead, 0px);
|
|
7403
7406
|
}
|
|
7404
7407
|
|
|
@@ -7493,6 +7496,26 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
|
|
|
7493
7496
|
padding: var(--spacing-2) var(--spacing-4);
|
|
7494
7497
|
}
|
|
7495
7498
|
|
|
7499
|
+
/* ── appearances ───────────────────────────────────────────────────────── */
|
|
7500
|
+
|
|
7501
|
+
/*
|
|
7502
|
+
* QUIET: the tone on the glyph and the leading edge alone, the words in the
|
|
7503
|
+
* page's own ink on a quiet surface. For a callout that holds a reading (a
|
|
7504
|
+
* reviewer's reasons, a list of findings), where a full tint behind several
|
|
7505
|
+
* paragraphs outshouts the controls beside it and the tone's ink on every
|
|
7506
|
+
* line makes each of them a warning. The glyph still says which tone this
|
|
7507
|
+
* is, so the hue is never the only carrier here either.
|
|
7508
|
+
*/
|
|
7509
|
+
.crewlet-callout--quiet {
|
|
7510
|
+
border-inline-start: 2px solid var(--crewlet-callout-ink);
|
|
7511
|
+
background: var(--color-surface-inset);
|
|
7512
|
+
color: var(--color-text-primary);
|
|
7513
|
+
}
|
|
7514
|
+
|
|
7515
|
+
.crewlet-callout--quiet > .crewlet-callout__icon {
|
|
7516
|
+
color: var(--crewlet-callout-ink);
|
|
7517
|
+
}
|
|
7518
|
+
|
|
7496
7519
|
|
|
7497
7520
|
/* Canvas-UQVR7IUL.css */
|
|
7498
7521
|
/*
|
|
@@ -22741,7 +22764,7 @@ button.crewlet-filter-pill__words {
|
|
|
22741
22764
|
}
|
|
22742
22765
|
|
|
22743
22766
|
|
|
22744
|
-
/* FindingList-
|
|
22767
|
+
/* FindingList-5P2W5MIB.css */
|
|
22745
22768
|
/*
|
|
22746
22769
|
* What a checker found: a quiet list, one row each, the tone's glyph in its
|
|
22747
22770
|
* ink, the location in mono over the sentence. A row that goes somewhere takes
|
|
@@ -22826,6 +22849,30 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
22826
22849
|
overflow-wrap: anywhere;
|
|
22827
22850
|
}
|
|
22828
22851
|
|
|
22852
|
+
/*
|
|
22853
|
+
* COMPACT: rows a small step apart, in the size and leading of the passage
|
|
22854
|
+
* the list stands in, so a finding reads as one more line of it. A row that
|
|
22855
|
+
* goes nowhere has no hover ground to keep, so it gives up its side padding
|
|
22856
|
+
* too and its glyph stands on the edge the words around the list start from.
|
|
22857
|
+
*/
|
|
22858
|
+
.crewlet-finding-list--compact .crewlet-finding-list__row {
|
|
22859
|
+
padding-block: var(--spacing-1);
|
|
22860
|
+
}
|
|
22861
|
+
|
|
22862
|
+
.crewlet-finding-list--compact div.crewlet-finding-list__row {
|
|
22863
|
+
padding-inline: 0;
|
|
22864
|
+
}
|
|
22865
|
+
|
|
22866
|
+
.crewlet-finding-list--compact .crewlet-finding-list__message {
|
|
22867
|
+
font-size: inherit;
|
|
22868
|
+
line-height: inherit;
|
|
22869
|
+
}
|
|
22870
|
+
|
|
22871
|
+
/* The glyph's box is the inherited line, which the message now shares. */
|
|
22872
|
+
.crewlet-finding-list--compact .crewlet-finding-list__row:not(:has(.crewlet-finding-list__location)) > .crewlet-finding-list__glyph {
|
|
22873
|
+
height: 1lh;
|
|
22874
|
+
}
|
|
22875
|
+
|
|
22829
22876
|
|
|
22830
22877
|
/* FolderTile-NM7CRTVH.css */
|
|
22831
22878
|
/*
|
|
@@ -27308,7 +27355,7 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
|
|
|
27308
27355
|
}
|
|
27309
27356
|
|
|
27310
27357
|
|
|
27311
|
-
/* List-
|
|
27358
|
+
/* List-DG77FXA6.css */
|
|
27312
27359
|
/*
|
|
27313
27360
|
* The non-tabular list. One row recipe, four framings.
|
|
27314
27361
|
*
|
|
@@ -27433,6 +27480,21 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
|
|
|
27433
27480
|
list-style: revert;
|
|
27434
27481
|
}
|
|
27435
27482
|
|
|
27483
|
+
/*
|
|
27484
|
+
* A BULLETED LIST'S MARKER IS ITS OWN, not its ancestors'. `revert` hands the
|
|
27485
|
+
* choice to the browser, which draws a hollow circle for any list inside
|
|
27486
|
+
* another, one whose rows carry no marker at all included: a card's list of
|
|
27487
|
+
* rows turned every bulleted list in it hollow. The disc is stated, and only
|
|
27488
|
+
* a bulleted list inside a bulleted one steps to the circle.
|
|
27489
|
+
*/
|
|
27490
|
+
.crewlet-list--bulleted {
|
|
27491
|
+
list-style-type: disc;
|
|
27492
|
+
}
|
|
27493
|
+
|
|
27494
|
+
.crewlet-list--bulleted .crewlet-list--bulleted {
|
|
27495
|
+
list-style-type: circle;
|
|
27496
|
+
}
|
|
27497
|
+
|
|
27436
27498
|
.crewlet-list--bulleted .crewlet-list__item,
|
|
27437
27499
|
.crewlet-list--numbered .crewlet-list__item {
|
|
27438
27500
|
display: list-item;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.125.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.
|
|
46
|
-
"@crewlethq/tokens": "0.
|
|
45
|
+
"@crewlethq/icons": "0.125.0",
|
|
46
|
+
"@crewlethq/tokens": "0.125.0",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
package/dist/chunk-NEPNJMTD.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
2
|
-
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './FindingList-MPLA2ZTO.css';
|
|
4
|
-
import { CircleAlertGlyph, TriangleAlertGlyph } from '@crewlethq/icons/glyphs';
|
|
5
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
var TONE_LABELS = {
|
|
8
|
-
danger: "Problem",
|
|
9
|
-
warning: "Advice"
|
|
10
|
-
};
|
|
11
|
-
function FindingList({
|
|
12
|
-
findings,
|
|
13
|
-
label,
|
|
14
|
-
toneLabels,
|
|
15
|
-
className
|
|
16
|
-
}) {
|
|
17
|
-
const words = { ...TONE_LABELS, ...toneLabels };
|
|
18
|
-
const ordered = [
|
|
19
|
-
...findings.filter((f) => f.tone === "danger"),
|
|
20
|
-
...findings.filter((f) => f.tone === "warning")
|
|
21
|
-
];
|
|
22
|
-
return /* @__PURE__ */ jsx("ul", { className: cx("crewlet-finding-list", className), "aria-label": label, children: ordered.map((f) => {
|
|
23
|
-
const body = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
24
|
-
/* @__PURE__ */ jsx(
|
|
25
|
-
"span",
|
|
26
|
-
{
|
|
27
|
-
className: cx("crewlet-finding-list__glyph", `is-${f.tone}`),
|
|
28
|
-
"aria-hidden": "true",
|
|
29
|
-
children: f.tone === "danger" ? /* @__PURE__ */ jsx(CircleAlertGlyph, { size: "sm" }) : /* @__PURE__ */ jsx(TriangleAlertGlyph, { size: "sm" })
|
|
30
|
-
}
|
|
31
|
-
),
|
|
32
|
-
/* @__PURE__ */ jsxs("span", { className: "crewlet-finding-list__text", children: [
|
|
33
|
-
f.location ? /* @__PURE__ */ jsx("span", { className: "crewlet-finding-list__location", children: f.location }) : null,
|
|
34
|
-
/* @__PURE__ */ jsxs("span", { className: "crewlet-finding-list__message", children: [
|
|
35
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: `${words[f.tone]}: ` }),
|
|
36
|
-
f.message
|
|
37
|
-
] })
|
|
38
|
-
] })
|
|
39
|
-
] });
|
|
40
|
-
return /* @__PURE__ */ jsx("li", { className: "crewlet-finding-list__item", children: f.onSelect ? /* @__PURE__ */ jsx(
|
|
41
|
-
"button",
|
|
42
|
-
{
|
|
43
|
-
type: "button",
|
|
44
|
-
className: "crewlet-finding-list__row",
|
|
45
|
-
onClick: f.onSelect,
|
|
46
|
-
children: body
|
|
47
|
-
}
|
|
48
|
-
) : /* @__PURE__ */ jsx("div", { className: "crewlet-finding-list__row", children: body }) }, f.key);
|
|
49
|
-
}) });
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export { FindingList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PageHeader } from './chunk-FPDIHEM4.js';
|
|
2
1
|
import { Stepper } from './chunk-EHD4CEHK.js';
|
|
2
|
+
import { PageHeader } from './chunk-FPDIHEM4.js';
|
|
3
3
|
import { Disclosure } from './chunk-D5O64CVE.js';
|
|
4
4
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
5
5
|
import { useHeadingLevel, nextHeadingLevel, headingTag, HeadingLevelProvider } from './chunk-PQADV6P6.js';
|