@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.
Files changed (107) hide show
  1. package/README.md +29 -1
  2. package/dist/ArtifactBar/ArtifactBar.d.ts +5 -0
  3. package/dist/ArtifactBar/index.js +5 -5
  4. package/dist/ArtifactCard/index.js +3 -3
  5. package/dist/AttentionList/index.js +3 -3
  6. package/dist/AuthLayout/index.js +3 -3
  7. package/dist/AvatarPicker/index.js +6 -6
  8. package/dist/Breadcrumb/index.js +2 -2
  9. package/dist/BriefCard/index.js +4 -4
  10. package/dist/Card/index.js +2 -2
  11. package/dist/CharacterPicker/index.js +2 -2
  12. package/dist/Charts/index.js +2 -2
  13. package/dist/DeepWorkCard/index.js +4 -4
  14. package/dist/EntityList/index.js +4 -4
  15. package/dist/FolderTile/index.js +3 -3
  16. package/dist/GraphCanvas/GraphCanvas.d.ts +35 -7
  17. package/dist/GraphCanvas/index.d.ts +2 -2
  18. package/dist/GraphCanvas/index.js +2 -2
  19. package/dist/{GraphCanvas-UZPZRP6S.css → GraphCanvas-V4VJADVF.css} +103 -16
  20. package/dist/HuePicker/index.js +4 -4
  21. package/dist/LayersList/index.js +2 -2
  22. package/dist/MarkdownEditor/index.js +5 -5
  23. package/dist/MentionMenu/index.js +3 -3
  24. package/dist/MergeConflicts/index.js +5 -5
  25. package/dist/ObjectHeader/index.js +2 -2
  26. package/dist/{ObjectHeader-BH7OBEAL.css → ObjectHeader-3YYG2BAF.css} +4 -2
  27. package/dist/OpenInAppCard/index.js +4 -4
  28. package/dist/OrgLabel/index.js +1 -1
  29. package/dist/{OrgLabel-AZLKOG72.css → OrgLabel-F2PW7B73.css} +1 -1
  30. package/dist/OrgNode/index.js +2 -2
  31. package/dist/OrgTable/index.js +2 -2
  32. package/dist/PersonRow/index.js +2 -2
  33. package/dist/PropertyList/index.js +3 -3
  34. package/dist/ProposalCard/index.js +4 -4
  35. package/dist/RailList/index.js +3 -3
  36. package/dist/RefusalCard/index.js +4 -4
  37. package/dist/RelatedRow/index.js +3 -3
  38. package/dist/ResultTableCard/index.js +4 -4
  39. package/dist/RichEditor/index.js +1 -1
  40. package/dist/SegmentedControl/index.js +4 -4
  41. package/dist/{SegmentedControl-HFCBBWKH.css → SegmentedControl-RDBMHV7Q.css} +8 -3
  42. package/dist/SheetColumnEditor/index.js +5 -5
  43. package/dist/StatusCard/index.js +3 -3
  44. package/dist/Switcher/index.js +2 -2
  45. package/dist/TableCells/index.js +2 -2
  46. package/dist/Tabs/index.js +2 -2
  47. package/dist/Tabs/roving.d.ts +15 -0
  48. package/dist/{Tabs-244SPRII.css → Tabs-BJZ2W5KB.css} +33 -6
  49. package/dist/Text/index.js +1 -1
  50. package/dist/{Text-XOCOU34C.css → Text-6KVFTLYV.css} +17 -0
  51. package/dist/ThemeGallery/index.js +2 -2
  52. package/dist/ThemeSwitcher/index.js +5 -5
  53. package/dist/TimeRangePicker/index.js +5 -5
  54. package/dist/Toaster/index.js +2 -2
  55. package/dist/VersionCompare/index.js +5 -5
  56. package/dist/{chunk-YJ2V7QSY.js → chunk-2JXC3Y5W.js} +1 -1
  57. package/dist/{chunk-5PHBOCIX.js → chunk-377HVWK7.js} +2 -2
  58. package/dist/{chunk-XROJ6XQ3.js → chunk-42I2VSZZ.js} +1 -1
  59. package/dist/{chunk-KTH2KXZY.js → chunk-46WA7E5V.js} +1 -1
  60. package/dist/{chunk-XLMURU75.js → chunk-475DOAWF.js} +1 -1
  61. package/dist/{chunk-VRDLNMST.js → chunk-54OD6YIS.js} +1 -1
  62. package/dist/{chunk-GIYIKUJE.js → chunk-5L56E6AF.js} +4 -3
  63. package/dist/{chunk-5AORKQ5Q.js → chunk-6BTQVM6O.js} +1 -1
  64. package/dist/{chunk-CVXQWNSM.js → chunk-6IBC6CPE.js} +1 -1
  65. package/dist/{chunk-5P6LLFEO.js → chunk-766IY2ZW.js} +1 -1
  66. package/dist/{chunk-EGMQURBR.js → chunk-7F3OPUM5.js} +12 -1
  67. package/dist/chunk-7U4V36SB.js +3 -0
  68. package/dist/{chunk-22I4FAEM.js → chunk-7Y5OSXA2.js} +1 -1
  69. package/dist/{chunk-25CL7J4J.js → chunk-B6AQY6FH.js} +1 -1
  70. package/dist/{chunk-T4TKY4VZ.js → chunk-BBWCMOK7.js} +1 -1
  71. package/dist/{chunk-4Z3AGYOB.js → chunk-BXDBDAKS.js} +1 -1
  72. package/dist/{chunk-DSBKVP73.js → chunk-CWHFC7FS.js} +134 -110
  73. package/dist/{chunk-4PEPSGCZ.js → chunk-DQKNAQWN.js} +1 -1
  74. package/dist/{chunk-VB7KAQBN.js → chunk-E5F25GGA.js} +1 -1
  75. package/dist/{chunk-AJCPRBYJ.js → chunk-ESIB6MBQ.js} +2 -2
  76. package/dist/{chunk-BMXUVFV6.js → chunk-ESLLB6TP.js} +1 -1
  77. package/dist/{chunk-3C3TSWRR.js → chunk-GJJQPF75.js} +1 -1
  78. package/dist/{chunk-PMP2WNF4.js → chunk-H6QSHVKY.js} +1 -1
  79. package/dist/{chunk-EWJOBD25.js → chunk-H7EKNIW4.js} +1 -1
  80. package/dist/{chunk-GCPSAYA3.js → chunk-HYIBP6MW.js} +2 -2
  81. package/dist/{chunk-V3ZKGVC2.js → chunk-I2JRUQJ4.js} +1 -1
  82. package/dist/{chunk-J44ZIWGH.js → chunk-ICRFVQH5.js} +2 -2
  83. package/dist/{chunk-BIAAOLAX.js → chunk-IYEMN7RK.js} +1 -1
  84. package/dist/{chunk-DVZRAYX3.js → chunk-JDA4ADTD.js} +1 -1
  85. package/dist/{chunk-PEYNAR4F.js → chunk-LV2CE5EN.js} +1 -1
  86. package/dist/{chunk-ABQTPJPW.js → chunk-M2JND4EM.js} +1 -1
  87. package/dist/{chunk-OBPLHZMV.js → chunk-M557YJHH.js} +1 -1
  88. package/dist/{chunk-4PKMM3EZ.js → chunk-MTEQ3WO3.js} +2 -2
  89. package/dist/{chunk-NNW5MZGO.js → chunk-NKCLA6RG.js} +1 -1
  90. package/dist/{chunk-I4FO353C.js → chunk-NT26CSYA.js} +1 -1
  91. package/dist/{chunk-YCT7LRYR.js → chunk-RD32XZLB.js} +2 -2
  92. package/dist/{chunk-4VKFZZHS.js → chunk-RFZ5MMLI.js} +1 -1
  93. package/dist/{chunk-2DJOEXY4.js → chunk-SHSQNFW2.js} +3 -2
  94. package/dist/{chunk-DEVO45TG.js → chunk-SYMLWDV6.js} +1 -1
  95. package/dist/{chunk-VUYNNILP.js → chunk-TEOUMHAI.js} +1 -1
  96. package/dist/{chunk-ZY5322MJ.js → chunk-TQ6ZPQI4.js} +1 -1
  97. package/dist/{chunk-SAHYQ53P.js → chunk-UGF5YD5O.js} +1 -1
  98. package/dist/{chunk-7L75YB57.js → chunk-VDADSS7I.js} +1 -1
  99. package/dist/{chunk-PFZKJXEA.js → chunk-VR72FN5R.js} +1 -1
  100. package/dist/{chunk-S4JRQJEP.js → chunk-ZIL6MTMZ.js} +1 -1
  101. package/dist/{chunk-I4V4GUVM.js → chunk-ZPKCRFPZ.js} +1 -1
  102. package/dist/generated/index.js +61 -61
  103. package/dist/index.js +61 -61
  104. package/dist/styles.css +172 -34
  105. package/package.json +3 -3
  106. package/dist/chunk-KWXVG3CH.js +0 -3
  107. package/dist/{Editor-SBHTMAEK.js → Editor-JCAYNXQX.js} +1 -1
