@crewlethq/ui 0.186.1 → 0.188.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.
Files changed (104) hide show
  1. package/README.md +12 -0
  2. package/dist/ActivityLine/index.js +3 -3
  3. package/dist/AddPill/AddPill.d.ts +26 -9
  4. package/dist/AddPill/index.d.ts +2 -2
  5. package/dist/AddPill/index.js +1 -1
  6. package/dist/ArrangeList/index.js +2 -2
  7. package/dist/ArtifactCard/index.js +2 -2
  8. package/dist/Avatar/AvatarStack.d.ts +9 -4
  9. package/dist/Avatar/index.js +1 -1
  10. package/dist/{AvatarStack-UNBXFHTZ.css → AvatarStack-6N6V7L7L.css} +11 -3
  11. package/dist/CommentThread/index.js +1 -1
  12. package/dist/DataGrid/index.js +3 -3
  13. package/dist/{DataGrid-K2L4ZOUH.css → DataGrid-UGOZXHJS.css} +5 -0
  14. package/dist/DeepWorkCard/index.js +2 -2
  15. package/dist/DocTabsEditor/index.js +2 -2
  16. package/dist/DurationField/index.js +2 -2
  17. package/dist/EntityChip/index.js +1 -1
  18. package/dist/ImageUpload/index.js +1 -1
  19. package/dist/LimitMeters/LimitMeters.d.ts +11 -4
  20. package/dist/LimitMeters/index.js +3 -1
  21. package/dist/{LimitMeters-HDEBOATH.css → LimitMeters-BCQEUJZ3.css} +9 -4
  22. package/dist/ListInput/index.js +2 -2
  23. package/dist/Meter/Meter.d.ts +15 -16
  24. package/dist/Meter/index.d.ts +2 -2
  25. package/dist/Meter/index.js +1 -1
  26. package/dist/OrgLabel/OrgLabel.d.ts +6 -0
  27. package/dist/OrgLabel/index.js +2 -2
  28. package/dist/{OrgLabel-WCI3OIFL.css → OrgLabel-4NDGABVY.css} +11 -6
  29. package/dist/OrgNode/index.js +3 -3
  30. package/dist/OrgTable/OrgTable.d.ts +6 -3
  31. package/dist/OrgTable/index.js +8 -8
  32. package/dist/{OrgTable-5NXRECVP.css → OrgTable-73WNQCH3.css} +5 -4
  33. package/dist/PeopleRail/index.js +1 -1
  34. package/dist/PresenceStack/index.js +1 -1
  35. package/dist/Principal/index.js +1 -1
  36. package/dist/PrincipalPicker/index.js +1 -1
  37. package/dist/ProposalCard/index.js +3 -3
  38. package/dist/RailList/index.js +2 -2
  39. package/dist/Reorder/ReorderHandle.d.ts +13 -0
  40. package/dist/Reorder/index.d.ts +3 -0
  41. package/dist/Reorder/index.js +9 -1
  42. package/dist/ReorderHandle-CT5OMUSR.css +9 -0
  43. package/dist/RichEditor/index.js +1 -1
  44. package/dist/Select/Select.d.ts +10 -0
  45. package/dist/Select/index.js +1 -1
  46. package/dist/{Select-2FAOIL73.css → Select-DRBDKBRO.css} +50 -1
  47. package/dist/SettingsTable/index.js +2 -2
  48. package/dist/ShareDialog/index.js +3 -3
  49. package/dist/SheetColumnEditor/index.js +2 -2
  50. package/dist/SheetGrid/index.js +1 -1
  51. package/dist/SlideFilmstrip/index.js +2 -2
  52. package/dist/StatCard/StatCard.d.ts +1 -0
  53. package/dist/StatCard/index.js +1 -1
  54. package/dist/TableCells/index.js +1 -1
  55. package/dist/ThreadSummary/index.js +2 -2
  56. package/dist/TimeWindowPicker/index.js +2 -2
  57. package/dist/TreeGrid/index.js +4 -4
  58. package/dist/{TreeGrid-XZCH5WCC.css → TreeGrid-QKEQXK26.css} +19 -2
  59. package/dist/UtilizationDiagram/UtilizationDiagram.d.ts +33 -0
  60. package/dist/UtilizationDiagram/index.d.ts +3 -0
  61. package/dist/UtilizationDiagram/index.js +6 -0
  62. package/dist/UtilizationDiagram-IYB6TTZY.css +59 -0
  63. package/dist/ValueField/index.js +2 -2
  64. package/dist/VersionTimeline/index.js +1 -1
  65. package/dist/WorkingLine/index.js +2 -2
  66. package/dist/{chunk-6SGMBLOE.js → chunk-3PBQNCPC.js} +1 -1
  67. package/dist/{chunk-JMBPMSNI.js → chunk-4FO6WWYW.js} +21 -1
  68. package/dist/chunk-5DABULI2.js +118 -0
  69. package/dist/{chunk-S3WUN7GH.js → chunk-A42UVBJQ.js} +2 -2
  70. package/dist/{chunk-NIM7LEEI.js → chunk-BZLQHZKH.js} +3 -2
  71. package/dist/{chunk-MB2C2GGW.js → chunk-CHBNLTVC.js} +1 -1
  72. package/dist/{chunk-ELYOAZCB.js → chunk-CPOTDACH.js} +1 -1
  73. package/dist/{chunk-26G3D2L6.js → chunk-E7GZKGDY.js} +1 -1
  74. package/dist/{chunk-5CCM3DDA.js → chunk-EHRNLV3D.js} +56 -7
  75. package/dist/{chunk-7LQRG3BP.js → chunk-EO4CV3P7.js} +1 -1
  76. package/dist/{chunk-DV7KWYC6.js → chunk-FTWZ2AQR.js} +1 -1
  77. package/dist/{chunk-UBXJBVYV.js → chunk-GQL2XQTS.js} +3 -3
  78. package/dist/{chunk-4ASS2GXQ.js → chunk-HJ63EXMY.js} +1 -1
  79. package/dist/{chunk-7U6JFHJY.js → chunk-IKGEOJEA.js} +12 -5
  80. package/dist/{chunk-MXOT2CWL.js → chunk-JEFGH3AQ.js} +17 -9
  81. package/dist/{chunk-KKEVX2PD.js → chunk-KITMVT74.js} +20 -12
  82. package/dist/{chunk-JH2IATUQ.js → chunk-KQWB2MDP.js} +1 -1
  83. package/dist/{chunk-D4ACFQCR.js → chunk-LG72TVII.js} +2 -2
  84. package/dist/{chunk-WDVENT6N.js → chunk-MD5KDF7W.js} +33 -12
  85. package/dist/{chunk-D5UVJL4I.js → chunk-QZNENGHA.js} +31 -16
  86. package/dist/{chunk-BYU7YSOM.js → chunk-S33O4PTO.js} +1 -1
  87. package/dist/{chunk-TCBV4K7V.js → chunk-T53EKFO2.js} +1 -1
  88. package/dist/{chunk-HNDQZWTX.js → chunk-V2ZUNC7X.js} +1 -1
  89. package/dist/{chunk-W3YTURNG.js → chunk-VGGEVVIT.js} +1 -1
  90. package/dist/{chunk-M34LSGMH.js → chunk-WU73BKXL.js} +17 -6
  91. package/dist/{chunk-T7Y5FM4B.js → chunk-X2CFDU5S.js} +7 -2
  92. package/dist/{chunk-UIA7FKDE.js → chunk-XG6PTSHE.js} +1 -1
  93. package/dist/{chunk-5MPQ657T.js → chunk-Z3FXGNT5.js} +1 -1
  94. package/dist/{chunk-O7KT5EIN.js → chunk-ZA2STYRY.js} +1 -1
  95. package/dist/{chunk-A4CTKERL.js → chunk-ZDHQ5ZDT.js} +1 -1
  96. package/dist/{chunk-7U3OHBGV.js → chunk-ZX6E6DSB.js} +1 -1
  97. package/dist/{chunk-KFX6FQKU.js → chunk-ZXX24HXF.js} +1 -1
  98. package/dist/generated/index.d.ts +1 -0
  99. package/dist/generated/index.js +57 -56
  100. package/dist/index.js +57 -56
  101. package/dist/styles.css +191 -27
  102. package/package.json +3 -3
  103. package/dist/{Editor-WFP2MM6M.js → Editor-NFC7HEWU.js} +1 -1
  104. /package/dist/{chunk-7ZBJ7YTF.js → chunk-LE7SVMCB.js} +0 -0
