@crewlethq/ui 0.119.1 → 0.119.2

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 (65) hide show
  1. package/dist/AgentHandoffPanel/index.js +2 -2
  2. package/dist/ArtifactPanel/index.js +1 -1
  3. package/dist/ChangeList/index.js +1 -1
  4. package/dist/{ChangeList-ITJMTVDF.css → ChangeList-OLIN6KKR.css} +0 -2
  5. package/dist/ChatThread/index.js +1 -1
  6. package/dist/{ChatThread-YBU3PHDZ.css → ChatThread-V5MANQ3C.css} +2 -1
  7. package/dist/CommandPalette/index.js +2 -2
  8. package/dist/ConfirmField/index.js +2 -2
  9. package/dist/DataTable/index.js +2 -2
  10. package/dist/DataView/index.js +3 -3
  11. package/dist/InlineCode/InlineCode.d.ts +4 -3
  12. package/dist/InlineCode/index.js +1 -1
  13. package/dist/{InlineCode-M7FAL5J4.css → InlineCode-3VXMQAFG.css} +9 -9
  14. package/dist/InlineRef/index.js +1 -1
  15. package/dist/{InlineRef-POVPCQZU.css → InlineRef-VQ3OQROV.css} +9 -10
  16. package/dist/LinkInterstitial/index.js +3 -3
  17. package/dist/ListDetail/index.js +1 -1
  18. package/dist/{ListDetail-KFYCYZWI.css → ListDetail-XDT3WLA5.css} +2 -0
  19. package/dist/MentionChip/index.js +1 -1
  20. package/dist/{MentionChip-W7MZZVRZ.css → MentionChip-GHY3B7UB.css} +0 -2
  21. package/dist/Modal/index.js +1 -1
  22. package/dist/{Modal-3KGLG5UU.css → Modal-XK3OTUQK.css} +2 -0
  23. package/dist/ObjectHeader/index.js +1 -1
  24. package/dist/{ObjectHeader-RGWE3ULA.css → ObjectHeader-5RK5YAUK.css} +2 -0
  25. package/dist/OrgTable/index.js +1 -1
  26. package/dist/PeekRail/index.js +1 -1
  27. package/dist/{PeekRail-4L5YUQMW.css → PeekRail-LV42AT3G.css} +2 -0
  28. package/dist/PropertyList/index.js +2 -2
  29. package/dist/ProposalCard/index.js +2 -2
  30. package/dist/RichEditor/index.js +1 -1
  31. package/dist/SetupWizard/index.js +2 -2
  32. package/dist/ShareDialog/index.js +2 -2
  33. package/dist/SidePanel/index.js +1 -1
  34. package/dist/{SidePanel-JT2VDOZ6.css → SidePanel-3WPM56Y2.css} +2 -1
  35. package/dist/Switcher/index.js +2 -2
  36. package/dist/TimeRangePicker/index.js +2 -2
  37. package/dist/{chunk-ENYHABQJ.js → chunk-3RKS3DLF.js} +1 -1
  38. package/dist/{chunk-DVCTHAIF.js → chunk-65AMIQSW.js} +1 -1
  39. package/dist/{chunk-OVIQHZVU.js → chunk-7RG5WLBS.js} +1 -1
  40. package/dist/{chunk-SOWWWZ4T.js → chunk-DNBIBLT2.js} +1 -1
  41. package/dist/{chunk-HNJU6MPK.js → chunk-FOXA6UZS.js} +1 -1
  42. package/dist/{chunk-NCUD7IWR.js → chunk-GFQNEGQP.js} +2 -2
  43. package/dist/{chunk-ZOTOR5TI.js → chunk-GUTZISXY.js} +1 -1
  44. package/dist/{chunk-HRUCZX66.js → chunk-I4FO353C.js} +1 -1
  45. package/dist/{chunk-OBFEL5KH.js → chunk-JNXPLFMX.js} +1 -1
  46. package/dist/{chunk-SYSRBDC6.js → chunk-KTKPC3CV.js} +1 -1
  47. package/dist/{chunk-PYVP4LA5.js → chunk-KZTR3V2P.js} +1 -1
  48. package/dist/{chunk-3ZQZJD5J.js → chunk-L34X7Q6C.js} +1 -1
  49. package/dist/{chunk-HFAYSNU5.js → chunk-MVXQ74TB.js} +1 -1
  50. package/dist/{chunk-BRUJ3XXH.js → chunk-NB53SAL4.js} +1 -1
  51. package/dist/{chunk-M7D6L2VC.js → chunk-OBPLHZMV.js} +1 -1
  52. package/dist/{chunk-S6L6HPZE.js → chunk-OG4GX2TB.js} +1 -1
  53. package/dist/{chunk-Q447E45Q.js → chunk-QXBKUZG6.js} +1 -1
  54. package/dist/{chunk-25VVKZEJ.js → chunk-RFNPJDNS.js} +1 -1
  55. package/dist/{chunk-PX5BOALQ.js → chunk-SYOMUNKU.js} +1 -1
  56. package/dist/{chunk-C3O226J6.js → chunk-WTIGL7MG.js} +1 -1
  57. package/dist/{chunk-UVHIHIFQ.js → chunk-YP5XNWUS.js} +1 -1
  58. package/dist/{chunk-FXPBUMPL.js → chunk-YWEGWDWZ.js} +11 -2
  59. package/dist/{chunk-RTPG226L.js → chunk-ZRKBPY6K.js} +1 -1
  60. package/dist/generated/index.js +50 -50
  61. package/dist/index.js +50 -50
  62. package/dist/styles.css +40 -35
  63. package/package.json +3 -3
  64. package/dist/{Editor-SBHTMAEK.js → Editor-JCAYNXQX.js} +1 -1
  65. package/dist/{chunk-2DZV4PHK.js → chunk-WLL3PFI3.js} +1 -1