@@ -217,12 +217,14 @@
217
217
  }
218
218
 
219
219
  /* A clipped value (a clamp, a token) would cut a link's focus ring to a
220
- bracket, so the value draws the ring, which its own clip cannot cut. */
220
+ bracket, so the value draws the ring, which its own clip cannot cut: and
221
+ INSIDE its own box, since a ring standing off it is cut by the next
222
+ clipping box round it instead (a truncating cell, a scrolling pane). */
221
223
  .crewlet-fact-line__value--clamp:has(:focus-visible),
222
224
  .crewlet-fact-line__value--token:has(:focus-visible) {
223
225
  border-radius: var(--radius-xs);
224
226
  outline: 2px solid var(--color-focus);
225
- outline-offset: 2px;
227
+ outline-offset: var(--size-focus-ring-inset-offset);
226
228
  }
227
229
 
228
230
  .crewlet-fact-line__value.crewlet-fact-line__value--clamp :focus-visible,
@@ -1,13 +1,13 @@
1
- export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-T4TKY4VZ.js';
1
+ export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-BBWCMOK7.js';
2
2
  import '../chunk-KOJPDCGQ.js';
3
3
  import '../chunk-KBZO4B33.js';
4
4
  import '../chunk-VRVNLJUA.js';
5
5
  import '../chunk-TMHG4576.js';