package/dist/styles.css CHANGED
@@ -6093,7 +6093,7 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
6093
6093
  }
6094
6094
 
6095
6095
 
6096
- /* AvatarStack-UNBXFHTZ.css */
6096
+ /* AvatarStack-6N6V7L7L.css */
6097
6097
  /*
6098
6098
  * Several badges as one mark (AvatarStack.tsx).
6099
6099
  *
@@ -6113,12 +6113,14 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
6113
6113
  * the sheet, with the design's own cut-out drawn in the sheet's colour. A stack
6114
6114
  * that stands on a card, or on anything else, sets it on the stack itself.
6115
6115
  *
6116
+ * INHERITED: `--crewlet-avatar-stack-ground`, the opaque surface (the sheet when unset), and
6117
+ * `--crewlet-avatar-stack-tint`, a row's wash laid over it (none when unset). Tables set both.
6118
+ *
6116
6119
  * Every rule is two classes deep, so it outweighs the badge's own one-class
6117
6120
  * rules whichever order the stylesheets are bundled in.
6118
6121
  */
6119
6122
 
6120
6123
  .crewlet-avatar-stack {
6121
- --crewlet-avatar-stack-ground: var(--color-surface-background);
6122
6124
  /* The badges' box, which the component sets from the step it was given; the
6123
6125
  default is the default step's, sm. The chip reads it, so it stands exactly
6124
6126
  as tall as the badges beside it. */
@@ -6130,7 +6132,9 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
6130
6132
  }
