@crewlethq/ui 0.182.0 → 0.184.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/dist/AgentIdentity/AgentIdentitySheet.d.ts +8 -5
- package/dist/AgentIdentity/index.js +3 -3
- package/dist/{AgentIdentitySheet-D2T7ELGN.css → AgentIdentitySheet-QIOWB7XK.css} +1 -8
- package/dist/CodeBlock/index.js +1 -1
- package/dist/ColorSwatch/index.js +2 -2
- package/dist/CommandPalette/index.js +2 -2
- package/dist/ContrastHelp/index.js +1 -1
- package/dist/Copyable/Copyable.d.ts +5 -1
- package/dist/Copyable/index.js +1 -1
- package/dist/{Copyable-U4RPG75T.css → Copyable-CMT2N2JE.css} +38 -1
- package/dist/DataTable/index.js +2 -2
- package/dist/DataView/index.js +3 -3
- package/dist/LinkInterstitial/index.js +2 -2
- package/dist/Modal/ConfirmModal.d.ts +3 -1
- package/dist/Modal/index.js +1 -1
- package/dist/ObjectHeader/index.js +1 -1
- package/dist/{ObjectHeader-3YYG2BAF.css → ObjectHeader-O5VCDIUY.css} +34 -4
- package/dist/PropertyList/index.js +2 -2
- package/dist/RichEditor/index.js +1 -1
- package/dist/ShareDialog/index.js +3 -3
- package/dist/Switcher/index.js +3 -3
- package/dist/TimeRangePicker/index.js +2 -2
- package/dist/ToolCallLog/index.js +1 -1
- package/dist/VendorText/VendorText.d.ts +4 -3
- package/dist/VendorText/index.js +1 -1
- package/dist/{VendorText-ET5DJY5Y.css → VendorText-XAKA4QY5.css} +5 -4
- package/dist/{chunk-XVT4KMM4.js → chunk-32ZF74VX.js} +25 -15
- package/dist/{chunk-FPQHRX6W.js → chunk-7AMB4RWX.js} +1 -1
- package/dist/{chunk-ZZCUQWA2.js → chunk-CWYHS4IT.js} +1 -1
- package/dist/{chunk-UI37YHEJ.js → chunk-IMDQOEMC.js} +2 -2
- package/dist/{chunk-SEBNQVEU.js → chunk-MF6ONZJ3.js} +1 -1
- package/dist/{chunk-GQAHG6NB.js → chunk-NGHRKHT5.js} +1 -1
- package/dist/{chunk-P6X7CDCG.js → chunk-OYFFSNKJ.js} +1 -1
- package/dist/{chunk-IZDILOZ5.js → chunk-PEEIVTQG.js} +1 -1
- package/dist/{chunk-6PXXUHIH.js → chunk-PEUKUZGJ.js} +1 -1
- package/dist/{chunk-GJVLQXDA.js → chunk-SEWONIXP.js} +10 -8
- package/dist/{chunk-KIPQWDPP.js → chunk-SQZZHFPD.js} +1 -1
- package/dist/{chunk-HLIWHEXR.js → chunk-TJWV4TYG.js} +6 -1
- package/dist/{chunk-B3UALXOX.js → chunk-XULMT56O.js} +1 -1
- package/dist/{chunk-LBLHL5KZ.js → chunk-YBJEEPEW.js} +1 -1
- package/dist/{chunk-GKVQL352.js → chunk-ZTJ7BV33.js} +5 -3
- package/dist/generated/index.js +38 -38
- package/dist/index.js +38 -38
- package/dist/styles.css +82 -21
- package/package.json +3 -3
- package/dist/{Editor-HW7A54RA.js → Editor-ANVKGFJ6.js} +1 -1
package/dist/styles.css
CHANGED
|
@@ -1016,10 +1016,10 @@
|
|
|
1016
1016
|
}
|
|
1017
1017
|
|
|
1018
1018
|
|
|
1019
|
-
/* AgentIdentitySheet-
|
|
1019
|
+
/* AgentIdentitySheet-QIOWB7XK.css */
|
|
1020
1020
|
/*
|
|
1021
1021
|
* The set-up sheet's step: its parts stacked at one gap, each value to copy
|
|
1022
|
-
*
|
|
1022
|
+
* after the words of its own step, and the vendor's page on a line of its own.
|
|
1023
1023
|
*/
|
|
1024
1024
|
.crewlet-agent-identity-sheet__step {
|
|
1025
1025
|
display: flex;
|
|
@@ -1028,13 +1028,6 @@
|
|
|
1028
1028
|
min-inline-size: 0;
|
|
1029
1029
|
}
|
|
1030
1030
|
|
|
1031
|
-
.crewlet-agent-identity-sheet__copy {
|
|
1032
|
-
display: flex;
|
|
1033
|
-
flex-direction: column;
|
|
1034
|
-
gap: var(--spacing-1);
|
|
1035
|
-
min-inline-size: 0;
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
1031
|
.crewlet-agent-identity-sheet__link {
|
|
1039
1032
|
display: flex;
|
|
1040
1033
|
}
|
|
@@ -16178,10 +16171,11 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
16178
16171
|
}
|
|
16179
16172
|
|
|
16180
16173
|
|
|
16181
|
-
/* Copyable-
|
|
16174
|
+
/* Copyable-CMT2N2JE.css */
|
|
16182
16175
|
/*
|
|
16183
16176
|
* Copyable: a value and the IconButton that copies it, as a `chip` (a pill for
|
|
16184
|
-
* a table cell), `inline` (in a detail row)
|
|
16177
|
+
* a table cell), `inline` (in a detail row), `compact` (in a sentence) or
|
|
16178
|
+
* `block` (a panel for a command).
|
|
16185
16179
|
*/
|
|
16186
16180
|
|
|
16187
16181
|
.crewlet-copyable {
|
|
@@ -16263,6 +16257,42 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
16263
16257
|
letter-spacing: inherit;
|
|
16264
16258
|
}
|
|
16265
16259
|
|
|
16260
|
+
/* ---- compact ----------------------------------------------------------- */
|
|
16261
|
+
|
|
16262
|
+
/* A value set in a sentence ("Name: crewlet-sre"): framed, sized to the value,
|
|
16263
|
+
kept on the sentence's line, its control always drawn. */
|
|
16264
|
+
.crewlet-copyable--compact {
|
|
16265
|
+
gap: 0;
|
|
16266
|
+
padding-inline-start: var(--spacing-2);
|
|
16267
|
+
background: var(--color-surface-inset);
|
|
16268
|
+
border: 1px solid var(--color-border-strong);
|
|
16269
|
+
border-radius: var(--radius-sm);
|
|
16270
|
+
}
|
|
16271
|
+
|
|
16272
|
+
/* Whole and as copied, as a block is: a value too long for the line wraps
|
|
16273
|
+
inside the frame, a hairline of room above and below it. */
|
|
16274
|
+
.crewlet-copyable--compact .crewlet-copyable__value {
|
|
16275
|
+
font-size: var(--font-size-compact);
|
|
16276
|
+
color: var(--color-text-primary);
|
|
16277
|
+
padding-block: calc(var(--spacing-1) / 2);
|
|
16278
|
+
white-space: pre-wrap;
|
|
16279
|
+
overflow: visible;
|
|
16280
|
+
overflow-wrap: anywhere;
|
|
16281
|
+
text-overflow: clip;
|
|
16282
|
+
}
|
|
16283
|
+
|
|
16284
|
+
/* The control at the target floor (24px), the frame's tallest part on one line. */
|
|
16285
|
+
.crewlet-copyable--compact .crewlet-copyable__button {
|
|
16286
|
+
opacity: 1;
|
|
16287
|
+
width: var(--size-target-min);
|
|
16288
|
+
height: var(--size-target-min);
|
|
16289
|
+
}
|
|
16290
|
+
|
|
16291
|
+
/* Flush with the frame, so its ring covers the edge rather than standing off it. */
|
|
16292
|
+
.crewlet-copyable--compact .crewlet-copyable__button:focus-visible {
|
|
16293
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
16294
|
+
}
|
|
16295
|
+
|
|
16266
16296
|
/* ---- block ------------------------------------------------------------- */
|
|
16267
16297
|
|
|
16268
16298
|
.crewlet-copyable--block {
|
|
@@ -33091,7 +33121,7 @@ button.crewlet-mention-chip:focus-visible {
|
|
|
33091
33121
|
}
|
|
33092
33122
|
|
|
33093
33123
|
|
|
33094
|
-
/* ObjectHeader-
|
|
33124
|
+
/* ObjectHeader-O5VCDIUY.css */
|
|
33095
33125
|
/*
|
|
33096
33126
|
* The header of an object: its eyebrow, its head row and its fact line.
|
|
33097
33127
|
*
|
|
@@ -33336,16 +33366,46 @@ button.crewlet-mention-chip:focus-visible {
|
|
|
33336
33366
|
overflow-wrap: normal;
|
|
33337
33367
|
}
|
|
33338
33368
|
|
|
33339
|
-
/* A footnote may not set its column's width: the track does, and
|
|
33340
|
-
wraps inside it, balanced so the wrap reads as deliberate.
|
|
33341
|
-
the label is, so a fact line holds two sizes, the labels' and the values'. */
|
|
33342
|
-
.crewlet-fact-line__note,
|
|
33369
|
+
/* A footnote may not set its column's width: the track does, and a by-line
|
|
33370
|
+
wraps inside it, balanced so the wrap reads as deliberate. */
|
|
33343
33371
|
.crewlet-fact-line__set-by {
|
|
33344
33372
|
font-size: var(--font-size-xs);
|
|
33345
33373
|
color: var(--color-text-tertiary);
|
|
33346
33374
|
text-wrap: balance;
|
|
33347
33375
|
}
|
|
33348
33376
|
|
|
33377
|
+
/* A note is an aside to its value, a step under the label in the quiet ink;
|
|
33378
|
+
it wraps inside the track, balanced, as a by-line does. */
|
|
33379
|
+
.crewlet-fact-line__note {
|
|
33380
|
+
min-width: 0;
|
|
33381
|
+
font-size: var(--font-size-2xs);
|
|
33382
|
+
font-weight: var(--font-weight-regular);
|
|
33383
|
+
color: var(--color-text-tertiary);
|
|
33384
|
+
text-wrap: balance;
|
|
33385
|
+
}
|
|
33386
|
+
|
|
33387
|
+
/* A phrase's note sits beside its value where both fit and wraps under it
|
|
33388
|
+
where they do not; the value keeps its own two-line clamp either way. */
|
|
33389
|
+
.crewlet-fact-line__phrase {
|
|
33390
|
+
display: flex;
|
|
33391
|
+
flex-wrap: wrap;
|
|
33392
|
+
align-items: baseline;
|
|
33393
|
+
column-gap: var(--spacing-3);
|
|
33394
|
+
min-width: 0;
|
|
33395
|
+
overflow: clip;
|
|
33396
|
+
}
|
|
33397
|
+
|
|
33398
|
+
/* The dot hangs in the gap before the note, so a note wrapped to a line of
|
|
33399
|
+
its own puts it past the phrase's edge, where the clip takes it. */
|
|
33400
|
+
.crewlet-fact-line__phrase > .crewlet-fact-line__note::before {
|
|
33401
|
+
content: '·';
|
|
33402
|
+
content: '·' / '';
|
|
33403
|
+
display: inline-block;
|
|
33404
|
+
width: var(--spacing-3);
|
|
33405
|
+
margin-inline-start: calc(-1 * var(--spacing-3));
|
|
33406
|
+
text-align: center;
|
|
33407
|
+
}
|
|
33408
|
+
|
|
33349
33409
|
/* ── the by-line ───────────────────────────────────────────────────────── */
|
|
33350
33410
|
|
|
33351
33411
|
/* An actor's mark sits on the line's own baseline, at the line's size. */
|
|
@@ -53463,16 +53523,17 @@ svg.crewlet-time-window__tick {
|
|
|
53463
53523
|
}
|
|
53464
53524
|
|
|
53465
53525
|
|
|
53466
|
-
/* VendorText-
|
|
53526
|
+
/* VendorText-XAKA4QY5.css */
|
|
53467
53527
|
/*
|
|
53468
|
-
* A name on a vendor's screen inside a sentence:
|
|
53469
|
-
*
|
|
53528
|
+
* A name on a vendor's screen inside a sentence: semibold primary ink in a
|
|
53529
|
+
* framed chip, set apart by shape, not ink alone. The fill is a translucent
|
|
53530
|
+
* step, so the chip stands off whatever surface it is set on.
|
|
53470
53531
|
*/
|
|
53471
53532
|
.crewlet-vendor-ui {
|
|
53472
53533
|
font-weight: var(--font-weight-semibold);
|
|
53473
53534
|
color: var(--color-text-primary);
|
|
53474
|
-
background: var(--color-surface-
|
|
53475
|
-
border: 1px solid var(--color-border-
|
|
53535
|
+
background: var(--color-surface-pressed);
|
|
53536
|
+
border: 1px solid var(--color-border-strong);
|
|
53476
53537
|
border-radius: var(--radius-xs);
|
|
53477
53538
|
padding: 0 var(--spacing-1);
|
|
53478
53539
|
/* Inline, so a link's underline reaches the name; sliced where it wraps, as InlineCode is. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.184.0",
|
|
4
4
|
"description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"clean": "rm -rf dist src/generated"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@crewlethq/icons": "0.
|
|
47
|
-
"@crewlethq/tokens": "0.
|
|
46
|
+
"@crewlethq/icons": "0.184.0",
|
|
47
|
+
"@crewlethq/tokens": "0.184.0",
|
|
48
48
|
"prosemirror-commands": "1.7.2",
|
|
49
49
|
"prosemirror-gapcursor": "1.4.1",
|
|
50
50
|
"prosemirror-history": "1.5.1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { richEditorLabels } from './chunk-DGXHQMNP.js';
|
|
2
1
|
import { schema, readMarkdown, writeMarkdown } from './chunk-7XGDMXC5.js';
|
|
2
|
+
import { richEditorLabels } from './chunk-DGXHQMNP.js';
|
|
3
3
|
import './chunk-KOJPDCGQ.js';
|
|
4
4
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
5
5
|
import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-KMTOGF6T.js';
|