6
- import '../chunk-7L75YB57.js';
6
+ import '../chunk-VDADSS7I.js';
7
7
  import '../chunk-SJ3EUCFD.js';
8
- import '../chunk-3C3TSWRR.js';
8
+ import '../chunk-GJJQPF75.js';
9
9
  import '../chunk-AV2DXAEL.js';
10
- import '../chunk-XLMURU75.js';
10
+ import '../chunk-475DOAWF.js';
11
11
  import '../chunk-WSIJDWUG.js';
12
12
  import '../chunk-QRE6JCHS.js';
13
13
  import '../chunk-M2M6ZD7P.js';
@@ -1,4 +1,4 @@
1
- export { OrgLabel } from '../chunk-DEVO45TG.js';
1
+ export { OrgLabel } from '../chunk-SYMLWDV6.js';
2
2
  import '../chunk-5SMYKL3D.js';
3
3
  import '../chunk-XZY6S3UC.js';
4
4
  import '../chunk-ODEQTPFM.js';
@@ -208,7 +208,7 @@
208
208
  .crewlet-org-label__name:has(:focus-visible) {
209
209
  border-radius: var(--radius-xs);
210
210
  outline: 2px solid var(--color-focus);
211
- outline-offset: 2px;
211
+ outline-offset: var(--size-focus-ring-inset-offset);
212
212
  }
213
213
 