6131
6133
 
6132
6134
  .crewlet-avatar-stack > .crewlet-avatar-stack__member {
6133
- box-shadow: 0 0 0 2px var(--crewlet-avatar-stack-ground);
6135
+ box-shadow:
6136
+ 0 0 0 2px var(--crewlet-avatar-stack-tint, transparent),
6137
+ 0 0 0 2px var(--crewlet-avatar-stack-ground, var(--color-surface-background));
6134
6138
  }
6135
6139
 
6136
6140
  /*
@@ -6174,7 +6178,11 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
6174
6178
  .crewlet-avatar-stack > .crewlet-avatar-stack__member > .crewlet-avatar {
6175
6179
  background-image:
6176
6180
  linear-gradient(var(--crewlet-avatar-plate), var(--crewlet-avatar-plate)),
6177
- linear-gradient(var(--crewlet-avatar-stack-ground), var(--crewlet-avatar-stack-ground));
6181
+ linear-gradient(var(--crewlet-avatar-stack-tint, transparent), var(--crewlet-avatar-stack-tint, transparent)),
6182
+ linear-gradient(
6183
+ var(--crewlet-avatar-stack-ground, var(--color-surface-background)),
6184
+ var(--crewlet-avatar-stack-ground, var(--color-surface-background))
6185
+ );
6178
6186
  }
6179
6187
 
6180
6188
  /* The design's 6px, a little under a third of its 22px badge: enough that the
@@ -16645,7 +16653,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
16645
16653
  }
16646
16654
 
16647
16655
 
16648
- /* DataGrid-K2L4ZOUH.css */
16656
+ /* DataGrid-UGOZXHJS.css */
16649
16657
  /*
16650
16658
  * DataGrid: a list as columns, one track list on the grid.
16651
16659
  *
@@ -16681,6 +16689,8 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
16681
16689
  border-radius: var(--radius-md);
16682
16690
  overflow: clip;
16683
16691
  background: var(--color-surface-subtle);
16692
+ /* A face stack in a row is cut out of the row's own ground (AvatarStack.css). */
16693
+ --crewlet-avatar-stack-ground: var(--color-surface-subtle);
16684
16694
  }
