@crewlethq/ui 0.127.0 → 0.128.1
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/ActivityLine/index.js +3 -3
- package/dist/AppShell/index.js +2 -2
- package/dist/ArtifactBar/index.js +4 -4
- package/dist/ArtifactCard/index.js +3 -3
- package/dist/ArtifactMakeRow/index.js +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-CRSLRUVT.css → Avatar-RHFI55UZ.css} +14 -0
- package/dist/AvatarPicker/index.js +6 -6
- package/dist/{AvatarStack-GNEJHEU6.css → AvatarStack-UNBXFHTZ.css} +14 -1
- package/dist/Clamp/Clamp.d.ts +50 -0
- package/dist/Clamp/index.d.ts +3 -0
- package/dist/Clamp/index.js +12 -0
- package/dist/Clamp-Q5WKCGWY.css +60 -0
- package/dist/CommentThread/index.js +1 -1
- package/dist/ContrastBadge/index.js +2 -2
- package/dist/ContrastHelp/index.js +3 -3
- package/dist/DataTable/index.js +2 -2
- package/dist/DataView/index.js +4 -4
- package/dist/DeepWorkCard/index.js +2 -2
- package/dist/DeliveryReceipt/DeliveryReceipt.d.ts +37 -24
- package/dist/DeliveryReceipt/index.js +1 -2
- package/dist/{DeliveryReceipt-G55ILD6O.css → DeliveryReceipt-BILVVNTO.css} +11 -14
- package/dist/DocTabsEditor/index.js +2 -2
- package/dist/{Editor-UIBCHECM.js → Editor-RCFNNOLO.js} +1 -1
- package/dist/EntityChip/index.js +1 -1
- package/dist/GraphCanvas/index.js +2 -2
- package/dist/HuePicker/index.js +4 -4
- package/dist/ImageUpload/index.js +1 -1
- package/dist/LogoSlot/index.js +3 -3
- package/dist/MarkdownEditor/index.js +4 -4
- package/dist/MentionMenu/MentionMenu.d.ts +4 -3
- package/dist/Menu/Menu.d.ts +4 -0
- package/dist/Menu/index.js +1 -1
- package/dist/MergeConflicts/index.js +4 -4
- package/dist/OrgLabel/index.js +1 -1
- package/dist/OrgNode/index.js +1 -1
- package/dist/OrgTable/index.js +1 -1
- package/dist/PeopleRail/index.js +1 -1
- package/dist/PresenceStack/index.js +1 -1
- package/dist/Principal/index.js +1 -1
- package/dist/PrincipalPicker/index.js +1 -1
- package/dist/RichEditor/index.js +1 -1
- package/dist/SearchTrigger/SearchTrigger.d.ts +15 -7
- package/dist/SearchTrigger/index.js +1 -1
- package/dist/{SearchTrigger-SE4GKNAY.css → SearchTrigger-MME7NIHX.css} +13 -1
- package/dist/SegmentedControl/index.js +3 -3
- package/dist/SetupWizard/index.js +2 -2
- package/dist/ShareDialog/index.js +1 -1
- package/dist/SheetColumnEditor/index.js +5 -5
- package/dist/SheetGrid/index.js +3 -3
- package/dist/SlideFilmstrip/index.js +2 -2
- package/dist/TableCells/index.js +1 -1
- package/dist/Tabs/index.js +2 -2
- package/dist/ThemeSwitcher/index.js +4 -4
- package/dist/ThreadSummary/ThreadSummary.d.ts +24 -16
- package/dist/ThreadSummary/index.js +2 -2
- package/dist/{ThreadSummary-2AFEU6NH.css → ThreadSummary-3AODTHAM.css} +44 -35
- package/dist/TimeRangePicker/index.js +4 -4
- package/dist/VersionCompare/index.js +4 -4
- package/dist/VersionTimeline/index.js +1 -1
- package/dist/WorkingLine/index.js +2 -2
- package/dist/{chunk-7MKWQ3ZL.js → chunk-3DAIOPAV.js} +1 -1
- package/dist/{chunk-TLZ7NG6T.js → chunk-3WSDAVE6.js} +1 -1
- package/dist/{chunk-4OKNZZ5E.js → chunk-7FSIBX4S.js} +1 -1
- package/dist/{chunk-5EOOS2VG.js → chunk-A3SQWUWG.js} +2 -3
- package/dist/{chunk-ORBM3IHQ.js → chunk-AIYSPVVZ.js} +1 -1
- package/dist/{chunk-2JXILC4H.js → chunk-AQV5GYSX.js} +2 -2
- package/dist/{chunk-5SMYKL3D.js → chunk-ARZGEHWE.js} +2 -2
- package/dist/{chunk-ICIJUGKK.js → chunk-CAFDQEDT.js} +2 -2
- package/dist/{chunk-CMS5MLTU.js → chunk-E3AFQTWT.js} +1 -1
- package/dist/{chunk-FIQGLZ5Q.js → chunk-EGHOU7U2.js} +7 -3
- package/dist/{chunk-BG4GI5W3.js → chunk-FNJCCVQX.js} +1 -1
- package/dist/chunk-GTNXDLYH.js +146 -0
- package/dist/{chunk-KANE3PVJ.js → chunk-H2QSDZTX.js} +1 -1
- package/dist/chunk-IZGB6SQE.js +89 -0
- package/dist/{chunk-2FRELJBU.js → chunk-J74M64CN.js} +1 -1
- package/dist/{chunk-L2N7SZFY.js → chunk-JY6WSDUG.js} +1 -1
- package/dist/{chunk-ERNT3UTB.js → chunk-K5WTII2H.js} +3 -4
- package/dist/{chunk-SIL5WE55.js → chunk-LPQF7Z44.js} +1 -1
- package/dist/{chunk-56WQTRIW.js → chunk-M5UZLZUM.js} +1 -1
- package/dist/{chunk-UL46NV3X.js → chunk-NLGRDKCK.js} +2 -2
- package/dist/{chunk-4VQYVWPU.js → chunk-NMBGVHGQ.js} +2 -2
- package/dist/{chunk-XUFVRAEB.js → chunk-NZUOUIL6.js} +2 -2
- package/dist/{chunk-4Q7AWZ6O.js → chunk-OIC6S5ES.js} +1 -1
- package/dist/{chunk-SFO4KY65.js → chunk-OYKQVTJB.js} +1 -1
- package/dist/{chunk-GHRCG45F.js → chunk-PFTUWDZN.js} +1 -1
- package/dist/{chunk-I5HJ6Y6E.js → chunk-U4HA6LRQ.js} +8 -14
- package/dist/{chunk-FODDW4BC.js → chunk-V2FD4RPS.js} +1 -1
- package/dist/{chunk-TU6IC2XD.js → chunk-V47JOO72.js} +1 -1
- package/dist/{chunk-UA7FQCD7.js → chunk-XZB53C7U.js} +2 -2
- package/dist/{chunk-FXKRSBUM.js → chunk-YGURXCUZ.js} +1 -1
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +74 -73
- package/dist/index.js +74 -73
- package/dist/styles.css +164 -56
- package/package.json +3 -3
- package/dist/chunk-WNPKXYDJ.js +0 -141
- package/dist/{chunk-QV3WVNRA.js → chunk-2KUAO2CX.js} +0 -0
- package/dist/{chunk-3YOLD7WG.js → chunk-F7NHMBGJ.js} +1 -1
- package/dist/{chunk-WJIBZ2UM.js → chunk-R4LHYCZN.js} +1 -1
- package/dist/{chunk-JLOZE7QG.js → chunk-RSUZY3PI.js} +1 -1
- package/dist/{chunk-2DZV4PHK.js → chunk-WLL3PFI3.js} +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-
|
|
1
|
+
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-H2QSDZTX.js';
|
|
2
2
|
import '../chunk-7U4V36SB.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-V2FD4RPS.js';
|
|
4
|
+
import '../chunk-JY6WSDUG.js';
|
|
5
5
|
import '../chunk-7F3OPUM5.js';
|
|
6
6
|
import '../chunk-QRE6JCHS.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-EGHOU7U2.js';
|
|
8
8
|
import '../chunk-M2M6ZD7P.js';
|
|
9
9
|
import '../chunk-XSPCITPN.js';
|
|
10
10
|
import '../chunk-2YTOOH3A.js';
|
package/dist/OrgLabel/index.js
CHANGED
package/dist/OrgNode/index.js
CHANGED
package/dist/OrgTable/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import '../chunk-WFAJYBLX.js';
|
|
|
9
9
|
import '../chunk-WSIJDWUG.js';
|
|
10
10
|
import '../chunk-KFTVPWG2.js';
|
|
11
11
|
import '../chunk-PPUR46MK.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-ARZGEHWE.js';
|
|
13
13
|
import '../chunk-XZY6S3UC.js';
|
|
14
14
|
import '../chunk-5W3EYO5Q.js';
|
|
15
15
|
import '../chunk-SK4BIFTG.js';
|
package/dist/PeopleRail/index.js
CHANGED
|
@@ -2,7 +2,7 @@ export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from '../chunk-6NXY7OEH
|
|
|
2
2
|
import '../chunk-CENOOTAV.js';
|
|
3
3
|
import '../chunk-Z7JYG5TF.js';
|
|
4
4
|
import '../chunk-AYKXMIOR.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-ARZGEHWE.js';
|
|
6
6
|
import '../chunk-XZY6S3UC.js';
|
|
7
7
|
import '../chunk-M2M6ZD7P.js';
|
|
8
8
|
import '../chunk-XSPCITPN.js';
|
|
@@ -3,7 +3,7 @@ import '../chunk-CENOOTAV.js';
|
|
|
3
3
|
import '../chunk-EFX2YC5T.js';
|
|
4
4
|
import '../chunk-Z7JYG5TF.js';
|
|
5
5
|
import '../chunk-AYKXMIOR.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-ARZGEHWE.js';
|
|
7
7
|
import '../chunk-XZY6S3UC.js';
|
|
8
8
|
import '../chunk-RRRK2KB6.js';
|
|
9
9
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Principal/index.js
CHANGED
|
@@ -2,7 +2,7 @@ export { PrincipalPicker } from '../chunk-LETSZEMX.js';
|
|
|
2
2
|
import '../chunk-CWGZE3JW.js';
|
|
3
3
|
import '../chunk-KW7T23RT.js';
|
|
4
4
|
import '../chunk-HF5L56YQ.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-ARZGEHWE.js';
|
|
6
6
|
import '../chunk-XZY6S3UC.js';
|
|
7
7
|
import '../chunk-2YTOOH3A.js';
|
|
8
8
|
import '../chunk-NN44J7BP.js';
|
package/dist/RichEditor/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { RichEditor, preloadRichEditor } from '../chunk-
|
|
1
|
+
export { RichEditor, preloadRichEditor } from '../chunk-M5UZLZUM.js';
|
|
2
2
|
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
3
3
|
import '../chunk-KOJPDCGQ.js';
|
|
4
4
|
import '../chunk-KBZO4B33.js';
|
|
@@ -16,11 +16,11 @@ import { type ButtonHTMLAttributes, type ReactNode } from 'react';
|
|
|
16
16
|
*/
|
|
17
17
|
export type SearchTriggerVariant = 'rail' | 'toolbar';
|
|
18
18
|
export interface SearchTriggerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'aria-label'> {
|
|
19
|
-
/** What it is called
|
|
19
|
+
/** What it is called: drawn inside the box, and the button's whole name. */
|
|
20
20
|
label?: string | undefined;
|
|
21
21
|
/** Where it stands. The sidebar field by default. See the type. */
|
|
22
22
|
variant?: SearchTriggerVariant | undefined;
|
|
23
|
-
/** The shortcut hint, as a Kbd with `keys`. */
|
|
23
|
+
/** The shortcut hint, as a Kbd with `keys`. Decoration: name the keys in `keyshortcuts`. */
|
|
24
24
|
shortcut?: ReactNode;
|
|
25
25
|
/**
|
|
26
26
|
* The shortcut in the syntax `aria-keyshortcuts` takes, such as
|
|
@@ -39,10 +39,18 @@ export interface SearchTriggerProps extends Omit<ButtonHTMLAttributes<HTMLButton
|
|
|
39
39
|
* and a box that takes focus and then throws the first keystroke away is worse
|
|
40
40
|
* than one that never looked like a field at all.
|
|
41
41
|
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
42
|
+
* IT IS NAMED BY ITS WORDS, and by nothing else. An `aria-label` replaced
|
|
43
|
+
* them, and the keycap beside them is text in the same box (a checker counts
|
|
44
|
+
* it as shown, hidden from a screen reader or not), so the name never
|
|
45
|
+
* contained what the box shows and a person who says what they see could not
|
|
46
|
+
* reach it. The keycap is decoration: the shortcut reaches a screen reader
|
|
47
|
+
* through `aria-keyshortcuts`, the one place a reader who cannot see the caps
|
|
48
|
+
* learns it.
|
|
49
|
+
*
|
|
50
|
+
* FOLDED, THE WORDS ARE CLIPPED, NOT REMOVED. The toolbar form's narrow
|
|
51
|
+
* layout leaves the glyph alone in the box, and its words stay the button's
|
|
52
|
+
* name out of sight: content under `display: none` names nothing, and the
|
|
53
|
+
* dashboard this comes from had a search button a screen reader announced as
|
|
54
|
+
* "button" at every width under the breakpoint.
|
|
47
55
|
*/
|
|
48
56
|
export declare const SearchTrigger: import("react").ForwardRefExoticComponent<SearchTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SearchTrigger } from '../chunk-
|
|
1
|
+
export { SearchTrigger } from '../chunk-K5WTII2H.js';
|
|
2
2
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -115,7 +115,19 @@
|
|
|
115
115
|
justify-content: center;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
/* The words are the button's name, so they are clipped out of sight
|
|
119
|
+
rather than taken out: under `display: none` they would name nothing,
|
|
120
|
+
and the glyph would be announced as "button". VisuallyHidden's clip. */
|
|
121
|
+
.crewlet-search-trigger--toolbar .crewlet-search-trigger__label {
|
|
122
|
+
position: absolute;
|
|
123
|
+
width: 1px;
|
|
124
|
+
height: 1px;
|
|
125
|
+
margin: -1px;
|
|
126
|
+
overflow: hidden;
|
|
127
|
+
clip-path: inset(50%);
|
|
128
|
+
white-space: nowrap;
|
|
129
|
+
}
|
|
130
|
+
|
|
119
131
|
.crewlet-search-trigger--toolbar .crewlet-search-trigger__shortcut {
|
|
120
132
|
display: none;
|
|
121
133
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '../chunk-7U4V36SB.js';
|
|
2
|
-
export { SegmentedControl } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { SegmentedControl } from '../chunk-V2FD4RPS.js';
|
|
3
|
+
import '../chunk-JY6WSDUG.js';
|
|
4
4
|
import '../chunk-7F3OPUM5.js';
|
|
5
5
|
import '../chunk-QRE6JCHS.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-EGHOU7U2.js';
|
|
7
7
|
import '../chunk-M2M6ZD7P.js';
|
|
8
8
|
import '../chunk-XSPCITPN.js';
|
|
9
9
|
import '../chunk-2YTOOH3A.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';
|
|
@@ -7,7 +7,7 @@ import '../chunk-STJ7QBC3.js';
|
|
|
7
7
|
import '../chunk-DTIW4CHZ.js';
|
|
8
8
|
import '../chunk-RCQLXOGS.js';
|
|
9
9
|
import '../chunk-HF5L56YQ.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-ARZGEHWE.js';
|
|
11
11
|
import '../chunk-XZY6S3UC.js';
|
|
12
12
|
import '../chunk-SK4BIFTG.js';
|
|
13
13
|
import '../chunk-COS6LJ4K.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-
|
|
1
|
+
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-CAFDQEDT.js';
|
|
2
2
|
import '../chunk-YKCLV77Z.js';
|
|
3
3
|
import '../chunk-FFMCMSJB.js';
|
|
4
4
|
import '../chunk-KW7T23RT.js';
|
|
5
5
|
import '../chunk-LFSIKGRQ.js';
|
|
6
6
|
import '../chunk-Z7JYG5TF.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-PFTUWDZN.js';
|
|
8
8
|
import '../chunk-AYKXMIOR.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-V2FD4RPS.js';
|
|
10
|
+
import '../chunk-JY6WSDUG.js';
|
|
11
11
|
import '../chunk-7F3OPUM5.js';
|
|
12
12
|
import '../chunk-QRE6JCHS.js';
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-EGHOU7U2.js';
|
|
14
14
|
import '../chunk-KFTVPWG2.js';
|
|
15
15
|
import '../chunk-VBBLHS2Y.js';
|
|
16
16
|
import '../chunk-M2M6ZD7P.js';
|
package/dist/SheetGrid/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-
|
|
1
|
+
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-E3AFQTWT.js';
|
|
2
2
|
import '../chunk-FOUIZS7Q.js';
|
|
3
3
|
import '../chunk-CENOOTAV.js';
|
|
4
4
|
import '../chunk-MMCYH5LB.js';
|
|
@@ -10,8 +10,8 @@ import '../chunk-SJ3EUCFD.js';
|
|
|
10
10
|
import '../chunk-KDRJZWE3.js';
|
|
11
11
|
import '../chunk-AYKXMIOR.js';
|
|
12
12
|
import '../chunk-QRE6JCHS.js';
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-EGHOU7U2.js';
|
|
14
|
+
import '../chunk-ARZGEHWE.js';
|
|
15
15
|
import '../chunk-XZY6S3UC.js';
|
|
16
16
|
import '../chunk-M2M6ZD7P.js';
|
|
17
17
|
import '../chunk-XSPCITPN.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { SlideFilmstrip } from '../chunk-
|
|
1
|
+
export { SlideFilmstrip } from '../chunk-7FSIBX4S.js';
|
|
2
2
|
import '../chunk-7O53SWKI.js';
|
|
3
3
|
import '../chunk-JMBPMSNI.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-EGHOU7U2.js';
|
|
5
5
|
import '../chunk-SK4BIFTG.js';
|
|
6
6
|
import '../chunk-COS6LJ4K.js';
|
|
7
7
|
import '../chunk-VBBLHS2Y.js';
|
package/dist/TableCells/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import '../chunk-GBKBME7Q.js';
|
|
|
6
6
|
import '../chunk-WGLOH33S.js';
|
|
7
7
|
import '../chunk-475DOAWF.js';
|
|
8
8
|
import '../chunk-WSIJDWUG.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-ARZGEHWE.js';
|
|
10
10
|
import '../chunk-XZY6S3UC.js';
|
|
11
11
|
import '../chunk-RRRK2KB6.js';
|
|
12
12
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Tabs/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { TabPanel, Tabs, tabId } from '../chunk-
|
|
1
|
+
export { TabPanel, Tabs, tabId } from '../chunk-JY6WSDUG.js';
|
|
2
2
|
import '../chunk-7F3OPUM5.js';
|
|
3
3
|
import '../chunk-QRE6JCHS.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-EGHOU7U2.js';
|
|
5
5
|
import '../chunk-M2M6ZD7P.js';
|
|
6
6
|
import '../chunk-XSPCITPN.js';
|
|
7
7
|
import '../chunk-2YTOOH3A.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { DensitySwitcher, ThemeSwitcher } from '../chunk-
|
|
1
|
+
export { DensitySwitcher, ThemeSwitcher } from '../chunk-AIYSPVVZ.js';
|
|
2
2
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
|
|
3
3
|
export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from '../chunk-ZXXDZJQN.js';
|
|
4
4
|
import '../chunk-7U4V36SB.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-V2FD4RPS.js';
|
|
6
|
+
import '../chunk-JY6WSDUG.js';
|
|
7
7
|
import '../chunk-7F3OPUM5.js';
|
|
8
8
|
import '../chunk-QRE6JCHS.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-EGHOU7U2.js';
|
|
10
10
|
import '../chunk-M2M6ZD7P.js';
|
|
11
11
|
import '../chunk-XSPCITPN.js';
|
|
12
12
|
import '../chunk-2YTOOH3A.js';
|
|
@@ -5,15 +5,15 @@ export interface ThreadSummaryLabels {
|
|
|
5
5
|
replies: (count: number) => string;
|
|
6
6
|
/** The replies the reader has not read: "2 new". */
|
|
7
7
|
fresh: (count: number) => string;
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* When the last reply came, in the line's accessible name, given the
|
|
10
|
+
* caller's words for it: "last reply 12m ago". The line itself shows the
|
|
11
|
+
* caller's words alone ("12m ago"), after the count.
|
|
12
|
+
*/
|
|
9
13
|
last: (when: string) => string;
|
|
10
|
-
/** At the line's end under the pointer, beside the chevron that says it opens. */
|
|
11
|
-
view: string;
|
|
12
|
-
/** Shown in its place while the thread is open beside the room. */
|
|
13
|
-
open: string;
|
|
14
14
|
}
|
|
15
|
-
/** The repliers' faces,
|
|
16
|
-
export declare const THREAD_SUMMARY_FACE
|
|
15
|
+
/** The repliers' faces, the avatar's smallest step (20px), overlapped on the small control's line. */
|
|
16
|
+
export declare const THREAD_SUMMARY_FACE: "xs";
|
|
17
17
|
export declare const THREAD_SUMMARY_LABELS: ThreadSummaryLabels;
|
|
18
18
|
export interface ThreadSummaryProps {
|
|
19
19
|
/** How many replies the thread holds. */
|
|
@@ -34,15 +34,23 @@ export interface ThreadSummaryProps {
|
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* The line under a message that has replies: the repliers' faces, "4
|
|
37
|
-
* replies" at the medium weight in the accent's ink,
|
|
38
|
-
* It opens the thread, from
|
|
37
|
+
* replies" at the medium weight in the accent's ink, how many are new, and
|
|
38
|
+
* when the last came: "4 replies · 12m ago". It opens the thread, from
|
|
39
|
+
* anywhere on the line.
|
|
39
40
|
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
41
|
+
* AS LONG AS WHAT IT SAYS. It hugs its faces and its words, so a room of
|
|
42
|
+
* threads reads as short facts under their messages rather than as a column
|
|
43
|
+
* of bars. Nothing is hidden at rest: under the pointer only the hairline,
|
|
44
|
+
* its ground and the chevron that says it opens come in, and the chevron's
|
|
45
|
+
* place is always laid out, so the line never changes length.
|
|
46
|
+
*
|
|
47
|
+
* OPEN IS A STATE, NOT WORDS. While the thread is open beside the room the
|
|
48
|
+
* line wears the selected surface inside its hairline, and the message it
|
|
49
|
+
* hangs off wears it too; the chevron, which says "opens", is gone. A screen
|
|
50
|
+
* reader hears the state as the button's `aria-expanded`, and its name keeps
|
|
51
|
+
* every fact the line shows: "4 replies, 2 new, last reply 12m ago".
|
|
52
|
+
*
|
|
53
|
+
* Its faces sit on the content edge: the line's inset and edge are taken back
|
|
54
|
+
* outside it.
|
|
47
55
|
*/
|
|
48
56
|
export declare function ThreadSummary({ replies, participants, last, unread, working, open, onOpen, labels: overrides, className, }: ThreadSummaryProps): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-
|
|
1
|
+
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-U4HA6LRQ.js';
|
|
2
2
|
import '../chunk-SJ3EUCFD.js';
|
|
3
3
|
import '../chunk-QRE6JCHS.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-ARZGEHWE.js';
|
|
5
5
|
import '../chunk-XZY6S3UC.js';
|
|
6
6
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* The line under a message that has replies, and the working line under it.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
/*
|
|
5
|
+
/* A column under the message: the line hugs its own content, and the working
|
|
6
|
+
line under it may run the column's width. */
|
|
6
7
|
.crewlet-thread-summary-wrap {
|
|
7
8
|
display: flex;
|
|
8
9
|
flex-direction: column;
|
|
@@ -17,18 +18,25 @@
|
|
|
17
18
|
max-width: 100%;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
|
-
/*
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
/*
|
|
22
|
+
* AS LONG AS WHAT IT SAYS: the faces, the count, how many are new, when the
|
|
23
|
+
* last reply came and the chevron's place, and no more. It was a bar the
|
|
24
|
+
* content column's width up to 37.5rem, with "View thread" or "Thread open"
|
|
25
|
+
* at its far end, which turned a two-word fact into the heaviest thing under
|
|
26
|
+
* a message.
|
|
27
|
+
*
|
|
28
|
+
* The faces sit on the content edge: the line's 1px edge and its inset are
|
|
29
|
+
* taken back by the same amount outside it.
|
|
30
|
+
*/
|
|
24
31
|
.crewlet-thread-summary {
|
|
25
32
|
--crewlet-thread-summary-inset: var(--spacing-1);
|
|
26
|
-
display: flex;
|
|
33
|
+
display: inline-flex;
|
|
27
34
|
align-items: center;
|
|
28
|
-
gap: var(--spacing-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
height:
|
|
35
|
+
gap: var(--spacing-1);
|
|
36
|
+
/* The small control's height: the 20px faces with a little air inside the
|
|
37
|
+
hairline. */
|
|
38
|
+
height: var(--size-control-sm);
|
|
39
|
+
min-width: 0;
|
|
32
40
|
box-sizing: border-box;
|
|
33
41
|
margin-inline-start: calc((var(--crewlet-thread-summary-inset) + 1px) * -1);
|
|
34
42
|
padding: 0 var(--crewlet-thread-summary-inset);
|
|
@@ -40,6 +48,7 @@
|
|
|
40
48
|
font-size: var(--font-size-compact);
|
|
41
49
|
line-height: 1;
|
|
42
50
|
text-align: start;
|
|
51
|
+
white-space: nowrap;
|
|
43
52
|
cursor: pointer;
|
|
44
53
|
}
|
|
45
54
|
|
|
@@ -55,47 +64,53 @@
|
|
|
55
64
|
outline-offset: var(--size-focus-ring-inset-offset);
|
|
56
65
|
}
|
|
57
66
|
|
|
67
|
+
/* A step between the faces and the words, wider than the one between the
|
|
68
|
+
words themselves. */
|
|
69
|
+
.crewlet-thread-summary > .crewlet-avatar-stack {
|
|
70
|
+
margin-inline-end: var(--spacing-1);
|
|
71
|
+
}
|
|
72
|
+
|
|
58
73
|
.crewlet-thread-summary__count {
|
|
59
74
|
flex: none;
|
|
60
75
|
color: var(--color-brand-accent-ink);
|
|
61
76
|
font-weight: var(--font-weight-medium);
|
|
62
|
-
white-space: nowrap;
|
|
63
77
|
}
|
|
64
78
|
|
|
65
|
-
/* When the last reply came,
|
|
66
|
-
the
|
|
79
|
+
/* When the last reply came, after the count and a middle dot the eye reads
|
|
80
|
+
between them, in the quiet ink: always shown, and the part that gives way
|
|
81
|
+
first where the column is narrow. */
|
|
67
82
|
.crewlet-thread-summary__last {
|
|
68
83
|
min-width: 0;
|
|
69
84
|
overflow: hidden;
|
|
70
85
|
color: var(--color-text-tertiary);
|
|
71
86
|
text-overflow: ellipsis;
|
|
72
|
-
white-space: nowrap;
|
|
73
|
-
opacity: 0;
|
|
74
|
-
transition: opacity var(--motion-duration-moderate) var(--motion-easing-default);
|
|
75
87
|
}
|
|
76
88
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
display: inline-flex;
|
|
80
|
-
flex: none;
|
|
81
|
-
align-items: center;
|
|
82
|
-
gap: var(--spacing-1);
|
|
83
|
-
margin-inline-start: auto;
|
|
84
|
-
color: var(--color-text-secondary);
|
|
85
|
-
white-space: nowrap;
|
|
86
|
-
opacity: 0;
|
|
89
|
+
.crewlet-thread-summary__last::before {
|
|
90
|
+
content: '\00b7\00a0';
|
|
87
91
|
}
|
|
88
92
|
|
|
93
|
+
/* The chevron that says the line opens: its place always laid out, shown
|
|
94
|
+
under the pointer or the keyboard. */
|
|
89
95
|
.crewlet-thread-summary__chevron {
|
|
96
|
+
flex: none;
|
|
90
97
|
color: var(--color-text-tertiary);
|
|
98
|
+
opacity: 0;
|
|
91
99
|
}
|
|
92
100
|
|
|
93
|
-
.crewlet-thread-summary:is(:hover, :focus-visible) .crewlet-thread-
|
|
94
|
-
.crewlet-thread-summary:is(:hover, :focus-visible, .is-open) .crewlet-thread-summary__end {
|
|
101
|
+
.crewlet-thread-summary:is(:hover, :focus-visible) .crewlet-thread-summary__chevron {
|
|
95
102
|
opacity: 1;
|
|
96
103
|
}
|
|
97
104
|
|
|
98
|
-
/* OPEN, the
|
|
105
|
+
/* OPEN, the line is the selected surface inside its hairline, and opens
|
|
106
|
+
nothing new: no chevron. */
|
|
107
|
+
.crewlet-thread-summary.is-open,
|
|
108
|
+
.crewlet-thread-summary.is-open:is(:hover, :focus-visible) {
|
|
109
|
+
border-color: var(--color-edge-hairline);
|
|
110
|
+
background: var(--color-surface-selected);
|
|
111
|
+
color: var(--color-text-primary);
|
|
112
|
+
}
|
|
113
|
+
|
|
99
114
|
.crewlet-thread-summary.is-open .crewlet-thread-summary__chevron {
|
|
100
115
|
visibility: hidden;
|
|
101
116
|
}
|
|
@@ -107,9 +122,3 @@
|
|
|
107
122
|
.crewlet-chat-message:has(.crewlet-thread-summary.is-open):hover {
|
|
108
123
|
background: var(--color-surface-selected);
|
|
109
124
|
}
|
|
110
|
-
|
|
111
|
-
@media (prefers-reduced-motion: reduce) {
|
|
112
|
-
.crewlet-thread-summary__last {
|
|
113
|
-
transition: none;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
@@ -1,12 +1,12 @@
|
|
|
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-YGURXCUZ.js';
|
|
2
2
|
import '../chunk-IU7QVXHA.js';
|
|
3
3
|
import '../chunk-RCQLXOGS.js';
|
|
4
4
|
import '../chunk-7U4V36SB.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-V2FD4RPS.js';
|
|
6
|
+
import '../chunk-JY6WSDUG.js';
|
|
7
7
|
import '../chunk-7F3OPUM5.js';
|
|
8
8
|
import '../chunk-QRE6JCHS.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-EGHOU7U2.js';
|
|
10
10
|
import '../chunk-M2M6ZD7P.js';
|
|
11
11
|
import '../chunk-XSPCITPN.js';
|
|
12
12
|
import '../chunk-2YTOOH3A.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-
|
|
1
|
+
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-3DAIOPAV.js';
|
|
2
2
|
import '../chunk-U3LHWQQK.js';
|
|
3
3
|
import '../chunk-7U4V36SB.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-V2FD4RPS.js';
|
|
5
|
+
import '../chunk-JY6WSDUG.js';
|
|
6
6
|
import '../chunk-7F3OPUM5.js';
|
|
7
7
|
import '../chunk-QRE6JCHS.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-EGHOU7U2.js';
|
|
9
9
|
import '../chunk-PPUR46MK.js';
|
|
10
10
|
import '../chunk-M2M6ZD7P.js';
|
|
11
11
|
import '../chunk-XSPCITPN.js';
|
|
@@ -2,7 +2,7 @@ export { VersionTimeline } from '../chunk-RM5RKPFV.js';
|
|
|
2
2
|
import '../chunk-HF5L56YQ.js';
|
|
3
3
|
import '../chunk-GBKBME7Q.js';
|
|
4
4
|
import '../chunk-WGLOH33S.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-ARZGEHWE.js';
|
|
6
6
|
import '../chunk-XZY6S3UC.js';
|
|
7
7
|
import '../chunk-XDUXAQIS.js';
|
|
8
8
|
import '../chunk-M2M6ZD7P.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from '../chunk-OYKQVTJB.js';
|
|
2
|
+
import '../chunk-ARZGEHWE.js';
|
|
3
3
|
import '../chunk-XZY6S3UC.js';
|
|
4
4
|
import '../chunk-RRRK2KB6.js';
|
|
5
5
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { diffLines, diffStat, collapseDiff, DiffSummary, DiffView } from './chunk-U3LHWQQK.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-V2FD4RPS.js';
|
|
3
3
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
4
4
|
import { useHeadingLevel, headingTag, nextHeadingLevel, HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
2
|
-
import { Menu } from './chunk-
|
|
2
|
+
import { Menu } from './chunk-EGHOU7U2.js';
|
|
3
3
|
import { Input } from './chunk-NN44J7BP.js';
|
|
4
4
|
import { IconButton } from './chunk-X5YI6E5X.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SlideStage } from './chunk-7O53SWKI.js';
|
|
2
2
|
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
3
|
-
import { Menu } from './chunk-
|
|
3
|
+
import { Menu } from './chunk-EGHOU7U2.js';
|
|
4
4
|
import { Kbd, isApplePlatform } from './chunk-VBBLHS2Y.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -35,7 +35,7 @@ function MakeItem({ item }) {
|
|
|
35
35
|
/* @__PURE__ */ jsx("span", { className: cx("crewlet-make-row__mark", `crewlet-kind--${kind}`), "aria-hidden": "true", children: /* @__PURE__ */ jsx(ArtifactKindGlyph, { kind, size: "sm" }) }),
|
|
36
36
|
/* @__PURE__ */ jsxs("span", { className: "crewlet-make-row__words", children: [
|
|
37
37
|
/* @__PURE__ */ jsx("span", { className: "crewlet-make-row__name", children: label }),
|
|
38
|
-
detail ? /* @__PURE__ */ jsx("span", { id: detailId, className: "crewlet-make-row__detail", children: detail }) : null
|
|
38
|
+
detail ? /* @__PURE__ */ jsx("span", { id: detailId, className: "crewlet-make-row__detail", "aria-hidden": "true", children: detail }) : null
|
|
39
39
|
] })
|
|
40
40
|
] });
|
|
41
41
|
const describedBy = detail ? detailId : void 0;
|
|
@@ -46,7 +46,6 @@ function MakeItem({ item }) {
|
|
|
46
46
|
{
|
|
47
47
|
role: "link",
|
|
48
48
|
tabIndex: 0,
|
|
49
|
-
"aria-label": label,
|
|
50
49
|
"aria-disabled": "true",
|
|
51
50
|
"aria-describedby": disabledReason ? reasonId : describedBy,
|
|
52
51
|
title: disabledReason,
|
|
@@ -57,7 +56,7 @@ function MakeItem({ item }) {
|
|
|
57
56
|
disabledReason ? /* @__PURE__ */ jsx(VisuallyHidden, { id: reasonId, children: disabledReason }) : null
|
|
58
57
|
] });
|
|
59
58
|
}
|
|
60
|
-
return /* @__PURE__ */ jsx("a", { href, "aria-
|
|
59
|
+
return /* @__PURE__ */ jsx("a", { href, "aria-describedby": describedBy, className: cx("crewlet-make-row__item", HIT_AREA_CLASS), children: body });
|
|
61
60
|
}
|
|
62
61
|
|
|
63
62
|
export { ArtifactMakeRow };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-V2FD4RPS.js';
|
|
3
3
|
import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HuePicker } from './chunk-
|
|
1
|
+
import { HuePicker } from './chunk-PFTUWDZN.js';
|
|
2
2
|
import { Popover } from './chunk-KDRJZWE3.js';
|
|
3
|
-
import { CharacterPicker } from './chunk-ZIL6MTMZ.js';
|
|
4
3
|
import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
4
|
+
import { CharacterPicker } from './chunk-ZIL6MTMZ.js';
|
|
5
5
|
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './AvatarPicker-POOJUOKC.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AVATAR_SIZES, Avatar } from './chunk-XZY6S3UC.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './Avatar-
|
|
4
|
-
import './AvatarStack-
|
|
3
|
+
import './Avatar-RHFI55UZ.css';
|
|
4
|
+
import './AvatarStack-UNBXFHTZ.css';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
function counted(count, one, many) {
|