214
214
  .crewlet-org-label__name.crewlet-org-label__name :focus-visible {
@@ -1,5 +1,5 @@
1
- export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from '../chunk-5AORKQ5Q.js';
2
- import '../chunk-DEVO45TG.js';
1
+ export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from '../chunk-6BTQVM6O.js';
2
+ import '../chunk-SYMLWDV6.js';
3
3
  import '../chunk-5SMYKL3D.js';
4
4
  import '../chunk-XZY6S3UC.js';
5
5
  import '../chunk-ODEQTPFM.js';
@@ -1,6 +1,6 @@
1
- export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-EWJOBD25.js';
1
+ export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-H7EKNIW4.js';
2
2
  import '../chunk-NOKZULW3.js';
3
- import '../chunk-DEVO45TG.js';
3
+ import '../chunk-SYMLWDV6.js';
4
4
  import '../chunk-MY374UUD.js';
5
5
  import '../chunk-OFNJE4BN.js';
6
6
  import '../chunk-X4HBZSXA.js';
@@ -1,4 +1,4 @@
1
- export { PersonRow } from '../chunk-XROJ6XQ3.js';
2
- import '../chunk-XLMURU75.js';
1
+ export { PersonRow } from '../chunk-42I2VSZZ.js';
2
+ import '../chunk-475DOAWF.js';
3
3
  import '../chunk-WSIJDWUG.js';
4
4
  import '../chunk-ODEQTPFM.js';
@@ -1,9 +1,9 @@
1
- export { PropertyList } from '../chunk-4PEPSGCZ.js';
2
- import '../chunk-J44ZIWGH.js';
1
+ export { PropertyList } from '../chunk-DQKNAQWN.js';
2
+ import '../chunk-ICRFVQH5.js';
3
3
  import '../chunk-JZI7SIM6.js';
4
4
  import '../chunk-LH4OF7FI.js';
5
5
  import '../chunk-WGLOH33S.js';
6
- import '../chunk-XLMURU75.js';
6
+ import '../chunk-475DOAWF.js';
7
7
  import '../chunk-WSIJDWUG.js';
8
8
  import '../chunk-RRRK2KB6.js';
9
9
  import '../chunk-ODEQTPFM.js';
@@ -1,12 +1,12 @@
1
- export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-OBPLHZMV.js';
1
+ export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-M557YJHH.js';
2
2
  import '../chunk-TMHG4576.js';
3
3
  import '../chunk-NB53SAL4.js';
4
4
  import '../chunk-RGJB34YN.js';
5
- import '../chunk-7L75YB57.js';
5
+ import '../chunk-VDADSS7I.js';
6
6
  import '../chunk-SJ3EUCFD.js';
7
- import '../chunk-3C3TSWRR.js';
7
+ import '../chunk-GJJQPF75.js';
8
8
  import '../chunk-AV2DXAEL.js';
9
- import '../chunk-XLMURU75.js';
9
+ import '../chunk-475DOAWF.js';
10
10
  import '../chunk-WSIJDWUG.js';
11
11
  import '../chunk-KFTVPWG2.js';
12
12
  import '../chunk-QRE6JCHS.js';
@@ -1,13 +1,13 @@
1
- export { RAIL_LIST_LABELS, RailList } from '../chunk-5PHBOCIX.js';
1
+ export { RAIL_LIST_LABELS, RailList } from '../chunk-377HVWK7.js';
2
2
  import '../chunk-AYVRS4LD.js';
3
3
  import '../chunk-SM2MM4DQ.js';
4
4
  import '../chunk-6KWNXIDE.js';
5
5
  import '../chunk-KW7T23RT.js';
6
6
  import '../chunk-TODOBUXO.js';
7
7
  import '../chunk-HBDA76EZ.js';
8
- import '../chunk-3C3TSWRR.js';
8
+ import '../chunk-GJJQPF75.js';
9
9
  import '../chunk-AV2DXAEL.js';
10
- import '../chunk-XLMURU75.js';
10
+ import '../chunk-475DOAWF.js';
11
11
  import '../chunk-WSIJDWUG.js';
12
12
  import '../chunk-JLKO7PSK.js';
13
13
  import '../chunk-COS6LJ4K.js';
@@ -1,9 +1,9 @@
1
- export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-PMP2WNF4.js';
2
- import '../chunk-7L75YB57.js';
1
+ export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-H6QSHVKY.js';
2
+ import '../chunk-VDADSS7I.js';
3
3
  import '../chunk-SJ3EUCFD.js';
4
- import '../chunk-3C3TSWRR.js';
4
+ import '../chunk-GJJQPF75.js';
5
5
  import '../chunk-AV2DXAEL.js';
6
- import '../chunk-XLMURU75.js';
6
+ import '../chunk-475DOAWF.js';
7
7
  import '../chunk-WSIJDWUG.js';
8
8
  import '../chunk-QRE6JCHS.js';
9
9
  import '../chunk-Y5CMDLQM.js';
@@ -1,8 +1,8 @@
1
- export { RelatedRow } from '../chunk-AJCPRBYJ.js';
1
+ export { RelatedRow } from '../chunk-ESIB6MBQ.js';
2
2
  import '../chunk-ZAC7SKUN.js';
3
- import '../chunk-3C3TSWRR.js';
3
+ import '../chunk-GJJQPF75.js';
4
4
  import '../chunk-AV2DXAEL.js';
5
- import '../chunk-XLMURU75.js';
5
+ import '../chunk-475DOAWF.js';
6
6
  import '../chunk-WSIJDWUG.js';
7
7
  import '../chunk-Y5CMDLQM.js';
8
8
  import '../chunk-PQADV6P6.js';
@@ -1,13 +1,13 @@
1
- export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from '../chunk-22I4FAEM.js';
1
+ export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from '../chunk-7Y5OSXA2.js';
2
2
  import '../chunk-YGN4SBNP.js';
3
3
  import '../chunk-GCRACVZO.js';
4
4
  import '../chunk-YNRKVY7X.js';
5
5
  import '../chunk-DTIW4CHZ.js';
6
- import '../chunk-7L75YB57.js';
6
+ import '../chunk-VDADSS7I.js';
7
7
  import '../chunk-SJ3EUCFD.js';
8
- import '../chunk-3C3TSWRR.js';
8
+ import '../chunk-GJJQPF75.js';
9
9
  import '../chunk-AV2DXAEL.js';
10
- import '../chunk-XLMURU75.js';
10
+ import '../chunk-475DOAWF.js';
11
11
  import '../chunk-WSIJDWUG.js';
12
12
  import '../chunk-QRE6JCHS.js';
13
13
  import '../chunk-M2M6ZD7P.js';
@@ -1,4 +1,4 @@
1
- export { RichEditor, preloadRichEditor } from '../chunk-VB7KAQBN.js';
1
+ export { RichEditor, preloadRichEditor } from '../chunk-E5F25GGA.js';
2
2
  export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
3
3
  import '../chunk-KOJPDCGQ.js';
4
4
  import '../chunk-KBZO4B33.js';
@@ -1,7 +1,7 @@
1
- import '../chunk-KWXVG3CH.js';
2
- export { SegmentedControl } from '../chunk-4PKMM3EZ.js';
3
- import '../chunk-GIYIKUJE.js';
4
- import '../chunk-EGMQURBR.js';
1
+ import '../chunk-7U4V36SB.js';
2
+ export { SegmentedControl } from '../chunk-MTEQ3WO3.js';
3
+ import '../chunk-5L56E6AF.js';
4
+ import '../chunk-7F3OPUM5.js';
5
5
  import '../chunk-QRE6JCHS.js';
6
6
  import '../chunk-35S25WJZ.js';
7
7
  import '../chunk-M2M6ZD7P.js';
@@ -57,10 +57,15 @@
57
57
  box-shadow: var(--shadow-xs), 0 0 0 1px var(--color-border-default);
58
58
  }
59
59
 
60
- /* The ring over the chip's edge and the sliver round it, as before the inset
61
- moved: the option's edge is a pixel outside the chip. */
60
+ /*
61
+ * THE RING IS INSIDE THE OPTION, whole. The option fills the well, which is a
62
+ * scroll container (Tabs.css), so a ring that stood a pixel outside the
63
+ * option, over the well's boundary, was cut top and bottom to two side bars.
64
+ * Inside the option it lies round the chip's own edge, which is drawn a pixel
65
+ * in, and nothing clips it.
66
+ */
62
67
  .crewlet-tabs.crewlet-tabs--pill.crewlet-segmented .crewlet-segmented__option:focus-visible {
63
- outline-offset: calc(-1 * var(--crewlet-tabs-pill-inset));
68
+ outline-offset: var(--size-focus-ring-inset-offset);
64
69
  }
