@crewlethq/ui 0.105.0 → 0.106.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/AgentHandoffPanel/index.js +5 -4
- package/dist/AppShell/index.js +3 -2
- package/dist/ArtifactPanel/index.js +4 -3
- package/dist/ChatDay/index.js +2 -2
- package/dist/{ChatDay-Z67WTCTN.css → ChatDay-523C65KY.css} +7 -4
- package/dist/ChatDivider/ChatDivider.d.ts +8 -2
- package/dist/ChatDivider/index.js +1 -1
- package/dist/{ChatDivider-7ZNDL2PZ.css → ChatDivider-7SPCQXUQ.css} +27 -2
- package/dist/ChatThread/index.js +1 -1
- package/dist/{ChatThread-XANOIJXN.css → ChatThread-MKAN2Q4H.css} +4 -0
- package/dist/DataView/index.js +1 -1
- package/dist/DockColumn/DockColumn.d.ts +31 -1
- package/dist/DockColumn/index.d.ts +3 -1
- package/dist/DockColumn/index.js +3 -1
- package/dist/{DockColumn-SMJCXHS4.css → DockColumn-OVAA5PLL.css} +38 -8
- package/dist/EmojiPicker/EmojiPicker.d.ts +7 -1
- package/dist/EmojiPicker/index.js +1 -1
- package/dist/{EmojiPicker-FMWYN2WX.css → EmojiPicker-W722WJ5M.css} +43 -1
- package/dist/MessageActions/index.js +2 -2
- package/dist/PeekRail/index.js +3 -2
- package/dist/RailList/index.js +3 -3
- package/dist/ReactionBar/index.js +2 -2
- package/dist/{ResizeHandle-2UNSZ4ZQ.css → ResizeHandle-W6GA5OO6.css} +9 -0
- package/dist/SectionFrame/index.js +2 -2
- package/dist/ShareDialog/index.js +1 -1
- package/dist/SidePanel/index.js +4 -3
- package/dist/SidebarNav/SidebarNav.d.ts +17 -8
- package/dist/SidebarNav/index.js +1 -1
- package/dist/{SidebarNav-IKBKGXW4.css → SidebarNav-VXDUW6W5.css} +141 -27
- package/dist/ThreadSummary/ThreadSummary.d.ts +10 -7
- package/dist/ThreadSummary/index.js +1 -1
- package/dist/ThreadSummary-CFAHYY57.css +114 -0
- package/dist/{chunk-JUKHV7UH.js → chunk-2OK6PQ7W.js} +1 -1
- package/dist/{chunk-6YQRCPJ3.js → chunk-4GBEQZQ4.js} +22 -8
- package/dist/{chunk-ZNXTN76G.js → chunk-5HHDVJBY.js} +1 -1
- package/dist/{chunk-5AHNW5CP.js → chunk-5N3G7TK6.js} +1 -1
- package/dist/{chunk-INREAF4Z.js → chunk-7DMD3U7S.js} +1 -1
- package/dist/{chunk-5KAADF4G.js → chunk-EIHPORS4.js} +2 -1
- package/dist/chunk-EKWLQFL2.js +92 -0
- package/dist/{chunk-PIYJNCN7.js → chunk-FQ6J4DK7.js} +2 -10
- package/dist/{chunk-XQQN2NZB.js → chunk-FTSPBN7P.js} +2 -4
- package/dist/{chunk-2POUISAE.js → chunk-GKP2DWNQ.js} +1 -1
- package/dist/{chunk-I5W6I2HN.js → chunk-I7S7JJMM.js} +1 -1
- package/dist/{chunk-GAWG5TU7.js → chunk-KBUV24VV.js} +6 -4
- package/dist/chunk-MBEZOURR.js +13 -0
- package/dist/{chunk-T5P3K2TM.js → chunk-PFNTWGQB.js} +3 -2
- package/dist/{chunk-3CT7JOVJ.js → chunk-QQPF5SBJ.js} +3 -3
- package/dist/{chunk-4EZOLSUO.js → chunk-SKMTVBJT.js} +3 -2
- package/dist/{chunk-2ES6LAV2.js → chunk-U4YG5KBN.js} +2 -2
- package/dist/{chunk-KRAZYXAA.js → chunk-VWZECTOJ.js} +1 -1
- package/dist/{chunk-TRPYEDZM.js → chunk-YBO5PGUG.js} +39 -4
- package/dist/generated/index.js +53 -52
- package/dist/index.js +53 -52
- package/dist/styles.css +324 -73
- package/package.json +3 -3
- package/dist/ThreadSummary-AGR4NDMD.css +0 -90
- package/dist/chunk-5JPOFAVN.js +0 -58
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-
|
|
1
|
+
export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-2OK6PQ7W.js';
|
|
2
2
|
import '../chunk-XDUXAQIS.js';
|
|
3
3
|
import '../chunk-WFCWPXJN.js';
|
|
4
4
|
import '../chunk-6HMPYTZB.js';
|
|
5
5
|
import '../chunk-D5O64CVE.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-U4YG5KBN.js';
|
|
7
|
+
import '../chunk-EIHPORS4.js';
|
|
8
|
+
import '../chunk-MBEZOURR.js';
|
|
9
|
+
import '../chunk-FQ6J4DK7.js';
|
|
9
10
|
import '../chunk-DKFBBOVE.js';
|
|
10
11
|
import '../chunk-NICEDVZM.js';
|
|
11
12
|
import '../chunk-JLKO7PSK.js';
|
package/dist/AppShell/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-
|
|
1
|
+
export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-PFNTWGQB.js';
|
|
2
2
|
import '../chunk-PCAT2EFB.js';
|
|
3
3
|
import '../chunk-JLOESTT2.js';
|
|
4
4
|
import '../chunk-YJQXESOJ.js';
|
|
5
5
|
import '../chunk-B7WZADFX.js';
|
|
6
|
-
export {
|
|
6
|
+
export { useAppShellAside, useAppShellPeek } from '../chunk-MBEZOURR.js';
|
|
7
|
+
export { RESIZE_HANDLE_LARGE_STEP, RESIZE_HANDLE_STEP, ResizeHandle, clampSize } from '../chunk-FQ6J4DK7.js';
|
|
7
8
|
import '../chunk-VBBLHS2Y.js';
|
|
8
9
|
import '../chunk-RTHWXAXT.js';
|
|
9
10
|
import '../chunk-XSPCITPN.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from '../chunk-U4YG5KBN.js';
|
|
2
|
+
import '../chunk-EIHPORS4.js';
|
|
3
|
+
import '../chunk-MBEZOURR.js';
|
|
4
|
+
import '../chunk-FQ6J4DK7.js';
|
|
4
5
|
import '../chunk-2YTOOH3A.js';
|
|
5
6
|
import '../chunk-PNYANWZ6.js';
|
|
6
7
|
import '../chunk-TDFLCUBE.js';
|
package/dist/ChatDay/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ChatDay, ChatDayPill } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ChatDay, ChatDayPill } from '../chunk-QQPF5SBJ.js';
|
|
2
|
+
import '../chunk-5HHDVJBY.js';
|
|
3
3
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -34,7 +34,9 @@
|
|
|
34
34
|
flex: none;
|
|
35
35
|
justify-content: center;
|
|
36
36
|
height: var(--crewlet-chat-day-pill);
|
|
37
|
-
|
|
37
|
+
/* MORE AIR ABOVE A DAY THAN UNDER ITS RULE, so the date is read with the
|
|
38
|
+
messages it introduces rather than the ones it ends. */
|
|
39
|
+
margin-top: calc(var(--crewlet-chat-day-gap) * 2 - var(--crewlet-chat-day-pill) / 2);
|
|
38
40
|
pointer-events: none;
|
|
39
41
|
/* A host that raises the pin (a banner arriving) moves the pinned pill
|
|
40
42
|
down with it rather than jumping it. */
|
|
@@ -65,7 +67,8 @@
|
|
|
65
67
|
/*
|
|
66
68
|
* THE PILL floats over the rows: the transcript's own ground, ringed with the
|
|
67
69
|
* hairline and a small shadow, so it reads as lifted off the messages it
|
|
68
|
-
* passes over. The
|
|
70
|
+
* passes over. The rule recedes and the date does not: its words are the
|
|
71
|
+
* primary ink at the semibold weight. The ring is a shadow, which forced colors drops, so a
|
|
69
72
|
* transparent outline stands in for it there.
|
|
70
73
|
*/
|
|
71
74
|
.crewlet-chat-day__pill {
|
|
@@ -83,10 +86,10 @@
|
|
|
83
86
|
box-shadow:
|
|
84
87
|
0 0 0 1px var(--color-edge-hairline),
|
|
85
88
|
var(--shadow-xs);
|
|
86
|
-
color: var(--color-text-
|
|
89
|
+
color: var(--color-text-primary);
|
|
87
90
|
font: inherit;
|
|
88
91
|
font-size: var(--font-size-xs);
|
|
89
|
-
font-weight: var(--font-weight-
|
|
92
|
+
font-weight: var(--font-weight-semibold);
|
|
90
93
|
line-height: 1;
|
|
91
94
|
white-space: nowrap;
|
|
92
95
|
pointer-events: auto;
|
|
@@ -6,8 +6,14 @@ export type ChatDividerVariant =
|
|
|
6
6
|
* first one they have not, with its word at the line's end.
|
|
7
7
|
*/
|
|
8
8
|
'unread'
|
|
9
|
-
/** A quiet labelled rule
|
|
10
|
-
| 'date'
|
|
9
|
+
/** A quiet labelled rule: the words in the middle, a hairline either side. */
|
|
10
|
+
| 'date'
|
|
11
|
+
/**
|
|
12
|
+
* A count at the start of the line on the faces' edge, a hairline running
|
|
13
|
+
* on from it: a thread's reply count between its root and its replies. Its
|
|
14
|
+
* rule is the hairline a thread's summary line draws under the pointer.
|
|
15
|
+
*/
|
|
16
|
+
| 'count';
|
|
11
17
|
export interface ChatDividerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role' | 'children'> {
|
|
12
18
|
variant: ChatDividerVariant;
|
|
13
19
|
/** The words on the line, and its name for a screen reader: "New", "3 replies". */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ChatDivider } from '../chunk-
|
|
1
|
+
export { ChatDivider } from '../chunk-5HHDVJBY.js';
|
|
2
2
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -26,6 +26,30 @@
|
|
|
26
26
|
white-space: nowrap;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
/* A count at the start, on the faces' edge, and a hairline running on. */
|
|
30
|
+
.crewlet-chat-divider--count {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
gap: var(--spacing-3);
|
|
34
|
+
margin: var(--spacing-1) 0;
|
|
35
|
+
padding: 0 var(--crewlet-chat-pad-x);
|
|
36
|
+
color: var(--color-text-tertiary);
|
|
37
|
+
font-size: var(--crewlet-chat-meta);
|
|
38
|
+
font-weight: var(--font-weight-regular);
|
|
39
|
+
line-height: var(--font-line-height-snug);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.crewlet-chat-divider--count::after {
|
|
43
|
+
content: '';
|
|
44
|
+
flex: 1;
|
|
45
|
+
height: 1px;
|
|
46
|
+
background: var(--color-edge-hairline);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.crewlet-chat-divider--count .crewlet-chat-divider__label {
|
|
50
|
+
white-space: nowrap;
|
|
51
|
+
}
|
|
52
|
+
|
|
29
53
|
/*
|
|
30
54
|
* THE NEW LINE TAKES NO HEIGHT. A hairline across the whole list in the
|
|
31
55
|
* danger hue, laid on the boundary between the last read message and the
|
|
@@ -59,7 +83,7 @@
|
|
|
59
83
|
background: var(--crewlet-chat-ground);
|
|
60
84
|
color: var(--color-feedback-danger-ink);
|
|
61
85
|
font-size: var(--font-size-xs);
|
|
62
|
-
font-weight: var(--font-weight-
|
|
86
|
+
font-weight: var(--font-weight-semibold);
|
|
63
87
|
line-height: var(--font-line-height-normal);
|
|
64
88
|
}
|
|
65
89
|
|
|
@@ -70,7 +94,8 @@
|
|
|
70
94
|
@media (forced-colors: active) {
|
|
71
95
|
.crewlet-chat-divider--unread::before,
|
|
72
96
|
.crewlet-chat-divider--date::before,
|
|
73
|
-
.crewlet-chat-divider--date::after
|
|
97
|
+
.crewlet-chat-divider--date::after,
|
|
98
|
+
.crewlet-chat-divider--count::after {
|
|
74
99
|
border-top: 1px solid CanvasText;
|
|
75
100
|
}
|
|
76
101
|
}
|
package/dist/ChatThread/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-
|
|
1
|
+
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-FTSPBN7P.js';
|
|
2
2
|
import '../chunk-YJQXESOJ.js';
|
|
3
3
|
import '../chunk-RTHWXAXT.js';
|
|
4
4
|
import '../chunk-XSPCITPN.js';
|
|
@@ -34,6 +34,10 @@
|
|
|
34
34
|
overflow: auto;
|
|
35
35
|
overflow-anchor: none;
|
|
36
36
|
overscroll-behavior: contain;
|
|
37
|
+
/* A control focused from out of view (Tab onto a row scrolled off the top)
|
|
38
|
+
comes in a step clear of the edge, so its outset ring is not cut. */
|
|
39
|
+
scroll-padding-top: var(--spacing-2);
|
|
40
|
+
scroll-padding-bottom: var(--spacing-2);
|
|
37
41
|
}
|
|
38
42
|
|
|
39
43
|
/* A ring inside the region, which an edge-to-edge scroller would otherwise clip. */
|
package/dist/DataView/index.js
CHANGED
|
@@ -4,9 +4,9 @@ import '../chunk-J76ZZ6U2.js';
|
|
|
4
4
|
import '../chunk-KPB4ZUBI.js';
|
|
5
5
|
import '../chunk-RW6HXWJD.js';
|
|
6
6
|
import '../chunk-GELMY4I7.js';
|
|
7
|
+
import '../chunk-KW7T23RT.js';
|
|
7
8
|
import '../chunk-STJ7QBC3.js';
|
|
8
9
|
import '../chunk-DTIW4CHZ.js';
|
|
9
|
-
import '../chunk-KW7T23RT.js';
|
|
10
10
|
import '../chunk-NPEI2QAN.js';
|
|
11
11
|
import '../chunk-EE3DJMSQ.js';
|
|
12
12
|
import '../chunk-VYUEAMA4.js';
|
|
@@ -28,10 +28,34 @@
|
|
|
28
28
|
* A PLAIN COLUMN, NOT A LANDMARK: what it holds names itself (a navigation
|
|
29
29
|
* named Rooms), and a column named the same as the region inside it is two
|
|
30
30
|
* landmarks of one name a screen reader cannot tell apart.
|
|
31
|
+
*
|
|
32
|
+
* THE READER MAY SIZE IT (`resize`): the kit's `ResizeHandle` straddles the
|
|
33
|
+
* edge that faces the content, the column follows a drag or a key at once
|
|
34
|
+
* rather than easing, and the host keeps the width it is handed. The clip is
|
|
35
|
+
* an element inside the column, so the handle can stand across the edge
|
|
36
|
+
* without being cut by it.
|
|
31
37
|
*/
|
|
32
38
|
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
33
39
|
/** The edge of the content the column stands at, in the inline direction. */
|
|
34
40
|
export type DockColumnSide = 'start' | 'end';
|
|
41
|
+
/** How the reader sizes the column, and what the host does with the width. */
|
|
42
|
+
export interface DockColumnResize {
|
|
43
|
+
/** Names the handle: "Resize the Rooms panel". */
|
|
44
|
+
label: string;
|
|
45
|
+
/** The narrowest the column may be, in px. */
|
|
46
|
+
min: number;
|
|
47
|
+
/**
|
|
48
|
+
* The widest, in px. A host that keeps the content beside the column at a
|
|
49
|
+
* floor passes the cap that leaves it, so a drag stops where it must.
|
|
50
|
+
*/
|
|
51
|
+
max: number;
|
|
52
|
+
/** Every step of a drag or a key: draw it by passing it back as `width`. */
|
|
53
|
+
onValueChange: (px: number) => void;
|
|
54
|
+
/** Where a gesture ends: the moment to keep the width. */
|
|
55
|
+
onValueCommit?: ((px: number) => void) | undefined;
|
|
56
|
+
/** The resting width Enter and a double press return to. */
|
|
57
|
+
defaultValue?: number | undefined;
|
|
58
|
+
}
|
|
35
59
|
export interface DockColumnProps extends HTMLAttributes<HTMLDivElement> {
|
|
36
60
|
/** Whether the panel is docked. The column eases open and shut on a change. */
|
|
37
61
|
open: boolean;
|
|
@@ -58,6 +82,12 @@ export interface DockColumnProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
58
82
|
* out, or answering nothing, focus is taken off the panel.
|
|
59
83
|
*/
|
|
60
84
|
focusOnClose?: (() => HTMLElement | null | undefined) | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* Lets the reader size the column from the edge that faces the content.
|
|
87
|
+
* Its value is `width` where that is a number, and the column's own drawn
|
|
88
|
+
* width where it is any other length.
|
|
89
|
+
*/
|
|
90
|
+
resize?: DockColumnResize | undefined;
|
|
61
91
|
/**
|
|
62
92
|
* The panel. Its ground is the column's `--crewlet-dock-column-ground`,
|
|
63
93
|
* which a host sets on its own class (`var(--color-surface-subtle)`), and
|
|
@@ -65,4 +95,4 @@ export interface DockColumnProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
65
95
|
*/
|
|
66
96
|
children?: ReactNode;
|
|
67
97
|
}
|
|
68
|
-
export declare function DockColumn({ open, width, side, divider, focusOnClose, className, style, children, ...rest }: DockColumnProps): import("react").JSX.Element;
|
|
98
|
+
export declare function DockColumn({ open, width, side, divider, focusOnClose, resize, className, style, children, ...rest }: DockColumnProps): import("react").JSX.Element;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import '../HitArea/HitArea.css';
|
|
2
|
+
import '../AppShell/ResizeHandle.css';
|
|
1
3
|
import './DockColumn.css';
|
|
2
4
|
export { DockColumn } from './DockColumn.js';
|
|
3
|
-
export type { DockColumnProps, DockColumnSide } from './DockColumn.js';
|
|
5
|
+
export type { DockColumnProps, DockColumnResize, DockColumnSide } from './DockColumn.js';
|
package/dist/DockColumn/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
export { DockColumn } from '../chunk-
|
|
1
|
+
export { DockColumn } from '../chunk-EKWLQFL2.js';
|
|
2
2
|
import '../chunk-PCAT2EFB.js';
|
|
3
3
|
import '../chunk-YJQXESOJ.js';
|
|
4
|
+
import '../chunk-FQ6J4DK7.js';
|
|
5
|
+
import '../chunk-2YTOOH3A.js';
|
|
4
6
|
import '../chunk-HTS5RJ7S.js';
|
|
5
7
|
import '../chunk-4ITETIGZ.js';
|
|
6
8
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -18,23 +18,36 @@
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
.crewlet-dock-column {
|
|
21
|
+
position: relative;
|
|
21
22
|
display: flex;
|
|
22
|
-
justify-content: flex-end;
|
|
23
23
|
width: 0;
|
|
24
24
|
min-width: 0;
|
|
25
25
|
min-height: 0;
|
|
26
|
-
overflow: clip;
|
|
27
26
|
transition: width var(--motion-duration-slow) var(--motion-easing-emphasized);
|
|
28
27
|
}
|
|
29
28
|
|
|
30
|
-
.crewlet-dock-column[data-side='end'] {
|
|
31
|
-
justify-content: flex-start;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
29
|
.crewlet-dock-column[data-open] {
|
|
35
30
|
width: var(--crewlet-dock-column-width);
|
|
36
31
|
}
|
|
37
32
|
|
|
33
|
+
/*
|
|
34
|
+
* THE CLIP, inside the column so a handle can stand across the column's edge.
|
|
35
|
+
* Clipped rather than hidden, so it is never a scroll container a focus or a
|
|
36
|
+
* scrollIntoView could scroll.
|
|
37
|
+
*/
|
|
38
|
+
.crewlet-dock-column__clip {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex: 1 1 auto;
|
|
41
|
+
justify-content: flex-end;
|
|
42
|
+
min-width: 0;
|
|
43
|
+
min-height: 0;
|
|
44
|
+
overflow: clip;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.crewlet-dock-column[data-side='end'] > .crewlet-dock-column__clip {
|
|
48
|
+
justify-content: flex-start;
|
|
49
|
+
}
|
|
50
|
+
|
|
38
51
|
.crewlet-dock-column__panel {
|
|
39
52
|
display: flex;
|
|
40
53
|
flex: none;
|
|
@@ -46,14 +59,31 @@
|
|
|
46
59
|
}
|
|
47
60
|
|
|
48
61
|
/* The hairline on the panel's edge that faces the content. */
|
|
49
|
-
.crewlet-dock-column--divider[data-side='start']
|
|
62
|
+
.crewlet-dock-column--divider[data-side='start'] .crewlet-dock-column__panel {
|
|
50
63
|
border-inline-end: 1px solid var(--color-border-default);
|
|
51
64
|
}
|
|
52
65
|
|
|
53
|
-
.crewlet-dock-column--divider[data-side='end']
|
|
66
|
+
.crewlet-dock-column--divider[data-side='end'] .crewlet-dock-column__panel {
|
|
54
67
|
border-inline-start: 1px solid var(--color-border-default);
|
|
55
68
|
}
|
|
56
69
|
|
|
70
|
+
/*
|
|
71
|
+
* THE HANDLE STRADDLES THE EDGE that faces the content, half over the panel
|
|
72
|
+
* and half over the content, so its hairline is the line it grips.
|
|
73
|
+
*/
|
|
74
|
+
.crewlet-dock-column[data-side='start'] > .crewlet-dock-column__handle {
|
|
75
|
+
right: calc(var(--crewlet-resize-handle-width) / -2);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.crewlet-dock-column[data-side='end'] > .crewlet-dock-column__handle {
|
|
79
|
+
left: calc(var(--crewlet-resize-handle-width) / -2);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* SIZED BY HAND, the column follows at once: an eased width trails the pointer. */
|
|
83
|
+
.crewlet-dock-column:has(> .crewlet-dock-column__handle:is([data-dragging], :focus-visible)) {
|
|
84
|
+
transition: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
57
87
|
@media (prefers-reduced-motion: reduce) {
|
|
58
88
|
.crewlet-dock-column {
|
|
59
89
|
transition: none;
|
|
@@ -10,6 +10,8 @@ export interface EmojiPickerLabels {
|
|
|
10
10
|
results: string;
|
|
11
11
|
/** Said when nothing matches. */
|
|
12
12
|
none: (query: string) => string;
|
|
13
|
+
/** The preview line while no emoji is pointed at or chosen. */
|
|
14
|
+
idle: string;
|
|
13
15
|
}
|
|
14
16
|
export declare const EMOJI_PICKER_LABELS: EmojiPickerLabels;
|
|
15
17
|
export interface EmojiPickerProps {
|
|
@@ -38,8 +40,12 @@ export interface EmojiPickerProps {
|
|
|
38
40
|
* A searchable grid of emoji in a popover, for starting a reaction or
|
|
39
41
|
* putting an emoji in a message.
|
|
40
42
|
*
|
|
43
|
+
* WHAT ENTER WILL PICK IS SHOWN. While a search has matches, the one Enter
|
|
44
|
+
* picks is marked in the grid, and the line under the grid previews whatever
|
|
45
|
+
* is pointed at or chosen, large and by name, so the cells need no hints.
|
|
46
|
+
*
|
|
41
47
|
* THE KEYS. The search field has focus when the panel opens: typing filters
|
|
42
|
-
* by name, Enter picks the
|
|
48
|
+
* by name, Enter picks the marked match, and ArrowDown goes into the grid. The
|
|
43
49
|
* grid is one tab stop; the arrows walk it by its rows, across groups, Home
|
|
44
50
|
* and End go to its first and last emoji, ArrowUp from the top row returns to
|
|
45
51
|
* the field, and Enter or Space picks. Escape closes the panel and returns
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { EMOJI_GROUPS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from '../chunk-
|
|
1
|
+
export { EMOJI_GROUPS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from '../chunk-4GBEQZQ4.js';
|
|
2
2
|
import '../chunk-VYUEAMA4.js';
|
|
3
3
|
import '../chunk-DKFBBOVE.js';
|
|
4
4
|
import '../chunk-NICEDVZM.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* A searchable grid of emoji in a popover: the field, then each group under
|
|
3
|
-
* its quiet heading, eight to a row, in a scroller of its own
|
|
3
|
+
* its quiet heading, eight to a row, in a scroller of its own, and a preview
|
|
4
|
+
* line under the grid that is always there, so the panel never changes size.
|
|
4
5
|
*/
|
|
5
6
|
|
|
6
7
|
.crewlet-emoji-picker__body {
|
|
@@ -50,12 +51,53 @@
|
|
|
50
51
|
background: var(--color-surface-hover);
|
|
51
52
|
}
|
|
52
53
|
|
|
54
|
+
/* The match Enter picks while searching: the accent's soft fill, which the
|
|
55
|
+
pointer's step does not take away. */
|
|
56
|
+
.crewlet-emoji-picker__cell.is-chosen {
|
|
57
|
+
background: var(--color-brand-accent-soft);
|
|
58
|
+
}
|
|
59
|
+
|
|
53
60
|
.crewlet-emoji-picker__cell:focus-visible {
|
|
54
61
|
background: var(--color-surface-hover);
|
|
55
62
|
outline: 2px solid var(--color-focus);
|
|
56
63
|
outline-offset: var(--size-focus-ring-inset-offset);
|
|
57
64
|
}
|
|
58
65
|
|
|
66
|
+
.crewlet-emoji-picker__preview {
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
gap: var(--spacing-2);
|
|
70
|
+
min-height: var(--size-control-md);
|
|
71
|
+
padding: var(--spacing-2) var(--spacing-1) 0;
|
|
72
|
+
border-top: 1px solid var(--color-edge-hairline);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.crewlet-emoji-picker__preview-emoji {
|
|
76
|
+
font-size: var(--font-size-xl);
|
|
77
|
+
line-height: 1;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.crewlet-emoji-picker__preview-words {
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
min-width: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.crewlet-emoji-picker__preview-name {
|
|
87
|
+
overflow: hidden;
|
|
88
|
+
color: var(--color-text-primary);
|
|
89
|
+
font-size: var(--font-size-sm);
|
|
90
|
+
font-weight: var(--font-weight-semibold);
|
|
91
|
+
text-overflow: ellipsis;
|
|
92
|
+
white-space: nowrap;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.crewlet-emoji-picker__preview-code,
|
|
96
|
+
.crewlet-emoji-picker__preview-idle {
|
|
97
|
+
color: var(--color-text-tertiary);
|
|
98
|
+
font-size: var(--font-size-xs);
|
|
99
|
+
}
|
|
100
|
+
|
|
59
101
|
.crewlet-emoji-picker__none {
|
|
60
102
|
margin: var(--spacing-3) var(--spacing-1);
|
|
61
103
|
color: var(--color-text-tertiary);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-GKP2DWNQ.js';
|
|
2
|
+
import '../chunk-4GBEQZQ4.js';
|
|
3
3
|
import '../chunk-NPEI2QAN.js';
|
|
4
4
|
import '../chunk-VYUEAMA4.js';
|
|
5
5
|
import '../chunk-DKFBBOVE.js';
|
package/dist/PeekRail/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from '../chunk-SKMTVBJT.js';
|
|
2
|
+
import '../chunk-MBEZOURR.js';
|
|
3
|
+
import '../chunk-FQ6J4DK7.js';
|
|
3
4
|
import '../chunk-RTHWXAXT.js';
|
|
4
5
|
import '../chunk-XSPCITPN.js';
|
|
5
6
|
import '../chunk-2YTOOH3A.js';
|
package/dist/RailList/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { RAIL_LIST_LABELS, RailList } from '../chunk-
|
|
1
|
+
export { RAIL_LIST_LABELS, RailList } from '../chunk-7DMD3U7S.js';
|
|
2
2
|
import '../chunk-JUZOMYOZ.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-TODOBUXO.js';
|
|
3
|
+
import '../chunk-YBO5PGUG.js';
|
|
5
4
|
import '../chunk-KW7T23RT.js';
|
|
5
|
+
import '../chunk-TODOBUXO.js';
|
|
6
6
|
import '../chunk-HBDA76EZ.js';
|
|
7
7
|
import '../chunk-3C3TSWRR.js';
|
|
8
8
|
import '../chunk-AV2DXAEL.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-I7S7JJMM.js';
|
|
2
|
+
import '../chunk-4GBEQZQ4.js';
|
|
3
3
|
import '../chunk-VYUEAMA4.js';
|
|
4
4
|
import '../chunk-DKFBBOVE.js';
|
|
5
5
|
import '../chunk-NICEDVZM.js';
|
|
@@ -45,6 +45,15 @@
|
|
|
45
45
|
background: var(--color-brand-accent-soft);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
/*
|
|
49
|
+
* THE POINTER'S WASH WAITS A BEAT, so a pointer crossing the seam on its way
|
|
50
|
+
* somewhere else does not flash it; the cursor says it is a grip from the
|
|
51
|
+
* first pixel. Focus and a drag show it at once, and it leaves at once.
|
|
52
|
+
*/
|
|
53
|
+
.crewlet-resize-handle:hover:not(:focus-visible, [data-dragging]) {
|
|
54
|
+
transition-delay: var(--motion-duration-base);
|
|
55
|
+
}
|
|
56
|
+
|
|
48
57
|
/* Inside its own box: it draws no edge, and the seam it stands in is the
|
|
49
58
|
two neighbours' edges, which a ring set outward would run over. */
|
|
50
59
|
.crewlet-resize-handle:focus-visible {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-VWZECTOJ.js';
|
|
2
|
+
import '../chunk-YBO5PGUG.js';
|
|
3
3
|
import '../chunk-TODOBUXO.js';
|
|
4
4
|
import '../chunk-HBDA76EZ.js';
|
|
5
5
|
import '../chunk-2YTOOH3A.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-DR7TJL55.js';
|
|
2
2
|
import '../chunk-JUZOMYOZ.js';
|
|
3
3
|
import '../chunk-GELMY4I7.js';
|
|
4
|
+
import '../chunk-KW7T23RT.js';
|
|
4
5
|
import '../chunk-NNO5GSIB.js';
|
|
5
6
|
import '../chunk-STJ7QBC3.js';
|
|
6
7
|
import '../chunk-DTIW4CHZ.js';
|
|
7
|
-
import '../chunk-KW7T23RT.js';
|
|
8
8
|
import '../chunk-BPCY7ZID.js';
|
|
9
9
|
import '../chunk-HF5L56YQ.js';
|
|
10
10
|
import '../chunk-WUCRLA25.js';
|
package/dist/SidePanel/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import '../chunk-
|
|
2
|
-
export { SIDE_PANEL_LABELS, SIDE_PANEL_MAX_WIDTH, SIDE_PANEL_MIN_WIDTH, SIDE_PANEL_WIDTH, SidePanel, SidePanelFrame } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
import '../chunk-5N3G7TK6.js';
|
|
2
|
+
export { SIDE_PANEL_LABELS, SIDE_PANEL_MAX_WIDTH, SIDE_PANEL_MIN_WIDTH, SIDE_PANEL_WIDTH, SidePanel, SidePanelFrame } from '../chunk-EIHPORS4.js';
|
|
3
|
+
import '../chunk-MBEZOURR.js';
|
|
4
|
+
import '../chunk-FQ6J4DK7.js';
|
|
4
5
|
import '../chunk-2YTOOH3A.js';
|
|
5
6
|
import '../chunk-PNYANWZ6.js';
|
|
6
7
|
import '../chunk-TDFLCUBE.js';
|
|
@@ -45,13 +45,14 @@ export interface SidebarNavProps {
|
|
|
45
45
|
*/
|
|
46
46
|
label: string;
|
|
47
47
|
/**
|
|
48
|
-
* A list read in passing that runs long (a room list, a directory), drawn
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
48
|
+
* A list read in passing that runs long (a room list, a directory), drawn
|
|
49
|
+
* as one even column: 28px rows with no gap between them, the highlight
|
|
50
|
+
* inset by the gutter, a glyph slot as wide as a small face so faces and
|
|
51
|
+
* glyphs share one column, the rows under a named group indented a step
|
|
52
|
+
* under its heading, names in the regular weight (which is what lets an
|
|
53
|
+
* `unread` row stand out by weight alone), and a hover that is drawn at
|
|
54
|
+
* once. The arrow keys move between its rows and headings; Home and End
|
|
55
|
+
* go to the first and the last.
|
|
55
56
|
*/
|
|
56
57
|
dense?: boolean | undefined;
|
|
57
58
|
className?: string | undefined;
|
|
@@ -83,6 +84,14 @@ export interface NavGroupProps {
|
|
|
83
84
|
* rail spent on nothing.
|
|
84
85
|
*/
|
|
85
86
|
label?: ReactNode;
|
|
87
|
+
/**
|
|
88
|
+
* The group's glyph, in the glyph column of its heading. In a collapsible
|
|
89
|
+
* group it gives way to the chevron while the heading is pointed at or
|
|
90
|
+
* focused, and while the group is folded, so the slot says what the group
|
|
91
|
+
* is at rest and how it folds when the reader reaches for it. Decoration:
|
|
92
|
+
* the label names the group.
|
|
93
|
+
*/
|
|
94
|
+
icon?: ReactNode;
|
|
86
95
|
/**
|
|
87
96
|
* A control at the end of the heading. It is a sibling of the heading's
|
|
88
97
|
* words rather than part of them, so the group is still named by its label
|
|
@@ -270,6 +279,6 @@ export declare namespace SidebarNav {
|
|
|
270
279
|
* `<div>` here still carries the label's own padding, which put sixteen blank
|
|
271
280
|
* pixels at the top of the rail and named a group nothing could read.
|
|
272
281
|
*/
|
|
273
|
-
export declare function NavGroup({ label, action, locked, collapsible, collapsed, defaultCollapsed, onCollapsedChange, className, children, }: NavGroupProps): import("react").JSX.Element;
|
|
282
|
+
export declare function NavGroup({ label, icon, action, locked, collapsible, collapsed, defaultCollapsed, onCollapsedChange, className, children, }: NavGroupProps): import("react").JSX.Element;
|
|
274
283
|
/** One row: a glyph, a label, an optional badge, and optionally rows beneath. */
|
|
275
284
|
export declare function NavItem({ label, icon, lead, count, badge, href, current, disabledReason, locked, unread, muted, title, onPrefetch, renderLink, onClick, children, expanded, defaultExpanded, onExpandedChange, expandLabel, className, }: NavItemProps): import("react").JSX.Element | null;
|
package/dist/SidebarNav/index.js
CHANGED