package/dist/styles.css CHANGED
@@ -9307,7 +9307,7 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
9307
9307
  }
9308
9308
 
9309
9309
 
9310
- /* ChangeList-ITJMTVDF.css */
9310
+ /* ChangeList-OLIN6KKR.css */
9311
9311
  /*
9312
9312
  * What a change will do, as a before and after on PropertyList's grid: one
9313
9313
  * label column (as wide as the longest label, never under 92px) and one value
@@ -9454,8 +9454,6 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
9454
9454
  color: var(--color-text-primary);
9455
9455
  font-weight: var(--font-weight-medium);
9456
9456
  text-decoration: none;
9457
- -webkit-box-decoration-break: clone;
9458
- box-decoration-break: clone;
9459
9457
  }
9460
9458
 
9461
9459
  /* A value taken away: struck through on the removed tint, in its ink. */
@@ -11534,7 +11532,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
11534
11532
  }
11535
11533
 
11536
11534
 
11537
- /* ChatThread-YBU3PHDZ.css */
11535
+ /* ChatThread-V5MANQ3C.css */
11538
11536
  /*
11539
11537
  * A conversation as it grows: the scroller, the items a spacing step and a
11540
11538
  * half apart on the panel's 16px inset, and the Jump to latest pill in a row
@@ -11568,7 +11566,8 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
11568
11566
  position: relative;
11569
11567
  flex: 1;
11570
11568
  min-height: 0;
11571
- overflow: auto;
11569
+ /* It scrolls down, never sideways: what it holds wraps to its width. */
11570
+ overflow: hidden auto;
11572
11571
  overflow-anchor: none;
11573
11572
  overscroll-behavior: contain;
11574
11573
  /* A control focused from out of view (Tab onto a row scrolled off the top)
@@ -24365,7 +24364,7 @@ a.crewlet-icon-btn {
24365
24364
  }
24366
24365
 
24367
24366
 
24368
- /* InlineCode-M7FAL5J4.css */
24367
+ /* InlineCode-3VXMQAFG.css */
24369
24368
  /*
24370
24369
  * One identifier inside a sentence: a mono chip on the inset surface.
24371
24370
  *
@@ -24395,11 +24394,9 @@ a.crewlet-icon-btn {
24395
24394
  /* A URL IS ONE UNBREAKABLE WORD to a line breaker. Without this the chip is
24396
24395
  pushed whole onto its own line and the sentence around it is torn up. */
24397
24396
  overflow-wrap: anywhere;
24398
- /* AND EACH LINE OF IT IS A WHOLE CHIP: its own inset and its own rounded
24399
- ends. Sliced, the line a URL broke onto began flush on a square edge, 4px
24400
- left of the line above it, and the line it broke from ended on one. */
24401
- -webkit-box-decoration-break: clone;
24402
- box-decoration-break: clone;
24397
+ /* SLICED where it breaks, not cloned: a browser leaves a cloned inset out of
24398
+ line breaking, so each broken line ran up to the inset past its box. */
24399
+ box-decoration-break: slice;
24403
24400
  }
24404
24401
 
24405
24402
  /*
@@ -24432,12 +24429,14 @@ a.crewlet-icon-btn {
24432
24429
  }
24433
24430
 
24434
24431
  /*
24435
- * A short token read as one: it moves to the next line whole rather than
24436
- * splitting, which `overflow-wrap: anywhere` would otherwise allow.
24432
+ * A short token read as one: an atomic box that moves to the next line whole,
24433
+ * and breaks inside only where no line can hold it (a nested list, a cell).
24434
+ * `line-height: normal` gives the box the running chip's own height.
24437
24435
  */