65
70
 
66
71
  .crewlet-segmented__text {
@@ -1,15 +1,15 @@
1
- export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-YJ2V7QSY.js';
1
+ export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-2JXC3Y5W.js';
2
2
  import '../chunk-AYVRS4LD.js';
3
3
  import '../chunk-FFMCMSJB.js';
4
4
  import '../chunk-KW7T23RT.js';
5
5
  import '../chunk-LFSIKGRQ.js';
6
6
  import '../chunk-Z7JYG5TF.js';
7
- import '../chunk-5P6LLFEO.js';
7
+ import '../chunk-766IY2ZW.js';
8
8
  import '../chunk-AYKXMIOR.js';
9
9
  import '../chunk-KFTVPWG2.js';
10
- import '../chunk-4PKMM3EZ.js';
11
- import '../chunk-GIYIKUJE.js';
12
- import '../chunk-EGMQURBR.js';
10
+ import '../chunk-MTEQ3WO3.js';
11
+ import '../chunk-5L56E6AF.js';
12
+ import '../chunk-7F3OPUM5.js';
13
13
  import '../chunk-QRE6JCHS.js';
14
14
  import '../chunk-35S25WJZ.js';
15
15
  import '../chunk-NN44J7BP.js';
@@ -1,8 +1,8 @@
1
- export { StatusCard } from '../chunk-7L75YB57.js';
1
+ export { StatusCard } from '../chunk-VDADSS7I.js';
2
2
  import '../chunk-SJ3EUCFD.js';
3
- import '../chunk-3C3TSWRR.js';
3
+ import '../chunk-GJJQPF75.js';
4
4
  import '../chunk-AV2DXAEL.js';
5
- import '../chunk-XLMURU75.js';
5
+ import '../chunk-475DOAWF.js';
6
6
  import '../chunk-WSIJDWUG.js';
7
7
  import '../chunk-QRE6JCHS.js';
8
8
  import '../chunk-Y5CMDLQM.js';
@@ -1,10 +1,10 @@
1
- export { Switcher } from '../chunk-I4FO353C.js';
1
+ export { Switcher } from '../chunk-NT26CSYA.js';
2
2
  import '../chunk-OG4GX2TB.js';
3
3
  import '../chunk-KW7T23RT.js';
4
4
  import '../chunk-HBDA76EZ.js';
5
5
  import '../chunk-KDRJZWE3.js';
6
6
  import '../chunk-WFAJYBLX.js';
7
- import '../chunk-XLMURU75.js';
7
+ import '../chunk-475DOAWF.js';
8
8
  import '../chunk-WSIJDWUG.js';
9
9
  import '../chunk-NN44J7BP.js';
10
10
  import '../chunk-NICEDVZM.js';
@@ -1,9 +1,9 @@
1
- export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-V3ZKGVC2.js';
1
+ export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-I2JRUQJ4.js';
2
2
  import '../chunk-JZI7SIM6.js';
3
3
  import '../chunk-SJ3EUCFD.js';
4
4
  import '../chunk-GBKBME7Q.js';
5
5
  import '../chunk-WGLOH33S.js';
6
- import '../chunk-XLMURU75.js';
6
+ import '../chunk-475DOAWF.js';
7
7
  import '../chunk-WSIJDWUG.js';
8
8
  import '../chunk-QRE6JCHS.js';
9
9
  import '../chunk-5SMYKL3D.js';
@@ -1,5 +1,5 @@
1
- export { TabPanel, Tabs, tabId } from '../chunk-GIYIKUJE.js';
2
- import '../chunk-EGMQURBR.js';
1
+ export { TabPanel, Tabs, tabId } from '../chunk-5L56E6AF.js';
2
+ import '../chunk-7F3OPUM5.js';
3
3
  import '../chunk-QRE6JCHS.js';
4
4
  import '../chunk-35S25WJZ.js';
5
5
  import '../chunk-M2M6ZD7P.js';
@@ -45,6 +45,21 @@ export interface RovingOptions {
45
45
  */
46
46
  columns?: number | undefined;
47
47
  }
48
+ /**
49
+ * Bring an option that took focus WHOLLY into its row's own visible range.
50
+ *
51
+ * A pill or underline row scrolls (Tabs.css), and a browser's own answer to
52
+ * `focus()` is to scroll an element that is out of view: one that is PARTLY
53
+ * in view is left where it is, cut at the row's edge with its ring. So the
54
+ * fourth tab of six in a narrow place took focus half shown, its name and
55
+ * the far side of its ring past the edge.
56
+ *
57
+ * It moves the row's own scrollLeft, as `reveal` in Tabs.tsx does for the
58
+ * chosen tab and for its reason: `scrollIntoView` walks every scrolling
59
+ * ancestor and would pull the page sideways. A row that does not scroll has
60
+ * nothing outside its range, and nothing moves.
61
+ */
62
+ export declare function revealInRow(option: HTMLElement | null | undefined): void;
48
63
  /**
49
64
  * Roving focus over a row of buttons: ONE TAB STOP for the row, the arrows to
50
65
  * move inside it.
@@ -112,6 +112,23 @@
112
112
  border: 1px solid var(--color-border-default);
113
113
  border-radius: var(--radius-md);
114
114
  width: fit-content;
115
+ /*
116
+ * THE ROW SCROLLS RATHER THAN PUSHING THE SCREEN SIDEWAYS, as the underline
117
+ * row does. `fit-content` alone does not cap: a flex row of nowrap labels
118
+ * has a min-content width equal to the sum of them, so the box grew past
119
+ * its container (a view switcher of five tabs stood 497px wide in a 390px
120
+ * window and took the whole page sideways with it). `max-width` is the half
121
+ * that gives the scrollport something to hide. The scrollbar is hidden for
122
+ * the underline row's reason: it would sit on the line the chips are drawn
123
+ * on, and the row answers the arrow keys either way.
124
+ */
125
+ max-width: 100%;
126
+ overflow-x: auto;
127
+ scrollbar-width: none;
128
+ }
129
+
130
+ .crewlet-tabs--pill::-webkit-scrollbar {
131
+ display: none;
115
132
  }
