@crewlethq/ui 0.102.2 → 0.103.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 +2 -2
- package/dist/ArtifactCard/index.js +2 -2
- package/dist/CanvasBoard/index.js +3 -3
- package/dist/CanvasToolbar/index.js +2 -2
- package/dist/ChatThread/ChatThread.d.ts +3 -0
- package/dist/ChatThread/index.js +1 -1
- package/dist/CommentThread/index.js +2 -2
- package/dist/Composer/index.js +1 -1
- package/dist/{Composer-ZEGHEAFE.css → Composer-XVQFBCIB.css} +38 -6
- package/dist/DataView/index.js +3 -3
- package/dist/{Editor-EWIMNQUZ.js → Editor-EIEWKSDE.js} +2 -2
- package/dist/MarkdownEditor/index.js +2 -2
- package/dist/MessageActions/index.js +2 -2
- package/dist/RailList/index.js +1 -1
- package/dist/RichEditor/index.js +1 -1
- package/dist/SelectionBar/index.js +2 -2
- package/dist/ShareDialog/index.js +1 -1
- package/dist/Toolbar/Toolbar.d.ts +22 -4
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-HUOSMNTH.css → Toolbar-DRFD6TQW.css} +29 -0
- package/dist/{chunk-WYZMETET.js → chunk-5QKNXTIC.js} +1 -1
- package/dist/{chunk-VVIT4AIE.js → chunk-H4MWPZRS.js} +2 -1
- package/dist/{chunk-OPWSOIAW.js → chunk-JZV4RD4L.js} +1 -1
- package/dist/{chunk-VJSTBDIB.js → chunk-K6HBEWRI.js} +1 -1
- package/dist/{chunk-OIM3CIA2.js → chunk-NPEI2QAN.js} +22 -4
- package/dist/{chunk-Y4OWRIQ3.js → chunk-OJ7NHII2.js} +1 -1
- package/dist/{chunk-EHZP27H5.js → chunk-QNDZY2CZ.js} +1 -1
- package/dist/{chunk-AHTIZ7RU.js → chunk-QQMVLDKT.js} +1 -1
- package/dist/{chunk-JEHW3FEB.js → chunk-SI7QLYPB.js} +1 -1
- package/dist/{chunk-ASU2MEI3.js → chunk-UDJVDRFY.js} +1 -1
- package/dist/{chunk-PPQELBN3.js → chunk-V464L4IL.js} +1 -1
- package/dist/{chunk-YWGLYDET.js → chunk-XQQN2NZB.js} +8 -10
- package/dist/generated/index.js +44 -44
- package/dist/index.js +44 -44
- package/dist/styles.css +69 -8
- package/package.json +3 -3
- package/dist/{chunk-3Q75RQOT.js → chunk-R7UQRR25.js} +1 -1
package/dist/styles.css
CHANGED
|
@@ -14379,7 +14379,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
14379
14379
|
}
|
|
14380
14380
|
|
|
14381
14381
|
|
|
14382
|
-
/* Composer-
|
|
14382
|
+
/* Composer-XVQFBCIB.css */
|
|
14383
14383
|
/*
|
|
14384
14384
|
* A message written in place: the field and its footer strip in one box. The
|
|
14385
14385
|
* BOX takes the focus ring every field in the package draws (see Input.css):
|
|
@@ -14638,15 +14638,42 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
14638
14638
|
box-shadow: var(--shadow-xs);
|
|
14639
14639
|
}
|
|
14640
14640
|
|
|
14641
|
-
|
|
14641
|
+
/* One line to start, a line's height per line after it, and at most
|
|
14642
|
+
fourteen lines or half the window, whichever is less, before the words
|
|
14643
|
+
scroll inside the field and the rows above and below stay put. Stated on
|
|
14644
|
+
the textarea's own class so its auto-resize inset cannot outrank it. */
|
|
14645
|
+
.crewlet-composer--chat .crewlet-composer__field.crewlet-textarea {
|
|
14646
|
+
--crewlet-composer-line: calc(var(--crewlet-chat-line) * var(--crewlet-chat-text));
|
|
14647
|
+
|
|
14642
14648
|
min-height: 0;
|
|
14649
|
+
max-height: min(calc(var(--crewlet-composer-line) * 14 + 2 * var(--spacing-2)), 50dvh);
|
|
14643
14650
|
padding: var(--spacing-2) var(--spacing-3);
|
|
14644
14651
|
font-size: var(--crewlet-chat-text);
|
|
14645
14652
|
line-height: var(--crewlet-chat-line);
|
|
14646
14653
|
}
|
|
14647
14654
|
|
|
14655
|
+
/* The placeholder names where the words go on one line, cut rather than
|
|
14656
|
+
wrapped, so it never makes an empty box taller. */
|
|
14657
|
+
.crewlet-composer--chat .crewlet-composer__field::placeholder {
|
|
14658
|
+
overflow: hidden;
|
|
14659
|
+
text-overflow: ellipsis;
|
|
14660
|
+
white-space: nowrap;
|
|
14661
|
+
}
|
|
14662
|
+
|
|
14663
|
+
/* THE FORMATTING ROW AS A BAND the height of the footer, its glyphs on the
|
|
14664
|
+
footer's inset from the box's edge, the controls a step apart, as the
|
|
14665
|
+
footer's tools are. */
|
|
14666
|
+
.crewlet-composer--chat .crewlet-composer__toolbar {
|
|
14667
|
+
padding-block-start: calc(var(--spacing-1) + (var(--size-control-md) - var(--size-control-sm)) / 2);
|
|
14668
|
+
}
|
|
14669
|
+
|
|
14670
|
+
.crewlet-composer--chat .crewlet-composer__toolbar .crewlet-toolbar {
|
|
14671
|
+
gap: var(--spacing-1);
|
|
14672
|
+
padding: 0;
|
|
14673
|
+
}
|
|
14674
|
+
|
|
14648
14675
|
.crewlet-composer--chat .crewlet-composer__footer {
|
|
14649
|
-
gap:
|
|
14676
|
+
gap: var(--spacing-1);
|
|
14650
14677
|
padding: var(--spacing-1);
|
|
14651
14678
|
padding-inline-start: var(--spacing-3);
|
|
14652
14679
|
border-top: 0;
|
|
@@ -14659,13 +14686,18 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
14659
14686
|
color: var(--color-text-primary);
|
|
14660
14687
|
}
|
|
14661
14688
|
|
|
14662
|
-
/* The formatting row's glyphs rest in the tertiary ink while the box is
|
|
14663
|
-
in use, so the row reads as part of the field rather than as
|
|
14664
|
-
competing with the conversation
|
|
14665
|
-
|
|
14689
|
+
/* The formatting row's glyphs rest in the tertiary ink while the box is
|
|
14690
|
+
empty and not in use, so the row reads as part of the field rather than as
|
|
14691
|
+
a toolbar competing with the conversation. Focus or words bring their own
|
|
14692
|
+
ink back; the footer's tools never dim. */
|
|
14693
|
+
.crewlet-composer--chat.is-empty:not(:focus-within) .crewlet-composer__toolbar :is(button, [role='button']):not(:hover) {
|
|
14666
14694
|
color: var(--color-text-tertiary);
|
|
14667
14695
|
}
|
|
14668
14696
|
|
|
14697
|
+
.crewlet-composer--chat .crewlet-composer__tools {
|
|
14698
|
+
gap: var(--spacing-1);
|
|
14699
|
+
}
|
|
14700
|
+
|
|
14669
14701
|
|
|
14670
14702
|
/* ConflictNote-OP64JJ6T.css */
|
|
14671
14703
|
/* ConflictNote: a refused write's sentence in the danger ink, with its glyph
|
|
@@ -46149,7 +46181,7 @@ svg.crewlet-time-window__tick {
|
|
|
46149
46181
|
}
|
|
46150
46182
|
|
|
46151
46183
|
|
|
46152
|
-
/* Toolbar-
|
|
46184
|
+
/* Toolbar-DRFD6TQW.css */
|
|
46153
46185
|
/*
|
|
46154
46186
|
* The toolbar row.
|
|
46155
46187
|
*
|
|
@@ -46192,6 +46224,25 @@ svg.crewlet-time-window__tick {
|
|
|
46192
46224
|
/* Under the shell's breakpoint, strictly, as the shell switches: the wide
|
|
46193
46225
|
controls fold into the overflow where the rail becomes a drawer. */
|
|
46194
46226
|
@media (width < 1024px) {
|
|
46227
|
+
:where(.crewlet-toolbar:not(.crewlet-toolbar--fold-container)) .crewlet-toolbar__wide {
|
|
46228
|
+
display: none;
|
|
46229
|
+
}
|
|
46230
|
+
|
|
46231
|
+
:where(.crewlet-toolbar:not(.crewlet-toolbar--fold-container)) .crewlet-toolbar__overflow {
|
|
46232
|
+
display: flex;
|
|
46233
|
+
}
|
|
46234
|
+
}
|
|
46235
|
+
|
|
46236
|
+
/* FOLDED BY ITS OWN WIDTH: the row is its own query container and takes the
|
|
46237
|
+
width of the box it stands in, so what folds never changes what decides.
|
|
46238
|
+
The width is TOOLBAR_FOLD_WIDTH (Toolbar.tsx). */
|
|
46239
|
+
.crewlet-toolbar--fold-container {
|
|
46240
|
+
container: crewlet-toolbar / inline-size;
|
|
46241
|
+
flex: 1 1 auto;
|
|
46242
|
+
flex-wrap: nowrap;
|
|
46243
|
+
}
|
|
46244
|
+
|
|
46245
|
+
@container crewlet-toolbar (width < 20rem) {
|
|
46195
46246
|
.crewlet-toolbar__wide {
|
|
46196
46247
|
display: none;
|
|
46197
46248
|
}
|
|
@@ -46201,6 +46252,16 @@ svg.crewlet-time-window__tick {
|
|
|
46201
46252
|
}
|
|
46202
46253
|
}
|
|
46203
46254
|
|
|
46255
|
+
/* A thin upright rule between groups, a small control's half height. */
|
|
46256
|
+
.crewlet-toolbar__separator {
|
|
46257
|
+
flex: none;
|
|
46258
|
+
align-self: center;
|
|
46259
|
+
width: 1px;
|
|
46260
|
+
height: var(--spacing-5);
|
|
46261
|
+
margin: 0 var(--spacing-1);
|
|
46262
|
+
background: var(--color-border-default);
|
|
46263
|
+
}
|
|
46264
|
+
|
|
46204
46265
|
|
|
46205
46266
|
/* Tooltip-LKQF7CE4.css */
|
|
46206
46267
|
/*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.103.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.103.0",
|
|
46
|
+
"@crewlethq/tokens": "0.103.0",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Skeleton } from './chunk-P5VPD4YZ.js';
|
|
2
2
|
import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
3
3
|
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
4
|
-
import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
|
|
5
4
|
import { Card } from './chunk-3C3TSWRR.js';
|
|
6
5
|
import { AvatarStack } from './chunk-WUCRLA25.js';
|
|
6
|
+
import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
|
|
7
7
|
import { Checkbox } from './chunk-AR4K6L4X.js';
|
|
8
8
|
import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
|
|
9
9
|
import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|