@crewlethq/ui 0.107.0 → 0.108.1
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/index.js +1 -1
- package/dist/AgentHandoffPanel/index.js +2 -2
- package/dist/ArtifactCard/index.js +2 -2
- package/dist/ChatDay/index.js +2 -2
- package/dist/ChatDivider/index.js +1 -1
- package/dist/ChatMessage/index.js +1 -1
- package/dist/{ChatMessage-FH7VRVCH.css → ChatMessage-OJO6ASZP.css} +63 -50
- package/dist/{ChatScale-AP237LJQ.css → ChatScale-ST24RFPO.css} +4 -2
- package/dist/CommentThread/index.js +2 -2
- package/dist/Composer/index.js +1 -1
- package/dist/ContrastBadge/index.js +2 -2
- package/dist/ContrastHelp/index.js +3 -3
- package/dist/DataGrid/index.js +2 -2
- package/dist/DataView/index.js +1 -1
- package/dist/DeliveryReceipt/index.js +1 -1
- package/dist/LinkCard/index.js +1 -1
- package/dist/LogoSlot/index.js +3 -3
- package/dist/MessageActions/index.js +1 -1
- package/dist/{MessageActions-Q4F5UH3S.css → MessageActions-UGMXBGKY.css} +22 -1
- package/dist/OrgTable/index.js +4 -4
- package/dist/RailList/index.js +1 -1
- package/dist/ReactionBar/index.js +1 -1
- package/dist/{ReactionBar-XXI4V7XG.css → ReactionBar-JMX75TMV.css} +15 -15
- package/dist/RichEditor/index.js +2 -2
- package/dist/RoomRow/index.js +1 -1
- package/dist/SandboxedFrame/index.js +2 -2
- package/dist/ShareDialog/index.js +1 -1
- package/dist/Skeleton/index.js +1 -1
- package/dist/Switcher/index.js +2 -2
- package/dist/ThreadSummary/index.js +1 -1
- package/dist/TreeGrid/index.js +3 -3
- package/dist/WidgetFrame/index.js +2 -2
- package/dist/{chunk-TB7BFIIB.js → chunk-3J3WAQCN.js} +1 -1
- package/dist/{chunk-WBYSTD7Q.js → chunk-3VT5QVQF.js} +1 -1
- package/dist/{chunk-XRTNFED5.js → chunk-5I2XHHOH.js} +2 -2
- package/dist/{chunk-ITZORVZR.js → chunk-AFHDUM4V.js} +1 -1
- package/dist/{chunk-I6IOXXF6.js → chunk-BHF26PSV.js} +1 -1
- package/dist/{chunk-QQPF5SBJ.js → chunk-BUOBTY3X.js} +2 -2
- package/dist/{chunk-MHNISUNZ.js → chunk-DEIHV2H3.js} +1 -1
- package/dist/{chunk-3AD6HSUB.js → chunk-EKC4MOGY.js} +1 -1
- package/dist/{chunk-466HHUK4.js → chunk-F3E66TBM.js} +1 -1
- package/dist/{chunk-I7SI5DUC.js → chunk-FNKOULI4.js} +1 -1
- package/dist/{chunk-D35CWLIW.js → chunk-GCAQ2UTU.js} +1 -1
- package/dist/{chunk-ASVV2T3A.js → chunk-HVFN4DJT.js} +1 -1
- package/dist/{chunk-EJRA2SYP.js → chunk-JNP5EMLV.js} +1 -1
- package/dist/{chunk-ALL5B5YW.js → chunk-QAQKJ4PO.js} +1 -1
- package/dist/{chunk-HIF4I3WO.js → chunk-RC7BU5YS.js} +1 -1
- package/dist/{chunk-EYWN33K5.js → chunk-S7WNMAH6.js} +1 -1
- package/dist/{chunk-5HHDVJBY.js → chunk-TCAX77BH.js} +1 -1
- package/dist/{chunk-HSKIATS6.js → chunk-TZ4ZXED7.js} +1 -1
- package/dist/chunk-XETR2N6C.js +2 -0
- package/dist/{chunk-EDAMPE6A.js → chunk-XRDKB27X.js} +1 -1
- package/dist/{chunk-KBUV24VV.js → chunk-YLOQNVR2.js} +1 -1
- package/dist/{chunk-WP5N6UPS.js → chunk-YWNCZMI7.js} +2 -2
- package/dist/{chunk-KQKGMTWB.js → chunk-Z6OI7FXJ.js} +1 -1
- package/dist/{chunk-LQBSCXVY.js → chunk-ZAN7Q4WG.js} +1 -1
- package/dist/generated/index.js +52 -52
- package/dist/index.js +52 -52
- package/dist/styles.css +108 -72
- package/package.json +3 -3
- package/dist/chunk-YAVVA5UE.js +0 -2
- package/dist/{chunk-F7NHMBGJ.js → chunk-3YOLD7WG.js} +1 -1
package/dist/styles.css
CHANGED
|
@@ -11039,16 +11039,21 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11039
11039
|
}
|
|
11040
11040
|
|
|
11041
11041
|
|
|
11042
|
-
/* ChatMessage-
|
|
11042
|
+
/* ChatMessage-OJO6ASZP.css */
|
|
11043
11043
|
/*
|
|
11044
11044
|
* One message in a transcript: a face in a gutter, the head line, the words
|
|
11045
11045
|
* and a footer stack. Every size reads the conversation scale
|
|
11046
11046
|
* (ChatScale.css); every edge and fill the quiet scale in @crewlethq/tokens.
|
|
11047
11047
|
*/
|
|
11048
11048
|
|
|
11049
|
+
/* ONE RHYTHM FOR A RUN OF MESSAGES. A row is its lines between two equal
|
|
11050
|
+
insets, so a continued one-line message is one line plus 8px, only a
|
|
11051
|
+
little more than the leading inside a message, and a sender's run reads as
|
|
11052
|
+
one block. A first row adds its name line and nothing else. The surface
|
|
11053
|
+
under the pointer steps at once: a hover that fades lags a moving pointer. */
|
|
11049
11054
|
.crewlet-chat-message {
|
|
11050
11055
|
/* Where the row's first line starts: the toolbar rests on it. */
|
|
11051
|
-
--crewlet-chat-row-top: var(--spacing-
|
|
11056
|
+
--crewlet-chat-row-top: var(--spacing-1);
|
|
11052
11057
|
position: relative;
|
|
11053
11058
|
display: grid;
|
|
11054
11059
|
grid-template-columns: var(--crewlet-chat-avatar) minmax(0, 1fr);
|
|
@@ -11056,15 +11061,10 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11056
11061
|
padding: var(--crewlet-chat-row-top) var(--crewlet-chat-pad-x) var(--spacing-1);
|
|
11057
11062
|
font-size: var(--crewlet-chat-text);
|
|
11058
11063
|
line-height: var(--crewlet-chat-line);
|
|
11059
|
-
transition: background var(--motion-duration-fast) var(--motion-easing-default);
|
|
11060
11064
|
/* A message the reader is taken to stops under the day's pinned pill. */
|
|
11061
11065
|
scroll-margin-top: calc(var(--crewlet-chat-day-pin) + var(--crewlet-chat-day-pill) + var(--spacing-2));
|
|
11062
11066
|
}
|
|
11063
11067
|
|
|
11064
|
-
.crewlet-chat-message.is-continuation {
|
|
11065
|
-
--crewlet-chat-row-top: 1px;
|
|
11066
|
-
padding-bottom: 1px;
|
|
11067
|
-
}
|
|
11068
11068
|
|
|
11069
11069
|
.crewlet-chat-message:hover,
|
|
11070
11070
|
.crewlet-chat-message:focus-visible,
|
|
@@ -11091,16 +11091,17 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11091
11091
|
box-shadow: inset 2px 0 0 var(--color-feedback-warning);
|
|
11092
11092
|
}
|
|
11093
11093
|
|
|
11094
|
-
/* The row a link or a search opened at: a wash of the accent that
|
|
11095
|
-
|
|
11096
|
-
|
|
11094
|
+
/* The row a link or a search opened at: a wash of the accent that arrives
|
|
11095
|
+
over half a second, so the eye catches it as the view settles, holds, then
|
|
11096
|
+
fades back to whatever the row draws of its own (the mention wash
|
|
11097
|
+
included), so there is no first or last keyframe to name it. */
|
|
11097
11098
|
.crewlet-chat-message.is-flash {
|
|
11098
|
-
animation: crewlet-chat-message-flash calc(var(--motion-duration-
|
|
11099
|
+
animation: crewlet-chat-message-flash calc(var(--motion-duration-slow) * 10) var(--motion-easing-default);
|
|
11099
11100
|
}
|
|
11100
11101
|
|
|
11101
11102
|
@keyframes crewlet-chat-message-flash {
|
|
11102
|
-
|
|
11103
|
-
|
|
11103
|
+
15%,
|
|
11104
|
+
55% {
|
|
11104
11105
|
background: var(--color-brand-accent-soft-strong);
|
|
11105
11106
|
}
|
|
11106
11107
|
}
|
|
@@ -11109,15 +11110,15 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11109
11110
|
color: var(--color-text-tertiary);
|
|
11110
11111
|
}
|
|
11111
11112
|
|
|
11112
|
-
/* The face
|
|
11113
|
-
|
|
11114
|
-
its own height: stretched to the row, the face's button
|
|
11115
|
-
ring) ran the full height of a long message. */
|
|
11113
|
+
/* The face's top meets the top of the name's capitals, inside the name's
|
|
11114
|
+
line box by its half-leading, so the face reads as a margin note to the
|
|
11115
|
+
name. It keeps its own height: stretched to the row, the face's button
|
|
11116
|
+
(and its focus ring) ran the full height of a long message. */
|
|
11116
11117
|
.crewlet-chat-message__gutter {
|
|
11117
11118
|
display: flex;
|
|
11118
11119
|
align-items: flex-start;
|
|
11119
11120
|
justify-content: center;
|
|
11120
|
-
padding-top:
|
|
11121
|
+
padding-top: var(--spacing-1);
|
|
11121
11122
|
}
|
|
11122
11123
|
|
|
11123
11124
|
/* A face that opens the author's profile: the face is the whole control. */
|
|
@@ -11153,7 +11154,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11153
11154
|
.crewlet-chat-message__gutter-time {
|
|
11154
11155
|
visibility: hidden;
|
|
11155
11156
|
color: var(--color-text-tertiary);
|
|
11156
|
-
font-size: var(--
|
|
11157
|
+
font-size: var(--crewlet-chat-meta);
|
|
11157
11158
|
font-variant-numeric: tabular-nums;
|
|
11158
11159
|
line-height: 1;
|
|
11159
11160
|
white-space: nowrap;
|
|
@@ -11197,9 +11198,10 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11197
11198
|
vertical-align: middle;
|
|
11198
11199
|
}
|
|
11199
11200
|
|
|
11201
|
+
/* The name is the words' size and stands out by weight alone. */
|
|
11200
11202
|
.crewlet-chat-message__author {
|
|
11201
11203
|
color: var(--color-text-primary);
|
|
11202
|
-
font-weight: var(--font-weight-
|
|
11204
|
+
font-weight: var(--font-weight-semibold);
|
|
11203
11205
|
}
|
|
11204
11206
|
|
|
11205
11207
|
/* A name that opens the author's profile reads as the name, not a button. */
|
|
@@ -11239,13 +11241,23 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11239
11241
|
overflow-wrap: anywhere;
|
|
11240
11242
|
}
|
|
11241
11243
|
|
|
11244
|
+
/* ONE TYPE SIZE IN A ROW. Rich text drawn in the words (a `Prose`) takes the
|
|
11245
|
+
chat body step rather than its own document step, at two classes so it
|
|
11246
|
+
holds in any bundle order. */
|
|
11247
|
+
.crewlet-chat-message__body .crewlet-prose {
|
|
11248
|
+
font-size: var(--crewlet-chat-text);
|
|
11249
|
+
line-height: var(--crewlet-chat-line);
|
|
11250
|
+
}
|
|
11251
|
+
|
|
11242
11252
|
/* Emphasis in a message is the semibold step, as it is everywhere else in
|
|
11243
11253
|
the product: the browser's own bold read heavier than the names. */
|
|
11244
11254
|
.crewlet-chat-message__body :is(b, strong) {
|
|
11245
11255
|
font-weight: var(--font-weight-semibold);
|
|
11246
11256
|
}
|
|
11247
11257
|
|
|
11248
|
-
/* Previews, reactions and the thread line: one stack, one gap.
|
|
11258
|
+
/* Previews, reactions and the thread line: one stack, one gap. A footer
|
|
11259
|
+
whose pieces all drew nothing takes no room: its gap made every row 6px
|
|
11260
|
+
taller than its words. */
|
|
11249
11261
|
.crewlet-chat-message__footer {
|
|
11250
11262
|
display: flex;
|
|
11251
11263
|
flex-direction: column;
|
|
@@ -11254,6 +11266,10 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11254
11266
|
margin-top: var(--crewlet-chat-stack);
|
|
11255
11267
|
}
|
|
11256
11268
|
|
|
11269
|
+
.crewlet-chat-message__footer:empty {
|
|
11270
|
+
display: none;
|
|
11271
|
+
}
|
|
11272
|
+
|
|
11257
11273
|
/* NO PIECE UNDER A MESSAGE IS WIDER THAN ITS COLUMN. Stacked on the start
|
|
11258
11274
|
edge, each piece takes its one-line width, and an agent's working line set
|
|
11259
11275
|
it wider than a phone's column: the transcript scrolled sideways. */
|
|
@@ -11261,17 +11277,18 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11261
11277
|
max-width: 100%;
|
|
11262
11278
|
}
|
|
11263
11279
|
|
|
11264
|
-
/* THE TOOLBAR
|
|
11265
|
-
the
|
|
11266
|
-
|
|
11280
|
+
/* THE TOOLBAR STRADDLES THE ROW'S TOP EDGE, 16px over the row above and the
|
|
11281
|
+
rest over the row's own first line, near its end where the words rarely
|
|
11282
|
+
reach, and over the day's pinned pill as well as the rows: a toolbar that
|
|
11283
|
+
slid under the pill lost its middle buttons wherever the two crossed. It
|
|
11284
|
+
appears with the hover surface, on the same frame. */
|
|
11267
11285
|
.crewlet-chat-message__actions {
|
|
11268
11286
|
position: absolute;
|
|
11269
|
-
top: calc(
|
|
11270
|
-
right: var(--
|
|
11287
|
+
top: calc(-1 * var(--spacing-4));
|
|
11288
|
+
right: var(--spacing-4);
|
|
11271
11289
|
z-index: calc(var(--z-index-sticky) + var(--z-index-raised));
|
|
11272
11290
|
opacity: 0;
|
|
11273
11291
|
pointer-events: none;
|
|
11274
|
-
transition: opacity var(--motion-duration-fast) var(--motion-easing-default);
|
|
11275
11292
|
}
|
|
11276
11293
|
|
|
11277
11294
|
.crewlet-chat-message:hover > .crewlet-chat-message__actions,
|
|
@@ -11282,23 +11299,30 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11282
11299
|
pointer-events: auto;
|
|
11283
11300
|
}
|
|
11284
11301
|
|
|
11285
|
-
/*
|
|
11286
|
-
|
|
11287
|
-
|
|
11288
|
-
|
|
11302
|
+
/* A ROW NARROWER THAN THE FULL TOOLBAR CAN SPARE drops the quick reactions
|
|
11303
|
+
and keeps the tools, so the toolbar covers less of the name it stands over;
|
|
11304
|
+
the add-reaction tool still opens the whole picker. */
|
|
11305
|
+
.crewlet-chat-message {
|
|
11306
|
+
container-name: crewlet-chat-row;
|
|
11307
|
+
container-type: inline-size;
|
|
11289
11308
|
}
|
|
11290
11309
|
|
|
11291
|
-
|
|
11292
|
-
|
|
11293
|
-
|
|
11294
|
-
|
|
11310
|
+
@container crewlet-chat-row (max-width: 420px) {
|
|
11311
|
+
.crewlet-chat-message__actions .crewlet-message-actions__emoji {
|
|
11312
|
+
display: none;
|
|
11313
|
+
}
|
|
11295
11314
|
}
|
|
11296
11315
|
|
|
11297
|
-
|
|
11298
|
-
.
|
|
11299
|
-
.crewlet-chat-message.is-
|
|
11300
|
-
|
|
11301
|
-
|
|
11316
|
+
/* Over a continued row it rises further, so its foot covers only the top of
|
|
11317
|
+
the row's one line and the rest of the words stay readable. */
|
|
11318
|
+
.crewlet-chat-message.is-continuation > .crewlet-chat-message__actions {
|
|
11319
|
+
top: calc(-1 * (var(--spacing-6) + var(--spacing-1)));
|
|
11320
|
+
}
|
|
11321
|
+
|
|
11322
|
+
/* With no row above to stand over (see ChatMessage.tsx), or when the host
|
|
11323
|
+
asks, it is drawn inside the row's own head. */
|
|
11324
|
+
.crewlet-chat-message.has-actions-inside > .crewlet-chat-message__actions {
|
|
11325
|
+
top: var(--spacing-1);
|
|
11302
11326
|
}
|
|
11303
11327
|
|
|
11304
11328
|
/* A TOUCH SCREEN HAS NO HOVER: a tap on the row (which focuses it) shows the
|
|
@@ -11311,9 +11335,6 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11311
11335
|
pointer-events: auto;
|
|
11312
11336
|
}
|
|
11313
11337
|
|
|
11314
|
-
.crewlet-chat-message .crewlet-reaction--add {
|
|
11315
|
-
opacity: 1;
|
|
11316
|
-
}
|
|
11317
11338
|
}
|
|
11318
11339
|
|
|
11319
11340
|
/* The line under a message that was not sent. */
|
|
@@ -11332,21 +11353,13 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11332
11353
|
}
|
|
11333
11354
|
|
|
11334
11355
|
@media (prefers-reduced-motion: reduce) {
|
|
11335
|
-
.crewlet-chat-message {
|
|
11336
|
-
transition: none;
|
|
11337
|
-
}
|
|
11338
|
-
|
|
11339
11356
|
.crewlet-chat-message.is-flash {
|
|
11340
11357
|
animation: none;
|
|
11341
11358
|
}
|
|
11342
|
-
|
|
11343
|
-
.crewlet-chat-message__actions {
|
|
11344
|
-
transition: none;
|
|
11345
|
-
}
|
|
11346
11359
|
}
|
|
11347
11360
|
|
|
11348
11361
|
|
|
11349
|
-
/* ChatScale-
|
|
11362
|
+
/* ChatScale-ST24RFPO.css */
|
|
11350
11363
|
/*
|
|
11351
11364
|
* ONE SCALE FOR A CONVERSATION. Every part of a transcript reads from these:
|
|
11352
11365
|
* the message rows, their toolbar, reactions and thread line, the day's rule
|
|
@@ -11359,9 +11372,11 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11359
11372
|
* that imports one part (`@crewlethq/ui/ChatDay`) still gets the scale.
|
|
11360
11373
|
*/
|
|
11361
11374
|
:root {
|
|
11362
|
-
/* The words: names, bodies and the message box, on
|
|
11375
|
+
/* The words: names, bodies, their rich text and the message box, on the
|
|
11376
|
+
chat step: 14px on a 22px line. The line is a ratio, so a surface that
|
|
11377
|
+
sets another step keeps the proportion. */
|
|
11363
11378
|
--crewlet-chat-text: var(--font-size-sm);
|
|
11364
|
-
--crewlet-chat-line:
|
|
11379
|
+
--crewlet-chat-line: calc(22 / 14);
|
|
11365
11380
|
/* Times, counts, reactions and second lines: one step down. */
|
|
11366
11381
|
--crewlet-chat-meta: var(--font-size-xs);
|
|
11367
11382
|
/* The row's side inset, the face column, the gap after it, and the space
|
|
@@ -28191,7 +28206,7 @@ button.crewlet-mention-chip:focus-visible {
|
|
|
28191
28206
|
}
|
|
28192
28207
|
|
|
28193
28208
|
|
|
28194
|
-
/* MessageActions-
|
|
28209
|
+
/* MessageActions-UGMXBGKY.css */
|
|
28195
28210
|
/*
|
|
28196
28211
|
* The tray a message shows on hover: the transcript's own ground ringed with
|
|
28197
28212
|
* the hairline and a small shadow, the large corner, and 30px tools inside
|
|
@@ -28201,7 +28216,7 @@ button.crewlet-mention-chip:focus-visible {
|
|
|
28201
28216
|
*/
|
|
28202
28217
|
.crewlet-toolbar.crewlet-message-actions {
|
|
28203
28218
|
flex-wrap: nowrap;
|
|
28204
|
-
gap:
|
|
28219
|
+
gap: 0;
|
|
28205
28220
|
height: var(--crewlet-chat-toolbar);
|
|
28206
28221
|
box-sizing: border-box;
|
|
28207
28222
|
padding: var(--crewlet-chat-toolbar-inset);
|
|
@@ -28238,6 +28253,27 @@ button.crewlet-mention-chip:focus-visible {
|
|
|
28238
28253
|
background: var(--color-fill-soft);
|
|
28239
28254
|
}
|
|
28240
28255
|
|
|
28256
|
+
/* THE ONE FLOURISH: the glyph under the pointer grows a fifth, and a quick
|
|
28257
|
+
reaction tilts as it does, in the short decelerating step. The tile itself
|
|
28258
|
+
steps at once. */
|
|
28259
|
+
.crewlet-message-actions :is(.crewlet-message-actions__emoji, .crewlet-icon-btn) > * {
|
|
28260
|
+
transition: transform var(--motion-duration-instant) var(--motion-easing-emphasized);
|
|
28261
|
+
}
|
|
28262
|
+
|
|
28263
|
+
.crewlet-message-actions .crewlet-icon-btn:not([aria-disabled='true']):hover > * {
|
|
28264
|
+
transform: scale(1.2);
|
|
28265
|
+
}
|
|
28266
|
+
|
|
28267
|
+
.crewlet-message-actions__emoji:not([aria-disabled='true']):hover > * {
|
|
28268
|
+
transform: scale(1.2) rotate(4deg);
|
|
28269
|
+
}
|
|
28270
|
+
|
|
28271
|
+
@media (prefers-reduced-motion: reduce) {
|
|
28272
|
+
.crewlet-message-actions :is(.crewlet-message-actions__emoji, .crewlet-icon-btn) > * {
|
|
28273
|
+
transition: none;
|
|
28274
|
+
}
|
|
28275
|
+
}
|
|
28276
|
+
|
|
28241
28277
|
.crewlet-message-actions__emoji:active {
|
|
28242
28278
|
background: var(--color-surface-pressed);
|
|
28243
28279
|
}
|
|
@@ -32837,10 +32873,12 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
32837
32873
|
}
|
|
32838
32874
|
|
|
32839
32875
|
|
|
32840
|
-
/* ReactionBar-
|
|
32876
|
+
/* ReactionBar-JMX75TMV.css */
|
|
32841
32877
|
/*
|
|
32842
|
-
* A message's reactions: one pill to an emoji, then the add pill
|
|
32843
|
-
* rest is a fill and no frame; the
|
|
32878
|
+
* A message's reactions: one pill to an emoji, then the add pill, a line of
|
|
32879
|
+
* text tall on the words' column. A pill at rest is a fill and no frame; the
|
|
32880
|
+
* edge arrives under the pointer. Every state steps at once, and a pill pressed
|
|
32881
|
+
* gives a little under the pointer.
|
|
32844
32882
|
*/
|
|
32845
32883
|
|
|
32846
32884
|
.crewlet-reaction-bar {
|
|
@@ -32867,9 +32905,10 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
32867
32905
|
font-size: var(--crewlet-chat-meta);
|
|
32868
32906
|
line-height: 1;
|
|
32869
32907
|
cursor: pointer;
|
|
32870
|
-
|
|
32871
|
-
|
|
32872
|
-
|
|
32908
|
+
}
|
|
32909
|
+
|
|
32910
|
+
.crewlet-reaction:not([aria-disabled='true']):active {
|
|
32911
|
+
transform: scale(0.94);
|
|
32873
32912
|
}
|
|
32874
32913
|
|
|
32875
32914
|
/* The emoji is the pill's picture and the count its caption: at the count's
|
|
@@ -32880,7 +32919,7 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
32880
32919
|
|
|
32881
32920
|
.crewlet-reaction__count {
|
|
32882
32921
|
font-variant-numeric: tabular-nums;
|
|
32883
|
-
font-weight: var(--font-weight-
|
|
32922
|
+
font-weight: var(--font-weight-semibold);
|
|
32884
32923
|
}
|
|
32885
32924
|
|
|
32886
32925
|
/* The pointed pill drops its fill and takes the strong edge. */
|
|
@@ -32901,10 +32940,6 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
32901
32940
|
background: var(--color-brand-accent-soft-strong);
|
|
32902
32941
|
}
|
|
32903
32942
|
|
|
32904
|
-
.crewlet-reaction.is-mine .crewlet-reaction__count {
|
|
32905
|
-
font-weight: var(--font-weight-medium);
|
|
32906
|
-
}
|
|
32907
|
-
|
|
32908
32943
|
.crewlet-reaction[aria-disabled='true'] {
|
|
32909
32944
|
cursor: not-allowed;
|
|
32910
32945
|
}
|
|
@@ -32914,11 +32949,12 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
32914
32949
|
outline-offset: var(--size-focus-ring-inset-offset);
|
|
32915
32950
|
}
|
|
32916
32951
|
|
|
32917
|
-
/* The add pill: the glyph alone, in the
|
|
32952
|
+
/* The add pill: the glyph alone, in the words' ink, always there once a
|
|
32953
|
+
message has a reaction, so adding one needs no hunt for the toolbar. */
|
|
32918
32954
|
.crewlet-reaction.crewlet-reaction--add {
|
|
32919
|
-
min-width:
|
|
32955
|
+
min-width: 34px;
|
|
32920
32956
|
padding: 0;
|
|
32921
|
-
color: var(--color-text-
|
|
32957
|
+
color: var(--color-text-secondary);
|
|
32922
32958
|
}
|
|
32923
32959
|
|
|
32924
32960
|
.crewlet-reaction.crewlet-reaction--add[aria-expanded='true'] {
|
|
@@ -32927,8 +32963,8 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
32927
32963
|
}
|
|
32928
32964
|
|
|
32929
32965
|
@media (prefers-reduced-motion: reduce) {
|
|
32930
|
-
.crewlet-reaction {
|
|
32931
|
-
|
|
32966
|
+
.crewlet-reaction:not([aria-disabled='true']):active {
|
|
32967
|
+
transform: none;
|
|
32932
32968
|
}
|
|
32933
32969
|
}
|
|
32934
32970
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.108.1",
|
|
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.108.1",
|
|
46
|
+
"@crewlethq/tokens": "0.108.1",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
package/dist/chunk-YAVVA5UE.js
DELETED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
2
1
|
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
2
|
+
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ContrastBadge-CBZPGG3G.css';
|