116
133
 
117
134
  /* ─── Tab item (shared) ───────────────────────────────────────── */
@@ -327,6 +344,19 @@
327
344
  outline-offset: 0;
328
345
  }
329
346
 
347
+ /*
348
+ * AND INSIDE THE TAB, because the row is a scroll container and a scroller
349
+ * clips at its padding edge: `overflow-x: auto` computes `overflow-y` to
350
+ * `auto` as well, so a ring that stands on or outside the tab's edge loses
351
+ * whatever lies over the well's inset and boundary. Flush, a pill tab's ring
352
+ * was cut to two side bars: a pixel gone top and bottom, and on the first and
353
+ * last tab's outer side. Two classes on the tab, so it wins over the flush
354
+ * ring above and over a segmented option's own offset in any bundle order.
355
+ */
356
+ .crewlet-tabs--pill .crewlet-tabs__tab.crewlet-tabs__tab:focus-visible {
357
+ outline-offset: var(--size-focus-ring-inset-offset);
358
+ }
359
+
330
360
  /* ─── Chip (a lens row) ───────────────────────────────────────── */
331
361
  /*
332
362
  * QUIET CHIPS WITH NO WELL: the lenses of an object or a scope, set beside its
@@ -517,21 +547,18 @@
517
547
  min-width: 0;
518
548
  }
519
549
 
520
- /* The scroll contract an underline row has on its own, for a pill or chip
521
- row that must shrink beside its actions. Its ring is drawn inside the tab,
522
- as the underline's is, because the scroller clips an outset one. */
523
- .crewlet-tabs-bar > .crewlet-tabs--pill,
550
+ /* The scroll contract an underline and a pill row have on their own, for a
551
+ chip row that must shrink beside its actions. Its ring is drawn inside the
552
+ tab, as theirs is, because the scroller clips an outset one. */
524
553
  .crewlet-tabs-bar > .crewlet-tabs--chip {
525
554
  overflow-x: auto;
526
555
  scrollbar-width: none;
527
556
  }
528
557
 
529
- .crewlet-tabs-bar > .crewlet-tabs--pill::-webkit-scrollbar,
530
558
  .crewlet-tabs-bar > .crewlet-tabs--chip::-webkit-scrollbar {
531
559
  display: none;
532
560
  }
533
561
 
534
- .crewlet-tabs-bar > .crewlet-tabs--pill .crewlet-tabs__tab:focus-visible,
535
562
  .crewlet-tabs-bar > .crewlet-tabs--chip .crewlet-tabs__tab:focus-visible {
536
563
  outline-offset: var(--size-focus-ring-inset-offset);
537
564
  }
@@ -1,3 +1,3 @@
1
- export { Text } from '../chunk-XLMURU75.js';
1
+ export { Text } from '../chunk-475DOAWF.js';
2
2
  import '../chunk-WSIJDWUG.js';
3
3
  import '../chunk-ODEQTPFM.js';
@@ -142,6 +142,23 @@
142
142
  vertical-align: bottom;
143
143
  }
144
144
 
145
+ /*
146
+ * A LINK IN TRUNCATING TEXT WOULD HAVE ITS RING CUT by the clip that makes
147
+ * the ellipsis: every side of an outset ring lies outside the text's box. So
148
+ * the text draws the ring, inside its own box, where neither its own clip nor
149
+ * any clipping box round it can cut it, and the link's own ring stands down
150
+ * (transparent, not none, so forced colours still draw one).
151
+ */
152
+ .crewlet-text--truncate:has(:focus-visible) {
153
+ border-radius: var(--radius-xs);
154
+ outline: 2px solid var(--color-focus);
155
+ outline-offset: var(--size-focus-ring-inset-offset);
156
+ }
157
+
158
+ .crewlet-text.crewlet-text--truncate :focus-visible {
159
+ outline: 2px solid transparent;
160
+ }
161
+
145
162
  .crewlet-text--clamp-2,
