@crewlethq/ui 0.71.0 → 0.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -1
- package/dist/AgentHandoffPanel/index.js +4 -4
- package/dist/ArrangeFrame/index.js +2 -2
- package/dist/ArrangeList/index.js +4 -4
- package/dist/ArtifactCard/index.js +4 -4
- package/dist/BriefCard/BriefCard.d.ts +48 -35
- package/dist/BriefCard/index.d.ts +2 -2
- package/dist/BriefCard/index.js +1 -1
- package/dist/{BriefCard-L66R5U32.css → BriefCard-VKTH3BSW.css} +33 -45
- package/dist/Checkbox/index.js +3 -3
- package/dist/ColorField/index.js +3 -3
- package/dist/Combobox/index.js +3 -3
- package/dist/CommandPalette/index.js +3 -3
- package/dist/CommentThread/index.js +4 -4
- package/dist/Composer/index.js +3 -3
- package/dist/ConfirmField/index.js +3 -3
- package/dist/DataGrid/index.js +4 -4
- package/dist/DataTable/index.js +4 -4
- package/dist/DataView/index.js +5 -5
- package/dist/DeepWorkCard/index.js +2 -2
- package/dist/DocTabsEditor/index.js +3 -3
- package/dist/{Editor-NNQEALNT.js → Editor-6PBP444G.js} +2 -2
- package/dist/Input/index.js +2 -2
- package/dist/ListInput/index.js +3 -3
- package/dist/PresenterView/index.js +2 -2
- package/dist/PrincipalPicker/index.js +4 -4
- package/dist/ProposalCard/index.js +4 -4
- package/dist/RecordChip/RecordChip.d.ts +46 -0
- package/dist/RecordChip/RecordChipList.d.ts +17 -0
- package/dist/RecordChip/index.d.ts +5 -0
- package/dist/RecordChip/index.js +6 -0
- package/dist/RecordChip-53J66RA6.css +184 -0
- package/dist/ResultTableCard/index.js +2 -2
- package/dist/RichEditor/index.js +1 -1
- package/dist/SelectionBar/index.js +2 -2
- package/dist/SheetColumnEditor/index.js +4 -4
- package/dist/SheetGrid/index.js +1 -1
- package/dist/SlideFilmstrip/index.js +1 -1
- package/dist/Switcher/index.js +3 -3
- package/dist/Table/Table.d.ts +29 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-RUYMMWXT.css → Table-MN3FIA2O.css} +28 -0
- package/dist/TagsInput/index.js +2 -2
- package/dist/TimeRangePicker/index.js +3 -3
- package/dist/TimeWindowPicker/index.js +3 -3
- package/dist/ValueField/index.js +4 -4
- package/dist/{chunk-3EETQFAM.js → chunk-4HCYBQ6B.js} +1 -1
- package/dist/chunk-4KSCGXLJ.js +106 -0
- package/dist/{chunk-H32JW6CZ.js → chunk-52D5EFHL.js} +2 -2
- package/dist/chunk-75NQV4R4.js +72 -0
- package/dist/{chunk-J5WWMC35.js → chunk-AMYU5W2H.js} +2 -2
- package/dist/{chunk-KAA3GFTP.js → chunk-AWQQ5I34.js} +2 -2
- package/dist/chunk-BFM5G2Z6.js +60 -0
- package/dist/{chunk-3LP3VPLT.js → chunk-BW6MQO2B.js} +1 -1
- package/dist/{chunk-6C6YK75K.js → chunk-EKZFB34W.js} +1 -1
- package/dist/{chunk-LQWORB5B.js → chunk-F5QBQP63.js} +2 -2
- package/dist/{chunk-PBCNINMB.js → chunk-FFWMTIMH.js} +1 -1
- package/dist/{chunk-YGWIWDXE.js → chunk-FX7FDPCM.js} +1 -1
- package/dist/{chunk-4MVLED6E.js → chunk-H6S6NRZL.js} +1 -1
- package/dist/{chunk-BWFJB5JD.js → chunk-HGWHIUZ5.js} +1 -1
- package/dist/{chunk-ADSOY7UM.js → chunk-I7YQNRTQ.js} +1 -1
- package/dist/{chunk-MFQPGMJT.js → chunk-IXPC5D36.js} +1 -1
- package/dist/{chunk-7LSSYHOT.js → chunk-J7INWERB.js} +1 -1
- package/dist/{chunk-SO5SXSTP.js → chunk-JXJNX7QQ.js} +1 -1
- package/dist/{chunk-FURJVZCT.js → chunk-LEM3ZY35.js} +1 -1
- package/dist/{chunk-JVII5264.js → chunk-LQXYAB2Q.js} +1 -1
- package/dist/{chunk-5OFRDX66.js → chunk-NATDVYEY.js} +1 -1
- package/dist/{chunk-W5AXJWOW.js → chunk-O4NQVNO5.js} +1 -1
- package/dist/{chunk-ZUBFVK6B.js → chunk-OFARYSWS.js} +1 -1
- package/dist/{chunk-3EY5SEGH.js → chunk-OSMR6TSC.js} +1 -1
- package/dist/{chunk-NXNLAZPK.js → chunk-SPWBT7FE.js} +1 -1
- package/dist/{chunk-BWAUL5MB.js → chunk-YAL6VBRK.js} +2 -2
- package/dist/{chunk-TWJERLT3.js → chunk-YZSG3JIY.js} +1 -1
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +64 -63
- package/dist/index.js +64 -63
- package/dist/styles.css +250 -47
- package/package.json +3 -3
- package/dist/chunk-5DJMFRSZ.js +0 -58
- package/dist/chunk-VBA5FSWV.js +0 -87
- package/dist/{chunk-HEIOLITO.js → chunk-5VMAJAVF.js} +1 -1
- package/dist/{chunk-ABZC3NLM.js → chunk-ABGLGAFJ.js} +0 -0
- package/dist/{chunk-PLNJEDGI.js → chunk-I4IO56EY.js} +1 -1
- package/dist/{chunk-P64MIA7C.js → chunk-JKMBC4NB.js} +1 -1
- package/dist/{chunk-V6X3DJ2G.js → chunk-PRN5IP2R.js} +1 -1
- package/dist/{chunk-L4HHWG4V.js → chunk-V2EV56MY.js} +1 -1
- package/dist/{chunk-ETSF7SU6.js → chunk-ZMML6NRS.js} +1 -1
|
@@ -2,10 +2,9 @@ import { richEditorLabels } from './chunk-CSQTDGTS.js';
|
|
|
2
2
|
import { schema, readMarkdown, writeMarkdown } from './chunk-QH6VYJ3X.js';
|
|
3
3
|
import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-BAKPMH3S.js';
|
|
4
4
|
import { Toolbar } from './chunk-NR4CPM4T.js';
|
|
5
|
-
import { FormField, Input } from './chunk-
|
|
5
|
+
import { FormField, Input } from './chunk-ZMML6NRS.js';
|
|
6
6
|
import './chunk-PGCLHYVP.js';
|
|
7
7
|
import './chunk-PQADV6P6.js';
|
|
8
|
-
import './chunk-2G355KDJ.js';
|
|
9
8
|
import { Menu } from './chunk-OQG4P5KU.js';
|
|
10
9
|
import { Button } from './chunk-DGXZ635L.js';
|
|
11
10
|
import { placePopup, viewportBounds } from './chunk-OMV5W53A.js';
|
|
@@ -13,6 +12,7 @@ import './chunk-XSPCITPN.js';
|
|
|
13
12
|
import { usePopupLayer } from './chunk-H5XTJ7GJ.js';
|
|
14
13
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
15
14
|
import './chunk-NUZHC6MM.js';
|
|
15
|
+
import './chunk-2G355KDJ.js';
|
|
16
16
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
17
17
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
18
18
|
import { forwardRef, useMemo, useRef, useState, useId, useSyncExternalStore, useCallback, useLayoutEffect, useEffect, useImperativeHandle } from 'react';
|
package/dist/Input/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea, foldLineBreaks } from '../chunk-
|
|
1
|
+
export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea, foldLineBreaks } from '../chunk-ZMML6NRS.js';
|
|
2
2
|
import '../chunk-PGCLHYVP.js';
|
|
3
3
|
import '../chunk-PQADV6P6.js';
|
|
4
|
-
import '../chunk-2G355KDJ.js';
|
|
5
4
|
import '../chunk-H5XTJ7GJ.js';
|
|
6
5
|
import '../chunk-UAUP6XGK.js';
|
|
7
6
|
import '../chunk-NUZHC6MM.js';
|
|
7
|
+
import '../chunk-2G355KDJ.js';
|
|
8
8
|
import '../chunk-UT6CW3C7.js';
|
|
9
9
|
import '../chunk-ODEQTPFM.js';
|
package/dist/ListInput/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { ListInput, withDraft } from '../chunk-
|
|
1
|
+
export { ListInput, withDraft } from '../chunk-52D5EFHL.js';
|
|
2
2
|
import '../chunk-MPVMB2DV.js';
|
|
3
3
|
import '../chunk-ANTAQAR4.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-ZMML6NRS.js';
|
|
5
5
|
import '../chunk-PGCLHYVP.js';
|
|
6
6
|
import '../chunk-PQADV6P6.js';
|
|
7
|
-
import '../chunk-2G355KDJ.js';
|
|
8
7
|
import '../chunk-DGXZ635L.js';
|
|
9
8
|
import '../chunk-OMV5W53A.js';
|
|
10
9
|
import '../chunk-XSPCITPN.js';
|
|
11
10
|
import '../chunk-H5XTJ7GJ.js';
|
|
12
11
|
import '../chunk-UAUP6XGK.js';
|
|
13
12
|
import '../chunk-NUZHC6MM.js';
|
|
13
|
+
import '../chunk-2G355KDJ.js';
|
|
14
14
|
import '../chunk-UT6CW3C7.js';
|
|
15
15
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { PresenterView, formatStopwatch } from '../chunk-
|
|
2
|
-
import '../chunk-RMEBFYL7.js';
|
|
1
|
+
export { PresenterView, formatStopwatch } from '../chunk-PRN5IP2R.js';
|
|
3
2
|
import '../chunk-5AJR6X75.js';
|
|
3
|
+
import '../chunk-RMEBFYL7.js';
|
|
4
4
|
import '../chunk-RK4XPHVG.js';
|
|
5
5
|
import '../chunk-DGXZ635L.js';
|
|
6
6
|
import '../chunk-OMV5W53A.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { PrincipalPicker } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { PrincipalPicker } from '../chunk-IXPC5D36.js';
|
|
2
|
+
import '../chunk-OFARYSWS.js';
|
|
3
3
|
import '../chunk-7KHM2FZH.js';
|
|
4
4
|
import '../chunk-CI3VPIJN.js';
|
|
5
5
|
import '../chunk-BKP6XCAJ.js';
|
|
6
6
|
import '../chunk-PZKHBB7D.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-ZMML6NRS.js';
|
|
8
8
|
import '../chunk-PGCLHYVP.js';
|
|
9
9
|
import '../chunk-PQADV6P6.js';
|
|
10
|
-
import '../chunk-2G355KDJ.js';
|
|
11
10
|
import '../chunk-2YTOOH3A.js';
|
|
12
11
|
import '../chunk-H5XTJ7GJ.js';
|
|
13
12
|
import '../chunk-UAUP6XGK.js';
|
|
14
13
|
import '../chunk-NUZHC6MM.js';
|
|
14
|
+
import '../chunk-2G355KDJ.js';
|
|
15
15
|
import '../chunk-UT6CW3C7.js';
|
|
16
16
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-
|
|
1
|
+
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-OSMR6TSC.js';
|
|
2
2
|
import '../chunk-ZWCK4N4L.js';
|
|
3
3
|
import '../chunk-WQRSZMN4.js';
|
|
4
4
|
import '../chunk-LR4IWUWQ.js';
|
|
@@ -7,18 +7,18 @@ import '../chunk-I5OIKDX2.js';
|
|
|
7
7
|
import '../chunk-WIATRXEJ.js';
|
|
8
8
|
import '../chunk-4AUTALJA.js';
|
|
9
9
|
import '../chunk-AV2DXAEL.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-FFWMTIMH.js';
|
|
11
11
|
import '../chunk-222VILSP.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-ZMML6NRS.js';
|
|
13
13
|
import '../chunk-PGCLHYVP.js';
|
|
14
14
|
import '../chunk-IVTQWOXV.js';
|
|
15
15
|
import '../chunk-MLDTLZAO.js';
|
|
16
16
|
import '../chunk-PQADV6P6.js';
|
|
17
|
-
import '../chunk-2G355KDJ.js';
|
|
18
17
|
import '../chunk-DGXZ635L.js';
|
|
19
18
|
import '../chunk-XSPCITPN.js';
|
|
20
19
|
import '../chunk-H5XTJ7GJ.js';
|
|
21
20
|
import '../chunk-UAUP6XGK.js';
|
|
22
21
|
import '../chunk-NUZHC6MM.js';
|
|
22
|
+
import '../chunk-2G355KDJ.js';
|
|
23
23
|
import '../chunk-UT6CW3C7.js';
|
|
24
24
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface RecordChipProps {
|
|
3
|
+
/** The record's short key, set in mono: "GOP-11". */
|
|
4
|
+
code?: string | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* What the chip says where the record has no key ("QA", "Decisions waiting
|
|
7
|
+
* on you"). With a key, the key is what the chip says.
|
|
8
|
+
*/
|
|
9
|
+
label?: string | undefined;
|
|
10
|
+
/** The record's full name, at the head of the peek: "Android 12 crash when lesson audio starts". */
|
|
11
|
+
title: string;
|
|
12
|
+
/** The record's kind as a glyph, before the key. Decoration. */
|
|
13
|
+
glyph?: ReactNode;
|
|
14
|
+
/** What the peek holds under the name: a few facts, a short table. */
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
/** The peek's controls, at its foot: the way to the record, a download. */
|
|
17
|
+
actions?: ReactNode;
|
|
18
|
+
/** One line of context in the peek's head, under the name: "Task · In progress". */
|
|
19
|
+
meta?: ReactNode;
|
|
20
|
+
className?: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A record named inside a sentence, as a chip that opens a PEEK: its name, a
|
|
24
|
+
* few facts and the way to it, without leaving the sentence.
|
|
25
|
+
*
|
|
26
|
+
* WHY IT EXISTS. An answer that names GOP-11 and also draws a card for it says
|
|
27
|
+
* the same record twice, the card a long way under the sentence that needed
|
|
28
|
+
* it. The chip puts the record where the words already are, and costs the
|
|
29
|
+
* line no height: it is the text's own size, on its baseline, exactly one of
|
|
30
|
+
* the line's own lines tall, hairline included.
|
|
31
|
+
*
|
|
32
|
+
* WHAT IT MAY POINT AT. The host draws a chip only for a record it read and
|
|
33
|
+
* resolved itself; the words around it are prose, and a chip is never made
|
|
34
|
+
* from a key the prose merely spells.
|
|
35
|
+
*
|
|
36
|
+
* A BUTTON THAT OPENS A DIALOG. The peek is a named `Popover` dialog, so focus
|
|
37
|
+
* moves into it when it opens. Escape, Tab out of it, or a control inside it
|
|
38
|
+
* that closes it hands focus back to the chip; a press outside closes it and
|
|
39
|
+
* leaves focus where that press put it. A key chip's name is the key and the
|
|
40
|
+
* record's name after it, so a reader moving by control hears what it opens;
|
|
41
|
+
* a label chip's name is its label, which already names the record.
|
|
42
|
+
*
|
|
43
|
+
* A LONG LABEL IS CUT AT THE LINE'S END and carries its whole text as the
|
|
44
|
+
* chip's title, so a pointer reader can still read it.
|
|
45
|
+
*/
|
|
46
|
+
export declare function RecordChip({ code, label, title, glyph, children, actions, meta, className }: RecordChipProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
export interface RecordChipListProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
3
|
+
/** The line's lead, which also names the list: "Also read". */
|
|
4
|
+
label: string;
|
|
5
|
+
/** The records, each a `RecordChip`. */
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Records named on one quiet line under what they support, as chips: what an
|
|
10
|
+
* answer read but never named in its words ("Also read GOP-2 QA").
|
|
11
|
+
*
|
|
12
|
+
* A LIST NAMED BY ITS LEAD, so a screen reader hears "Also read, list, 3
|
|
13
|
+
* items" and then each chip, and the lead is drawn once rather than said
|
|
14
|
+
* again by every chip. The chips wrap onto further lines at a narrow width;
|
|
15
|
+
* the line is in the caption register, a step quieter than the text above it.
|
|
16
|
+
*/
|
|
17
|
+
export declare function RecordChipList({ label, children, className, ...rest }: RecordChipListProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* A record inside a sentence. The text's own size on the text's own
|
|
3
|
+
* baseline, so a line holding one is no taller than a line without: a quiet
|
|
4
|
+
* hairline, the inset ground, and the key in mono.
|
|
5
|
+
*/
|
|
6
|
+
.crewlet-record-chip {
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
gap: var(--spacing-1);
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
margin: 0 1px;
|
|
12
|
+
padding: 0 var(--spacing-1);
|
|
13
|
+
border: 1px solid var(--color-border-default);
|
|
14
|
+
border-radius: var(--radius-xs);
|
|
15
|
+
background: var(--color-surface-inset);
|
|
16
|
+
color: var(--color-text-primary);
|
|
17
|
+
font: inherit;
|
|
18
|
+
font-weight: var(--font-weight-medium);
|
|
19
|
+
/*
|
|
20
|
+
* EXACTLY ONE OF THE LINE'S OWN LINES, hairline included: `1lh` is the
|
|
21
|
+
* line-height the chip inherits, and the two pixels are its top and bottom
|
|
22
|
+
* border. At the snug step a label chip stood 20.2px in a 19.5px line and
|
|
23
|
+
* moved every line it sat on by a pixel.
|
|
24
|
+
*/
|
|
25
|
+
line-height: calc(1lh - 2px);
|
|
26
|
+
/*
|
|
27
|
+
* TOP, NOT BASELINE: a key chip's text is mono at the micro step under the
|
|
28
|
+
* parent's absolute leading, and on the baseline it sat about a pixel off
|
|
29
|
+
* its neighbours' and pushed its line to 20.5px. At the line's top it is
|
|
30
|
+
* the line's own height (19.5px in a 19.5px line) with the key within half
|
|
31
|
+
* a pixel of the surrounding baseline.
|
|
32
|
+
*/
|
|
33
|
+
vertical-align: top;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
transition:
|
|
36
|
+
background var(--motion-duration-fast) var(--motion-easing-default),
|
|
37
|
+
border-color var(--motion-duration-fast) var(--motion-easing-default);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.crewlet-record-chip:hover,
|
|
41
|
+
.crewlet-record-chip[data-open] {
|
|
42
|
+
border-color: var(--color-border-hover);
|
|
43
|
+
background: var(--color-surface-hover);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* The chip draws its own hairline, so the ring lands on it rather than standing off it. */
|
|
47
|
+
.crewlet-record-chip:focus-visible {
|
|
48
|
+
outline: 2px solid var(--color-focus);
|
|
49
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.crewlet-record-chip--code .crewlet-record-chip__text {
|
|
53
|
+
font-family: var(--font-family-mono);
|
|
54
|
+
font-size: var(--font-size-xs);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.crewlet-record-chip__text {
|
|
58
|
+
min-width: 0;
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
text-overflow: ellipsis;
|
|
61
|
+
white-space: nowrap;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.crewlet-record-chip__glyph {
|
|
65
|
+
display: inline-flex;
|
|
66
|
+
flex: none;
|
|
67
|
+
color: var(--color-text-tertiary);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* THE PEEK: a name, a few facts and the way to it, at the panel's own inset. */
|
|
71
|
+
.crewlet-popover.crewlet-record-chip__peek {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
gap: var(--spacing-2);
|
|
75
|
+
max-height: min(420px, 70vh);
|
|
76
|
+
padding: var(--spacing-3);
|
|
77
|
+
font-size: var(--font-size-compact);
|
|
78
|
+
color: var(--color-text-primary);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.crewlet-record-chip__head {
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: flex-start;
|
|
84
|
+
gap: var(--spacing-2);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.crewlet-record-chip__head-glyph {
|
|
88
|
+
display: inline-flex;
|
|
89
|
+
flex: none;
|
|
90
|
+
align-items: center;
|
|
91
|
+
height: 1lh;
|
|
92
|
+
color: var(--color-text-tertiary);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.crewlet-record-chip__head-words {
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-direction: column;
|
|
98
|
+
gap: 2px;
|
|
99
|
+
min-width: 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.crewlet-record-chip__name {
|
|
103
|
+
margin: 0;
|
|
104
|
+
font-weight: var(--font-weight-medium);
|
|
105
|
+
line-height: var(--font-line-height-normal);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.crewlet-record-chip__name-code {
|
|
109
|
+
font-family: var(--font-family-mono);
|
|
110
|
+
font-size: var(--font-size-xs);
|
|
111
|
+
font-weight: var(--font-weight-regular);
|
|
112
|
+
color: var(--color-text-secondary);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.crewlet-record-chip__meta {
|
|
116
|
+
margin: 0;
|
|
117
|
+
font-size: var(--font-size-xs);
|
|
118
|
+
color: var(--color-text-tertiary);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.crewlet-record-chip__body {
|
|
122
|
+
display: flex;
|
|
123
|
+
flex-direction: column;
|
|
124
|
+
gap: var(--spacing-2);
|
|
125
|
+
min-width: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* Utilities start on the text edge, a ghost button's padding pulled into the gutter. */
|
|
129
|
+
.crewlet-record-chip__actions {
|
|
130
|
+
display: flex;
|
|
131
|
+
flex-wrap: wrap;
|
|
132
|
+
align-items: center;
|
|
133
|
+
gap: var(--spacing-1);
|
|
134
|
+
margin-inline-start: calc(-1 * (var(--spacing-2) + 1px));
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@media (prefers-reduced-motion: reduce) {
|
|
138
|
+
.crewlet-record-chip {
|
|
139
|
+
transition: none;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/* THE ALSO READ LINE: a caption-register lead and the chips after it, wrapping. */
|
|
144
|
+
.crewlet-record-chip-list {
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-wrap: wrap;
|
|
147
|
+
align-items: baseline;
|
|
148
|
+
gap: var(--spacing-1) var(--spacing-2);
|
|
149
|
+
min-width: 0;
|
|
150
|
+
font-size: var(--font-size-xs);
|
|
151
|
+
line-height: var(--font-line-height-normal);
|
|
152
|
+
color: var(--color-text-secondary);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.crewlet-record-chip-list__label {
|
|
156
|
+
flex: none;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/*
|
|
160
|
+
* THE LIST IS THE WRAPPING ROW. Not `display: contents`, which older WebKit
|
|
161
|
+
* and Chromium drop from the accessibility tree along with the list's name,
|
|
162
|
+
* so "Also read, list, 3 items" was never said.
|
|
163
|
+
*/
|
|
164
|
+
.crewlet-record-chip-list__items {
|
|
165
|
+
display: flex;
|
|
166
|
+
flex: 1 1 auto;
|
|
167
|
+
flex-wrap: wrap;
|
|
168
|
+
align-items: baseline;
|
|
169
|
+
gap: var(--spacing-1) var(--spacing-2);
|
|
170
|
+
min-width: 0;
|
|
171
|
+
margin: 0;
|
|
172
|
+
padding: 0;
|
|
173
|
+
list-style: none;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.crewlet-record-chip-list__item {
|
|
177
|
+
display: inline-flex;
|
|
178
|
+
min-width: 0;
|
|
179
|
+
max-width: 100%;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.crewlet-record-chip-list .crewlet-record-chip {
|
|
183
|
+
margin: 0;
|
|
184
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from '../chunk-JXJNX7QQ.js';
|
|
2
|
+
import '../chunk-75NQV4R4.js';
|
|
3
3
|
import '../chunk-EHFQMY3B.js';
|
|
4
4
|
import '../chunk-YNRKVY7X.js';
|
|
5
5
|
import '../chunk-DTIW4CHZ.js';
|
package/dist/RichEditor/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { RichEditor, preloadRichEditor } from '../chunk-
|
|
1
|
+
export { RichEditor, preloadRichEditor } from '../chunk-BW6MQO2B.js';
|
|
2
2
|
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-CSQTDGTS.js';
|
|
3
3
|
import '../chunk-BAKPMH3S.js';
|
|
4
4
|
import '../chunk-BPCY7ZID.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { SelectionBar } from '../chunk-
|
|
1
|
+
export { SelectionBar } from '../chunk-V2EV56MY.js';
|
|
2
2
|
import '../chunk-NR4CPM4T.js';
|
|
3
|
-
import '../chunk-2G355KDJ.js';
|
|
4
3
|
import '../chunk-DGXZ635L.js';
|
|
5
4
|
import '../chunk-OMV5W53A.js';
|
|
6
5
|
import '../chunk-XSPCITPN.js';
|
|
7
6
|
import '../chunk-H5XTJ7GJ.js';
|
|
8
7
|
import '../chunk-NUZHC6MM.js';
|
|
8
|
+
import '../chunk-2G355KDJ.js';
|
|
9
9
|
import '../chunk-UT6CW3C7.js';
|
|
10
10
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-
|
|
1
|
+
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-AWQQ5I34.js';
|
|
2
2
|
import '../chunk-VK45YJLH.js';
|
|
3
3
|
import '../chunk-FFMCMSJB.js';
|
|
4
4
|
import '../chunk-7KHM2FZH.js';
|
|
@@ -10,13 +10,12 @@ import '../chunk-TYIHFDMP.js';
|
|
|
10
10
|
import '../chunk-IPUEVTRJ.js';
|
|
11
11
|
import '../chunk-EGMQURBR.js';
|
|
12
12
|
import '../chunk-WIATRXEJ.js';
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-FFWMTIMH.js';
|
|
14
14
|
import '../chunk-ANTAQAR4.js';
|
|
15
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-ZMML6NRS.js';
|
|
16
16
|
import '../chunk-PGCLHYVP.js';
|
|
17
17
|
import '../chunk-MLDTLZAO.js';
|
|
18
18
|
import '../chunk-PQADV6P6.js';
|
|
19
|
-
import '../chunk-2G355KDJ.js';
|
|
20
19
|
import '../chunk-OQG4P5KU.js';
|
|
21
20
|
import '../chunk-DGXZ635L.js';
|
|
22
21
|
import '../chunk-OMV5W53A.js';
|
|
@@ -25,5 +24,6 @@ import '../chunk-XSPCITPN.js';
|
|
|
25
24
|
import '../chunk-H5XTJ7GJ.js';
|
|
26
25
|
import '../chunk-UAUP6XGK.js';
|
|
27
26
|
import '../chunk-NUZHC6MM.js';
|
|
27
|
+
import '../chunk-2G355KDJ.js';
|
|
28
28
|
import '../chunk-UT6CW3C7.js';
|
|
29
29
|
import '../chunk-ODEQTPFM.js';
|
package/dist/SheetGrid/index.js
CHANGED
|
@@ -13,7 +13,6 @@ import '../chunk-I33UIUZD.js';
|
|
|
13
13
|
import '../chunk-WIATRXEJ.js';
|
|
14
14
|
import '../chunk-BKP6XCAJ.js';
|
|
15
15
|
import '../chunk-PZKHBB7D.js';
|
|
16
|
-
import '../chunk-2G355KDJ.js';
|
|
17
16
|
import '../chunk-OQG4P5KU.js';
|
|
18
17
|
import '../chunk-DGXZ635L.js';
|
|
19
18
|
import '../chunk-OMV5W53A.js';
|
|
@@ -21,5 +20,6 @@ import '../chunk-XSPCITPN.js';
|
|
|
21
20
|
import '../chunk-H5XTJ7GJ.js';
|
|
22
21
|
import '../chunk-UAUP6XGK.js';
|
|
23
22
|
import '../chunk-NUZHC6MM.js';
|
|
23
|
+
import '../chunk-2G355KDJ.js';
|
|
24
24
|
import '../chunk-UT6CW3C7.js';
|
|
25
25
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -2,7 +2,6 @@ export { SlideFilmstrip } from '../chunk-TPCBPGSB.js';
|
|
|
2
2
|
import '../chunk-RMEBFYL7.js';
|
|
3
3
|
import '../chunk-MPVMB2DV.js';
|
|
4
4
|
import '../chunk-ANTAQAR4.js';
|
|
5
|
-
import '../chunk-2G355KDJ.js';
|
|
6
5
|
import '../chunk-OQG4P5KU.js';
|
|
7
6
|
import '../chunk-DGXZ635L.js';
|
|
8
7
|
import '../chunk-OMV5W53A.js';
|
|
@@ -10,5 +9,6 @@ import '../chunk-XSPCITPN.js';
|
|
|
10
9
|
import '../chunk-H5XTJ7GJ.js';
|
|
11
10
|
import '../chunk-UAUP6XGK.js';
|
|
12
11
|
import '../chunk-NUZHC6MM.js';
|
|
12
|
+
import '../chunk-2G355KDJ.js';
|
|
13
13
|
import '../chunk-UT6CW3C7.js';
|
|
14
14
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Switcher/index.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
export { Switcher } from '../chunk-
|
|
1
|
+
export { Switcher } from '../chunk-F5QBQP63.js';
|
|
2
2
|
import '../chunk-C667GCU7.js';
|
|
3
3
|
import '../chunk-7KHM2FZH.js';
|
|
4
4
|
import '../chunk-KHJIEPZV.js';
|
|
5
5
|
import '../chunk-HBDA76EZ.js';
|
|
6
6
|
import '../chunk-BRLZXYPA.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-ZMML6NRS.js';
|
|
8
8
|
import '../chunk-PGCLHYVP.js';
|
|
9
9
|
import '../chunk-PQADV6P6.js';
|
|
10
|
-
import '../chunk-2G355KDJ.js';
|
|
11
10
|
import '../chunk-RTPQDNW3.js';
|
|
12
11
|
import '../chunk-DGXZ635L.js';
|
|
13
12
|
import '../chunk-OMV5W53A.js';
|
|
@@ -15,5 +14,6 @@ import '../chunk-XSPCITPN.js';
|
|
|
15
14
|
import '../chunk-H5XTJ7GJ.js';
|
|
16
15
|
import '../chunk-UAUP6XGK.js';
|
|
17
16
|
import '../chunk-NUZHC6MM.js';
|
|
17
|
+
import '../chunk-2G355KDJ.js';
|
|
18
18
|
import '../chunk-UT6CW3C7.js';
|
|
19
19
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Table/Table.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export interface TableActionButton {
|
|
|
24
24
|
}
|
|
25
25
|
/** Which edge a column's cells stand against: `start` for words, `end` for figures. */
|
|
26
26
|
export type TableColumnAlign = 'start' | 'end';
|
|
27
|
-
|
|
27
|
+
interface TableBaseProps {
|
|
28
28
|
headers: ReactNode[];
|
|
29
29
|
/** One array per row, in the header's own order. Cells may be any node. */
|
|
30
30
|
data: ReactNode[][];
|
|
@@ -69,4 +69,31 @@ export interface TableProps {
|
|
|
69
69
|
maxHeight?: string;
|
|
70
70
|
className?: string;
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
/**
|
|
73
|
+
* How the columns share the width. NOWRAP NEEDS COLUMNS SIZED BY THEIR WORDS:
|
|
74
|
+
* under the grid's equal columns a cell held to one line runs into the next
|
|
75
|
+
* one, so the type offers `nowrap` only with `columns="content"`, where the
|
|
76
|
+
* column grows to hold it.
|
|
77
|
+
*/
|
|
78
|
+
type TableColumnsProps = {
|
|
79
|
+
/** `even` (the default): the grid's equal columns. */
|
|
80
|
+
columns?: 'even' | undefined;
|
|
81
|
+
nowrap?: undefined;
|
|
82
|
+
} | {
|
|
83
|
+
/**
|
|
84
|
+
* `content`: each column takes the room its words ask for, as a result
|
|
85
|
+
* read beside an answer wants. A sentence wraps between words, a token
|
|
86
|
+
* longer than the table wraps anywhere rather than push the table
|
|
87
|
+
* sideways, and the figures (`end` columns) never wrap.
|
|
88
|
+
*/
|
|
89
|
+
columns: 'content';
|
|
90
|
+
/**
|
|
91
|
+
* Columns whose cells never wrap, by index: a short token such as a
|
|
92
|
+
* task's key ("GOP-11"), which a line would otherwise break at its
|
|
93
|
+
* hyphen.
|
|
94
|
+
*/
|
|
95
|
+
nowrap?: readonly boolean[] | undefined;
|
|
96
|
+
};
|
|
97
|
+
export type TableProps = TableBaseProps & TableColumnsProps;
|
|
98
|
+
export declare const Table: ({ headers, data, caption, captionHidden, emptyMessage, actionButton, maxHeight, align, footer, framed, columns, nowrap, className, }: TableProps) => import("react").JSX.Element;
|
|
99
|
+
export {};
|
package/dist/Table/index.js
CHANGED
|
@@ -216,3 +216,31 @@
|
|
|
216
216
|
transition: none;
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
+
|
|
220
|
+
/*
|
|
221
|
+
* COLUMNS SIZED BY THEIR WORDS (`columns="content"`), for a result read
|
|
222
|
+
* beside an answer. Each column takes the room its words ask for, so a short
|
|
223
|
+
* key keeps its line and the longest text takes the most and wraps between
|
|
224
|
+
* words. A token longer than the table (a digest, a URL) wraps ANYWHERE: with
|
|
225
|
+
* `break-word` it did not, because under an auto layout a word's whole width
|
|
226
|
+
* is the column's minimum, and a sha256 in a 350px table pushed it to 606px.
|
|
227
|
+
* `anywhere` lets the minimum shrink to a character. The figures (`end`
|
|
228
|
+
* columns) and the nowrap columns never wrap, and the figures stay tabular.
|
|
229
|
+
*/
|
|
230
|
+
.crewlet-table--content .crewlet-table__table {
|
|
231
|
+
table-layout: auto;
|
|
232
|
+
font-variant-numeric: tabular-nums;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.crewlet-table--content td:not(.crewlet-table__cell--nowrap, .crewlet-table__cell--end) {
|
|
236
|
+
overflow-wrap: anywhere;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.crewlet-table--content .crewlet-table__cell--end {
|
|
240
|
+
white-space: nowrap;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/* A column of short tokens (a task's key) keeps each on one line; only content columns offer it. */
|
|
244
|
+
.crewlet-table--content .crewlet-table__cell--nowrap {
|
|
245
|
+
white-space: nowrap;
|
|
246
|
+
}
|
package/dist/TagsInput/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { TagsInput } from '../chunk-
|
|
1
|
+
export { TagsInput } from '../chunk-5VMAJAVF.js';
|
|
2
2
|
import '../chunk-7KHM2FZH.js';
|
|
3
3
|
import '../chunk-I5OIKDX2.js';
|
|
4
4
|
import '../chunk-WIATRXEJ.js';
|
|
5
|
-
import '../chunk-2G355KDJ.js';
|
|
6
5
|
import '../chunk-OMV5W53A.js';
|
|
7
6
|
import '../chunk-H5XTJ7GJ.js';
|
|
8
7
|
import '../chunk-UAUP6XGK.js';
|
|
9
8
|
import '../chunk-NUZHC6MM.js';
|
|
9
|
+
import '../chunk-2G355KDJ.js';
|
|
10
10
|
import '../chunk-UT6CW3C7.js';
|
|
11
11
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-H6S6NRZL.js';
|
|
2
2
|
import '../chunk-C667GCU7.js';
|
|
3
3
|
import '../chunk-BPCY7ZID.js';
|
|
4
4
|
import '../chunk-25AZQ3GZ.js';
|
|
@@ -6,11 +6,10 @@ import '../chunk-TYIHFDMP.js';
|
|
|
6
6
|
import '../chunk-IPUEVTRJ.js';
|
|
7
7
|
import '../chunk-EGMQURBR.js';
|
|
8
8
|
import '../chunk-WIATRXEJ.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-ZMML6NRS.js';
|
|
10
10
|
import '../chunk-PGCLHYVP.js';
|
|
11
11
|
import '../chunk-MLDTLZAO.js';
|
|
12
12
|
import '../chunk-PQADV6P6.js';
|
|
13
|
-
import '../chunk-2G355KDJ.js';
|
|
14
13
|
import '../chunk-OQG4P5KU.js';
|
|
15
14
|
import '../chunk-DGXZ635L.js';
|
|
16
15
|
import '../chunk-OMV5W53A.js';
|
|
@@ -19,5 +18,6 @@ import '../chunk-XSPCITPN.js';
|
|
|
19
18
|
import '../chunk-H5XTJ7GJ.js';
|
|
20
19
|
import '../chunk-UAUP6XGK.js';
|
|
21
20
|
import '../chunk-NUZHC6MM.js';
|
|
21
|
+
import '../chunk-2G355KDJ.js';
|
|
22
22
|
import '../chunk-UT6CW3C7.js';
|
|
23
23
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-
|
|
1
|
+
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-I7YQNRTQ.js';
|
|
2
2
|
import '../chunk-VK45YJLH.js';
|
|
3
3
|
import '../chunk-7KHM2FZH.js';
|
|
4
4
|
import '../chunk-EE3DJMSQ.js';
|
|
5
5
|
import '../chunk-KHJIEPZV.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-ZMML6NRS.js';
|
|
7
7
|
import '../chunk-PGCLHYVP.js';
|
|
8
8
|
import '../chunk-PQADV6P6.js';
|
|
9
|
-
import '../chunk-2G355KDJ.js';
|
|
10
9
|
import '../chunk-DGXZ635L.js';
|
|
11
10
|
import '../chunk-OMV5W53A.js';
|
|
12
11
|
import '../chunk-2YTOOH3A.js';
|
|
@@ -14,5 +13,6 @@ import '../chunk-XSPCITPN.js';
|
|
|
14
13
|
import '../chunk-H5XTJ7GJ.js';
|
|
15
14
|
import '../chunk-UAUP6XGK.js';
|
|
16
15
|
import '../chunk-NUZHC6MM.js';
|
|
16
|
+
import '../chunk-2G355KDJ.js';
|
|
17
17
|
import '../chunk-UT6CW3C7.js';
|
|
18
18
|
import '../chunk-ODEQTPFM.js';
|
package/dist/ValueField/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-
|
|
1
|
+
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-YAL6VBRK.js';
|
|
2
2
|
import '../chunk-VK45YJLH.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-OFARYSWS.js';
|
|
4
4
|
import '../chunk-7KHM2FZH.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-ZMML6NRS.js';
|
|
6
6
|
import '../chunk-PGCLHYVP.js';
|
|
7
7
|
import '../chunk-PQADV6P6.js';
|
|
8
|
-
import '../chunk-2G355KDJ.js';
|
|
9
8
|
import '../chunk-OMV5W53A.js';
|
|
10
9
|
import '../chunk-2YTOOH3A.js';
|
|
11
10
|
import '../chunk-H5XTJ7GJ.js';
|
|
12
11
|
import '../chunk-UAUP6XGK.js';
|
|
13
12
|
import '../chunk-NUZHC6MM.js';
|
|
13
|
+
import '../chunk-2G355KDJ.js';
|
|
14
14
|
import '../chunk-UT6CW3C7.js';
|
|
15
15
|
import '../chunk-ODEQTPFM.js';
|