@crewlethq/ui 0.124.0 → 0.126.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 +29 -1
- package/dist/ArtifactBar/ArtifactBar.d.ts +5 -0
- package/dist/ArtifactBar/index.js +5 -5
- package/dist/ArtifactCard/index.js +3 -3
- package/dist/AttentionList/index.js +3 -3
- package/dist/AuthLayout/index.js +3 -3
- package/dist/AvatarPicker/index.js +6 -6
- package/dist/Breadcrumb/index.js +2 -2
- package/dist/BriefCard/index.js +4 -4
- package/dist/Card/index.js +2 -2
- package/dist/CharacterPicker/index.js +2 -2
- package/dist/Charts/index.js +2 -2
- package/dist/DeepWorkCard/index.js +4 -4
- package/dist/EntityList/index.js +4 -4
- package/dist/FolderTile/index.js +3 -3
- package/dist/GraphCanvas/GraphCanvas.d.ts +35 -7
- package/dist/GraphCanvas/index.d.ts +2 -2
- package/dist/GraphCanvas/index.js +2 -2
- package/dist/{GraphCanvas-UZPZRP6S.css → GraphCanvas-V4VJADVF.css} +103 -16
- package/dist/HuePicker/index.js +4 -4
- package/dist/LayersList/index.js +2 -2
- package/dist/MarkdownEditor/index.js +5 -5
- package/dist/MentionMenu/index.js +3 -3
- package/dist/MergeConflicts/index.js +5 -5
- package/dist/ObjectHeader/index.js +2 -2
- package/dist/{ObjectHeader-BH7OBEAL.css → ObjectHeader-3YYG2BAF.css} +4 -2
- package/dist/OpenInAppCard/index.js +4 -4
- package/dist/OrgLabel/index.js +1 -1
- package/dist/{OrgLabel-AZLKOG72.css → OrgLabel-F2PW7B73.css} +1 -1
- package/dist/OrgNode/index.js +2 -2
- package/dist/OrgTable/index.js +2 -2
- package/dist/PersonRow/index.js +2 -2
- package/dist/PropertyList/index.js +3 -3
- package/dist/ProposalCard/index.js +4 -4
- package/dist/RailList/index.js +3 -3
- package/dist/RefusalCard/index.js +4 -4
- package/dist/RelatedRow/index.js +3 -3
- package/dist/ResultTableCard/index.js +4 -4
- package/dist/RichEditor/index.js +1 -1
- package/dist/SegmentedControl/index.js +4 -4
- package/dist/{SegmentedControl-HFCBBWKH.css → SegmentedControl-RDBMHV7Q.css} +8 -3
- package/dist/SheetColumnEditor/index.js +5 -5
- package/dist/StatusCard/index.js +3 -3
- package/dist/Switcher/index.js +2 -2
- package/dist/TableCells/index.js +2 -2
- package/dist/Tabs/index.js +2 -2
- package/dist/Tabs/roving.d.ts +15 -0
- package/dist/{Tabs-244SPRII.css → Tabs-BJZ2W5KB.css} +33 -6
- package/dist/Text/index.js +1 -1
- package/dist/{Text-XOCOU34C.css → Text-6KVFTLYV.css} +17 -0
- package/dist/ThemeGallery/index.js +2 -2
- package/dist/ThemeSwitcher/index.js +5 -5
- package/dist/TimeRangePicker/index.js +5 -5
- package/dist/Toaster/index.js +2 -2
- package/dist/VersionCompare/index.js +5 -5
- package/dist/{chunk-YJ2V7QSY.js → chunk-2JXC3Y5W.js} +1 -1
- package/dist/{chunk-5PHBOCIX.js → chunk-377HVWK7.js} +2 -2
- package/dist/{chunk-XROJ6XQ3.js → chunk-42I2VSZZ.js} +1 -1
- package/dist/{chunk-KTH2KXZY.js → chunk-46WA7E5V.js} +1 -1
- package/dist/{chunk-XLMURU75.js → chunk-475DOAWF.js} +1 -1
- package/dist/{chunk-VRDLNMST.js → chunk-54OD6YIS.js} +1 -1
- package/dist/{chunk-GIYIKUJE.js → chunk-5L56E6AF.js} +4 -3
- package/dist/{chunk-5AORKQ5Q.js → chunk-6BTQVM6O.js} +1 -1
- package/dist/{chunk-CVXQWNSM.js → chunk-6IBC6CPE.js} +1 -1
- package/dist/{chunk-5P6LLFEO.js → chunk-766IY2ZW.js} +1 -1
- package/dist/{chunk-EGMQURBR.js → chunk-7F3OPUM5.js} +12 -1
- package/dist/chunk-7U4V36SB.js +3 -0
- package/dist/{chunk-22I4FAEM.js → chunk-7Y5OSXA2.js} +1 -1
- package/dist/{chunk-25CL7J4J.js → chunk-B6AQY6FH.js} +1 -1
- package/dist/{chunk-T4TKY4VZ.js → chunk-BBWCMOK7.js} +1 -1
- package/dist/{chunk-4Z3AGYOB.js → chunk-BXDBDAKS.js} +1 -1
- package/dist/{chunk-DSBKVP73.js → chunk-CWHFC7FS.js} +134 -110
- package/dist/{chunk-4PEPSGCZ.js → chunk-DQKNAQWN.js} +1 -1
- package/dist/{chunk-VB7KAQBN.js → chunk-E5F25GGA.js} +1 -1
- package/dist/{chunk-AJCPRBYJ.js → chunk-ESIB6MBQ.js} +2 -2
- package/dist/{chunk-BMXUVFV6.js → chunk-ESLLB6TP.js} +1 -1
- package/dist/{chunk-3C3TSWRR.js → chunk-GJJQPF75.js} +1 -1
- package/dist/{chunk-PMP2WNF4.js → chunk-H6QSHVKY.js} +1 -1
- package/dist/{chunk-EWJOBD25.js → chunk-H7EKNIW4.js} +1 -1
- package/dist/{chunk-GCPSAYA3.js → chunk-HYIBP6MW.js} +2 -2
- package/dist/{chunk-V3ZKGVC2.js → chunk-I2JRUQJ4.js} +1 -1
- package/dist/{chunk-J44ZIWGH.js → chunk-ICRFVQH5.js} +2 -2
- package/dist/{chunk-BIAAOLAX.js → chunk-IYEMN7RK.js} +1 -1
- package/dist/{chunk-DVZRAYX3.js → chunk-JDA4ADTD.js} +1 -1
- package/dist/{chunk-PEYNAR4F.js → chunk-LV2CE5EN.js} +1 -1
- package/dist/{chunk-ABQTPJPW.js → chunk-M2JND4EM.js} +1 -1
- package/dist/{chunk-OBPLHZMV.js → chunk-M557YJHH.js} +1 -1
- package/dist/{chunk-4PKMM3EZ.js → chunk-MTEQ3WO3.js} +2 -2
- package/dist/{chunk-NNW5MZGO.js → chunk-NKCLA6RG.js} +1 -1
- package/dist/{chunk-I4FO353C.js → chunk-NT26CSYA.js} +1 -1
- package/dist/{chunk-YCT7LRYR.js → chunk-RD32XZLB.js} +2 -2
- package/dist/{chunk-4VKFZZHS.js → chunk-RFZ5MMLI.js} +1 -1
- package/dist/{chunk-2DJOEXY4.js → chunk-SHSQNFW2.js} +3 -2
- package/dist/{chunk-DEVO45TG.js → chunk-SYMLWDV6.js} +1 -1
- package/dist/{chunk-VUYNNILP.js → chunk-TEOUMHAI.js} +1 -1
- package/dist/{chunk-ZY5322MJ.js → chunk-TQ6ZPQI4.js} +1 -1
- package/dist/{chunk-SAHYQ53P.js → chunk-UGF5YD5O.js} +1 -1
- package/dist/{chunk-7L75YB57.js → chunk-VDADSS7I.js} +1 -1
- package/dist/{chunk-PFZKJXEA.js → chunk-VR72FN5R.js} +1 -1
- package/dist/{chunk-S4JRQJEP.js → chunk-ZIL6MTMZ.js} +1 -1
- package/dist/{chunk-I4V4GUVM.js → chunk-ZPKCRFPZ.js} +1 -1
- package/dist/generated/index.js +61 -61
- package/dist/index.js +61 -61
- package/dist/styles.css +172 -34
- package/package.json +3 -3
- package/dist/chunk-KWXVG3CH.js +0 -3
- package/dist/{Editor-SBHTMAEK.js → Editor-JCAYNXQX.js} +1 -1
package/dist/styles.css
CHANGED
|
@@ -23254,7 +23254,7 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
23254
23254
|
}
|
|
23255
23255
|
|
|
23256
23256
|
|
|
23257
|
-
/* GraphCanvas-
|
|
23257
|
+
/* GraphCanvas-V4VJADVF.css */
|
|
23258
23258
|
/*
|
|
23259
23259
|
* A layered map on a canvas (GraphCanvas.tsx).
|
|
23260
23260
|
*
|
|
@@ -23298,6 +23298,8 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
23298
23298
|
--crewlet-graph-canvas-flow-lit-duration: 0.9s;
|
|
23299
23299
|
--crewlet-graph-canvas-selected-glow: 18px;
|
|
23300
23300
|
--crewlet-graph-canvas-popup-width: 18rem;
|
|
23301
|
+
/* The size a tile's name is held at on screen: the least type the kit sets. */
|
|
23302
|
+
--crewlet-graph-canvas-tile-name: var(--font-size-badge);
|
|
23301
23303
|
position: relative;
|
|
23302
23304
|
display: flex;
|
|
23303
23305
|
flex-direction: column;
|
|
@@ -23338,6 +23340,17 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
23338
23340
|
|
|
23339
23341
|
.crewlet-graph-canvas__world {
|
|
23340
23342
|
position: relative;
|
|
23343
|
+
/* The map's zoom, which the component writes on this element as it moves. */
|
|
23344
|
+
--crewlet-graph-canvas-zoom: 1;
|
|
23345
|
+
/*
|
|
23346
|
+
* What a length is multiplied by to HOLD ITS SIZE ON SCREEN once the map is
|
|
23347
|
+
* zoomed out: one over the zoom, and never under one, so nothing grows past
|
|
23348
|
+
* its own size when the map is zoomed in. Declared HERE, on the element the
|
|
23349
|
+
* zoom is written on: a custom property is worked out where it is declared,
|
|
23350
|
+
* so on the root it would be worked out from the root's zoom, which is
|
|
23351
|
+
* always one.
|
|
23352
|
+
*/
|
|
23353
|
+
--crewlet-graph-canvas-hold: calc(1 / min(1, var(--crewlet-graph-canvas-zoom)));
|
|
23341
23354
|
}
|
|
23342
23355
|
|
|
23343
23356
|
.crewlet-graph-canvas__ground,
|
|
@@ -23404,26 +23417,35 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
23404
23417
|
pointer-events: none;
|
|
23405
23418
|
}
|
|
23406
23419
|
|
|
23420
|
+
/*
|
|
23421
|
+
* A CLUSTER'S TITLE HOLDS ITS SIZE ON SCREEN. Scaled with the map, an 11px
|
|
23422
|
+
* title is under 5px by the zoom a whole map fits at, which is exactly where
|
|
23423
|
+
* the cards under it stop carrying words and the title, its count and its
|
|
23424
|
+
* tally are what is left to read. Its gaps are in its own type, so they hold
|
|
23425
|
+
* with it; the name gives way to the cluster's width, and the figures never do.
|
|
23426
|
+
*/
|
|
23407
23427
|
.crewlet-graph-canvas__lane-title {
|
|
23408
23428
|
position: absolute;
|
|
23409
23429
|
top: 0;
|
|
23410
23430
|
left: calc(var(--spacing-2) - var(--spacing-3));
|
|
23411
23431
|
display: flex;
|
|
23412
23432
|
align-items: center;
|
|
23413
|
-
gap:
|
|
23433
|
+
gap: 0.75em;
|
|
23434
|
+
box-sizing: border-box;
|
|
23414
23435
|
max-width: 100%;
|
|
23415
|
-
padding: 0
|
|
23436
|
+
padding: 0 0.75em;
|
|
23416
23437
|
/* The ground's own colour cuts the outline. */
|
|
23417
23438
|
background: var(--color-surface-frame);
|
|
23418
23439
|
font-family: var(--font-family-mono);
|
|
23419
|
-
font-size: var(--font-size-2xs);
|
|
23440
|
+
font-size: calc(var(--font-size-2xs) * var(--crewlet-graph-canvas-hold));
|
|
23420
23441
|
line-height: var(--font-line-height-snug);
|
|
23421
23442
|
white-space: nowrap;
|
|
23422
23443
|
transform: translateY(-50%);
|
|
23423
23444
|
}
|
|
23424
23445
|
|
|
23425
23446
|
.crewlet-graph-canvas__lane-label {
|
|
23426
|
-
|
|
23447
|
+
/* A letter and the ellipsis at the least, so a cluster too narrow for its name still says which it is. */
|
|
23448
|
+
min-width: 2ch;
|
|
23427
23449
|
overflow: hidden;
|
|
23428
23450
|
text-overflow: ellipsis;
|
|
23429
23451
|
font-weight: var(--font-weight-semibold);
|
|
@@ -23432,6 +23454,11 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
23432
23454
|
color: var(--color-text-primary);
|
|
23433
23455
|
}
|
|
23434
23456
|
|
|
23457
|
+
.crewlet-graph-canvas__lane-count,
|
|
23458
|
+
.crewlet-graph-canvas__lane-tone {
|
|
23459
|
+
flex: none;
|
|
23460
|
+
}
|
|
23461
|
+
|
|
23435
23462
|
.crewlet-graph-canvas__lane-count,
|
|
23436
23463
|
.crewlet-graph-canvas__group-count {
|
|
23437
23464
|
color: var(--color-text-tertiary);
|
|
@@ -23447,8 +23474,8 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
23447
23474
|
.crewlet-graph-canvas__lane-tone {
|
|
23448
23475
|
display: inline-flex;
|
|
23449
23476
|
align-items: center;
|
|
23450
|
-
gap:
|
|
23451
|
-
padding: 0
|
|
23477
|
+
gap: 0.375em;
|
|
23478
|
+
padding: 0 0.375em;
|
|
23452
23479
|
border-radius: var(--crewlet-graph-canvas-corner);
|
|
23453
23480
|
font-weight: var(--font-weight-semibold);
|
|
23454
23481
|
font-variant-numeric: tabular-nums;
|
|
@@ -23456,7 +23483,7 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
23456
23483
|
|
|
23457
23484
|
.crewlet-graph-canvas__lane-tone::before {
|
|
23458
23485
|
content: '';
|
|
23459
|
-
width:
|
|
23486
|
+
width: 0.375em;
|
|
23460
23487
|
height: 0.75em;
|
|
23461
23488
|
background: currentColor;
|
|
23462
23489
|
}
|
|
@@ -23482,7 +23509,8 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
23482
23509
|
align-items: flex-end;
|
|
23483
23510
|
padding: var(--spacing-3) 0 var(--spacing-3);
|
|
23484
23511
|
font-family: var(--font-family-mono);
|
|
23485
|
-
|
|
23512
|
+
/* Held on screen, as a cluster's title is. */
|
|
23513
|
+
font-size: calc(var(--font-size-2xs) * var(--crewlet-graph-canvas-hold));
|
|
23486
23514
|
font-weight: var(--font-weight-semibold);
|
|
23487
23515
|
line-height: var(--font-line-height-snug);
|
|
23488
23516
|
letter-spacing: var(--font-letter-spacing-wide);
|
|
@@ -23509,7 +23537,14 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
23509
23537
|
gap: var(--spacing-2);
|
|
23510
23538
|
padding: 0 var(--spacing-2);
|
|
23511
23539
|
font-family: var(--font-family-mono);
|
|
23512
|
-
|
|
23540
|
+
/*
|
|
23541
|
+
* Held on screen like a cluster's title, up to what its own row holds: a
|
|
23542
|
+
* header is one row of the map, so past that it shrinks with the map.
|
|
23543
|
+
*/
|
|
23544
|
+
font-size: min(
|
|
23545
|
+
calc(var(--font-size-2xs) * var(--crewlet-graph-canvas-hold)),
|
|
23546
|
+
calc(var(--crewlet-graph-canvas-card-height) * 0.6)
|
|
23547
|
+
);
|
|
23513
23548
|
line-height: var(--font-line-height-snug);
|
|
23514
23549
|
color: var(--color-text-secondary);
|
|
23515
23550
|
border-radius: var(--crewlet-graph-canvas-corner);
|
|
@@ -23830,13 +23865,14 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
23830
23865
|
}
|
|
23831
23866
|
|
|
23832
23867
|
.crewlet-graph-canvas__trunk-label {
|
|
23833
|
-
padding: 0
|
|
23868
|
+
padding: 0 0.75em;
|
|
23834
23869
|
border: 1px solid var(--color-map-outline);
|
|
23835
23870
|
border-radius: var(--crewlet-graph-canvas-corner);
|
|
23836
23871
|
background: var(--color-surface-frame);
|
|
23837
23872
|
color: var(--color-text-secondary);
|
|
23838
23873
|
font-family: var(--font-family-mono);
|
|
23839
|
-
|
|
23874
|
+
/* A trunk's count is the only thing that says how many lines it stands for: held on screen. */
|
|
23875
|
+
font-size: calc(var(--font-size-2xs) * var(--crewlet-graph-canvas-hold));
|
|
23840
23876
|
line-height: var(--font-line-height-normal);
|
|
23841
23877
|
white-space: nowrap;
|
|
23842
23878
|
pointer-events: none;
|
|
@@ -23848,27 +23884,78 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
23848
23884
|
opacity: var(--crewlet-graph-canvas-trunk-dim);
|
|
23849
23885
|
}
|
|
23850
23886
|
|
|
23851
|
-
/* ── cards as
|
|
23887
|
+
/* ── cards as tiles, under half size ──────────────────────────────────────── */
|
|
23888
|
+
|
|
23889
|
+
/*
|
|
23890
|
+
* A TILE IS A CARD CUT TO WHAT STILL READS. Its glyph fills the cell, its name
|
|
23891
|
+
* is held at one size on screen and cut to what fits beside the cell, and its
|
|
23892
|
+
* tone takes the whole cell: the 4px notch and the corner badge are under two
|
|
23893
|
+
* pixels here. The vendor's mark and a group's chevron go, since neither says
|
|
23894
|
+
* anything at this size.
|
|
23895
|
+
*/
|
|
23896
|
+
.crewlet-graph-canvas__world[data-detail='tiles'] .crewlet-graph-canvas__card {
|
|
23897
|
+
gap: calc(var(--spacing-1) * var(--crewlet-graph-canvas-hold));
|
|
23898
|
+
padding-right: calc(var(--spacing-1) * var(--crewlet-graph-canvas-hold));
|
|
23899
|
+
}
|
|
23900
|
+
|
|
23901
|
+
.crewlet-graph-canvas__world[data-detail='tiles'] .crewlet-graph-canvas__cell {
|
|
23902
|
+
font-size: calc(var(--crewlet-graph-canvas-cell) * 0.75);
|
|
23903
|
+
}
|
|
23904
|
+
|
|
23905
|
+
/* Whatever the caller drew in the cell takes the cell's own size: a glyph says its size in px. */
|
|
23906
|
+
.crewlet-graph-canvas__world[data-detail='tiles'] .crewlet-graph-canvas__cell > :not(.crewlet-graph-canvas__mark) {
|
|
23907
|
+
width: 1em;
|
|
23908
|
+
height: 1em;
|
|
23909
|
+
}
|
|
23910
|
+
|
|
23911
|
+
.crewlet-graph-canvas__world[data-detail='tiles'] .crewlet-graph-canvas__card[data-attention] .crewlet-graph-canvas__cell {
|
|
23912
|
+
background: var(--crewlet-graph-canvas-tone);
|
|
23913
|
+
color: var(--color-surface-frame);
|
|
23914
|
+
}
|
|
23915
|
+
|
|
23916
|
+
.crewlet-graph-canvas__world[data-detail='tiles'] .crewlet-graph-canvas__name,
|
|
23917
|
+
.crewlet-graph-canvas__world[data-detail='tiles'] .crewlet-graph-canvas__card--group .crewlet-graph-canvas__group-count {
|
|
23918
|
+
font-size: calc(var(--crewlet-graph-canvas-tile-name) * var(--crewlet-graph-canvas-hold));
|
|
23919
|
+
/* One line with no leading: at the tile floor the card is a pixel taller than its name. */
|
|
23920
|
+
line-height: 1;
|
|
23921
|
+
}
|
|
23922
|
+
|
|
23923
|
+
.crewlet-graph-canvas__world[data-detail='tiles'] .crewlet-graph-canvas__mark,
|
|
23924
|
+
.crewlet-graph-canvas__world[data-detail='tiles'] .crewlet-graph-canvas__badge,
|
|
23925
|
+
.crewlet-graph-canvas__world[data-detail='tiles'] .crewlet-graph-canvas__card::after,
|
|
23926
|
+
.crewlet-graph-canvas__world[data-detail='tiles'] .crewlet-graph-canvas__card--group .crewlet-graph-canvas__chevron {
|
|
23927
|
+
display: none;
|
|
23928
|
+
}
|
|
23929
|
+
|
|
23930
|
+
/* ── cards as marks, zoomed out past a word fitting one ───────────────────── */
|
|
23852
23931
|
|
|
23932
|
+
/*
|
|
23933
|
+
* A MARK IS FILLED, never an outline round the ground's own colour: an empty
|
|
23934
|
+
* rectangle reads as a card that failed to draw. At rest it is the colour the
|
|
23935
|
+
* legend keys "quiet" in, and where something needs a person the whole mark
|
|
23936
|
+
* is in the tone, so the legend reads the marks as it reads the cards.
|
|
23937
|
+
*/
|
|
23853
23938
|
.crewlet-graph-canvas__shapes path {
|
|
23854
23939
|
stroke-width: 1;
|
|
23855
23940
|
}
|
|
23856
23941
|
|
|
23857
23942
|
.crewlet-graph-canvas__shapes [data-shape='card'] {
|
|
23858
|
-
fill: var(--color-
|
|
23943
|
+
fill: var(--color-map-hairline);
|
|
23859
23944
|
stroke: var(--color-map-hairline);
|
|
23860
23945
|
}
|
|
23861
23946
|
|
|
23862
23947
|
.crewlet-graph-canvas__shapes [data-shape='faded'] {
|
|
23863
|
-
fill: var(--color-
|
|
23948
|
+
fill: var(--color-map-hairline);
|
|
23864
23949
|
stroke: var(--color-map-hairline);
|
|
23865
23950
|
opacity: var(--crewlet-graph-canvas-dim);
|
|
23866
23951
|
}
|
|
23867
23952
|
|
|
23953
|
+
/* Not confirmed: the outline alone, dashed, as its card's edge and the legend's key are. */
|
|
23868
23954
|
.crewlet-graph-canvas__shapes [data-shape='dashed'] {
|
|
23869
|
-
fill: var(--color-
|
|
23955
|
+
fill: var(--color-map-pane);
|
|
23870
23956
|
stroke: var(--color-map-hairline);
|
|
23871
|
-
stroke-
|
|
23957
|
+
stroke-width: 2;
|
|
23958
|
+
stroke-dasharray: 6 4;
|
|
23872
23959
|
}
|
|
23873
23960
|
|
|
23874
23961
|
.crewlet-graph-canvas__shapes [data-shape='selected'] {
|
|
@@ -31047,7 +31134,7 @@ button.crewlet-mention-chip:focus-visible {
|
|
|
31047
31134
|
}
|
|
31048
31135
|
|
|
31049
31136
|
|
|
31050
|
-
/* ObjectHeader-
|
|
31137
|
+
/* ObjectHeader-3YYG2BAF.css */
|
|
31051
31138
|
/*
|
|
31052
31139
|
* The header of an object: its eyebrow, its head row and its fact line.
|
|
31053
31140
|
*
|
|
@@ -31267,12 +31354,14 @@ button.crewlet-mention-chip:focus-visible {
|
|
|
31267
31354
|
}
|
|
31268
31355
|
|
|
31269
31356
|
/* A clipped value (a clamp, a token) would cut a link's focus ring to a
|
|
31270
|
-
bracket, so the value draws the ring, which its own clip cannot cut
|
|
31357
|
+
bracket, so the value draws the ring, which its own clip cannot cut: and
|
|
31358
|
+
INSIDE its own box, since a ring standing off it is cut by the next
|
|
31359
|
+
clipping box round it instead (a truncating cell, a scrolling pane). */
|
|
31271
31360
|
.crewlet-fact-line__value--clamp:has(:focus-visible),
|
|
31272
31361
|
.crewlet-fact-line__value--token:has(:focus-visible) {
|
|
31273
31362
|
border-radius: var(--radius-xs);
|
|
31274
31363
|
outline: 2px solid var(--color-focus);
|
|
31275
|
-
outline-offset:
|
|
31364
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
31276
31365
|
}
|
|
31277
31366
|
|
|
31278
31367
|
.crewlet-fact-line__value.crewlet-fact-line__value--clamp :focus-visible,
|
|
@@ -31350,7 +31439,7 @@ button.crewlet-mention-chip:focus-visible {
|
|
|
31350
31439
|
}
|
|
31351
31440
|
|
|
31352
31441
|
|
|
31353
|
-
/* OrgLabel-
|
|
31442
|
+
/* OrgLabel-F2PW7B73.css */
|
|
31354
31443
|
/*
|
|
31355
31444
|
* What a node of an org chart and a row of an org table both say
|
|
31356
31445
|
* (OrgLabel.tsx).
|
|
@@ -31561,7 +31650,7 @@ button.crewlet-mention-chip:focus-visible {
|
|
|
31561
31650
|
.crewlet-org-label__name:has(:focus-visible) {
|
|
31562
31651
|
border-radius: var(--radius-xs);
|
|
31563
31652
|
outline: 2px solid var(--color-focus);
|
|
31564
|
-
outline-offset:
|
|
31653
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
31565
31654
|
}
|
|
31566
31655
|
|
|
31567
31656
|
.crewlet-org-label__name.crewlet-org-label__name :focus-visible {
|
|
@@ -36627,7 +36716,7 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
36627
36716
|
}
|
|
36628
36717
|
|
|
36629
36718
|
|
|
36630
|
-
/* SegmentedControl-
|
|
36719
|
+
/* SegmentedControl-RDBMHV7Q.css */
|
|
36631
36720
|
/*
|
|
36632
36721
|
* SegmentedControl: the pill row, drawn with the Tabs classes.
|
|
36633
36722
|
*
|
|
@@ -36687,10 +36776,15 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
36687
36776
|
box-shadow: var(--shadow-xs), 0 0 0 1px var(--color-border-default);
|
|
36688
36777
|
}
|
|
36689
36778
|
|
|
36690
|
-
/*
|
|
36691
|
-
|
|
36779
|
+
/*
|
|
36780
|
+
* THE RING IS INSIDE THE OPTION, whole. The option fills the well, which is a
|
|
36781
|
+
* scroll container (Tabs.css), so a ring that stood a pixel outside the
|
|
36782
|
+
* option, over the well's boundary, was cut top and bottom to two side bars.
|
|
36783
|
+
* Inside the option it lies round the chip's own edge, which is drawn a pixel
|
|
36784
|
+
* in, and nothing clips it.
|
|
36785
|
+
*/
|
|
36692
36786
|
.crewlet-tabs.crewlet-tabs--pill.crewlet-segmented .crewlet-segmented__option:focus-visible {
|
|
36693
|
-
outline-offset:
|
|
36787
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
36694
36788
|
}
|
|
36695
36789
|
|
|
36696
36790
|
.crewlet-segmented__text {
|
|
@@ -44946,7 +45040,7 @@ b.crewlet-switcher__match {
|
|
|
44946
45040
|
}
|
|
44947
45041
|
|
|
44948
45042
|
|
|
44949
|
-
/* Tabs-
|
|
45043
|
+
/* Tabs-BJZ2W5KB.css */
|
|
44950
45044
|
/*
|
|
44951
45045
|
* The pill register: Tabs and SegmentedControl.
|
|
44952
45046
|
*
|
|
@@ -45061,6 +45155,23 @@ b.crewlet-switcher__match {
|
|
|
45061
45155
|
border: 1px solid var(--color-border-default);
|
|
45062
45156
|
border-radius: var(--radius-md);
|
|
45063
45157
|
width: fit-content;
|
|
45158
|
+
/*
|
|
45159
|
+
* THE ROW SCROLLS RATHER THAN PUSHING THE SCREEN SIDEWAYS, as the underline
|
|
45160
|
+
* row does. `fit-content` alone does not cap: a flex row of nowrap labels
|
|
45161
|
+
* has a min-content width equal to the sum of them, so the box grew past
|
|
45162
|
+
* its container (a view switcher of five tabs stood 497px wide in a 390px
|
|
45163
|
+
* window and took the whole page sideways with it). `max-width` is the half
|
|
45164
|
+
* that gives the scrollport something to hide. The scrollbar is hidden for
|
|
45165
|
+
* the underline row's reason: it would sit on the line the chips are drawn
|
|
45166
|
+
* on, and the row answers the arrow keys either way.
|
|
45167
|
+
*/
|
|
45168
|
+
max-width: 100%;
|
|
45169
|
+
overflow-x: auto;
|
|
45170
|
+
scrollbar-width: none;
|
|
45171
|
+
}
|
|
45172
|
+
|
|
45173
|
+
.crewlet-tabs--pill::-webkit-scrollbar {
|
|
45174
|
+
display: none;
|
|
45064
45175
|
}
|
|
45065
45176
|
|
|
45066
45177
|
/* ─── Tab item (shared) ───────────────────────────────────────── */
|
|
@@ -45276,6 +45387,19 @@ b.crewlet-switcher__match {
|
|
|
45276
45387
|
outline-offset: 0;
|
|
45277
45388
|
}
|
|
45278
45389
|
|
|
45390
|
+
/*
|
|
45391
|
+
* AND INSIDE THE TAB, because the row is a scroll container and a scroller
|
|
45392
|
+
* clips at its padding edge: `overflow-x: auto` computes `overflow-y` to
|
|
45393
|
+
* `auto` as well, so a ring that stands on or outside the tab's edge loses
|
|
45394
|
+
* whatever lies over the well's inset and boundary. Flush, a pill tab's ring
|
|
45395
|
+
* was cut to two side bars: a pixel gone top and bottom, and on the first and
|
|
45396
|
+
* last tab's outer side. Two classes on the tab, so it wins over the flush
|
|
45397
|
+
* ring above and over a segmented option's own offset in any bundle order.
|
|
45398
|
+
*/
|
|
45399
|
+
.crewlet-tabs--pill .crewlet-tabs__tab.crewlet-tabs__tab:focus-visible {
|
|
45400
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
45401
|
+
}
|
|
45402
|
+
|
|
45279
45403
|
/* ─── Chip (a lens row) ───────────────────────────────────────── */
|
|
45280
45404
|
/*
|
|
45281
45405
|
* QUIET CHIPS WITH NO WELL: the lenses of an object or a scope, set beside its
|
|
@@ -45466,21 +45590,18 @@ b.crewlet-switcher__match {
|
|
|
45466
45590
|
min-width: 0;
|
|
45467
45591
|
}
|
|
45468
45592
|
|
|
45469
|
-
/* The scroll contract an underline row
|
|
45470
|
-
row that must shrink beside its actions. Its ring is drawn inside the
|
|
45471
|
-
as
|
|
45472
|
-
.crewlet-tabs-bar > .crewlet-tabs--pill,
|
|
45593
|
+
/* The scroll contract an underline and a pill row have on their own, for a
|
|
45594
|
+
chip row that must shrink beside its actions. Its ring is drawn inside the
|
|
45595
|
+
tab, as theirs is, because the scroller clips an outset one. */
|
|
45473
45596
|
.crewlet-tabs-bar > .crewlet-tabs--chip {
|
|
45474
45597
|
overflow-x: auto;
|
|
45475
45598
|
scrollbar-width: none;
|
|
45476
45599
|
}
|
|
45477
45600
|
|
|
45478
|
-
.crewlet-tabs-bar > .crewlet-tabs--pill::-webkit-scrollbar,
|
|
45479
45601
|
.crewlet-tabs-bar > .crewlet-tabs--chip::-webkit-scrollbar {
|
|
45480
45602
|
display: none;
|
|
45481
45603
|
}
|
|
45482
45604
|
|
|
45483
|
-
.crewlet-tabs-bar > .crewlet-tabs--pill .crewlet-tabs__tab:focus-visible,
|
|
45484
45605
|
.crewlet-tabs-bar > .crewlet-tabs--chip .crewlet-tabs__tab:focus-visible {
|
|
45485
45606
|
outline-offset: var(--size-focus-ring-inset-offset);
|
|
45486
45607
|
}
|
|
@@ -46405,7 +46526,7 @@ b.crewlet-switcher__match {
|
|
|
46405
46526
|
}
|
|
46406
46527
|
|
|
46407
46528
|
|
|
46408
|
-
/* Text-
|
|
46529
|
+
/* Text-6KVFTLYV.css */
|
|
46409
46530
|
/*
|
|
46410
46531
|
* The type registers, one rule each.
|
|
46411
46532
|
*
|
|
@@ -46550,6 +46671,23 @@ b.crewlet-switcher__match {
|
|
|
46550
46671
|
vertical-align: bottom;
|
|
46551
46672
|
}
|
|
46552
46673
|
|
|
46674
|
+
/*
|
|
46675
|
+
* A LINK IN TRUNCATING TEXT WOULD HAVE ITS RING CUT by the clip that makes
|
|
46676
|
+
* the ellipsis: every side of an outset ring lies outside the text's box. So
|
|
46677
|
+
* the text draws the ring, inside its own box, where neither its own clip nor
|
|
46678
|
+
* any clipping box round it can cut it, and the link's own ring stands down
|
|
46679
|
+
* (transparent, not none, so forced colours still draw one).
|
|
46680
|
+
*/
|
|
46681
|
+
.crewlet-text--truncate:has(:focus-visible) {
|
|
46682
|
+
border-radius: var(--radius-xs);
|
|
46683
|
+
outline: 2px solid var(--color-focus);
|
|
46684
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
46685
|
+
}
|
|
46686
|
+
|
|
46687
|
+
.crewlet-text.crewlet-text--truncate :focus-visible {
|
|
46688
|
+
outline: 2px solid transparent;
|
|
46689
|
+
}
|
|
46690
|
+
|
|
46553
46691
|
.crewlet-text--clamp-2,
|
|
46554
46692
|
.crewlet-text--clamp-3 {
|
|
46555
46693
|
display: -webkit-box;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.126.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.126.0",
|
|
46
|
+
"@crewlethq/tokens": "0.126.0",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
package/dist/chunk-KWXVG3CH.js
DELETED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
2
1
|
import { schema, readMarkdown, writeMarkdown } from './chunk-7CSTEH5I.js';
|
|
2
|
+
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
3
3
|
import './chunk-KOJPDCGQ.js';
|
|
4
4
|
import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-KBZO4B33.js';
|
|
5
5
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|