146
163
  .crewlet-text--clamp-3 {
147
164
  display: -webkit-box;
@@ -1,8 +1,8 @@
1
- export { ThemeGallery } from '../chunk-4VKFZZHS.js';
1
+ export { ThemeGallery } from '../chunk-RFZ5MMLI.js';
2
2
  import '../chunk-3XQUEF5C.js';
3
3
  import '../chunk-KW7T23RT.js';
4
4
  import '../chunk-SJ3EUCFD.js';
5
- import '../chunk-EGMQURBR.js';
5
+ import '../chunk-7F3OPUM5.js';
6
6
  import '../chunk-QRE6JCHS.js';
7
7
  import '../chunk-EDPMHSLZ.js';
8
8
  import '../chunk-4ITETIGZ.js';
@@ -1,10 +1,10 @@
1
- export { DensitySwitcher, ThemeSwitcher } from '../chunk-BIAAOLAX.js';
1
+ export { DensitySwitcher, ThemeSwitcher } from '../chunk-IYEMN7RK.js';
2
2
  export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
3
3
  export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from '../chunk-ZXXDZJQN.js';
4
- import '../chunk-KWXVG3CH.js';
5
- import '../chunk-4PKMM3EZ.js';
6
- import '../chunk-GIYIKUJE.js';
7
- import '../chunk-EGMQURBR.js';
4
+ import '../chunk-7U4V36SB.js';
5
+ import '../chunk-MTEQ3WO3.js';
6
+ import '../chunk-5L56E6AF.js';
7
+ import '../chunk-7F3OPUM5.js';
8
8
  import '../chunk-QRE6JCHS.js';
9
9
  import '../chunk-35S25WJZ.js';
10
10
  import '../chunk-M2M6ZD7P.js';
@@ -1,10 +1,10 @@
1
- export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-I4V4GUVM.js';
1
+ export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-ZPKCRFPZ.js';
2
2
  import '../chunk-OG4GX2TB.js';
3
3
  import '../chunk-RCQLXOGS.js';
4
- import '../chunk-KWXVG3CH.js';
5
- import '../chunk-4PKMM3EZ.js';
6
- import '../chunk-GIYIKUJE.js';
7
- import '../chunk-EGMQURBR.js';
4
+ import '../chunk-7U4V36SB.js';
5
+ import '../chunk-MTEQ3WO3.js';
6
+ import '../chunk-5L56E6AF.js';
7
+ import '../chunk-7F3OPUM5.js';
8
8
  import '../chunk-QRE6JCHS.js';
9
9
  import '../chunk-35S25WJZ.js';
10
10
  import '../chunk-NN44J7BP.js';
@@ -1,5 +1,5 @@
1
- export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from '../chunk-25CL7J4J.js';
2
- import '../chunk-XLMURU75.js';
1
+ export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from '../chunk-B6AQY6FH.js';
2
+ import '../chunk-475DOAWF.js';
3
3
  import '../chunk-WSIJDWUG.js';
4
4
  import '../chunk-FIX72ZEC.js';
5
5
  import '../chunk-EDPMHSLZ.js';
@@ -1,9 +1,9 @@
1
- export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-DVZRAYX3.js';
1
+ export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-JDA4ADTD.js';
2
2
  import '../chunk-U3LHWQQK.js';
3
- import '../chunk-KWXVG3CH.js';
4
- import '../chunk-4PKMM3EZ.js';
5
- import '../chunk-GIYIKUJE.js';
6
- import '../chunk-EGMQURBR.js';
3
+ import '../chunk-7U4V36SB.js';
4
+ import '../chunk-MTEQ3WO3.js';
5
+ import '../chunk-5L56E6AF.js';
6
+ import '../chunk-7F3OPUM5.js';
7
7
  import '../chunk-QRE6JCHS.js';
8
8
  import '../chunk-35S25WJZ.js';
9
9
  import '../chunk-PPUR46MK.js';
@@ -1,6 +1,6 @@
1
1
  import { Select } from './chunk-AYVRS4LD.js';
2
2
  import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
3
- import { HueSwatch } from './chunk-5P6LLFEO.js';
3
+ import { HueSwatch } from './chunk-766IY2ZW.js';
4
4
  import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
5
5
  import { Checkbox } from './chunk-KFTVPWG2.js';
6
6
  import { Menu } from './chunk-35S25WJZ.js';
@@ -1,7 +1,7 @@
1
1
  import { Select } from './chunk-AYVRS4LD.js';
2
2
  import { SidebarNav, NavItem } from './chunk-SM2MM4DQ.js';
3
- import { Card } from './chunk-3C3TSWRR.js';
4
- import { Text } from './chunk-XLMURU75.js';
3
+ import { Card } from './chunk-GJJQPF75.js';
4
+ import { Text } from './chunk-475DOAWF.js';
5
5
  import './RailList-N2ZBPRM2.css';
6
6
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
7
 
@@ -1,4 +1,4 @@
1
- import { Text } from './chunk-XLMURU75.js';
1
+ import { Text } from './chunk-475DOAWF.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './PersonRow-3HOWUD6H.css';
4
4
  import { forwardRef } from 'react';
@@ -1,4 +1,4 @@
1
- import { PersonRow } from './chunk-XROJ6XQ3.js';
1
+ import { PersonRow } from './chunk-42I2VSZZ.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './ChatScale-LGESYXCO.css';
4
4
  import './PersonRow-3HOWUD6H.css';
@@ -1,6 +1,6 @@
1
1
  import { titleIfCut } from './chunk-WSIJDWUG.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './Text-XOCOU34C.css';
3
+ import './Text-6KVFTLYV.css';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
6
6
  function Text({
@@ -1,4 +1,4 @@
1
- import { StatusCard } from './chunk-7L75YB57.js';
1
+ import { StatusCard } from './chunk-VDADSS7I.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './EntityList-DT3BQLUW.css';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { useRoving, tabStop } from './chunk-EGMQURBR.js';
1
+ import { useRoving, tabStop, revealInRow } from './chunk-7F3OPUM5.js';
2
2
  import { StatusDot } from './chunk-QRE6JCHS.js';
3
3
  import { Menu } from './chunk-35S25WJZ.js';
4
4
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
@@ -6,7 +6,7 @@ import { Count } from './chunk-Y5CMDLQM.js';
6
6
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
8
8
  import './HitArea-QUOS6ZDJ.css';
9
- import './Tabs-244SPRII.css';
9
+ import './Tabs-BJZ2W5KB.css';
10
10
  import React, { useRef, useImperativeHandle, useLayoutEffect, useState } from 'react';
11
11
  import { ChevronDownGlyph } from '@crewlethq/icons/glyphs';
12
12
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -167,7 +167,7 @@ function Tabs({
167
167
  };
168
168
  }, [variant, value, items, barred]);
169
169
  useLayoutEffect(() => {
170
- if (variant === "underline" || !barred) return;
170
+ if (variant === "underline" || variant === "chip" && !barred) return;
171
171
  const nav = navRef.current;
172
172
  if (nav) reveal(nav);
173
173
  }, [variant, value, items, barred]);
@@ -243,6 +243,7 @@ function Tabs({
243
243
  ...folded ? FOLDED : SHOWN,
244
244
  onClick: onSelect,
245
245
  onKeyDown: (event) => onKeyDown(event, false),
246
+ onFocus: (event) => revealInRow(event.currentTarget),
246
247
  children
247
248
  },
248
249
  item.value
@@ -1,4 +1,4 @@
1
- import { OrgLabel } from './chunk-DEVO45TG.js';
1
+ import { OrgLabel } from './chunk-SYMLWDV6.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './OrgNode-6OCBAIBK.css';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
1
  import { BrandLockup } from './chunk-KXWJJWBD.js';
2
- import { Card } from './chunk-3C3TSWRR.js';
2
+ import { Card } from './chunk-GJJQPF75.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './AuthLayout-ODHBUPHQ.css';
5
5
  import { useId } from 'react';
@@ -1,5 +1,5 @@
1
1
  import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
2
- import { SegmentedControl } from './chunk-4PKMM3EZ.js';
2
+ import { SegmentedControl } from './chunk-MTEQ3WO3.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -8,6 +8,16 @@ function tabStop(items, selected) {
8
8
  function reachable(el) {
9
9
  return Boolean(el) && !el.disabled && !el.hasAttribute("inert");
10
10
  }
11
+ function revealInRow(option) {
12
+ const row = option?.closest(".crewlet-tabs");
13
+ if (!option || !row) return;
14
+ const range = row.getBoundingClientRect();
15
+ const left = range.left + row.clientLeft;
16
+ const right = left + row.clientWidth;
17
+ const box = option.getBoundingClientRect();
18
+ if (box.left < left) row.scrollLeft -= left - box.left;
19
+ else if (box.right > right) row.scrollLeft += box.right - right;
20
+ }
11
21
  function useRoving(count, select, { followFocus = false, columns } = {}) {
12
22
  const buttons = useRef([]);
13
23
  const [landed, setLanded] = useState(null);
@@ -46,6 +56,7 @@ function useRoving(count, select, { followFocus = false, columns } = {}) {
46
56
  }
47
57
  }
48
58
  const onFocusAt = (index) => {
59
+ revealInRow(buttons.current[index]);
49
60
  if (followFocus) setLanded(index);
50
61
  };
51
62
  const onKeyDown = (event, vertical) => {
@@ -74,4 +85,4 @@ function useRoving(count, select, { followFocus = false, columns } = {}) {
74
85
  };
75
86
  }
76
87
 
77
- export { tabStop, useRoving };
88
+ export { revealInRow, tabStop, useRoving };
@@ -0,0 +1,3 @@
1
+ import './HitArea-QUOS6ZDJ.css';
2
+ import './Tabs-BJZ2W5KB.css';
3
+ import './SegmentedControl-RDBMHV7Q.css';