24438
24436
  .crewlet-inline-code--whole {
24439
- overflow-wrap: normal;
24440
- white-space: nowrap;
24437
+ display: inline-block;
24438
+ max-width: 100%;
24439
+ line-height: normal;
24441
24440
  }
24442
24441
 
24443
24442
  .crewlet-inline-code--truncate {
@@ -24525,7 +24524,7 @@ a.crewlet-icon-btn {
24525
24524
  }
24526
24525
 
24527
24526
 
24528
- /* InlineRef-POVPCQZU.css */
24527
+ /* InlineRef-VQ3OQROV.css */
24529
24528
  /*
24530
24529
  * A reference inside a sentence (InlineRef.tsx): a mark a little below the
24531
24530
  * text's size, then its words, in the sentence's own ink unless it is a link.
@@ -24539,12 +24538,15 @@ a.crewlet-icon-btn {
24539
24538
  --crewlet-inline-code-size: 0.92em;
24540
24539
  /* THE SENTENCE'S OWN INK: a reference in a row or on a filled option reads in what is around it. */
24541
24540
  color: inherit;
24542
- /* A token is one word to a reader, and moves to the next line whole. */
24543
- white-space: nowrap;
24544
24541
  }
24545
24542
 
24546
- .crewlet-inline-ref--wrap {
24547
- white-space: normal;
24543
+ /* A token moves to the next line whole, as an atomic box no wider than the
24544
+ line, and breaks inside only where no line can hold it. */
24545
+ .crewlet-inline-ref:not(.crewlet-inline-ref--wrap),
24546
+ .crewlet-inline-ref--wrap > .crewlet-inline-ref__head {
24547
+ display: inline-block;
24548
+ max-width: 100%;
24549
+ overflow-wrap: anywhere;
24548
24550
  }
24549
24551
 
24550
24552
  /* What follows the head breaks wherever it must, so an address's path (one
@@ -24553,11 +24555,6 @@ a.crewlet-icon-btn {
24553
24555
  overflow-wrap: anywhere;
24554
24556
  }
24555
24557
 
24556
- /* The mark and the first word are one run, so no mark ever ends a line alone. */
24557
- .crewlet-inline-ref__head {
24558
- white-space: nowrap;
24559
- }
24560
-
24561
24558
  /*
24562
24559
  * A LINK reads as one, in the accent's ink step as `Link` draws it. The
24563
24560
  * underline is the words', never the mark's: an inline-block takes no
@@ -24569,7 +24566,8 @@ a.crewlet-icon-btn {
24569
24566
  border-radius: var(--radius-xs);
24570
24567
  }
24571
24568
 
24572
- .crewlet-inline-ref--link:hover {
24569
+ .crewlet-inline-ref--link:hover,
24570
+ .crewlet-inline-ref--wrap.crewlet-inline-ref--link:hover > .crewlet-inline-ref__head {
24573
24571
  text-decoration: underline;
24574
24572
  }
24575
24573
 
@@ -26655,7 +26653,7 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
26655
26653
  }
26656
26654
 
26657
26655
 
26658
- /* ListDetail-KFYCYZWI.css */
26656
+ /* ListDetail-XDT3WLA5.css */
26659
26657
  /*
26660
26658
  * ListDetail: a list beside the detail of what is chosen in it, each scrolling
26661
26659
  * on its own in the height it is given, one pane where it is narrow
@@ -26796,6 +26794,8 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
26796
26794
  gap: var(--spacing-5);
26797
26795
  min-width: 0;
26798
26796
  min-height: 0;
26797
+ /* It scrolls down, never sideways: what it holds wraps to its width. */
26798
+ overflow-x: hidden;
26799
26799
  overflow-y: auto;
26800
26800
  }
26801
26801
 
@@ -28219,7 +28219,7 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
28219
28219
  }
28220
28220
 
28221
28221
 