16685
16695
 
16686
16696
  /*
@@ -17003,11 +17013,13 @@ button.crewlet-data-grid__row-link {
17003
17013
  /* Under the pointer, or pointed at from another surface showing the same records: one overlay, the same. */
17004
17014
  .crewlet-data-grid__row:hover,
17005
17015
  .crewlet-data-grid__row--pointed {
17016
+ --crewlet-avatar-stack-tint: var(--color-surface-hover);
17006
17017
  background: var(--color-surface-hover);
17007
17018
  }
17008
17019
 
17009
17020
  .crewlet-data-grid__row--selected,
17010
17021
  .crewlet-data-grid__row--selected:hover {
17022
+ --crewlet-avatar-stack-tint: var(--color-brand-accent-soft);
17011
17023
  background: var(--color-brand-accent-soft);
17012
17024
  }
17013
17025
 
@@ -17018,6 +17030,7 @@ button.crewlet-data-grid__row-link {
17018
17030
  */
17019
17031
  .crewlet-data-grid__row--picked,
17020
17032
  .crewlet-data-grid__row--picked:hover {
17033
+ --crewlet-avatar-stack-tint: var(--color-surface-selected);
17021
17034
  background: var(--color-surface-selected);
17022
17035
  }
17023
17036
 
@@ -28577,7 +28590,7 @@ a.crewlet-icon-btn {
28577
28590
 
28578
28591
 
28579
28592
 
28580
- /* LimitMeters-HDEBOATH.css */
28593
+ /* LimitMeters-BCQEUJZ3.css */
28581
28594
  /* A stack of limit windows: label, bar, figure and note line up across rows. */
28582
28595
 
28583
28596
  .crewlet-limit-meters {
@@ -28611,11 +28624,16 @@ a.crewlet-icon-btn {
28611
28624
  --crewlet-limit-meters-tone: var(--color-text-tertiary);
28612
28625
  }
28613
28626
 
28614
- .crewlet-limit-meters__window[data-state='near'] {
28627
+ /* Green inside the limit, yellow from the warning line, red at the limit (LimitMeters.tsx). */
28628
+ .crewlet-limit-meters__window[data-tone='success'] {
28629
+ --crewlet-limit-meters-tone: var(--color-feedback-success);
28630
+ }
28631
+
28632
+ .crewlet-limit-meters__window[data-tone='warning'] {
28615
28633
  --crewlet-limit-meters-tone: var(--color-feedback-warning);
28616
28634
  }
28617
28635
 
28618
- .crewlet-limit-meters__window[data-state='refusing'] {
28636
+ .crewlet-limit-meters__window[data-tone='danger'] {
28619
28637
  --crewlet-limit-meters-tone: var(--color-feedback-danger);
28620
28638
  }
28621
28639
 
@@ -28666,11 +28684,11 @@ a.crewlet-icon-btn {
28666
28684
  color: var(--color-text-primary);
28667
28685
  }
28668
28686
 
28669
- .crewlet-limit-meters__window[data-state='near'] .crewlet-limit-meters__figure {
28687
+ .crewlet-limit-meters__window[data-tone='warning'] .crewlet-limit-meters__figure {
28670
28688
  color: var(--color-feedback-warning-ink);
28671
28689
  }
28672
28690
 
28673
- .crewlet-limit-meters__window[data-state='refusing'] .crewlet-limit-meters__figure {
28691
+ .crewlet-limit-meters__window[data-tone='danger'] .crewlet-limit-meters__figure {
28674
28692
  color: var(--color-feedback-danger-ink);
28675
28693
  }
28676
28694
 
@@ -33568,7 +33586,7 @@ button.crewlet-mention-chip:focus-visible {
33568
33586
  }
33569
33587
 
33570
33588
 
33571
- /* OrgLabel-WCI3OIFL.css */
33589
+ /* OrgLabel-4NDGABVY.css */
33572
33590
  /*
33573
33591
  * What a node of an org chart and a row of an org table both say
33574
33592
  * (OrgLabel.tsx).
@@ -33625,6 +33643,11 @@ button.crewlet-mention-chip:focus-visible {
33625
33643
  font-size: var(--font-size-3xl);
33626
33644
  }
33627
33645
 
33646
+ /* `iconTone="own"`: a mark in its own colours (a product mark, a face), never repainted by the zone. */
33647
+ .crewlet-org-label__icon--own {
33648
+ color: inherit;
33649
+ }
33650
+
33628
33651
  /* AN ORGANIZATION'S LOGO, whole and in its own colours: on a node as tall as
33629
33652
  the name and caption beside it, in a row the size of a seat's badge there. */
33630
33653
  .crewlet-org-label__logo {
@@ -33648,9 +33671,9 @@ button.crewlet-mention-chip:focus-visible {
33648
33671
  * in its corner. Stated as the zone's own rule rather than asked of each
33649
33672
  * caller, because the zone is what decides that a node is drawn in one colour.
33650
33673
  */
33651
- .crewlet-org-label__icon svg,
33652
- .crewlet-org-label__icon svg g,
33653
- .crewlet-org-label__icon svg path {
33674
+ .crewlet-org-label__icon:where(:not(.crewlet-org-label__icon--own)) svg,
33675
+ .crewlet-org-label__icon:where(:not(.crewlet-org-label__icon--own)) svg g,
33676
+ .crewlet-org-label__icon:where(:not(.crewlet-org-label__icon--own)) svg path {
33654
33677
  /* THE INK AS WELL AS THE FILL, which is what made the rule above true. A
33655
33678
  mark may publish its own hue as a `color` on its own root (the Crewlet
33656
33679
  figure does, from the brand token), and `currentcolor` under that root
@@ -33672,9 +33695,9 @@ button.crewlet-mention-chip:focus-visible {
33672
33695
  group in the zone, a mask's included, so a hole cut by a mask fills with a
33673
33696
  share of the ink that changes with the hue: every agent's eyes on the chart
33674
33697
  did, until the Crewlet characters cut their faces into their own paths. */
33675
- .crewlet-org-label__icon svg:not(.crewlet-glyph),
33676
- .crewlet-org-label__icon svg:not(.crewlet-glyph) g:not(.crewlet-glyph *),
33677
- .crewlet-org-label__icon svg:not(.crewlet-glyph) path:not(.crewlet-glyph *) {
33698
+ .crewlet-org-label__icon:where(:not(.crewlet-org-label__icon--own)) svg:not(.crewlet-glyph),
33699
+ .crewlet-org-label__icon:where(:not(.crewlet-org-label__icon--own)) svg:not(.crewlet-glyph) g:not(.crewlet-glyph *),
33700
+ .crewlet-org-label__icon:where(:not(.crewlet-org-label__icon--own)) svg:not(.crewlet-glyph) path:not(.crewlet-glyph *) {
33678
33701
  fill: currentColor;
33679
33702
  }
33680
33703
 
@@ -34243,7 +34266,7 @@ button.crewlet-mention-chip:focus-visible {
34243
34266
  }
34244
34267
 
34245
34268
 
34246
- /* OrgTable-5NXRECVP.css */
34269
+ /* OrgTable-73WNQCH3.css */
34247
34270
  /*
34248
34271
  * An organization as an indented table of rows (OrgTable.tsx).
34249
34272
  *
@@ -34459,20 +34482,21 @@ button.crewlet-mention-chip:focus-visible {
34459
34482
  * whatever it crosses.
34460
34483
  *
34461
34484
  * ITS HEADING TAKES THE SAME EDGE, so the word stands over the controls it names.
34485
+ * A last column that asks for `align: 'left'` keeps its start edge.
34462
34486
  */
34463
- .crewlet-org-table [role='gridcell']:last-child,
34464
- .crewlet-org-table [role='columnheader']:last-child {
34487
+ .crewlet-org-table [role='gridcell']:last-child:not([data-align='left']),
34488
+ .crewlet-org-table [role='columnheader']:last-child:not([data-align='left']) {
34465
34489
  justify-content: safe flex-end;
34466
34490
  }
34467
34491
 
34468
34492
  /* AND A LAST HEAD THAT SORTS ENDS WITH ITS VALUES: its button fills the head,
34469
34493
  so the button takes the end, and its arrow goes before the word, as a
34470
34494
  right-aligned head's does, so the word stays on the column's edge. */
34471
- .crewlet-org-table [role='columnheader']:last-child > .crewlet-data-grid__sort {
34495
+ .crewlet-org-table [role='columnheader']:last-child:not([data-align='left']) > .crewlet-data-grid__sort {
34472
34496
  justify-content: safe flex-end;
34473
34497
  }
34474
34498
 
34475
- .crewlet-org-table [role='columnheader']:last-child .crewlet-data-grid__sort-mark {
34499
+ .crewlet-org-table [role='columnheader']:last-child:not([data-align='left']) .crewlet-data-grid__sort-mark {
34476
34500
  order: -1;
34477
34501
  }
34478
34502
 
@@ -37581,6 +37605,18 @@ button.crewlet-presence-stack__member:focus-visible {
37581
37605
  }
37582
37606
 
37583
37607
 
37608
+ /* ReorderHandle-CT5OMUSR.css */
37609
+ /* The grip an item is dragged by (ReorderHandle.tsx). */
37610
+ .crewlet-reorder-handle {
37611
+ cursor: grab;
37612
+ color: var(--color-text-tertiary);
37613
+ }
37614
+
37615
+ .crewlet-reorder-handle:active {
37616
+ cursor: grabbing;
37617
+ }
37618
+
37619
+
37584
37620
  /* ResizeHandle-W6GA5OO6.css */
37585
37621
  /*
37586
37622
  * The grip between a panel and the page beside it (`ResizeHandle`).
@@ -39436,7 +39472,7 @@ button.crewlet-presence-stack__member:focus-visible {
39436
39472
  }
39437
39473
 
39438
39474
 
39439
- /* Select-2FAOIL73.css */
39475
+ /* Select-DRBDKBRO.css */
39440
39476
  /*
39441
39477
  * Select: one chrome over two controls, and the product's only dropdown.
39442
39478
  *
@@ -39603,6 +39639,16 @@ button.crewlet-presence-stack__member:focus-visible {
39603
39639
  cursor: not-allowed;
39604
39640
  }
39605
39641
 
39642
+ /* FLUSH: pulled back by its own leading padding and border, so its text starts on the column's x. */
39643
+ .crewlet-select--flush {
39644
+ --crewlet-select-flush: calc(var(--spacing-3) + 1px);
39645
+ margin-inline-start: calc(-1 * var(--crewlet-select-flush));
39646
+ }
39647
+
39648
+ .crewlet-select--flush.crewlet-select--sm {
39649
+ --crewlet-select-flush: calc(var(--spacing-2) + 1px);
39650
+ }
39651
+
39606
39652
  /* ── The trigger, native and built ───────────────────────────────────── */
39607
39653
 
39608
39654
  /*
@@ -39908,7 +39954,9 @@ svg.crewlet-select__chevron {
39908
39954
  /* A hint ends the row's FIRST line, on the label's baseline, rather than
39909
39955
  sitting on the row's top edge at its own smaller size. */
39910
39956
  .crewlet-select__option:has(> .crewlet-listbox__hint) .crewlet-select__option-body,
39911
- .crewlet-select__option > .crewlet-listbox__hint {
39957
+ .crewlet-select__option > .crewlet-listbox__hint,
39958
+ .crewlet-select__option-main:has(> .crewlet-listbox__hint) > .crewlet-select__option-body,
39959
+ .crewlet-select__option-main > .crewlet-listbox__hint {
39912
39960
  align-self: baseline;
39913
39961
  }
39914
39962
 
@@ -40013,6 +40061,43 @@ svg.crewlet-select__chevron {
40013
40061
  }
40014
40062
  }
40015
40063
 
40064
+ /* A FITTED HINT COLUMN: every row on two shared tracks, so each hint starts at one x.
40065
+ One weight in every row, so the chosen row's hint is no wider. */
40066
+ .crewlet-select__list.crewlet-select__list--fit {
40067
+ display: grid;
40068
+ grid-template-columns: minmax(0, 1fr) auto;
40069
+ align-content: start;
40070
+ column-gap: var(--spacing-3);
40071
+ }
40072
+
40073
+ .crewlet-select__list--fit > .crewlet-select__option,
40074
+ .crewlet-select__list--fit > .crewlet-select__group,
40075
+ .crewlet-select__list--fit > .crewlet-select__group > .crewlet-select__option {
40076
+ display: grid;
40077
+ grid-template-columns: subgrid;
40078
+ grid-column: 1 / -1;
40079
+ }
40080
+
40081
+ .crewlet-select__list--fit > .crewlet-select__group > .crewlet-listbox__heading {
40082
+ grid-column: 1 / -1;
40083
+ }
40084
+
40085
+ .crewlet-select__option-main {
40086
+ display: flex;
40087
+ align-items: flex-start;
40088
+ gap: var(--spacing-2);
40089
+ min-width: 0;
40090
+ }
40091
+
40092
+ .crewlet-select__menu .crewlet-select__option-hint {
40093
+ display: inline-flex;
40094
+ align-items: center;
40095
+ justify-self: start;
40096
+ margin-left: 0;
40097
+ min-height: calc(var(--font-line-height-normal) * 1em);
40098
+ font-weight: var(--font-weight-regular);
40099
+ }
40100
+
40016
40101
 
40017
40102
  /* SelectionBar-54W5IFF5.css */
40018
40103
  /*
@@ -53035,7 +53120,7 @@ svg.crewlet-time-window__tick {
53035
53120
  }
53036
53121
 
53037
53122
 
53038
- /* TreeGrid-XZCH5WCC.css */
53123
+ /* TreeGrid-QKEQXK26.css */
53039
53124
  /*
53040
53125
  * A hierarchy as rows and columns (TreeGrid.tsx), on `DataGrid`'s table rules: one
53041
53126
  * track list on the grid, which the head, body and rows pass through as `subgrid`.
@@ -53094,6 +53179,11 @@ svg.crewlet-time-window__tick {
53094
53179
  border-radius: var(--radius-md);
53095
53180
  }
53096
53181
 
53182
+ /* A face stack in a row is cut out of the row's own ground (AvatarStack.css). */
53183
+ .crewlet-tree-grid {
53184
+ --crewlet-avatar-stack-ground: var(--color-surface-subtle);
53185
+ }
53186
+
53097
53187
  .crewlet-tree-grid__grid {
53098
53188
  display: grid;
53099
53189
  grid-template-columns: var(--crewlet-tree-grid-columns, minmax(0, 1fr));
@@ -53172,6 +53262,7 @@ svg.crewlet-time-window__tick {
53172
53262
  }
53173
53263
 
53174
53264
  .crewlet-tree-grid__body > .crewlet-tree-grid__row:hover {
53265
+ --crewlet-avatar-stack-tint: var(--color-surface-hover);
53175
53266
  background: var(--color-surface-hover);
53176
53267
  }
53177
53268
 
@@ -53333,6 +53424,13 @@ svg.crewlet-time-window__tick {
53333
53424
  outline-offset: var(--size-focus-ring-inset-offset);
53334
53425
  }
53335
53426
 
53427
+ /* AFTER A POINTER PRESS, NO RING: the keyboard's ring returns with its next key.
53428
+ Transparent rather than none, so forced-colors mode still draws one. */
53429
+ .crewlet-tree-grid[data-pointer] .crewlet-tree-grid__row:focus-visible,
53430
+ .crewlet-tree-grid[data-pointer] .crewlet-tree-grid__cell:focus-visible {
53431
+ outline: 2px solid transparent;
53432
+ }
53433
+
53336
53434
  /*
53337
53435
  * A HEADLESS GRID keeps its header row for a screen reader and draws no band:
53338
53436
  * the row is taken out of the layout the way VisuallyHidden takes text out.
@@ -53437,8 +53535,12 @@ svg.crewlet-time-window__tick {
53437
53535
  justify-content: flex-start;
53438
53536
  }
53439
53537
 
53440
- /* A VALUE'S LINE STARTS WHERE THE ROW'S NAME DOES: past the edge, the chevron
53441
- and the row's level. A drawn indent (an org table's wires) sets its own. */
53538
+ /* A VALUE'S LINE STARTS WHERE THE ROW'S NAME DOES in a compact card (below); a
53539
+ labelled card starts it at the grid's edge, so its labels are one column. */
53540
+ .crewlet-tree-grid[data-stacked]:not([data-phone-rows='compact']) .crewlet-tree-grid__cell {
53541
+ --crewlet-tree-grid-value-indent: var(--crewlet-tree-grid-edge);
53542
+ }
53543
+
53442
53544
  .crewlet-tree-grid[data-stacked] .crewlet-tree-grid__cell:not(:first-child) {
53443
53545
  padding-block: 1px;
53444
53546
  padding-inline: var(
@@ -53623,6 +53725,68 @@ svg.crewlet-time-window__tick {
53623
53725
  }
53624
53726
 
53625
53727
 
53728
+ /* UtilizationDiagram-IYB6TTZY.css */
53729
+ /* A utilization strategy as looping usage bars (UtilizationDiagram.tsx). */
53730
+ .crewlet-utilization-diagram {
53731
+ display: inline-flex;
53732
+ flex-direction: column;
53733
+ justify-content: center;
53734
+ gap: var(--spacing-2);
53735
+ box-sizing: border-box;
53736
+ inline-size: var(--crewlet-utilization-diagram-width, 6.75rem);
53737
+ padding: var(--spacing-2) var(--spacing-3);
53738
+ border-radius: var(--radius-md);
53739
+ background: var(--color-surface-subtle);
53740
+ }
53741
+
53742
+ .crewlet-utilization-diagram__lane {
53743
+ display: flex;
53744
+ align-items: center;
53745
+ gap: var(--spacing-1);
53746
+ }
53747
+
53748
+ .crewlet-utilization-diagram__n {
53749
+ min-inline-size: 1ch;
53750
+ font-size: var(--font-size-2xs);
53751
+ font-weight: var(--font-weight-semibold);
53752
+ font-variant-numeric: tabular-nums;
53753
+ line-height: 1;
53754
+ color: var(--color-text-tertiary);
53755
+ }
53756
+
53757
+ .crewlet-utilization-diagram__track {
53758
+ position: relative;
53759
+ flex: 1;
53760
+ block-size: 6px;
53761
+ border-radius: var(--radius-pill);
53762
+ background: var(--color-border-default);
53763
+ overflow: hidden;
53764
+ }
53765
+
53766
+ .crewlet-utilization-diagram__fill {
53767
+ position: absolute;
53768
+ inset: 0;
53769
+ border-radius: var(--radius-pill);
53770
+ transform: scaleX(0);
53771
+ transform-origin: left center;
53772
+ background: var(--color-feedback-success);
53773
+ }
53774
+
53775
+ .crewlet-utilization-diagram__fill[data-tone='warning'] {
53776
+ background: var(--color-feedback-warning);
53777
+ }
53778
+
53779
+ .crewlet-utilization-diagram__fill[data-tone='danger'] {
53780
+ background: var(--color-feedback-danger);
53781
+ }
53782
+
53783
+ @media (forced-colors: active) {
53784
+ .crewlet-utilization-diagram__fill {
53785
+ background: CanvasText;
53786
+ }
53787
+ }
53788
+
53789
+
53626
53790
  /* ValueField-JK7JPVR6.css */
53627
53791
  /*
53628
53792
  * ValueField: a labelled value with the control its kind needs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.186.1",
3
+ "version": "0.188.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.186.1",
47
- "@crewlethq/tokens": "0.186.1",
46
+ "@crewlethq/icons": "0.188.0",
47
+ "@crewlethq/tokens": "0.188.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';
File without changes