@crewlethq/ui 0.160.1 → 0.161.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 +14 -0
- package/dist/ArtifactCard/index.js +2 -2
- package/dist/AttachmentChip/index.js +2 -2
- package/dist/BriefCard/index.js +3 -3
- package/dist/ChangeList/index.js +2 -2
- package/dist/ChipField/index.js +2 -2
- package/dist/ContrastBadge/index.js +2 -2
- package/dist/ContrastHelp/index.js +3 -3
- package/dist/DatasetSource/index.js +2 -2
- package/dist/DeepWorkCard/index.js +4 -4
- package/dist/EntityList/index.js +3 -3
- package/dist/InboxList/InboxList.d.ts +23 -7
- package/dist/InboxList/index.js +1 -1
- package/dist/{InboxList-XOUPZUCK.css → InboxList-NQABW65H.css} +95 -9
- package/dist/LinkCard/LinkCard.d.ts +13 -5
- package/dist/LinkCard/index.js +1 -1
- package/dist/{LinkCard-5I4MYU6I.css → LinkCard-W4SVOHLD.css} +35 -8
- package/dist/LogoSlot/index.js +3 -3
- package/dist/OpenInAppCard/index.js +4 -4
- package/dist/PricingCard/index.js +2 -2
- package/dist/ProposalCard/ProposalCard.d.ts +26 -5
- package/dist/ProposalCard/index.js +4 -4
- package/dist/RefusalCard/index.js +3 -3
- package/dist/ResultTableCard/index.js +3 -3
- package/dist/ReviewList/index.js +2 -2
- package/dist/RichEditor/index.js +2 -2
- package/dist/RunChip/index.js +2 -2
- package/dist/SetupWizard/index.js +2 -2
- package/dist/SheetGrid/index.js +2 -2
- package/dist/StatusCard/index.js +2 -2
- package/dist/{StepList-OAJ45IBX.css → StepList-MQVJ3DZF.css} +14 -0
- package/dist/Stepper/StepList.d.ts +20 -5
- package/dist/Stepper/index.js +1 -1
- package/dist/TableCells/index.js +2 -2
- package/dist/Tag/index.js +1 -1
- package/dist/{Tag-SNAX7OQH.css → Tag-H2EA4ZCW.css} +12 -1
- package/dist/TagsInput/index.js +2 -2
- package/dist/ThemeGallery/index.js +2 -2
- package/dist/ThreadSummary/index.js +2 -2
- package/dist/{chunk-3ZW42I4H.js → chunk-2JDLC5A4.js} +1 -1
- package/dist/{chunk-GBNQJGV4.js → chunk-2LVAA4JM.js} +1 -1
- package/dist/{chunk-EHD4CEHK.js → chunk-2MN3RNRM.js} +2 -1
- package/dist/{chunk-UVVPYLZX.js → chunk-3GIGAGEG.js} +1 -1
- package/dist/{chunk-2EG6YZJC.js → chunk-3ZBYTHLJ.js} +1 -1
- package/dist/{chunk-EKRW7F45.js → chunk-4BBS3XU2.js} +1 -1
- package/dist/{chunk-MA7EOX4J.js → chunk-ALJGUP4X.js} +1 -1
- package/dist/{chunk-GY3XZ5FW.js → chunk-DSKPTCYM.js} +1 -1
- package/dist/{chunk-L6SYLG3F.js → chunk-EH2DDHHP.js} +1 -1
- package/dist/{chunk-2DZV4PHK.js → chunk-EZIMNB6H.js} +1 -1
- package/dist/{chunk-VIGFEWSQ.js → chunk-GI4THYUT.js} +2 -2
- package/dist/{chunk-M4CXGMYO.js → chunk-GXX6B5XM.js} +1 -1
- package/dist/{chunk-DZIID2CS.js → chunk-HM3HM3OF.js} +1 -1
- package/dist/{chunk-5O4KQYCS.js → chunk-HOIZJFYS.js} +1 -1
- package/dist/{chunk-35Q3WVLB.js → chunk-ITFAH735.js} +2 -2
- package/dist/{chunk-FSVTNCAU.js → chunk-JSYAITYQ.js} +1 -1
- package/dist/{chunk-HOCXIVKC.js → chunk-KP7DRFIR.js} +1 -1
- package/dist/{chunk-TFRTT2L5.js → chunk-MCYS3HLW.js} +1 -1
- package/dist/{chunk-ZUXJG3JN.js → chunk-MKKUM4AR.js} +1 -1
- package/dist/{chunk-JBUJMWWE.js → chunk-OVWDE63E.js} +25 -9
- package/dist/{chunk-7DYHWFU2.js → chunk-PJMDWQC2.js} +1 -1
- package/dist/{chunk-UMEK5DHS.js → chunk-PUPOP3XN.js} +129 -18
- package/dist/{chunk-PVMDBNZ5.js → chunk-RSZE4FED.js} +41 -32
- package/dist/{chunk-OZNL3WOR.js → chunk-T6HFLCXB.js} +1 -1
- package/dist/{chunk-SPJUVFOI.js → chunk-TLMAPIWU.js} +1 -1
- package/dist/{chunk-FQQEC3AB.js → chunk-W3PSFOH2.js} +1 -1
- package/dist/{chunk-R43WH27Z.js → chunk-XDFFMIHY.js} +1 -1
- package/dist/{chunk-CLOWVDGV.js → chunk-YL3G6LPS.js} +1 -1
- package/dist/{chunk-YSGFG6OG.js → chunk-Z226JFUB.js} +1 -1
- package/dist/generated/index.js +46 -46
- package/dist/index.js +46 -46
- package/dist/styles.css +160 -22
- package/package.json +3 -3
- package/dist/{Editor-RDC4N2UZ.js → Editor-CL2RZDZG.js} +1 -1
- package/dist/{chunk-RMPHADLT.js → chunk-L5UJPASY.js} +1 -1
package/dist/styles.css
CHANGED
|
@@ -25194,7 +25194,7 @@ a.crewlet-icon-btn {
|
|
|
25194
25194
|
}
|
|
25195
25195
|
|
|
25196
25196
|
|
|
25197
|
-
/* InboxList-
|
|
25197
|
+
/* InboxList-NQABW65H.css */
|
|
25198
25198
|
/*
|
|
25199
25199
|
* The inbox's column: groups of rows, each row a control with the task it is
|
|
25200
25200
|
* about under it, and the quiet toggles at the end.
|
|
@@ -25365,6 +25365,11 @@ a.crewlet-icon-btn {
|
|
|
25365
25365
|
overflow: hidden;
|
|
25366
25366
|
}
|
|
25367
25367
|
|
|
25368
|
+
/* What the row draws over itself (its mark, its tray) closes with it. */
|
|
25369
|
+
.crewlet-inbox-row--leaving {
|
|
25370
|
+
overflow: hidden;
|
|
25371
|
+
}
|
|
25372
|
+
|
|
25368
25373
|
.crewlet-inbox-row:hover {
|
|
25369
25374
|
background: var(--color-surface-hover);
|
|
25370
25375
|
}
|
|
@@ -25374,6 +25379,21 @@ a.crewlet-icon-btn {
|
|
|
25374
25379
|
background: var(--color-surface-pressed);
|
|
25375
25380
|
}
|
|
25376
25381
|
|
|
25382
|
+
/*
|
|
25383
|
+
* A TAG ON A WASHED ROW KEEPS ITS CONTRAST. The hover and the selected fill
|
|
25384
|
+
* are translucent overlays, and a tinted tag (a status, "Answering") laid its
|
|
25385
|
+
* own translucent tint over them: a composite the palette never measured,
|
|
25386
|
+
* which fell under 4.5:1 for every tone in several themes (the info tag on a
|
|
25387
|
+
* selected row measured 4.43:1 in light). The row hands its tags the sheet as
|
|
25388
|
+
* their ground (Tag.css), so each pill paints its tint over an opaque rung,
|
|
25389
|
+
* the pair the palette holds at 4.5:1 in every theme, while the row's wash
|
|
25390
|
+
* shows around it.
|
|
25391
|
+
*/
|
|
25392
|
+
.crewlet-inbox-row:hover,
|
|
25393
|
+
.crewlet-inbox-row--selected {
|
|
25394
|
+
--crewlet-tag-ground: var(--color-surface-background);
|
|
25395
|
+
}
|
|
25396
|
+
|
|
25377
25397
|
/*
|
|
25378
25398
|
* FORCED COLORS repaints every author background to Canvas, which takes the
|
|
25379
25399
|
* open row's fill with it, so the row the pane is showing would look like
|
|
@@ -25434,8 +25454,6 @@ a.crewlet-icon-btn {
|
|
|
25434
25454
|
* mark hangs from the same top, beside the name's line and the one under it.
|
|
25435
25455
|
*/
|
|
25436
25456
|
.crewlet-inbox-row__control--leading {
|
|
25437
|
-
--crewlet-inbox-row-lift: max(0px, (var(--size-target-min) - 1lh) / 2);
|
|
25438
|
-
|
|
25439
25457
|
padding-top: calc(var(--spacing-2) + var(--spacing-1) / 2 - var(--crewlet-inbox-row-lift));
|
|
25440
25458
|
}
|
|
25441
25459
|
|
|
@@ -25452,6 +25470,36 @@ a.crewlet-icon-btn {
|
|
|
25452
25470
|
min-height: max(var(--size-target-min), 1lh);
|
|
25453
25471
|
}
|
|
25454
25472
|
|
|
25473
|
+
/*
|
|
25474
|
+
* THE MARK IS DRAWN BESIDE THE CONTROL, NOT IN IT. Inside, a face's initials
|
|
25475
|
+
* were the control's first visible words while its name began with the
|
|
25476
|
+
* title, so the words a person saw and the name they had to say differed
|
|
25477
|
+
* (WCAG 2.5.3). The slot inside keeps a copy nobody sees, so the words lay
|
|
25478
|
+
* out exactly as they did, and the mark itself is laid over that slot from
|
|
25479
|
+
* the row: at the control's own top and start pads (the row's body starts
|
|
25480
|
+
* where the control does), taking no press, so a press on the face is a
|
|
25481
|
+
* press on the row.
|
|
25482
|
+
*/
|
|
25483
|
+
.crewlet-inbox-row--leading {
|
|
25484
|
+
/* How far the words move down to centre the name's line on a target-sized
|
|
25485
|
+
mark, which the control's top pad gives back (above); declared on the row
|
|
25486
|
+
so the mark drawn over the slot reads the same lift. */
|
|
25487
|
+
--crewlet-inbox-row-lift: max(0px, (var(--size-target-min) - 1lh) / 2);
|
|
25488
|
+
|
|
25489
|
+
position: relative;
|
|
25490
|
+
}
|
|
25491
|
+
|
|
25492
|
+
.crewlet-inbox-row__leading--place {
|
|
25493
|
+
visibility: hidden;
|
|
25494
|
+
}
|
|
25495
|
+
|
|
25496
|
+
.crewlet-inbox-row__leading--drawn {
|
|
25497
|
+
position: absolute;
|
|
25498
|
+
inset-block-start: calc(var(--spacing-2) + var(--spacing-1) / 2 - var(--crewlet-inbox-row-lift));
|
|
25499
|
+
inset-inline-start: var(--spacing-2);
|
|
25500
|
+
pointer-events: none;
|
|
25501
|
+
}
|
|
25502
|
+
|
|
25455
25503
|
.crewlet-inbox-row__main {
|
|
25456
25504
|
display: grid;
|
|
25457
25505
|
flex: 1;
|
|
@@ -25679,21 +25727,38 @@ a.crewlet-icon-btn {
|
|
|
25679
25727
|
}
|
|
25680
25728
|
|
|
25681
25729
|
/*
|
|
25682
|
-
* THE QUICK ACTIONS
|
|
25683
|
-
*
|
|
25684
|
-
*
|
|
25685
|
-
*
|
|
25730
|
+
* THE QUICK ACTIONS STAND BESIDE THE TIME, never over it, and never reflow.
|
|
25731
|
+
* The tray floats at the end of the first line while the row is hovered or
|
|
25732
|
+
* holds focus, and the time (with any status) moves aside to stand before
|
|
25733
|
+
* it. The room it moves into is kept at the end of the name's line all the
|
|
25734
|
+
* time, in the float's place (`--crewlet-inbox-row-room`: the tray's width,
|
|
25735
|
+
* which the row measures into `--crewlet-inbox-row-tray`, from where the
|
|
25736
|
+
* tray stands to where the words end, and a gap), so the name never wraps
|
|
25737
|
+
* differently under the pointer and the row keeps its height.
|
|
25738
|
+
*
|
|
25739
|
+
* HIDDEN, NOT ONLY CLEAR, while the row is neither hovered nor focused: a
|
|
25740
|
+
* tray drawn at zero opacity was a Tab stop on every row, two stops a row in
|
|
25741
|
+
* a list that is meant to be one. The row that holds focus shows its tray,
|
|
25742
|
+
* so Tab from the row reaches its actions, and focus brings them up.
|
|
25686
25743
|
*/
|
|
25687
25744
|
.crewlet-inbox-row--actions {
|
|
25745
|
+
--crewlet-inbox-row-tray-end: var(--spacing-2);
|
|
25746
|
+
--crewlet-inbox-row-words-end: var(--spacing-2);
|
|
25747
|
+
--crewlet-inbox-row-room: max(
|
|
25748
|
+
0px,
|
|
25749
|
+
var(--crewlet-inbox-row-tray, 0px) + var(--crewlet-inbox-row-tray-end) + var(--spacing-2) - var(--crewlet-inbox-row-words-end)
|
|
25750
|
+
);
|
|
25751
|
+
|
|
25688
25752
|
position: relative;
|
|
25689
25753
|
}
|
|
25690
25754
|
|
|
25691
25755
|
.crewlet-inbox-row__actions {
|
|
25692
25756
|
position: absolute;
|
|
25693
25757
|
top: var(--crewlet-inbox-row-actions-top, 0px);
|
|
25694
|
-
inset-inline-end: var(--spacing-2);
|
|
25758
|
+
inset-inline-end: var(--crewlet-inbox-row-tray-end, var(--spacing-2));
|
|
25695
25759
|
z-index: 1;
|
|
25696
25760
|
opacity: 0;
|
|
25761
|
+
visibility: hidden;
|
|
25697
25762
|
pointer-events: none;
|
|
25698
25763
|
}
|
|
25699
25764
|
|
|
@@ -25701,9 +25766,24 @@ a.crewlet-icon-btn {
|
|
|
25701
25766
|
.crewlet-inbox-row:focus-within > .crewlet-inbox-row__actions,
|
|
25702
25767
|
.crewlet-inbox-row__actions:has([aria-expanded='true']) {
|
|
25703
25768
|
opacity: 1;
|
|
25769
|
+
visibility: visible;
|
|
25704
25770
|
pointer-events: auto;
|
|
25705
25771
|
}
|
|
25706
25772
|
|
|
25773
|
+
.crewlet-inbox-row--actions .crewlet-inbox-row__head-end--place {
|
|
25774
|
+
padding-inline-end: var(--crewlet-inbox-row-room);
|
|
25775
|
+
}
|
|
25776
|
+
|
|
25777
|
+
.crewlet-inbox-row--actions .crewlet-inbox-row__head-end--drawn {
|
|
25778
|
+
transition: inset-inline-end var(--motion-duration-fast) var(--motion-easing-default);
|
|
25779
|
+
}
|
|
25780
|
+
|
|
25781
|
+
.crewlet-inbox-row--actions:hover .crewlet-inbox-row__head-end--drawn,
|
|
25782
|
+
.crewlet-inbox-row--actions:focus-within .crewlet-inbox-row__head-end--drawn,
|
|
25783
|
+
.crewlet-inbox-row--actions:has(> .crewlet-inbox-row__actions [aria-expanded='true']) .crewlet-inbox-row__head-end--drawn {
|
|
25784
|
+
inset-inline-end: var(--crewlet-inbox-row-room);
|
|
25785
|
+
}
|
|
25786
|
+
|
|
25707
25787
|
/* ---- Chat density -------------------------------------------------------- */
|
|
25708
25788
|
|
|
25709
25789
|
/*
|
|
@@ -25746,10 +25826,15 @@ a.crewlet-icon-btn {
|
|
|
25746
25826
|
border-bottom: 1px solid var(--color-border-default);
|
|
25747
25827
|
/* The tray sits on the name's line: its middle on the line's middle. */
|
|
25748
25828
|
--crewlet-inbox-row-actions-top: calc(var(--spacing-4) + var(--crewlet-chat-line) * var(--crewlet-chat-text) / 2 - var(--crewlet-chat-toolbar) / 2);
|
|
25829
|
+
/* It stands a step in from the row's end, where the words end at the side inset. */
|
|
25830
|
+
--crewlet-inbox-row-tray-end: var(--spacing-3);
|
|
25831
|
+
--crewlet-inbox-row-words-end: var(--crewlet-chat-pad-x);
|
|
25749
25832
|
}
|
|
25750
25833
|
|
|
25751
|
-
|
|
25752
|
-
|
|
25834
|
+
/* The mark at the chat row's own pads. */
|
|
25835
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__leading--drawn {
|
|
25836
|
+
inset-block-start: var(--spacing-4);
|
|
25837
|
+
inset-inline-start: var(--crewlet-chat-pad-x);
|
|
25753
25838
|
}
|
|
25754
25839
|
|
|
25755
25840
|
/* The face hangs from the row's top pad, beside the name's line and the one
|
|
@@ -25831,6 +25916,7 @@ a.crewlet-icon-btn {
|
|
|
25831
25916
|
|
|
25832
25917
|
@media (prefers-reduced-motion: reduce) {
|
|
25833
25918
|
.crewlet-inbox-row,
|
|
25919
|
+
.crewlet-inbox-row--actions .crewlet-inbox-row__head-end--drawn,
|
|
25834
25920
|
.crewlet-inbox-row--leaving {
|
|
25835
25921
|
transition: none;
|
|
25836
25922
|
}
|
|
@@ -27799,7 +27885,7 @@ a.crewlet-icon-btn {
|
|
|
27799
27885
|
}
|
|
27800
27886
|
|
|
27801
27887
|
|
|
27802
|
-
/* LinkCard-
|
|
27888
|
+
/* LinkCard-W4SVOHLD.css */
|
|
27803
27889
|
/*
|
|
27804
27890
|
* LinkCard: what a link points at, unfurled under its message.
|
|
27805
27891
|
*
|
|
@@ -27860,12 +27946,39 @@ a.crewlet-icon-btn {
|
|
|
27860
27946
|
--crewlet-link-card-dot: var(--color-feedback-danger);
|
|
27861
27947
|
}
|
|
27862
27948
|
|
|
27863
|
-
/*
|
|
27864
|
-
.
|
|
27949
|
+
/*
|
|
27950
|
+
* THE TITLE IS THE LINK, STRETCHED OVER THE PREVIEW. Only the title is the
|
|
27951
|
+
* link, so its name is the words it shows (WCAG 2.5.3), and a layer of it
|
|
27952
|
+
* covers the whole preview, so a press on the source, the details or the bar
|
|
27953
|
+
* follows it as a press on the title does. The source, the details and the
|
|
27954
|
+
* owner are its description.
|
|
27955
|
+
*/
|
|
27956
|
+
.crewlet-link-card__link {
|
|
27957
|
+
display: block;
|
|
27958
|
+
max-width: 100%;
|
|
27959
|
+
color: inherit;
|
|
27960
|
+
text-decoration: none;
|
|
27961
|
+
}
|
|
27962
|
+
|
|
27963
|
+
.crewlet-link-card__link::after {
|
|
27964
|
+
content: '';
|
|
27965
|
+
position: absolute;
|
|
27966
|
+
inset: 0;
|
|
27967
|
+
border-radius: inherit;
|
|
27968
|
+
}
|
|
27969
|
+
|
|
27970
|
+
/* No box to ring over: the ring stands off the preview's words, round the
|
|
27971
|
+
whole preview, which is what the link covers. The title's own ring would
|
|
27972
|
+
draw a second one inside it. */
|
|
27973
|
+
.crewlet-link-card:has(> .crewlet-link-card__link:focus-visible) {
|
|
27865
27974
|
outline: 2px solid var(--color-focus);
|
|
27866
27975
|
outline-offset: 2px;
|
|
27867
27976
|
}
|
|
27868
27977
|
|
|
27978
|
+
.crewlet-link-card__link:focus-visible {
|
|
27979
|
+
outline: 2px solid transparent;
|
|
27980
|
+
}
|
|
27981
|
+
|
|
27869
27982
|
/* The app it comes from: its mark and its name, small and quiet. */
|
|
27870
27983
|
.crewlet-link-card__source {
|
|
27871
27984
|
display: inline-flex;
|
|
@@ -27893,15 +28006,15 @@ a.crewlet-icon-btn {
|
|
|
27893
28006
|
overflow-wrap: anywhere;
|
|
27894
28007
|
}
|
|
27895
28008
|
|
|
27896
|
-
/* THE TITLE ALONE IS UNDERLINED
|
|
27897
|
-
|
|
27898
|
-
|
|
27899
|
-
|
|
27900
|
-
a.crewlet-link-
|
|
28009
|
+
/* THE TITLE ALONE IS UNDERLINED, under the pointer anywhere on the preview
|
|
28010
|
+
(the link's layer covers it). The document's base underlines every link
|
|
28011
|
+
under the pointer, which the link takes off for itself and gives back to
|
|
28012
|
+
the title. */
|
|
28013
|
+
a.crewlet-link-card__link:hover {
|
|
27901
28014
|
text-decoration: none;
|
|
27902
28015
|
}
|
|
27903
28016
|
|
|
27904
|
-
a.crewlet-link-
|
|
28017
|
+
a.crewlet-link-card__link:hover .crewlet-link-card__title {
|
|
27905
28018
|
color: var(--color-brand-accent-ink);
|
|
27906
28019
|
text-decoration: underline;
|
|
27907
28020
|
text-underline-offset: 2px;
|
|
@@ -44368,7 +44481,7 @@ button.crewlet-status-legend__item[aria-pressed='true'] .crewlet-status-legend__
|
|
|
44368
44481
|
}
|
|
44369
44482
|
|
|
44370
44483
|
|
|
44371
|
-
/* StepList-
|
|
44484
|
+
/* StepList-MQVJ3DZF.css */
|
|
44372
44485
|
/*
|
|
44373
44486
|
* A request's steps: a well on the inset ground, an ordered list of steps
|
|
44374
44487
|
* each on a three-track grid (the 16px state column, the words, the
|
|
@@ -44470,6 +44583,20 @@ button.crewlet-status-legend__item[aria-pressed='true'] .crewlet-status-legend__
|
|
|
44470
44583
|
color: var(--color-text-tertiary);
|
|
44471
44584
|
}
|
|
44472
44585
|
|
|
44586
|
+
/*
|
|
44587
|
+
* WHY, IN A SENTENCE FOR A PERSON: the body face, a step down from the label,
|
|
44588
|
+
* in the secondary ink, wrapping as words do. It is read, so it is never set
|
|
44589
|
+
* in the request line's mono face or its tertiary ink.
|
|
44590
|
+
*/
|
|
44591
|
+
.crewlet-step-list__note {
|
|
44592
|
+
display: block;
|
|
44593
|
+
font-family: var(--font-family-sans);
|
|
44594
|
+
font-size: var(--font-size-xs);
|
|
44595
|
+
line-height: var(--font-line-height-snug);
|
|
44596
|
+
color: var(--color-text-secondary);
|
|
44597
|
+
overflow-wrap: break-word;
|
|
44598
|
+
}
|
|
44599
|
+
|
|
44473
44600
|
/*
|
|
44474
44601
|
* WHAT THE STEP ASKED FOR, in the mono face. Each piece between separators is
|
|
44475
44602
|
* one inline block, so a line breaks only between pieces (at a space, or
|
|
@@ -46712,7 +46839,7 @@ b.crewlet-switcher__match {
|
|
|
46712
46839
|
}
|
|
46713
46840
|
|
|
46714
46841
|
|
|
46715
|
-
/* Tag-
|
|
46842
|
+
/* Tag-H2EA4ZCW.css */
|
|
46716
46843
|
/*
|
|
46717
46844
|
* The tag: a small pill naming a state, a category or a value.
|
|
46718
46845
|
*
|
|
@@ -46751,6 +46878,17 @@ b.crewlet-switcher__match {
|
|
|
46751
46878
|
* The boundary at rest is `--crewlet-tag-edge`: transparent for a tinted
|
|
46752
46879
|
* pill, whose hue already separates it from any neutral ground, and the
|
|
46753
46880
|
* strong border step for the neutral one (see its rule below).
|
|
46881
|
+
*
|
|
46882
|
+
* A TINT IS TRANSLUCENT, SO IT IS ONLY AS GOOD AS WHAT IS UNDER IT. The
|
|
46883
|
+
* palette holds each ink at 4.5:1 on its own soft tint over the four opaque
|
|
46884
|
+
* rungs, and nowhere else. A row that draws a translucent overlay of its
|
|
46885
|
+
* own (hovered, selected) put a second wash under the tint, and the ink
|
|
46886
|
+
* fell under 4.5:1 there: 4.43:1 for the info pill on a selected inbox row
|
|
46887
|
+
* in light, 3.74:1 for success on a pressed raised row in one dark theme.
|
|
46888
|
+
* So the tint is painted over `--crewlet-tag-ground` when an ancestor names
|
|
46889
|
+
* one, an opaque rung such a row hands down, and the pill is then exactly
|
|
46890
|
+
* the composite the palette measures, whatever the row draws around it.
|
|
46891
|
+
* Nothing names it by default, and a pill paints over what is beneath it.
|
|
46754
46892
|
*/
|
|
46755
46893
|
--crewlet-tag-height: calc(22px * var(--density, 1));
|
|
46756
46894
|
--crewlet-tag-floor: 0px;
|
|
@@ -46772,7 +46910,7 @@ b.crewlet-switcher__match {
|
|
|
46772
46910
|
padding: 0 var(--crewlet-tag-pad);
|
|
46773
46911
|
border: 1px solid var(--crewlet-tag-edge);
|
|
46774
46912
|
border-radius: var(--radius-pill);
|
|
46775
|
-
background: var(--crewlet-tag-fill);
|
|
46913
|
+
background: linear-gradient(var(--crewlet-tag-fill), var(--crewlet-tag-fill)), var(--crewlet-tag-ground, transparent);
|
|
46776
46914
|
color: var(--crewlet-tag-ink);
|
|
46777
46915
|
font-family: var(--font-family-sans);
|
|
46778
46916
|
font-size: var(--font-size-xs);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.161.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.161.0",
|
|
47
|
+
"@crewlethq/tokens": "0.161.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 { schema, readMarkdown, writeMarkdown } from './chunk-7XGDMXC5.js';
|
|
2
1
|
import { richEditorLabels } from './chunk-DGXHQMNP.js';
|
|
2
|
+
import { schema, readMarkdown, writeMarkdown } from './chunk-7XGDMXC5.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';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
2
2
|
import { PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
3
3
|
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
4
|
-
import { Card } from './chunk-E7KRB77B.js';
|
|
5
4
|
import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
|
|
5
|
+
import { Card } from './chunk-E7KRB77B.js';
|
|
6
6
|
import { Checkbox } from './chunk-TGENJXOJ.js';
|
|
7
7
|
import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
|
|
8
8
|
import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|