@crewlethq/ui 0.129.1 → 0.130.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/ArtifactCard/index.js +2 -2
- package/dist/CommentThread/CommentThread.d.ts +48 -1
- package/dist/CommentThread/index.js +1 -1
- package/dist/{CommentThread-FRXTDNV6.css → CommentThread-544KCZT7.css} +28 -4
- package/dist/ContrastBadge/index.js +2 -2
- package/dist/ContrastHelp/index.js +3 -3
- package/dist/DataView/index.js +1 -1
- package/dist/LogoSlot/index.js +3 -3
- package/dist/RichEditor/index.js +1 -1
- package/dist/{chunk-SIL5WE55.js → chunk-LPQF7Z44.js} +1 -1
- package/dist/{chunk-4Q7AWZ6O.js → chunk-OIC6S5ES.js} +1 -1
- package/dist/{chunk-KQFOPY2P.js → chunk-Q6QKY7EZ.js} +1 -1
- package/dist/{chunk-BF3PFRBE.js → chunk-WLCPN22T.js} +129 -13
- package/dist/generated/index.js +31 -31
- package/dist/index.js +31 -31
- package/dist/styles.css +29 -5
- package/package.json +3 -3
- package/dist/{Editor-MEPTWBY5.js → Editor-2TWJE7OR.js} +1 -1
- package/dist/{chunk-3YOLD7WG.js → chunk-F7NHMBGJ.js} +1 -1
- package/dist/{chunk-4FKHPUVR.js → chunk-XZB53C7U.js} +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-
|
|
1
|
+
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-XZB53C7U.js';
|
|
2
2
|
import '../chunk-WFAJYBLX.js';
|
|
3
3
|
import '../chunk-HF5L56YQ.js';
|
|
4
4
|
import '../chunk-GBKBME7Q.js';
|
|
@@ -9,8 +9,8 @@ import '../chunk-475DOAWF.js';
|
|
|
9
9
|
import '../chunk-WSIJDWUG.js';
|
|
10
10
|
import '../chunk-W3A6NBUM.js';
|
|
11
11
|
import '../chunk-KFTVPWG2.js';
|
|
12
|
-
export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
|
|
13
12
|
import '../chunk-DOY3KC6I.js';
|
|
13
|
+
export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
|
|
14
14
|
import '../chunk-ARZGEHWE.js';
|
|
15
15
|
import '../chunk-XZY6S3UC.js';
|
|
16
16
|
import '../chunk-NN44J7BP.js';
|
|
@@ -14,6 +14,17 @@ export interface CommentThreadComment {
|
|
|
14
14
|
editedAt?: TimeValue | undefined;
|
|
15
15
|
/** The id of the remark this one answers. */
|
|
16
16
|
replyTo?: string | undefined;
|
|
17
|
+
/** The remark's own words as its author wrote them (its markdown), which an edit starts from. */
|
|
18
|
+
source?: string | undefined;
|
|
19
|
+
/** The reader may rewrite this remark, which is theirs. Offered only with `onEdit` and a `source`. */
|
|
20
|
+
editable?: boolean | undefined;
|
|
21
|
+
/** The reader may take this remark down. Offered only with `onRemove`. */
|
|
22
|
+
removable?: boolean | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Taken down: its words are gone. It keeps its place, author and time, so a
|
|
25
|
+
* reply to it still reads in order, and offers nothing.
|
|
26
|
+
*/
|
|
27
|
+
removed?: boolean | undefined;
|
|
17
28
|
}
|
|
18
29
|
/**
|
|
19
30
|
* What a submit answers. `false` keeps the draft and the reply target, for a
|
|
@@ -39,6 +50,23 @@ export interface CommentThreadLabels {
|
|
|
39
50
|
submitReply: string;
|
|
40
51
|
/** Why the submit control waits while the field is empty. */
|
|
41
52
|
emptyDraft: string;
|
|
53
|
+
/** Edit on one of the reader's own remarks, and its accessible name. */
|
|
54
|
+
edit: string;
|
|
55
|
+
editOwn: string;
|
|
56
|
+
/** The field an edit is made in. */
|
|
57
|
+
editField: string;
|
|
58
|
+
save: string;
|
|
59
|
+
cancel: string;
|
|
60
|
+
/** Why Save waits while the edited words are empty: an empty remark is taken down instead. */
|
|
61
|
+
emptyEdit: string;
|
|
62
|
+
/** Delete on a remark, its accessible name, and the question it asks before it acts. */
|
|
63
|
+
remove: string;
|
|
64
|
+
removeOwn: (name: string) => string;
|
|
65
|
+
removeAsk: string;
|
|
66
|
+
removeConfirm: string;
|
|
67
|
+
keep: string;
|
|
68
|
+
/** What a remark that was taken down reads as. */
|
|
69
|
+
removed: string;
|
|
42
70
|
}
|
|
43
71
|
export declare const COMMENT_THREAD_LABELS: CommentThreadLabels;
|
|
44
72
|
export interface CommentThreadProps {
|
|
@@ -55,6 +83,18 @@ export interface CommentThreadProps {
|
|
|
55
83
|
disabledReason?: string | undefined;
|
|
56
84
|
/** A post in flight that the host is tracking. The thread also tracks its own. */
|
|
57
85
|
busy?: boolean | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Rewrites one of the reader's own remarks (`editable`, with its `source`).
|
|
88
|
+
* Without it no remark offers Edit. Resolve to `false` to keep the editor
|
|
89
|
+
* open with what was typed, such as when the server refused the write.
|
|
90
|
+
*/
|
|
91
|
+
onEdit?: ((comment: CommentThreadComment, body: string) => CommentThreadSubmitResult | Promise<CommentThreadSubmitResult>) | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* Takes a remark down (`removable`), once the reader has confirmed it in
|
|
94
|
+
* place. Without it no remark offers Delete. Resolve to `false` to keep the
|
|
95
|
+
* question open, such as when the server refused the write.
|
|
96
|
+
*/
|
|
97
|
+
onRemove?: ((comment: CommentThreadComment) => CommentThreadSubmitResult | Promise<CommentThreadSubmitResult>) | undefined;
|
|
58
98
|
/** A line beside the submit control: who is told, how the remark is shared. */
|
|
59
99
|
hint?: ReactNode;
|
|
60
100
|
/** Under the field: the server's refusal of the last post, as the host words it. */
|
|
@@ -81,5 +121,12 @@ export interface CommentThreadProps {
|
|
|
81
121
|
* A SUBMIT IS ONE AT A TIME. The submit control is disabled while a post is in
|
|
82
122
|
* flight, so a second press cannot send the same remark twice, and the draft
|
|
83
123
|
* is cleared only once the host says the post landed.
|
|
124
|
+
*
|
|
125
|
+
* THE READER'S OWN REMARKS ARE EDITED AND TAKEN DOWN IN PLACE. Edit swaps the
|
|
126
|
+
* remark's words for a field holding what was written (`source`), saved or
|
|
127
|
+
* left with Cancel; Delete asks in place before it acts, since the words go
|
|
128
|
+
* for everybody. Which remarks offer either is the host's to say (`editable`,
|
|
129
|
+
* `removable`): who may is the server's rule. A remark taken down keeps its
|
|
130
|
+
* row, so a reply to it still reads in order.
|
|
84
131
|
*/
|
|
85
|
-
export declare function CommentThread({ comments, subject, onSubmit, disabledReason, busy, hint, notice, heading, now, labels: overrides, className, }: CommentThreadProps): import("react").JSX.Element;
|
|
132
|
+
export declare function CommentThread({ comments, subject, onSubmit, onEdit, onRemove, disabledReason, busy, hint, notice, heading, now, labels: overrides, className, }: CommentThreadProps): import("react").JSX.Element;
|
|
@@ -73,14 +73,38 @@
|
|
|
73
73
|
font-size: var(--font-size-xs);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
/* Reply
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
.
|
|
76
|
+
/* The remark's controls (Edit, Delete, Reply) sit at the row's far end,
|
|
77
|
+
wherever the head wraps, the last one's padding and edge pulled out as a
|
|
78
|
+
card foot's ghost is (StatusCard.css), so the word ends on the line the
|
|
79
|
+
hairline under the remark ends on rather than 9px inside. */
|
|
80
|
+
.crewlet-comment-thread__actions {
|
|
81
|
+
display: inline-flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
gap: var(--spacing-1);
|
|
80
84
|
margin-inline-start: auto;
|
|
81
85
|
margin-inline-end: calc(-1 * (var(--spacing-2) + 1px));
|
|
82
86
|
}
|
|
83
87
|
|
|
88
|
+
.crewlet-comment-thread__removed {
|
|
89
|
+
margin: 0;
|
|
90
|
+
color: var(--color-text-tertiary);
|
|
91
|
+
font-size: var(--font-size-compact);
|
|
92
|
+
font-style: italic;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.crewlet-comment-thread__confirm {
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-wrap: wrap;
|
|
98
|
+
align-items: center;
|
|
99
|
+
gap: var(--spacing-2);
|
|
100
|
+
color: var(--color-text-secondary);
|
|
101
|
+
font-size: var(--font-size-compact);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.crewlet-comment-thread__confirm > span {
|
|
105
|
+
margin-inline-end: auto;
|
|
106
|
+
}
|
|
107
|
+
|
|
84
108
|
.crewlet-comment-thread__compose {
|
|
85
109
|
display: flex;
|
|
86
110
|
flex-direction: column;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from '../chunk-
|
|
2
|
-
import '../chunk-7W3LYIOC.js';
|
|
1
|
+
export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from '../chunk-F7NHMBGJ.js';
|
|
3
2
|
import '../chunk-SJ3EUCFD.js';
|
|
3
|
+
import '../chunk-7W3LYIOC.js';
|
|
4
4
|
import '../chunk-QRE6JCHS.js';
|
|
5
5
|
import '../chunk-RRRK2KB6.js';
|
|
6
6
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { ContrastHelp } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-7W3LYIOC.js';
|
|
1
|
+
export { ContrastHelp } from '../chunk-LPQF7Z44.js';
|
|
2
|
+
import '../chunk-F7NHMBGJ.js';
|
|
4
3
|
import '../chunk-SJ3EUCFD.js';
|
|
5
4
|
import '../chunk-KDRJZWE3.js';
|
|
5
|
+
import '../chunk-7W3LYIOC.js';
|
|
6
6
|
import '../chunk-QRE6JCHS.js';
|
|
7
7
|
import '../chunk-X5YI6E5X.js';
|
|
8
8
|
import '../chunk-TDFLCUBE.js';
|
package/dist/DataView/index.js
CHANGED
|
@@ -7,8 +7,8 @@ import '../chunk-VSD3536L.js';
|
|
|
7
7
|
import '../chunk-KW7T23RT.js';
|
|
8
8
|
import '../chunk-STJ7QBC3.js';
|
|
9
9
|
import '../chunk-DTIW4CHZ.js';
|
|
10
|
-
import '../chunk-NPEI2QAN.js';
|
|
11
10
|
import '../chunk-EE3DJMSQ.js';
|
|
11
|
+
import '../chunk-NPEI2QAN.js';
|
|
12
12
|
import '../chunk-KDRJZWE3.js';
|
|
13
13
|
import '../chunk-GBKBME7Q.js';
|
|
14
14
|
import '../chunk-WGLOH33S.js';
|
package/dist/LogoSlot/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { LogoSlot, LogoSlotGroup } from '../chunk-
|
|
1
|
+
export { LogoSlot, LogoSlotGroup } from '../chunk-OIC6S5ES.js';
|
|
2
2
|
import '../chunk-XF5PDUDH.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-7W3LYIOC.js';
|
|
3
|
+
import '../chunk-F7NHMBGJ.js';
|
|
5
4
|
import '../chunk-SJ3EUCFD.js';
|
|
5
|
+
import '../chunk-7W3LYIOC.js';
|
|
6
6
|
import '../chunk-QRE6JCHS.js';
|
|
7
7
|
import '../chunk-M2M6ZD7P.js';
|
|
8
8
|
import '../chunk-XSPCITPN.js';
|
package/dist/RichEditor/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { RichEditor, preloadRichEditor } from '../chunk-
|
|
1
|
+
export { RichEditor, preloadRichEditor } from '../chunk-Q6QKY7EZ.js';
|
|
2
2
|
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
3
3
|
import '../chunk-KOJPDCGQ.js';
|
|
4
4
|
import '../chunk-KBZO4B33.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FileDrop, FilePickButton } from './chunk-XF5PDUDH.js';
|
|
2
|
-
import { contrastRatio } from './chunk-
|
|
2
|
+
import { contrastRatio } from './chunk-F7NHMBGJ.js';
|
|
3
3
|
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
4
4
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -9,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
9
9
|
var engine = null;
|
|
10
10
|
var loading = null;
|
|
11
11
|
function loadEngine() {
|
|
12
|
-
loading ??= import('./Editor-
|
|
12
|
+
loading ??= import('./Editor-2TWJE7OR.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -7,10 +7,10 @@ import { IconButton } from './chunk-X5YI6E5X.js';
|
|
|
7
7
|
import { Count } from './chunk-Y5CMDLQM.js';
|
|
8
8
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
|
-
import './CommentThread-
|
|
11
|
-
import { useState, useRef, useId, useMemo } from 'react';
|
|
10
|
+
import './CommentThread-544KCZT7.css';
|
|
11
|
+
import { useState, useRef, useId, useMemo, useEffect } from 'react';
|
|
12
12
|
import { MessageSquareGlyph, XGlyph } from '@crewlethq/icons/glyphs';
|
|
13
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
13
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
var COMMENT_THREAD_LABELS = {
|
|
16
16
|
heading: "Comments",
|
|
@@ -26,12 +26,26 @@ var COMMENT_THREAD_LABELS = {
|
|
|
26
26
|
placeholder: "Write a comment",
|
|
27
27
|
submit: "Comment",
|
|
28
28
|
submitReply: "Reply",
|
|
29
|
-
emptyDraft: "Write the comment first."
|
|
29
|
+
emptyDraft: "Write the comment first.",
|
|
30
|
+
edit: "Edit",
|
|
31
|
+
editOwn: "Edit your comment",
|
|
32
|
+
editField: "Edit your comment",
|
|
33
|
+
save: "Save",
|
|
34
|
+
cancel: "Cancel",
|
|
35
|
+
emptyEdit: "A comment needs words. Delete it instead.",
|
|
36
|
+
remove: "Delete",
|
|
37
|
+
removeOwn: (name) => `Delete the comment by ${name}`,
|
|
38
|
+
removeAsk: "Delete this comment? Its words are gone for everybody; replies to it stay.",
|
|
39
|
+
removeConfirm: "Delete",
|
|
40
|
+
keep: "Keep it",
|
|
41
|
+
removed: "Comment removed."
|
|
30
42
|
};
|
|
31
43
|
function CommentThread({
|
|
32
44
|
comments,
|
|
33
45
|
subject,
|
|
34
46
|
onSubmit,
|
|
47
|
+
onEdit,
|
|
48
|
+
onRemove,
|
|
35
49
|
disabledReason,
|
|
36
50
|
busy = false,
|
|
37
51
|
hint,
|
|
@@ -72,6 +86,38 @@ function CommentThread({
|
|
|
72
86
|
setReplyTo(comment);
|
|
73
87
|
field.current?.focus();
|
|
74
88
|
};
|
|
89
|
+
const [editing, setEditing] = useState(null);
|
|
90
|
+
const [editDraft, setEditDraft] = useState("");
|
|
91
|
+
const [confirming, setConfirming] = useState(null);
|
|
92
|
+
const [acting, setActing] = useState(false);
|
|
93
|
+
const editField = useRef(null);
|
|
94
|
+
useEffect(() => {
|
|
95
|
+
if (editing !== null) editField.current?.focus();
|
|
96
|
+
}, [editing]);
|
|
97
|
+
const startEdit = (comment) => {
|
|
98
|
+
setConfirming(null);
|
|
99
|
+
setEditing(comment.id);
|
|
100
|
+
setEditDraft(comment.source ?? "");
|
|
101
|
+
};
|
|
102
|
+
const saveEdit = async (comment) => {
|
|
103
|
+
const words = editDraft.trim();
|
|
104
|
+
if (!onEdit || acting || words === "") return;
|
|
105
|
+
setActing(true);
|
|
106
|
+
try {
|
|
107
|
+
if (await onEdit(comment, words) !== false) setEditing(null);
|
|
108
|
+
} finally {
|
|
109
|
+
setActing(false);
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
const confirmRemove = async (comment) => {
|
|
113
|
+
if (!onRemove || acting) return;
|
|
114
|
+
setActing(true);
|
|
115
|
+
try {
|
|
116
|
+
if (await onRemove(comment) !== false) setConfirming(null);
|
|
117
|
+
} finally {
|
|
118
|
+
setActing(false);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
75
121
|
return /* @__PURE__ */ jsxs(
|
|
76
122
|
"section",
|
|
77
123
|
{
|
|
@@ -93,6 +139,12 @@ function CommentThread({
|
|
|
93
139
|
const created = toInstant(comment.createdAt);
|
|
94
140
|
const edited = toInstant(comment.editedAt);
|
|
95
141
|
const name = nameOf(comment);
|
|
142
|
+
const live = !comment.removed;
|
|
143
|
+
const canReply = !!onSubmit && live;
|
|
144
|
+
const canEdit = !!onEdit && live && !!comment.editable && comment.source !== void 0;
|
|
145
|
+
const canRemove = !!onRemove && live && !!comment.removable;
|
|
146
|
+
const isEditing = canEdit && editing === comment.id;
|
|
147
|
+
const isConfirming = canRemove && confirming === comment.id;
|
|
96
148
|
return /* @__PURE__ */ jsxs("li", { className: "crewlet-comment-thread__comment", children: [
|
|
97
149
|
/* @__PURE__ */ jsxs("div", { className: "crewlet-comment-thread__head", children: [
|
|
98
150
|
comment.author ? /* @__PURE__ */ jsxs("span", { className: "crewlet-comment-thread__author", children: [
|
|
@@ -100,7 +152,7 @@ function CommentThread({
|
|
|
100
152
|
/* @__PURE__ */ jsx("span", { className: "crewlet-comment-thread__name", children: comment.author.name })
|
|
101
153
|
] }) : /* @__PURE__ */ jsx("span", { className: "crewlet-comment-thread__name", children: labels.system }),
|
|
102
154
|
/* @__PURE__ */ jsx(RelativeTime, { value: comment.createdAt, now, className: "crewlet-comment-thread__meta" }),
|
|
103
|
-
edited !== null && edited !== created && /* @__PURE__ */ jsx(
|
|
155
|
+
live && edited !== null && edited !== created && /* @__PURE__ */ jsx(
|
|
104
156
|
"time",
|
|
105
157
|
{
|
|
106
158
|
className: "crewlet-comment-thread__meta",
|
|
@@ -110,19 +162,83 @@ function CommentThread({
|
|
|
110
162
|
}
|
|
111
163
|
),
|
|
112
164
|
parent && /* @__PURE__ */ jsx("span", { className: "crewlet-comment-thread__meta", children: labels.inReplyTo(nameOf(parent)) }),
|
|
113
|
-
|
|
165
|
+
(canReply || canEdit || canRemove) && /* @__PURE__ */ jsxs("span", { className: "crewlet-comment-thread__actions", children: [
|
|
166
|
+
canEdit && /* @__PURE__ */ jsx(
|
|
167
|
+
Button,
|
|
168
|
+
{
|
|
169
|
+
size: "small",
|
|
170
|
+
variant: "ghost",
|
|
171
|
+
"aria-label": labels.editOwn,
|
|
172
|
+
disabled: acting,
|
|
173
|
+
onClick: () => startEdit(comment),
|
|
174
|
+
children: labels.edit
|
|
175
|
+
}
|
|
176
|
+
),
|
|
177
|
+
canRemove && /* @__PURE__ */ jsx(
|
|
178
|
+
Button,
|
|
179
|
+
{
|
|
180
|
+
size: "small",
|
|
181
|
+
variant: "ghost",
|
|
182
|
+
"aria-label": labels.removeOwn(name),
|
|
183
|
+
disabled: acting,
|
|
184
|
+
onClick: () => {
|
|
185
|
+
setEditing(null);
|
|
186
|
+
setConfirming(comment.id);
|
|
187
|
+
},
|
|
188
|
+
children: labels.remove
|
|
189
|
+
}
|
|
190
|
+
),
|
|
191
|
+
canReply && /* @__PURE__ */ jsx(
|
|
192
|
+
Button,
|
|
193
|
+
{
|
|
194
|
+
size: "small",
|
|
195
|
+
variant: "ghost",
|
|
196
|
+
className: "crewlet-comment-thread__reply",
|
|
197
|
+
"aria-label": labels.replyTo(name),
|
|
198
|
+
onClick: () => startReply(comment),
|
|
199
|
+
children: labels.reply
|
|
200
|
+
}
|
|
201
|
+
)
|
|
202
|
+
] })
|
|
203
|
+
] }),
|
|
204
|
+
comment.removed ? /* @__PURE__ */ jsx("p", { className: "crewlet-comment-thread__removed", children: labels.removed }) : isEditing ? /* @__PURE__ */ jsx(
|
|
205
|
+
Composer,
|
|
206
|
+
{
|
|
207
|
+
ref: editField,
|
|
208
|
+
value: editDraft,
|
|
209
|
+
onChange: setEditDraft,
|
|
210
|
+
onSubmit: () => void saveEdit(comment),
|
|
211
|
+
label: labels.editField,
|
|
212
|
+
actions: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
213
|
+
/* @__PURE__ */ jsx(Button, { size: "small", variant: "ghost", disabled: acting, onClick: () => setEditing(null), children: labels.cancel }),
|
|
214
|
+
/* @__PURE__ */ jsx(
|
|
215
|
+
Button,
|
|
216
|
+
{
|
|
217
|
+
size: "small",
|
|
218
|
+
variant: "secondary",
|
|
219
|
+
loading: acting,
|
|
220
|
+
disabledReason: acting || editDraft.trim() !== "" ? void 0 : labels.emptyEdit,
|
|
221
|
+
onClick: () => void saveEdit(comment),
|
|
222
|
+
children: labels.save
|
|
223
|
+
}
|
|
224
|
+
)
|
|
225
|
+
] })
|
|
226
|
+
}
|
|
227
|
+
) : /* @__PURE__ */ jsx(Document, { size: "sm", measure: "none", children: comment.body }),
|
|
228
|
+
isConfirming && /* @__PURE__ */ jsxs("div", { className: "crewlet-comment-thread__confirm", role: "group", "aria-label": labels.removeAsk, children: [
|
|
229
|
+
/* @__PURE__ */ jsx("span", { children: labels.removeAsk }),
|
|
230
|
+
/* @__PURE__ */ jsx(Button, { size: "small", variant: "ghost", disabled: acting, onClick: () => setConfirming(null), children: labels.keep }),
|
|
231
|
+
/* @__PURE__ */ jsx(
|
|
114
232
|
Button,
|
|
115
233
|
{
|
|
116
234
|
size: "small",
|
|
117
|
-
variant: "
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
children: labels.reply
|
|
235
|
+
variant: "danger",
|
|
236
|
+
loading: acting,
|
|
237
|
+
onClick: () => void confirmRemove(comment),
|
|
238
|
+
children: labels.removeConfirm
|
|
122
239
|
}
|
|
123
240
|
)
|
|
124
|
-
] })
|
|
125
|
-
/* @__PURE__ */ jsx(Document, { size: "sm", measure: "none", children: comment.body })
|
|
241
|
+
] })
|
|
126
242
|
] }, comment.id);
|
|
127
243
|
}) })
|
|
128
244
|
),
|
package/dist/generated/index.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import '../chunk-2KUAO2CX.js';
|
|
2
|
-
export { SLIDE_COMPARE_LABELS, SlideCompare } from '../chunk-FSCJV5M5.js';
|
|
3
2
|
export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from '../chunk-BALBOOKX.js';
|
|
3
|
+
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-Q4JX6UO7.js';
|
|
4
4
|
export { TypeSpecimen } from '../chunk-JKAFEFFC.js';
|
|
5
|
-
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-3DAIOPAV.js';
|
|
6
5
|
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-QDXSBVZR.js';
|
|
6
|
+
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-3DAIOPAV.js';
|
|
7
7
|
export { VersionTimeline } from '../chunk-RM5RKPFV.js';
|
|
8
8
|
export { WidgetFrame } from '../chunk-5ZTH54O6.js';
|
|
9
|
+
export { TileGrid } from '../chunk-UFID3DSP.js';
|
|
9
10
|
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-3P24SMTI.js';
|
|
10
11
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-GQPKDPMS.js';
|
|
11
12
|
export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from '../chunk-B6AQY6FH.js';
|
|
12
|
-
export {
|
|
13
|
+
export { TagsInput } from '../chunk-A5VNNA3V.js';
|
|
13
14
|
export { ThemeGallery } from '../chunk-35ALKQC5.js';
|
|
14
15
|
export { DensitySwitcher, ThemeSwitcher } from '../chunk-AIYSPVVZ.js';
|
|
15
|
-
export { ThemeSwatch } from '../chunk-3XQUEF5C.js';
|
|
16
16
|
export { ThemeToggle } from '../chunk-5RXY2RL4.js';
|
|
17
17
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
|
|
18
|
+
export { ThemeSwatch } from '../chunk-3XQUEF5C.js';
|
|
18
19
|
export { ThinkingIndicator } from '../chunk-DX7ZHO47.js';
|
|
19
|
-
export { TileGrid } from '../chunk-UFID3DSP.js';
|
|
20
20
|
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-U4HA6LRQ.js';
|
|
21
21
|
export { Switcher } from '../chunk-GPEXCG5K.js';
|
|
22
22
|
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-JKFA2F7J.js';
|
|
23
|
-
export {
|
|
23
|
+
export { StatCard } from '../chunk-2YADDY4A.js';
|
|
24
24
|
export { StatGroup } from '../chunk-OUD75UB2.js';
|
|
25
25
|
export { Statement } from '../chunk-MZJKPTA5.js';
|
|
26
26
|
export { StatusLegend } from '../chunk-CXFMNOPV.js';
|
|
27
27
|
export { StatusLine } from '../chunk-435WY2WT.js';
|
|
28
|
-
|
|
28
|
+
export { SLIDE_COMPARE_LABELS, SlideCompare } from '../chunk-FSCJV5M5.js';
|
|
29
29
|
export { SlideFilmstrip } from '../chunk-7FSIBX4S.js';
|
|
30
30
|
export { SlideGrid } from '../chunk-73L3774J.js';
|
|
31
31
|
export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from '../chunk-S656HY4W.js';
|
|
32
|
-
export { StatCard } from '../chunk-2YADDY4A.js';
|
|
33
32
|
export { SetupWizard } from '../chunk-2DZV4PHK.js';
|
|
34
33
|
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-WZ5TDJ2K.js';
|
|
35
34
|
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-MNACKUBB.js';
|
|
36
35
|
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-E3AFQTWT.js';
|
|
37
36
|
export { TagGroup } from '../chunk-FOUIZS7Q.js';
|
|
38
37
|
export { matchesShortcut, useShortcut } from '../chunk-K6PKXCR2.js';
|
|
38
|
+
import '../chunk-ZZMXJTII.js';
|
|
39
39
|
export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-EFY7R766.js';
|
|
40
40
|
export { SegmentedMeter, segmentedMeterLabel } from '../chunk-4AK52VHB.js';
|
|
41
41
|
export { SelectionBar } from '../chunk-XIKU44QE.js';
|
|
42
42
|
export { SEND_BUTTON_LABELS, SendButton } from '../chunk-PNSUXNNY.js';
|
|
43
43
|
export { SettingsTable, SettingsTableRow } from '../chunk-FRXOUBN2.js';
|
|
44
44
|
export { ReviewList } from '../chunk-7XYU5PSQ.js';
|
|
45
|
-
export { RichEditor, preloadRichEditor } from '../chunk-KQFOPY2P.js';
|
|
46
|
-
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
47
45
|
export { canonicalMarkdown, roundTripMarkdown } from '../chunk-GBASM5EV.js';
|
|
48
46
|
import '../chunk-7CSTEH5I.js';
|
|
47
|
+
export { RichEditor, preloadRichEditor } from '../chunk-Q6QKY7EZ.js';
|
|
48
|
+
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
49
49
|
export { RoomRow } from '../chunk-45OOFAL6.js';
|
|
50
50
|
export { RUN_STATES, RunChip } from '../chunk-L6SYLG3F.js';
|
|
51
51
|
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-4EKHHHOQ.js';
|
|
@@ -66,11 +66,11 @@ export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-SM2MM4DQ.js'
|
|
|
66
66
|
export { Select } from '../chunk-6ZFQ6TAM.js';
|
|
67
67
|
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-LZCGLS7U.js';
|
|
68
68
|
export { PinTile } from '../chunk-7XRAYILF.js';
|
|
69
|
-
export { PresenceStack } from '../chunk-MTIW75QU.js';
|
|
70
69
|
export { PresenterView, formatStopwatch } from '../chunk-HERJFKPF.js';
|
|
71
70
|
export { SLIDE_NAV_LABELS, SlideNav } from '../chunk-MZNOVME7.js';
|
|
72
71
|
export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from '../chunk-7O53SWKI.js';
|
|
73
72
|
export { PricingCard } from '../chunk-O2XAJDK6.js';
|
|
73
|
+
export { PresenceStack } from '../chunk-MTIW75QU.js';
|
|
74
74
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from '../chunk-6BTQVM6O.js';
|
|
75
75
|
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-VCFV7FTE.js';
|
|
76
76
|
export { TreeGrid } from '../chunk-VIS6DKGQ.js';
|
|
@@ -94,8 +94,8 @@ export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../
|
|
|
94
94
|
export { ListDetail, ListDetailBack } from '../chunk-DNBIBLT2.js';
|
|
95
95
|
export { ListInput, withDraft } from '../chunk-Z64KEJ3N.js';
|
|
96
96
|
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-DPNVKWJX.js';
|
|
97
|
-
export { LogoSlot, LogoSlotGroup } from '../chunk-4Q7AWZ6O.js';
|
|
98
97
|
export { LIVE_PREVIEW_DWELL_MS, LIVE_PREVIEW_MARGIN, LIVE_PREVIEW_MAX, LIVE_PREVIEW_MAX_FRAMES, LIVE_PREVIEW_RENDER_MS, LIVE_PREVIEW_STILLS_KEPT, LivePreview, LivePreviewBudgetProvider, PREVIEW_FILL_MAX_CUT, PreviewScale, createLivePreviewBudget, createLivePreviewStills, immediately, perFrame, useLivePreview } from '../chunk-CQFQGAZI.js';
|
|
98
|
+
export { LogoSlot, LogoSlotGroup } from '../chunk-OIC6S5ES.js';
|
|
99
99
|
export { KeyValueRows, keyValueRowsLabels } from '../chunk-Q7WKCU2U.js';
|
|
100
100
|
export { LAYERS_LIST_LABELS, LayersList } from '../chunk-TEOUMHAI.js';
|
|
101
101
|
export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
|
|
@@ -115,8 +115,8 @@ export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscree
|
|
|
115
115
|
export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
|
|
116
116
|
import '../chunk-MICRGE3J.js';
|
|
117
117
|
import '../chunk-FFMCMSJB.js';
|
|
118
|
-
export { ImageUpload } from '../chunk-K6Y6CDEZ.js';
|
|
119
118
|
export { IconTile } from '../chunk-VRVNLJUA.js';
|
|
119
|
+
export { ImageUpload } from '../chunk-K6Y6CDEZ.js';
|
|
120
120
|
export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from '../chunk-XF5PDUDH.js';
|
|
121
121
|
export { FileList } from '../chunk-FQBSYMEW.js';
|
|
122
122
|
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from '../chunk-L6HUVA33.js';
|
|
@@ -138,10 +138,10 @@ export { DockColumn } from '../chunk-UXTW4GOT.js';
|
|
|
138
138
|
export { DownloadButton } from '../chunk-GCRACVZO.js';
|
|
139
139
|
export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-YNRKVY7X.js';
|
|
140
140
|
export { EditingStatus } from '../chunk-KRF3GQ63.js';
|
|
141
|
+
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-OHXOUHTX.js';
|
|
141
142
|
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-3DGNF2EH.js';
|
|
142
143
|
export { PageHeader } from '../chunk-FPDIHEM4.js';
|
|
143
144
|
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from '../chunk-E4QX4VET.js';
|
|
144
|
-
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-OHXOUHTX.js';
|
|
145
145
|
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-AQZPZYSY.js';
|
|
146
146
|
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-JLOZE7QG.js';
|
|
147
147
|
export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from '../chunk-EHD4CEHK.js';
|
|
@@ -151,8 +151,8 @@ export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-GTNXDLYH.js';
|
|
|
151
151
|
export { DescriptionList, DescriptionListItem } from '../chunk-LH4OF7FI.js';
|
|
152
152
|
export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from '../chunk-U3LHWQQK.js';
|
|
153
153
|
export { Container } from '../chunk-HJO4WCH6.js';
|
|
154
|
-
export { ContrastHelp } from '../chunk-
|
|
155
|
-
export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from '../chunk-
|
|
154
|
+
export { ContrastHelp } from '../chunk-LPQF7Z44.js';
|
|
155
|
+
export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from '../chunk-F7NHMBGJ.js';
|
|
156
156
|
export { CursorFlag } from '../chunk-MMCYH5LB.js';
|
|
157
157
|
export { PresenceRing, presenceHueClass } from '../chunk-EFX2YC5T.js';
|
|
158
158
|
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-CPWSBK3F.js';
|
|
@@ -162,7 +162,7 @@ export { Combobox } from '../chunk-WUJ54OTI.js';
|
|
|
162
162
|
export { CommandPalette } from '../chunk-XYZA7OSE.js';
|
|
163
163
|
export { ConfirmModal, Modal } from '../chunk-VSD3536L.js';
|
|
164
164
|
export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from '../chunk-KW7T23RT.js';
|
|
165
|
-
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-
|
|
165
|
+
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-WLCPN22T.js';
|
|
166
166
|
export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from '../chunk-QFI5C4YF.js';
|
|
167
167
|
export { LockedLabel } from '../chunk-TODOBUXO.js';
|
|
168
168
|
export { ConfirmField, confirmMatches } from '../chunk-BODW4JH3.js';
|
|
@@ -173,36 +173,29 @@ export { ChoiceButtons } from '../chunk-AHW3K3SH.js';
|
|
|
173
173
|
export { ChoiceCards } from '../chunk-FHPHRIPO.js';
|
|
174
174
|
export { ChoiceList } from '../chunk-XU7RQNT6.js';
|
|
175
175
|
export { CLAMP_LABELS, Clamp } from '../chunk-IZGB6SQE.js';
|
|
176
|
+
export { ColorChip } from '../chunk-C6T4VBEY.js';
|
|
176
177
|
export { CodeBlock } from '../chunk-FPCTHIV6.js';
|
|
177
178
|
export { Copyable } from '../chunk-FO4OY4RV.js';
|
|
178
179
|
export { CopyButton } from '../chunk-2MEBMWNO.js';
|
|
179
180
|
export { useClipboard, writeClipboard } from '../chunk-STJ7QBC3.js';
|
|
180
181
|
export { useOutcome } from '../chunk-DTIW4CHZ.js';
|
|
181
|
-
export { ColorChip } from '../chunk-C6T4VBEY.js';
|
|
182
182
|
export { ColorField } from '../chunk-UQA7SV3B.js';
|
|
183
183
|
import '../chunk-3L5NHASN.js';
|
|
184
184
|
export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, StackedRing, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from '../chunk-TQ6ZPQI4.js';
|
|
185
185
|
export { ChatDay, ChatDayPill } from '../chunk-RBQOS3JC.js';
|
|
186
186
|
export { ChatDivider } from '../chunk-EI242VTX.js';
|
|
187
|
-
import '../chunk-5QJNA7KD.js';
|
|
188
187
|
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-KTKPC3CV.js';
|
|
188
|
+
import '../chunk-5QJNA7KD.js';
|
|
189
189
|
export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from '../chunk-Y3EV3Q2U.js';
|
|
190
190
|
export { CheckGrid } from '../chunk-AYLFZW27.js';
|
|
191
|
-
export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from '../chunk-QM2QFKIA.js';
|
|
192
|
-
export { Note } from '../chunk-YJPQJVRJ.js';
|
|
193
191
|
export { CanvasSchematic } from '../chunk-NBWNLYWZ.js';
|
|
194
|
-
export { CanvasToolbar, toolForKey } from '../chunk-AKCIF6XN.js';
|
|
195
|
-
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
|
|
196
192
|
export { CatalogTile } from '../chunk-JKEGFDBG.js';
|
|
197
193
|
export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from '../chunk-NB53SAL4.js';
|
|
198
194
|
export { DIFF_LIST_LABELS, DiffList } from '../chunk-RGJB34YN.js';
|
|
199
195
|
export { ChangeMark } from '../chunk-TYQJRTTK.js';
|
|
200
196
|
export { LONGTEXT_MAX_DEFAULT, RATING_MAX_CEILING, RATING_MAX_DEFAULT, SHEET_COLUMN_BOUNDS, SHEET_COLUMN_TYPES, SHEET_COLUMN_WIDTHS, SHEET_FIT_SAMPLES, SHEET_LABELS, SHEET_ROW_HEIGHT, SHEET_ROW_NUMBER_WIDTH, SheetPendingEdits, TEXT_MAX_DEFAULT, URL_MAX, cellDescription, cellKey, cellSpeech, changeText, changeTime, checkValue, columnOffsets, columnWidth, compareValues, displayText, drawnColumns, editText, editorSide, findOption, findPerson, fitSamples, fittedWidth, flagText, hasPrevious, inRange, isEmptyValue, isMod, isMultiCell, isSheetColumnType, isTypingKey, liveOptions, moveFrom, nextSort, normalizeValue, optionHue, parseOptionList, parseTSV, parseText, planClear, planPaste, presenceByCell, presenceByColumn, presenceByRow, rangeOf, ratingMax, refusalText, retypeColumn, rowName, sameValue, scrollToRow, sheetLabels, sortRows, spokenText, statusTone, textMax, toTSV, visibleRows } from '../chunk-LFSIKGRQ.js';
|
|
201
197
|
export { PRESENCE_ACTIVITIES, PRESENCE_HUES, PRESENCE_LABELS, assignPresenceHues, collapseSessions, joinNames, presenceLabels, presenceOrder } from '../chunk-Z7JYG5TF.js';
|
|
202
|
-
export {
|
|
203
|
-
export { BrandScope, brandScopeInputs } from '../chunk-X7WEE3EK.js';
|
|
204
|
-
import '../chunk-5SGHW42B.js';
|
|
205
|
-
import '../chunk-7W3LYIOC.js';
|
|
198
|
+
export { ArtifactNameCell } from '../chunk-3SCASXQH.js';
|
|
206
199
|
export { Breadcrumb } from '../chunk-NKCLA6RG.js';
|
|
207
200
|
export { KeyChip } from '../chunk-HBDA76EZ.js';
|
|
208
201
|
export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from '../chunk-K6YVJS5T.js';
|
|
@@ -211,9 +204,12 @@ import '../chunk-6C7GQOBV.js';
|
|
|
211
204
|
export { StatusCard } from '../chunk-X227R7IP.js';
|
|
212
205
|
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from '../chunk-EE3DJMSQ.js';
|
|
213
206
|
export { Callout } from '../chunk-RCQLXOGS.js';
|
|
207
|
+
export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from '../chunk-QM2QFKIA.js';
|
|
208
|
+
export { Note } from '../chunk-YJPQJVRJ.js';
|
|
209
|
+
export { CanvasToolbar, toolForKey } from '../chunk-AKCIF6XN.js';
|
|
210
|
+
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
|
|
214
211
|
export { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, CANVAS_FIT_PADDING, CANVAS_FOCUS_CONTEXT, CANVAS_MAX_ZOOM, CANVAS_MIN_ZOOM, CANVAS_PAN_MARGIN, CANVAS_PAN_STEP, CANVAS_REVEAL_PADDING, CANVAS_TAP_SLOP, CANVAS_WHEEL_LINE_PX, CANVAS_WHEEL_ZOOM_PER_PIXEL, CANVAS_ZOOM_CEILING, CANVAS_ZOOM_LIMITS, CANVAS_ZOOM_STEP, Canvas, IDENTITY_VIEW, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from '../chunk-MNVIIZQP.js';
|
|
215
212
|
import '../chunk-X4HBZSXA.js';
|
|
216
|
-
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from '../chunk-7UQQEUOT.js';
|
|
217
213
|
export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from '../chunk-GZSEIFWB.js';
|
|
218
214
|
export { Tag } from '../chunk-SJ3EUCFD.js';
|
|
219
215
|
export { ATTENTION_LIST_LABELS, AttentionList } from '../chunk-NKB2ORTZ.js';
|
|
@@ -224,8 +220,12 @@ export { Popover } from '../chunk-KDRJZWE3.js';
|
|
|
224
220
|
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-ZIL6MTMZ.js';
|
|
225
221
|
export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from '../chunk-AYKXMIOR.js';
|
|
226
222
|
export { BrandChip } from '../chunk-UH44L7OJ.js';
|
|
223
|
+
export { BrandSample } from '../chunk-IJCMOAM3.js';
|
|
224
|
+
export { BrandScope, brandScopeInputs } from '../chunk-X7WEE3EK.js';
|
|
225
|
+
import '../chunk-5SGHW42B.js';
|
|
226
|
+
import '../chunk-7W3LYIOC.js';
|
|
227
227
|
export { BrandLockup } from '../chunk-KXWJJWBD.js';
|
|
228
|
-
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-
|
|
228
|
+
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-XZB53C7U.js';
|
|
229
229
|
export { Skeleton } from '../chunk-WFAJYBLX.js';
|
|
230
230
|
export { PRINCIPAL_KINDS, PrincipalAvatar } from '../chunk-HF5L56YQ.js';
|
|
231
231
|
export { RelativeTime, currentNow, formatElapsed, formatExact, formatRelative, formatUntil, toISO, toInstant, useNow } from '../chunk-GBKBME7Q.js';
|
|
@@ -237,8 +237,8 @@ import '../chunk-WSIJDWUG.js';
|
|
|
237
237
|
export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from '../chunk-MMV7NEAC.js';
|
|
238
238
|
export { Document, DocumentTitle, DocumentTitleField } from '../chunk-I4PBFJGX.js';
|
|
239
239
|
export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from '../chunk-W3A6NBUM.js';
|
|
240
|
-
export { ArtifactNameCell } from '../chunk-3SCASXQH.js';
|
|
241
240
|
export { ArtifactMakeRow } from '../chunk-A3SQWUWG.js';
|
|
241
|
+
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from '../chunk-7UQQEUOT.js';
|
|
242
242
|
export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-V47JOO72.js';
|
|
243
243
|
export { afterMotion, releaseFocus, runningMotion, usePresence } from '../chunk-SNKQNAJI.js';
|
|
244
244
|
import '../chunk-JLOESTT2.js';
|
|
@@ -250,6 +250,7 @@ export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-XVKTZ2AC.js';
|
|
|
250
250
|
export { Switch } from '../chunk-6YYRFGXO.js';
|
|
251
251
|
export { DEFAULT_REORDER_LABELS, moveKey, useReorder, useReorderLists } from '../chunk-JMBPMSNI.js';
|
|
252
252
|
export { Checkbox, CheckboxGroup } from '../chunk-KFTVPWG2.js';
|
|
253
|
+
export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from '../chunk-DOY3KC6I.js';
|
|
253
254
|
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from '../chunk-NLGRDKCK.js';
|
|
254
255
|
import '../chunk-7U4V36SB.js';
|
|
255
256
|
export { SegmentedControl } from '../chunk-V2FD4RPS.js';
|
|
@@ -259,7 +260,6 @@ export { StatusDot } from '../chunk-QRE6JCHS.js';
|
|
|
259
260
|
export { ARTIFACT_ICON_WORDS, ArtifactIcon, artifactIconGlyph } from '../chunk-AVL52EME.js';
|
|
260
261
|
export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
|
|
261
262
|
export { Menu } from '../chunk-EGHOU7U2.js';
|
|
262
|
-
export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from '../chunk-DOY3KC6I.js';
|
|
263
263
|
export { ACCESS_DENIED_REASONS, AccessDeniedCard } from '../chunk-QTMUKRTN.js';
|
|
264
264
|
export { EmptyState } from '../chunk-PPUR46MK.js';
|
|
265
265
|
export { Accordion, AccordionItem } from '../chunk-3QEAANRP.js';
|
package/dist/index.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import './chunk-2KUAO2CX.js';
|
|
2
|
-
export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-FSCJV5M5.js';
|
|
3
2
|
export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from './chunk-BALBOOKX.js';
|
|
3
|
+
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from './chunk-Q4JX6UO7.js';
|
|
4
4
|
export { TypeSpecimen } from './chunk-JKAFEFFC.js';
|
|
5
|
-
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-3DAIOPAV.js';
|
|
6
5
|
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-QDXSBVZR.js';
|
|
6
|
+
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-3DAIOPAV.js';
|
|
7
7
|
export { VersionTimeline } from './chunk-RM5RKPFV.js';
|
|
8
8
|
export { WidgetFrame } from './chunk-5ZTH54O6.js';
|
|
9
|
+
export { TileGrid } from './chunk-UFID3DSP.js';
|
|
9
10
|
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-3P24SMTI.js';
|
|
10
11
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-GQPKDPMS.js';
|
|
11
12
|
export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from './chunk-B6AQY6FH.js';
|
|
12
|
-
export {
|
|
13
|
+
export { TagsInput } from './chunk-A5VNNA3V.js';
|
|
13
14
|
export { ThemeGallery } from './chunk-35ALKQC5.js';
|
|
14
15
|
export { DensitySwitcher, ThemeSwitcher } from './chunk-AIYSPVVZ.js';
|
|
15
|
-
export { ThemeSwatch } from './chunk-3XQUEF5C.js';
|
|
16
16
|
export { ThemeToggle } from './chunk-5RXY2RL4.js';
|
|
17
17
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from './chunk-Z24ZUSTX.js';
|
|
18
|
+
export { ThemeSwatch } from './chunk-3XQUEF5C.js';
|
|
18
19
|
export { ThinkingIndicator } from './chunk-DX7ZHO47.js';
|
|
19
|
-
export { TileGrid } from './chunk-UFID3DSP.js';
|
|
20
20
|
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-U4HA6LRQ.js';
|
|
21
21
|
export { Switcher } from './chunk-GPEXCG5K.js';
|
|
22
22
|
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from './chunk-JKFA2F7J.js';
|
|
23
|
-
export {
|
|
23
|
+
export { StatCard } from './chunk-2YADDY4A.js';
|
|
24
24
|
export { StatGroup } from './chunk-OUD75UB2.js';
|
|
25
25
|
export { Statement } from './chunk-MZJKPTA5.js';
|
|
26
26
|
export { StatusLegend } from './chunk-CXFMNOPV.js';
|
|
27
27
|
export { StatusLine } from './chunk-435WY2WT.js';
|
|
28
|
-
|
|
28
|
+
export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-FSCJV5M5.js';
|
|
29
29
|
export { SlideFilmstrip } from './chunk-7FSIBX4S.js';
|
|
30
30
|
export { SlideGrid } from './chunk-73L3774J.js';
|
|
31
31
|
export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from './chunk-S656HY4W.js';
|
|
32
|
-
export { StatCard } from './chunk-2YADDY4A.js';
|
|
33
32
|
export { SetupWizard } from './chunk-2DZV4PHK.js';
|
|
34
33
|
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-WZ5TDJ2K.js';
|
|
35
34
|
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-MNACKUBB.js';
|
|
36
35
|
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from './chunk-E3AFQTWT.js';
|
|
37
36
|
export { TagGroup } from './chunk-FOUIZS7Q.js';
|
|
38
37
|
export { matchesShortcut, useShortcut } from './chunk-K6PKXCR2.js';
|
|
38
|
+
import './chunk-ZZMXJTII.js';
|
|
39
39
|
export { SectionFrame, SectionFrameBody, SectionFrameNav } from './chunk-EFY7R766.js';
|
|
40
40
|
export { SegmentedMeter, segmentedMeterLabel } from './chunk-4AK52VHB.js';
|
|
41
41
|
export { SelectionBar } from './chunk-XIKU44QE.js';
|
|
42
42
|
export { SEND_BUTTON_LABELS, SendButton } from './chunk-PNSUXNNY.js';
|
|
43
43
|
export { SettingsTable, SettingsTableRow } from './chunk-FRXOUBN2.js';
|
|
44
44
|
export { ReviewList } from './chunk-7XYU5PSQ.js';
|
|
45
|
-
export { RichEditor, preloadRichEditor } from './chunk-KQFOPY2P.js';
|
|
46
|
-
export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
47
45
|
export { canonicalMarkdown, roundTripMarkdown } from './chunk-GBASM5EV.js';
|
|
48
46
|
import './chunk-7CSTEH5I.js';
|
|
47
|
+
export { RichEditor, preloadRichEditor } from './chunk-Q6QKY7EZ.js';
|
|
48
|
+
export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
49
49
|
export { RoomRow } from './chunk-45OOFAL6.js';
|
|
50
50
|
export { RUN_STATES, RunChip } from './chunk-L6SYLG3F.js';
|
|
51
51
|
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-4EKHHHOQ.js';
|
|
@@ -66,11 +66,11 @@ export { NavDivider, NavGroup, NavItem, SidebarNav } from './chunk-SM2MM4DQ.js';
|
|
|
66
66
|
export { Select } from './chunk-6ZFQ6TAM.js';
|
|
67
67
|
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from './chunk-LZCGLS7U.js';
|
|
68
68
|
export { PinTile } from './chunk-7XRAYILF.js';
|
|
69
|
-
export { PresenceStack } from './chunk-MTIW75QU.js';
|
|
70
69
|
export { PresenterView, formatStopwatch } from './chunk-HERJFKPF.js';
|
|
71
70
|
export { SLIDE_NAV_LABELS, SlideNav } from './chunk-MZNOVME7.js';
|
|
72
71
|
export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from './chunk-7O53SWKI.js';
|
|
73
72
|
export { PricingCard } from './chunk-O2XAJDK6.js';
|
|
73
|
+
export { PresenceStack } from './chunk-MTIW75QU.js';
|
|
74
74
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from './chunk-6BTQVM6O.js';
|
|
75
75
|
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-VCFV7FTE.js';
|
|
76
76
|
export { TreeGrid } from './chunk-VIS6DKGQ.js';
|
|
@@ -94,8 +94,8 @@ export { ActionDivider, MessageAction, MessageActions, QuickReaction } from './c
|
|
|
94
94
|
export { ListDetail, ListDetailBack } from './chunk-DNBIBLT2.js';
|
|
95
95
|
export { ListInput, withDraft } from './chunk-Z64KEJ3N.js';
|
|
96
96
|
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.js';
|
|
97
|
-
export { LogoSlot, LogoSlotGroup } from './chunk-4Q7AWZ6O.js';
|
|
98
97
|
export { LIVE_PREVIEW_DWELL_MS, LIVE_PREVIEW_MARGIN, LIVE_PREVIEW_MAX, LIVE_PREVIEW_MAX_FRAMES, LIVE_PREVIEW_RENDER_MS, LIVE_PREVIEW_STILLS_KEPT, LivePreview, LivePreviewBudgetProvider, PREVIEW_FILL_MAX_CUT, PreviewScale, createLivePreviewBudget, createLivePreviewStills, immediately, perFrame, useLivePreview } from './chunk-CQFQGAZI.js';
|
|
98
|
+
export { LogoSlot, LogoSlotGroup } from './chunk-OIC6S5ES.js';
|
|
99
99
|
export { KeyValueRows, keyValueRowsLabels } from './chunk-Q7WKCU2U.js';
|
|
100
100
|
export { LAYERS_LIST_LABELS, LayersList } from './chunk-TEOUMHAI.js';
|
|
101
101
|
export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
|
|
@@ -115,8 +115,8 @@ export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscree
|
|
|
115
115
|
export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
|
|
116
116
|
import './chunk-MICRGE3J.js';
|
|
117
117
|
import './chunk-FFMCMSJB.js';
|
|
118
|
-
export { ImageUpload } from './chunk-K6Y6CDEZ.js';
|
|
119
118
|
export { IconTile } from './chunk-VRVNLJUA.js';
|
|
119
|
+
export { ImageUpload } from './chunk-K6Y6CDEZ.js';
|
|
120
120
|
export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from './chunk-XF5PDUDH.js';
|
|
121
121
|
export { FileList } from './chunk-FQBSYMEW.js';
|
|
122
122
|
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from './chunk-L6HUVA33.js';
|
|
@@ -138,10 +138,10 @@ export { DockColumn } from './chunk-UXTW4GOT.js';
|
|
|
138
138
|
export { DownloadButton } from './chunk-GCRACVZO.js';
|
|
139
139
|
export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-YNRKVY7X.js';
|
|
140
140
|
export { EditingStatus } from './chunk-KRF3GQ63.js';
|
|
141
|
+
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-OHXOUHTX.js';
|
|
141
142
|
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from './chunk-3DGNF2EH.js';
|
|
142
143
|
export { PageHeader } from './chunk-FPDIHEM4.js';
|
|
143
144
|
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from './chunk-E4QX4VET.js';
|
|
144
|
-
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-OHXOUHTX.js';
|
|
145
145
|
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from './chunk-AQZPZYSY.js';
|
|
146
146
|
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from './chunk-JLOZE7QG.js';
|
|
147
147
|
export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from './chunk-EHD4CEHK.js';
|
|
@@ -151,8 +151,8 @@ export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from './chunk-GTNXDLYH.js';
|
|
|
151
151
|
export { DescriptionList, DescriptionListItem } from './chunk-LH4OF7FI.js';
|
|
152
152
|
export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from './chunk-U3LHWQQK.js';
|
|
153
153
|
export { Container } from './chunk-HJO4WCH6.js';
|
|
154
|
-
export { ContrastHelp } from './chunk-
|
|
155
|
-
export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from './chunk-
|
|
154
|
+
export { ContrastHelp } from './chunk-LPQF7Z44.js';
|
|
155
|
+
export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from './chunk-F7NHMBGJ.js';
|
|
156
156
|
export { CursorFlag } from './chunk-MMCYH5LB.js';
|
|
157
157
|
export { PresenceRing, presenceHueClass } from './chunk-EFX2YC5T.js';
|
|
158
158
|
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from './chunk-CPWSBK3F.js';
|
|
@@ -162,7 +162,7 @@ export { Combobox } from './chunk-WUJ54OTI.js';
|
|
|
162
162
|
export { CommandPalette } from './chunk-XYZA7OSE.js';
|
|
163
163
|
export { ConfirmModal, Modal } from './chunk-VSD3536L.js';
|
|
164
164
|
export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
165
|
-
export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-
|
|
165
|
+
export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-WLCPN22T.js';
|
|
166
166
|
export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from './chunk-QFI5C4YF.js';
|
|
167
167
|
export { LockedLabel } from './chunk-TODOBUXO.js';
|
|
168
168
|
export { ConfirmField, confirmMatches } from './chunk-BODW4JH3.js';
|
|
@@ -173,36 +173,29 @@ export { ChoiceButtons } from './chunk-AHW3K3SH.js';
|
|
|
173
173
|
export { ChoiceCards } from './chunk-FHPHRIPO.js';
|
|
174
174
|
export { ChoiceList } from './chunk-XU7RQNT6.js';
|
|
175
175
|
export { CLAMP_LABELS, Clamp } from './chunk-IZGB6SQE.js';
|
|
176
|
+
export { ColorChip } from './chunk-C6T4VBEY.js';
|
|
176
177
|
export { CodeBlock } from './chunk-FPCTHIV6.js';
|
|
177
178
|
export { Copyable } from './chunk-FO4OY4RV.js';
|
|
178
179
|
export { CopyButton } from './chunk-2MEBMWNO.js';
|
|
179
180
|
export { useClipboard, writeClipboard } from './chunk-STJ7QBC3.js';
|
|
180
181
|
export { useOutcome } from './chunk-DTIW4CHZ.js';
|
|
181
|
-
export { ColorChip } from './chunk-C6T4VBEY.js';
|
|
182
182
|
export { ColorField } from './chunk-UQA7SV3B.js';
|
|
183
183
|
import './chunk-3L5NHASN.js';
|
|
184
184
|
export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, StackedRing, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from './chunk-TQ6ZPQI4.js';
|
|
185
185
|
export { ChatDay, ChatDayPill } from './chunk-RBQOS3JC.js';
|
|
186
186
|
export { ChatDivider } from './chunk-EI242VTX.js';
|
|
187
|
-
import './chunk-5QJNA7KD.js';
|
|
188
187
|
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from './chunk-KTKPC3CV.js';
|
|
188
|
+
import './chunk-5QJNA7KD.js';
|
|
189
189
|
export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from './chunk-Y3EV3Q2U.js';
|
|
190
190
|
export { CheckGrid } from './chunk-AYLFZW27.js';
|
|
191
|
-
export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from './chunk-QM2QFKIA.js';
|
|
192
|
-
export { Note } from './chunk-YJPQJVRJ.js';
|
|
193
191
|
export { CanvasSchematic } from './chunk-NBWNLYWZ.js';
|
|
194
|
-
export { CanvasToolbar, toolForKey } from './chunk-AKCIF6XN.js';
|
|
195
|
-
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
|
|
196
192
|
export { CatalogTile } from './chunk-JKEGFDBG.js';
|
|
197
193
|
export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from './chunk-NB53SAL4.js';
|
|
198
194
|
export { DIFF_LIST_LABELS, DiffList } from './chunk-RGJB34YN.js';
|
|
199
195
|
export { ChangeMark } from './chunk-TYQJRTTK.js';
|
|
200
196
|
export { LONGTEXT_MAX_DEFAULT, RATING_MAX_CEILING, RATING_MAX_DEFAULT, SHEET_COLUMN_BOUNDS, SHEET_COLUMN_TYPES, SHEET_COLUMN_WIDTHS, SHEET_FIT_SAMPLES, SHEET_LABELS, SHEET_ROW_HEIGHT, SHEET_ROW_NUMBER_WIDTH, SheetPendingEdits, TEXT_MAX_DEFAULT, URL_MAX, cellDescription, cellKey, cellSpeech, changeText, changeTime, checkValue, columnOffsets, columnWidth, compareValues, displayText, drawnColumns, editText, editorSide, findOption, findPerson, fitSamples, fittedWidth, flagText, hasPrevious, inRange, isEmptyValue, isMod, isMultiCell, isSheetColumnType, isTypingKey, liveOptions, moveFrom, nextSort, normalizeValue, optionHue, parseOptionList, parseTSV, parseText, planClear, planPaste, presenceByCell, presenceByColumn, presenceByRow, rangeOf, ratingMax, refusalText, retypeColumn, rowName, sameValue, scrollToRow, sheetLabels, sortRows, spokenText, statusTone, textMax, toTSV, visibleRows } from './chunk-LFSIKGRQ.js';
|
|
201
197
|
export { PRESENCE_ACTIVITIES, PRESENCE_HUES, PRESENCE_LABELS, assignPresenceHues, collapseSessions, joinNames, presenceLabels, presenceOrder } from './chunk-Z7JYG5TF.js';
|
|
202
|
-
export {
|
|
203
|
-
export { BrandScope, brandScopeInputs } from './chunk-X7WEE3EK.js';
|
|
204
|
-
import './chunk-5SGHW42B.js';
|
|
205
|
-
import './chunk-7W3LYIOC.js';
|
|
198
|
+
export { ArtifactNameCell } from './chunk-3SCASXQH.js';
|
|
206
199
|
export { Breadcrumb } from './chunk-NKCLA6RG.js';
|
|
207
200
|
export { KeyChip } from './chunk-HBDA76EZ.js';
|
|
208
201
|
export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from './chunk-K6YVJS5T.js';
|
|
@@ -211,9 +204,12 @@ import './chunk-6C7GQOBV.js';
|
|
|
211
204
|
export { StatusCard } from './chunk-X227R7IP.js';
|
|
212
205
|
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
|
|
213
206
|
export { Callout } from './chunk-RCQLXOGS.js';
|
|
207
|
+
export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from './chunk-QM2QFKIA.js';
|
|
208
|
+
export { Note } from './chunk-YJPQJVRJ.js';
|
|
209
|
+
export { CanvasToolbar, toolForKey } from './chunk-AKCIF6XN.js';
|
|
210
|
+
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
|
|
214
211
|
export { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, CANVAS_FIT_PADDING, CANVAS_FOCUS_CONTEXT, CANVAS_MAX_ZOOM, CANVAS_MIN_ZOOM, CANVAS_PAN_MARGIN, CANVAS_PAN_STEP, CANVAS_REVEAL_PADDING, CANVAS_TAP_SLOP, CANVAS_WHEEL_LINE_PX, CANVAS_WHEEL_ZOOM_PER_PIXEL, CANVAS_ZOOM_CEILING, CANVAS_ZOOM_LIMITS, CANVAS_ZOOM_STEP, Canvas, IDENTITY_VIEW, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from './chunk-MNVIIZQP.js';
|
|
215
212
|
import './chunk-X4HBZSXA.js';
|
|
216
|
-
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from './chunk-7UQQEUOT.js';
|
|
217
213
|
export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from './chunk-GZSEIFWB.js';
|
|
218
214
|
export { Tag } from './chunk-SJ3EUCFD.js';
|
|
219
215
|
export { ATTENTION_LIST_LABELS, AttentionList } from './chunk-NKB2ORTZ.js';
|
|
@@ -224,8 +220,12 @@ export { Popover } from './chunk-KDRJZWE3.js';
|
|
|
224
220
|
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from './chunk-ZIL6MTMZ.js';
|
|
225
221
|
export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from './chunk-AYKXMIOR.js';
|
|
226
222
|
export { BrandChip } from './chunk-UH44L7OJ.js';
|
|
223
|
+
export { BrandSample } from './chunk-IJCMOAM3.js';
|
|
224
|
+
export { BrandScope, brandScopeInputs } from './chunk-X7WEE3EK.js';
|
|
225
|
+
import './chunk-5SGHW42B.js';
|
|
226
|
+
import './chunk-7W3LYIOC.js';
|
|
227
227
|
export { BrandLockup } from './chunk-KXWJJWBD.js';
|
|
228
|
-
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from './chunk-
|
|
228
|
+
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from './chunk-XZB53C7U.js';
|
|
229
229
|
export { Skeleton } from './chunk-WFAJYBLX.js';
|
|
230
230
|
export { PRINCIPAL_KINDS, PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
231
231
|
export { RelativeTime, currentNow, formatElapsed, formatExact, formatRelative, formatUntil, toISO, toInstant, useNow } from './chunk-GBKBME7Q.js';
|
|
@@ -237,8 +237,8 @@ import './chunk-WSIJDWUG.js';
|
|
|
237
237
|
export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from './chunk-MMV7NEAC.js';
|
|
238
238
|
export { Document, DocumentTitle, DocumentTitleField } from './chunk-I4PBFJGX.js';
|
|
239
239
|
export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from './chunk-W3A6NBUM.js';
|
|
240
|
-
export { ArtifactNameCell } from './chunk-3SCASXQH.js';
|
|
241
240
|
export { ArtifactMakeRow } from './chunk-A3SQWUWG.js';
|
|
241
|
+
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from './chunk-7UQQEUOT.js';
|
|
242
242
|
export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from './chunk-V47JOO72.js';
|
|
243
243
|
export { afterMotion, releaseFocus, runningMotion, usePresence } from './chunk-SNKQNAJI.js';
|
|
244
244
|
import './chunk-JLOESTT2.js';
|
|
@@ -250,6 +250,7 @@ export { ArrangeList, DEFAULT_ARRANGE_LABELS } from './chunk-XVKTZ2AC.js';
|
|
|
250
250
|
export { Switch } from './chunk-6YYRFGXO.js';
|
|
251
251
|
export { DEFAULT_REORDER_LABELS, moveKey, useReorder, useReorderLists } from './chunk-JMBPMSNI.js';
|
|
252
252
|
export { Checkbox, CheckboxGroup } from './chunk-KFTVPWG2.js';
|
|
253
|
+
export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from './chunk-DOY3KC6I.js';
|
|
253
254
|
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from './chunk-NLGRDKCK.js';
|
|
254
255
|
import './chunk-7U4V36SB.js';
|
|
255
256
|
export { SegmentedControl } from './chunk-V2FD4RPS.js';
|
|
@@ -259,7 +260,6 @@ export { StatusDot } from './chunk-QRE6JCHS.js';
|
|
|
259
260
|
export { ARTIFACT_ICON_WORDS, ArtifactIcon, artifactIconGlyph } from './chunk-AVL52EME.js';
|
|
260
261
|
export { ARTIFACT_KINDS, ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|
|
261
262
|
export { Menu } from './chunk-EGHOU7U2.js';
|
|
262
|
-
export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from './chunk-DOY3KC6I.js';
|
|
263
263
|
export { ACCESS_DENIED_REASONS, AccessDeniedCard } from './chunk-QTMUKRTN.js';
|
|
264
264
|
export { EmptyState } from './chunk-PPUR46MK.js';
|
|
265
265
|
export { Accordion, AccordionItem } from './chunk-3QEAANRP.js';
|
package/dist/styles.css
CHANGED
|
@@ -14390,7 +14390,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
14390
14390
|
}
|
|
14391
14391
|
|
|
14392
14392
|
|
|
14393
|
-
/* CommentThread-
|
|
14393
|
+
/* CommentThread-544KCZT7.css */
|
|
14394
14394
|
/* CommentThread: a document's remarks, one per row with a hairline between,
|
|
14395
14395
|
then the field to add one. */
|
|
14396
14396
|
.crewlet-comment-thread {
|
|
@@ -14466,14 +14466,38 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
14466
14466
|
font-size: var(--font-size-xs);
|
|
14467
14467
|
}
|
|
14468
14468
|
|
|
14469
|
-
/* Reply
|
|
14470
|
-
|
|
14471
|
-
|
|
14472
|
-
.
|
|
14469
|
+
/* The remark's controls (Edit, Delete, Reply) sit at the row's far end,
|
|
14470
|
+
wherever the head wraps, the last one's padding and edge pulled out as a
|
|
14471
|
+
card foot's ghost is (StatusCard.css), so the word ends on the line the
|
|
14472
|
+
hairline under the remark ends on rather than 9px inside. */
|
|
14473
|
+
.crewlet-comment-thread__actions {
|
|
14474
|
+
display: inline-flex;
|
|
14475
|
+
align-items: center;
|
|
14476
|
+
gap: var(--spacing-1);
|
|
14473
14477
|
margin-inline-start: auto;
|
|
14474
14478
|
margin-inline-end: calc(-1 * (var(--spacing-2) + 1px));
|
|
14475
14479
|
}
|
|
14476
14480
|
|
|
14481
|
+
.crewlet-comment-thread__removed {
|
|
14482
|
+
margin: 0;
|
|
14483
|
+
color: var(--color-text-tertiary);
|
|
14484
|
+
font-size: var(--font-size-compact);
|
|
14485
|
+
font-style: italic;
|
|
14486
|
+
}
|
|
14487
|
+
|
|
14488
|
+
.crewlet-comment-thread__confirm {
|
|
14489
|
+
display: flex;
|
|
14490
|
+
flex-wrap: wrap;
|
|
14491
|
+
align-items: center;
|
|
14492
|
+
gap: var(--spacing-2);
|
|
14493
|
+
color: var(--color-text-secondary);
|
|
14494
|
+
font-size: var(--font-size-compact);
|
|
14495
|
+
}
|
|
14496
|
+
|
|
14497
|
+
.crewlet-comment-thread__confirm > span {
|
|
14498
|
+
margin-inline-end: auto;
|
|
14499
|
+
}
|
|
14500
|
+
|
|
14477
14501
|
.crewlet-comment-thread__compose {
|
|
14478
14502
|
display: flex;
|
|
14479
14503
|
flex-direction: column;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.130.0",
|
|
4
4
|
"description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"clean": "rm -rf dist src/generated"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@crewlethq/icons": "0.
|
|
46
|
-
"@crewlethq/tokens": "0.
|
|
45
|
+
"@crewlethq/icons": "0.130.0",
|
|
46
|
+
"@crewlethq/tokens": "0.130.0",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
2
1
|
import { schema, readMarkdown, writeMarkdown } from './chunk-7CSTEH5I.js';
|
|
2
|
+
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
3
3
|
import './chunk-KOJPDCGQ.js';
|
|
4
4
|
import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-KBZO4B33.js';
|
|
5
5
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
2
1
|
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
2
|
+
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ContrastBadge-CBZPGG3G.css';
|
|
@@ -4,8 +4,8 @@ import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
|
4
4
|
import { Card } from './chunk-RABEMWTA.js';
|
|
5
5
|
import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
|
|
6
6
|
import { Checkbox } from './chunk-KFTVPWG2.js';
|
|
7
|
-
import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|
|
8
7
|
import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
|
|
8
|
+
import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|
|
9
9
|
import { AvatarStack } from './chunk-ARZGEHWE.js';
|
|
10
10
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
11
11
|
import { cx } from './chunk-ODEQTPFM.js';
|