@crewlethq/ui 0.87.0 → 0.89.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/ActivityLine/ActivityLine.d.ts +8 -1
- package/dist/ActivityLine/index.js +2 -2
- package/dist/ArrangeList/index.js +2 -2
- package/dist/ArtifactCard/index.js +3 -3
- package/dist/AvatarPicker/index.js +2 -2
- package/dist/List/List.d.ts +14 -1
- package/dist/List/index.js +1 -1
- package/dist/{List-JOELBLTU.css → List-ZZF6ZHRT.css} +32 -0
- package/dist/MentionMenu/index.js +2 -2
- package/dist/PersonRow/PersonRow.d.ts +7 -0
- package/dist/PersonRow/index.js +1 -1
- package/dist/{PersonRow-V5GTPNVP.css → PersonRow-ZR6US2QJ.css} +25 -0
- package/dist/RoomRow/RoomRow.d.ts +41 -0
- package/dist/RoomRow/index.d.ts +4 -0
- package/dist/RoomRow/index.js +4 -0
- package/dist/RoomRow-3OTEY6GK.css +55 -0
- package/dist/SetupWizard/index.js +2 -2
- package/dist/Switch/Switch.d.ts +14 -0
- package/dist/Switch/index.js +2 -1
- package/dist/{Switch-AUYLQLTN.css → Switch-XJE34BZH.css} +15 -0
- package/dist/ThinkingIndicator/ThinkingIndicator.d.ts +19 -3
- package/dist/ThinkingIndicator/index.js +1 -1
- package/dist/{ThinkingIndicator-S7ZL2C77.css → ThinkingIndicator-G72NYYAM.css} +27 -0
- package/dist/{chunk-3XDT5ZWL.js → chunk-3N3XK2G5.js} +27 -9
- package/dist/{chunk-ED4A6Q24.js → chunk-3OIVYHAA.js} +5 -4
- package/dist/{chunk-EALRMP7N.js → chunk-6TD2PCZB.js} +8 -3
- package/dist/{chunk-XTJHMP3W.js → chunk-75EGNXPZ.js} +1 -1
- package/dist/{chunk-PS5ZYIA6.js → chunk-A7UOYLK3.js} +12 -3
- package/dist/{chunk-3BRXEMYT.js → chunk-G7SAFRSJ.js} +2 -2
- package/dist/{chunk-C4256UXE.js → chunk-V7N5XWZ6.js} +11 -3
- package/dist/chunk-Z34W5TM6.js +40 -0
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +40 -39
- package/dist/index.js +40 -39
- package/dist/styles.css +161 -4
- package/package.json +3 -3
- package/dist/{chunk-K2HEYQJL.js → chunk-22CU7V4J.js} +1 -1
- package/dist/{chunk-CWCQCOIG.js → chunk-7IWZN5Q2.js} +1 -1
- package/dist/{chunk-DWZCMMRX.js → chunk-VNACAMDK.js} +0 -0
- package/dist/{chunk-3BVNNQZY.js → chunk-WRZPO4YL.js} +1 -1
package/dist/styles.css
CHANGED
|
@@ -25251,7 +25251,7 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
|
|
|
25251
25251
|
}
|
|
25252
25252
|
|
|
25253
25253
|
|
|
25254
|
-
/* List-
|
|
25254
|
+
/* List-ZZF6ZHRT.css */
|
|
25255
25255
|
/*
|
|
25256
25256
|
* The non-tabular list. One row recipe, four framings.
|
|
25257
25257
|
*
|
|
@@ -25464,6 +25464,38 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
|
|
|
25464
25464
|
max-inline-size: var(--size-measure-wide);
|
|
25465
25465
|
}
|
|
25466
25466
|
|
|
25467
|
+
/*
|
|
25468
|
+
* A ROW WITH A CONTROL OF ITS OWN (`action`) or a line under it (`note`): the
|
|
25469
|
+
* row's link or button takes the room and the action stands beside it, at the
|
|
25470
|
+
* row's end and on its middle, so the two are two controls and the action is
|
|
25471
|
+
* never inside the row's hover or its name. The note wraps under both, at the
|
|
25472
|
+
* row's own inset.
|
|
25473
|
+
*/
|
|
25474
|
+
.crewlet-list__item--split {
|
|
25475
|
+
display: flex;
|
|
25476
|
+
flex-wrap: wrap;
|
|
25477
|
+
align-items: center;
|
|
25478
|
+
column-gap: var(--spacing-2);
|
|
25479
|
+
}
|
|
25480
|
+
|
|
25481
|
+
.crewlet-list__item--split > .crewlet-list__row {
|
|
25482
|
+
flex: 1 1 0;
|
|
25483
|
+
}
|
|
25484
|
+
|
|
25485
|
+
.crewlet-list__action {
|
|
25486
|
+
display: inline-flex;
|
|
25487
|
+
flex: none;
|
|
25488
|
+
align-items: center;
|
|
25489
|
+
gap: var(--spacing-2);
|
|
25490
|
+
padding-inline-end: var(--spacing-3);
|
|
25491
|
+
}
|
|
25492
|
+
|
|
25493
|
+
.crewlet-list__note {
|
|
25494
|
+
flex-basis: 100%;
|
|
25495
|
+
min-width: 0;
|
|
25496
|
+
padding: 0 var(--spacing-3) var(--spacing-2);
|
|
25497
|
+
}
|
|
25498
|
+
|
|
25467
25499
|
/* ---- States ------------------------------------------------------------ */
|
|
25468
25500
|
|
|
25469
25501
|
/*
|
|
@@ -30336,7 +30368,7 @@ button.crewlet-mention-chip:focus-visible {
|
|
|
30336
30368
|
}
|
|
30337
30369
|
|
|
30338
30370
|
|
|
30339
|
-
/* PersonRow-
|
|
30371
|
+
/* PersonRow-ZR6US2QJ.css */
|
|
30340
30372
|
/*
|
|
30341
30373
|
* PersonRow: a person or an agent as one row of a list, as a button or as a
|
|
30342
30374
|
* listbox option. One design for every list of people.
|
|
@@ -30486,6 +30518,31 @@ button.crewlet-mention-chip:focus-visible {
|
|
|
30486
30518
|
color: var(--color-text-on-accent);
|
|
30487
30519
|
}
|
|
30488
30520
|
|
|
30521
|
+
/*
|
|
30522
|
+
* A ROW WITH A CONTROL OF ITS OWN (`action`): the row's button takes the room
|
|
30523
|
+
* and the control stands after it on the row's middle, outside the button's
|
|
30524
|
+
* hover, so the two read as two controls.
|
|
30525
|
+
*/
|
|
30526
|
+
.crewlet-person-row-group {
|
|
30527
|
+
display: flex;
|
|
30528
|
+
align-items: center;
|
|
30529
|
+
gap: var(--spacing-1);
|
|
30530
|
+
min-width: 0;
|
|
30531
|
+
}
|
|
30532
|
+
|
|
30533
|
+
.crewlet-person-row-group > .crewlet-person-row {
|
|
30534
|
+
flex: 1 1 0;
|
|
30535
|
+
min-width: 0;
|
|
30536
|
+
}
|
|
30537
|
+
|
|
30538
|
+
.crewlet-person-row__action {
|
|
30539
|
+
display: inline-flex;
|
|
30540
|
+
flex: none;
|
|
30541
|
+
align-items: center;
|
|
30542
|
+
gap: var(--spacing-2);
|
|
30543
|
+
padding-inline-end: var(--spacing-2);
|
|
30544
|
+
}
|
|
30545
|
+
|
|
30489
30546
|
/*
|
|
30490
30547
|
* FORCED COLORS repaints every background to Canvas, which took the chosen
|
|
30491
30548
|
* tint and the arrows' row with it. An outline is the one mark the mode
|
|
@@ -33305,6 +33362,64 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
33305
33362
|
}
|
|
33306
33363
|
|
|
33307
33364
|
|
|
33365
|
+
/* RoomRow-3OTEY6GK.css */
|
|
33366
|
+
/*
|
|
33367
|
+
* RoomRow: a room as a directory of rooms lists it, on List.Item.
|
|
33368
|
+
*
|
|
33369
|
+
* The row's words stack: the name line, the topic, the facts. They take the
|
|
33370
|
+
* conversation's own scale (ChatScale.css), so a room's name in a directory
|
|
33371
|
+
* is the size it is in the room's header and its messages.
|
|
33372
|
+
*/
|
|
33373
|
+
|
|
33374
|
+
.crewlet-room-row > .crewlet-list__row > .crewlet-list__content {
|
|
33375
|
+
display: flex;
|
|
33376
|
+
flex: 1;
|
|
33377
|
+
flex-direction: column;
|
|
33378
|
+
gap: var(--spacing-1);
|
|
33379
|
+
}
|
|
33380
|
+
|
|
33381
|
+
/* A room's name wraps rather than pushing past the row: one unbroken name (a
|
|
33382
|
+
slug with no hyphen) otherwise runs over its own tag and into the action. */
|
|
33383
|
+
.crewlet-room-row__name {
|
|
33384
|
+
display: inline-flex;
|
|
33385
|
+
flex-wrap: wrap;
|
|
33386
|
+
align-items: center;
|
|
33387
|
+
gap: var(--spacing-2);
|
|
33388
|
+
min-height: var(--spacing-5);
|
|
33389
|
+
min-width: 0;
|
|
33390
|
+
overflow-wrap: anywhere;
|
|
33391
|
+
font-size: var(--crewlet-chat-text);
|
|
33392
|
+
font-weight: var(--font-weight-medium);
|
|
33393
|
+
}
|
|
33394
|
+
|
|
33395
|
+
.crewlet-room-row__mark {
|
|
33396
|
+
display: inline-flex;
|
|
33397
|
+
flex: none;
|
|
33398
|
+
color: var(--color-text-secondary);
|
|
33399
|
+
}
|
|
33400
|
+
|
|
33401
|
+
.crewlet-room-row__title {
|
|
33402
|
+
min-width: 0;
|
|
33403
|
+
}
|
|
33404
|
+
|
|
33405
|
+
.crewlet-room-row__topic {
|
|
33406
|
+
overflow: hidden;
|
|
33407
|
+
color: var(--color-text-secondary);
|
|
33408
|
+
font-size: var(--crewlet-chat-text);
|
|
33409
|
+
text-overflow: ellipsis;
|
|
33410
|
+
white-space: nowrap;
|
|
33411
|
+
}
|
|
33412
|
+
|
|
33413
|
+
.crewlet-room-row__facts {
|
|
33414
|
+
color: var(--color-text-secondary);
|
|
33415
|
+
font-size: var(--crewlet-chat-meta);
|
|
33416
|
+
}
|
|
33417
|
+
|
|
33418
|
+
.crewlet-room-row__sep {
|
|
33419
|
+
color: var(--color-text-tertiary);
|
|
33420
|
+
}
|
|
33421
|
+
|
|
33422
|
+
|
|
33308
33423
|
/* RunChip-K5DGHXHO.css */
|
|
33309
33424
|
/*
|
|
33310
33425
|
* A request's state on the disclosure trigger. Only what differs from the
|
|
@@ -40651,7 +40766,7 @@ svg.crewlet-select__chevron {
|
|
|
40651
40766
|
}
|
|
40652
40767
|
|
|
40653
40768
|
|
|
40654
|
-
/* Switch-
|
|
40769
|
+
/* Switch-XJE34BZH.css */
|
|
40655
40770
|
/*
|
|
40656
40771
|
* Switch: a setting that takes effect as it moves.
|
|
40657
40772
|
*
|
|
@@ -40826,6 +40941,21 @@ svg.crewlet-select__chevron {
|
|
|
40826
40941
|
border-radius: var(--radius-lg);
|
|
40827
40942
|
}
|
|
40828
40943
|
|
|
40944
|
+
/*
|
|
40945
|
+
* THE TRACK ALONE, for a switch whose label is its name and not drawn: no
|
|
40946
|
+
* gap after it and no padding to centre a line of text that is not there, so
|
|
40947
|
+
* it stands on the middle of the row it ends.
|
|
40948
|
+
*/
|
|
40949
|
+
.crewlet-switch--label-hidden {
|
|
40950
|
+
align-items: center;
|
|
40951
|
+
gap: 0;
|
|
40952
|
+
padding-block: 0;
|
|
40953
|
+
}
|
|
40954
|
+
|
|
40955
|
+
.crewlet-switch--label-hidden .crewlet-switch__track {
|
|
40956
|
+
margin-block: 0;
|
|
40957
|
+
}
|
|
40958
|
+
|
|
40829
40959
|
.crewlet-switch.is-disabled,
|
|
40830
40960
|
.crewlet-switch.is-disabled .crewlet-switch__control {
|
|
40831
40961
|
cursor: not-allowed;
|
|
@@ -43669,7 +43799,7 @@ b.crewlet-switcher__match {
|
|
|
43669
43799
|
}
|
|
43670
43800
|
|
|
43671
43801
|
|
|
43672
|
-
/* ThinkingIndicator-
|
|
43802
|
+
/* ThinkingIndicator-G72NYYAM.css */
|
|
43673
43803
|
/*
|
|
43674
43804
|
* Ask Crewlet at work: the Ask Crewlet mark, its spark turning, and a line
|
|
43675
43805
|
* of status under a shimmer. See ThinkingIndicator.tsx for why it replaces a
|
|
@@ -43864,6 +43994,33 @@ b.crewlet-switcher__match {
|
|
|
43864
43994
|
}
|
|
43865
43995
|
}
|
|
43866
43996
|
|
|
43997
|
+
/*
|
|
43998
|
+
* QUEUED, THE MARK RESTS AND THE LINE IS STILL. Work has not started, so
|
|
43999
|
+
* nothing moves: both parts of the mark stop in the idle pose (the spark at
|
|
44000
|
+
* full size and upright, the companion at full strength), which is the pose
|
|
44001
|
+
* the working loop rests in for half of every period, and the line drops its
|
|
44002
|
+
* shimmer for the secondary ink. The same height, so the indicator starts
|
|
44003
|
+
* moving in place when the work begins.
|
|
44004
|
+
*/
|
|
44005
|
+
.crewlet-thinking--queued .crewlet-thinking__mark [data-motion='turn'],
|
|
44006
|
+
.crewlet-thinking--queued .crewlet-thinking__mark [data-motion='twinkle'] {
|
|
44007
|
+
animation: none;
|
|
44008
|
+
transform: none;
|
|
44009
|
+
opacity: 1;
|
|
44010
|
+
}
|
|
44011
|
+
|
|
44012
|
+
.crewlet-thinking--queued .crewlet-thinking__status {
|
|
44013
|
+
background-image: none;
|
|
44014
|
+
color: var(--color-text-secondary);
|
|
44015
|
+
animation: crewlet-thinking-enter var(--motion-duration-moderate) var(--motion-easing-out);
|
|
44016
|
+
}
|
|
44017
|
+
|
|
44018
|
+
@media (prefers-reduced-motion: reduce) {
|
|
44019
|
+
.crewlet-thinking--queued .crewlet-thinking__status {
|
|
44020
|
+
animation: none;
|
|
44021
|
+
}
|
|
44022
|
+
}
|
|
44023
|
+
|
|
43867
44024
|
/* The system's own ink: a gradient clipped to text is dropped there. */
|
|
43868
44025
|
@media (forced-colors: active) {
|
|
43869
44026
|
.crewlet-thinking__status {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.89.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.89.0",
|
|
46
|
+
"@crewlethq/tokens": "0.89.0",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HuePicker } from './chunk-SHH7UD5U.js';
|
|
2
2
|
import { Popover } from './chunk-EC6EUIAD.js';
|
|
3
|
-
import { CharacterPicker } from './chunk-LNQSNXGJ.js';
|
|
4
3
|
import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
4
|
+
import { CharacterPicker } from './chunk-LNQSNXGJ.js';
|
|
5
5
|
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './AvatarPicker-POOJUOKC.css';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Skeleton } from './chunk-I4IUX3JF.js';
|
|
2
2
|
import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
3
3
|
import { RelativeTime } from './chunk-EJNJMHQG.js';
|
|
4
|
-
import { AvatarStack } from './chunk-YTLWOHOY.js';
|
|
5
4
|
import { Card } from './chunk-U2IQNDDR.js';
|
|
5
|
+
import { AvatarStack } from './chunk-YTLWOHOY.js';
|
|
6
6
|
import { ArtifactKindGround } from './chunk-J5T5TDM2.js';
|
|
7
7
|
import { Checkbox } from './chunk-YQ7Q52XU.js';
|
|
8
8
|
import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PageHeader } from './chunk-FPDIHEM4.js';
|
|
2
1
|
import { Stepper } from './chunk-TMML7BHT.js';
|
|
2
|
+
import { PageHeader } from './chunk-FPDIHEM4.js';
|
|
3
3
|
import { useMediaMatch } from './chunk-YJQXESOJ.js';
|
|
4
4
|
import { Disclosure } from './chunk-NAHA62WD.js';
|
|
5
5
|
import { useHeadingLevel, nextHeadingLevel, headingTag, HeadingLevelProvider } from './chunk-PQADV6P6.js';
|