28222
- /* MentionChip-W7MZZVRZ.css */
28222
+ /* MentionChip-GHY3B7UB.css */
28223
28223
  /*
28224
28224
  * A mention in a message's words: a chip in the line, in the info tone's
28225
28225
  * light blue, or the warning tone where it names the reader.
@@ -28234,8 +28234,6 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
28234
28234
  color: var(--color-feedback-info-ink);
28235
28235
  font: inherit;
28236
28236
  font-weight: var(--font-weight-regular);
28237
- -webkit-box-decoration-break: clone;
28238
- box-decoration-break: clone;
28239
28237
  }
28240
28238
 
28241
28239
  .crewlet-mention-chip--self,
@@ -29172,7 +29170,7 @@ button.crewlet-mention-chip:focus-visible {
29172
29170
  }
29173
29171
 
29174
29172
 
29175
- /* Modal-3KGLG5UU.css */
29173
+ /* Modal-XK3OTUQK.css */
29176
29174
  /*
29177
29175
  * The modal surface: the veil, the frame, and the three bands inside it.
29178
29176
  *
@@ -29671,6 +29669,8 @@ button.crewlet-mention-chip:focus-visible {
29671
29669
  flex: 1 1 auto;
29672
29670
  min-height: 0;
29673
29671
  padding: var(--spacing-4);
29672
+ /* It scrolls down, never sideways: what it holds wraps to its width. */
29673
+ overflow-x: hidden;
29674
29674
  overflow-y: auto;
29675
29675
  /*
29676
29676
  * Declared rather than inherited. A dialog is read at a glance and sits over
@@ -30000,7 +30000,7 @@ button.crewlet-mention-chip:focus-visible {
30000
30000
  }
30001
30001
 
30002
30002
 
30003
- /* ObjectHeader-RGWE3ULA.css */
30003
+ /* ObjectHeader-5RK5YAUK.css */
30004
30004
  /*
30005
30005
  * The header of an object: its eyebrow, its head row and its fact line.
30006
30006
  *
@@ -30114,6 +30114,8 @@ button.crewlet-mention-chip:focus-visible {
30114
30114
  flex: 0 1 auto;
30115
30115
  min-width: 0;
30116
30116
  margin: 0;
30117
+ /* An unbroken word (a path, a key) breaks rather than running out of the header. */
30118
+ overflow-wrap: anywhere;
30117
30119
  font-size: var(--font-size-xl);
30118
30120
  font-weight: var(--font-weight-semibold);
30119
30121
  line-height: var(--font-line-height-snug);
@@ -31646,7 +31648,7 @@ button.crewlet-mention-chip:focus-visible {
31646
31648
  }
31647
31649
 
31648
31650
 
31649
- /* PeekRail-4L5YUQMW.css */
31651
+ /* PeekRail-LV42AT3G.css */
31650
31652
  /*
31651
31653
  * The peek (`PeekRail`): a rail beside the list it was opened from, on the
31652
31654
  * subtle ground, with a bar at the page bar's height and a scrolling body.
@@ -31712,6 +31714,8 @@ button.crewlet-mention-chip:focus-visible {
31712
31714
  container: crewlet-peek-rail / size;
31713
31715
  flex: 1 1 auto;
31714
31716
  min-height: 0;
31717
+ /* It scrolls down, never sideways: what it holds wraps to its width. */
31718
+ overflow-x: hidden;
31715
31719
  overflow-y: auto;
31716
31720
  padding: 0 var(--spacing-4) var(--spacing-6);
31717
31721
  }
@@ -38601,7 +38605,7 @@ svg.crewlet-select__chevron {
38601
38605
  }
38602
38606
 
38603
38607
 
38604
- /* SidePanel-JT2VDOZ6.css */
38608
+ /* SidePanel-3WPM56Y2.css */
38605
38609
  /*
38606
38610
  * A side panel and the frame that lays it beside the content or over it
38607
38611
  * (`SidePanel`, `SidePanelFrame`, and their artifact presets).
@@ -38821,7 +38825,8 @@ svg.crewlet-select__chevron {
38821
38825
  flex: 1 1 auto;
38822
38826
  min-height: 0;
38823
38827
  padding: var(--crewlet-side-panel-inset);
38824
- overflow: auto;
38828
+ /* It scrolls down, never sideways: what it holds wraps to its width. */
38829
+ overflow: hidden auto;
38825
38830
  overscroll-behavior: contain;
38826
38831
  }
38827
38832
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.119.1",
3
+ "version": "0.119.2",
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.119.1",
46
- "@crewlethq/tokens": "0.119.1",
45
+ "@crewlethq/icons": "0.119.2",
46
+ "@crewlethq/tokens": "0.119.2",
47
47
  "prosemirror-commands": "1.7.2",
48
48
  "prosemirror-gapcursor": "1.4.1",
49
49
  "prosemirror-history": "1.5.1",
@@ -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';
@@ -1,5 +1,5 @@
1
- import { PageHeader } from './chunk-FPDIHEM4.js';
2
1
  import { Stepper } from './chunk-EHD4CEHK.js';
2
+ import { PageHeader } from './chunk-FPDIHEM4.js';
3
3
  import { Disclosure } from './chunk-D5O64CVE.js';
4
4
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
5
5
  import { useHeadingLevel, nextHeadingLevel, headingTag, HeadingLevelProvider } from './chunk-PQADV6P6.js';