@crewlethq/ui 0.140.0 → 0.141.1

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 (75) hide show
  1. package/dist/AgentHandoffPanel/index.js +5 -5
  2. package/dist/ArrangeList/index.js +2 -2
  3. package/dist/ArtifactBar/index.js +1 -1
  4. package/dist/AuthLayout/index.js +1 -1
  5. package/dist/BriefCard/index.js +1 -1
  6. package/dist/Combobox/index.js +2 -2
  7. package/dist/CommandPalette/index.js +5 -5
  8. package/dist/CommentThread/index.js +7 -7
  9. package/dist/Composer/index.js +3 -3
  10. package/dist/DataGrid/DataGrid.d.ts +5 -1
  11. package/dist/DataGrid/index.js +6 -6
  12. package/dist/DataTable/index.js +4 -4
  13. package/dist/DataView/index.js +6 -6
  14. package/dist/DatasetSource/index.js +1 -1
  15. package/dist/DeepWorkCard/index.js +1 -1
  16. package/dist/DocTabsEditor/index.js +4 -4
  17. package/dist/DocumentDiff/index.js +1 -1
  18. package/dist/{DocumentDiff-UXBGVIJK.css → DocumentDiff-2XI3GSQJ.css} +13 -0
  19. package/dist/EditingStatus/index.js +2 -2
  20. package/dist/EntityList/index.js +1 -1
  21. package/dist/InlineEditor/index.js +3 -3
  22. package/dist/KeyValueRows/index.js +3 -3
  23. package/dist/ListInput/index.js +6 -6
  24. package/dist/OpenInAppCard/index.js +1 -1
  25. package/dist/OrgTable/index.js +8 -8
  26. package/dist/PresenterView/index.js +2 -2
  27. package/dist/PrincipalPicker/index.js +3 -3
  28. package/dist/ProposalCard/index.js +3 -3
  29. package/dist/RailList/index.js +3 -3
  30. package/dist/RefusalCard/index.js +1 -1
  31. package/dist/ResultTableCard/index.js +1 -1
  32. package/dist/RichEditor/index.js +1 -1
  33. package/dist/Select/index.js +2 -2
  34. package/dist/SettingsTable/SettingsTable.d.ts +2 -1
  35. package/dist/SettingsTable/index.js +1 -1
  36. package/dist/{SettingsTable-CBB56SMP.css → SettingsTable-MTZJTKA6.css} +18 -0
  37. package/dist/ShareDialog/index.js +3 -3
  38. package/dist/SheetColumnEditor/index.js +7 -7
  39. package/dist/StatusCard/index.js +1 -1
  40. package/dist/Switcher/index.js +5 -5
  41. package/dist/TableCells/index.js +1 -1
  42. package/dist/TimeRangePicker/index.js +4 -4
  43. package/dist/TimeWindowPicker/index.js +5 -5
  44. package/dist/TreeGrid/index.js +7 -7
  45. package/dist/ValueField/index.js +4 -4
  46. package/dist/{chunk-KXNSMKAJ.js → chunk-3AFRSZ3K.js} +1 -1
  47. package/dist/{chunk-B4PM6LOU.js → chunk-3MT6K5VU.js} +1 -1
  48. package/dist/{chunk-ZXPQZB6U.js → chunk-5A6PJL5Z.js} +1 -1
  49. package/dist/{chunk-3JE5VVXN.js → chunk-5BOPXR7R.js} +2 -2
  50. package/dist/{chunk-I6WWR6YA.js → chunk-6BGDOVTX.js} +3 -3
  51. package/dist/{chunk-YU6BBB27.js → chunk-BNUHDX7F.js} +1 -1
  52. package/dist/{chunk-UW42RNOQ.js → chunk-FODER7PU.js} +2 -2
  53. package/dist/{chunk-QE4VFBNX.js → chunk-GWKMBEKN.js} +2 -2
  54. package/dist/{chunk-T3ARZK6S.js → chunk-RHQWN7DT.js} +1 -1
  55. package/dist/{chunk-EXMIQMQ7.js → chunk-TTRCEFON.js} +2 -2
  56. package/dist/{chunk-GIKMXPZC.js → chunk-U43FRT4V.js} +1 -1
  57. package/dist/{chunk-2AWZ7OWS.js → chunk-VC5O7G3A.js} +1 -1
  58. package/dist/{chunk-XGRHDZWC.js → chunk-VMYFLZFW.js} +3 -3
  59. package/dist/{chunk-WBGRXZG2.js → chunk-ZSV2JJV4.js} +1 -1
  60. package/dist/generated/index.js +56 -56
  61. package/dist/index.js +56 -56
  62. package/dist/styles.css +33 -2
  63. package/package.json +3 -3
  64. package/dist/{Editor-VLDWPEFX.js → Editor-QN5CCBIW.js} +2 -2
  65. package/dist/{chunk-D77UFVIW.js → chunk-C4TJTJVU.js} +1 -1
  66. package/dist/{chunk-5VFJWFZY.js → chunk-DPAC4WAI.js} +1 -1
  67. package/dist/{chunk-4VWPND6Y.js → chunk-HHBAQK2U.js} +1 -1
  68. package/dist/{chunk-535DUHPD.js → chunk-KMNTQM74.js} +1 -1
  69. package/dist/{chunk-6N53ZWRM.js → chunk-KRF3GQ63.js} +1 -1
  70. package/dist/{chunk-IKEE5UU7.js → chunk-L4H3GDRQ.js} +1 -1
  71. package/dist/{chunk-QWDVFV45.js → chunk-LJFIAHTG.js} +1 -1
  72. package/dist/{chunk-KQZ2LTWQ.js → chunk-OU22GKZK.js} +1 -1
  73. package/dist/{chunk-HRGO3HCD.js → chunk-TIGY46IQ.js} +1 -1
  74. package/dist/{chunk-G3TFTNGG.js → chunk-U7G5N5QN.js} +1 -1
  75. package/dist/{chunk-7FIPMMFO.js → chunk-UAO27FG7.js} +2 -2
package/dist/styles.css CHANGED
@@ -21452,7 +21452,7 @@ svg.crewlet-datetime__chevron {
21452
21452
  }
21453
21453
 
21454
21454
 
21455
- /* DocumentDiff-UXBGVIJK.css */
21455
+ /* DocumentDiff-2XI3GSQJ.css */
21456
21456
  /* DocumentDiff: a change drawn as the document it changed (DocumentDiff.tsx).
21457
21457
  No hue: a block's or a run's kind is its mark, a word read in its place, and
21458
21458
  one surface step off the diff's own ground, raised for added and sunk for
@@ -21553,6 +21553,19 @@ svg.crewlet-datetime__chevron {
21553
21553
  text-decoration-thickness: from-font;
21554
21554
  }
21555
21555
 
21556
+ /* A decoration stops at an inline-block (a link's chip, a code span), so each one draws its own mark. */
21557
+ .crewlet-document-diff__added * {
21558
+ text-decoration-line: underline;
21559
+ text-decoration-thickness: from-font;
21560
+ text-underline-position: under;
21561
+ }
21562
+
21563
+ .crewlet-document-diff__removed *,
21564
+ .crewlet-document-diff__block--removed .crewlet-document-diff__content * {
21565
+ text-decoration-line: line-through;
21566
+ text-decoration-thickness: from-font;
21567
+ }
21568
+
21556
21569
  /* Two runs that touch stand a word space apart, so they never read as one word. */
21557
21570
  .crewlet-document-diff__removed:has(+ :is(.crewlet-document-diff__added, .crewlet-document-diff__removed)) {
21558
21571
  margin-inline-end: var(--spacing-1);
@@ -37997,7 +38010,7 @@ svg.crewlet-select__chevron {
37997
38010
  }
37998
38011
 
37999
38012
 
38000
- /* SettingsTable-CBB56SMP.css */
38013
+ /* SettingsTable-MTZJTKA6.css */
38001
38014
  /*
38002
38015
  * SettingsTable: a read-only table of settings, one row each, on one grid.
38003
38016
  *
@@ -38116,6 +38129,24 @@ svg.crewlet-select__chevron {
38116
38129
  color: var(--color-text-tertiary);
38117
38130
  }
38118
38131
 
38132
+ /* Where a pointer can hover, the key shows with its row, its focus or a copy's outcome, and keeps its place unseen otherwise. */
38133
+ @media (hover: hover) {
38134
+ .crewlet-settings-table__key {
38135
+ opacity: 0;
38136
+ }
38137
+
38138
+ .crewlet-settings-table__row:is(:hover, :focus-within) .crewlet-settings-table__key,
38139
+ .crewlet-settings-table__key:not([data-copy='idle']) {
38140
+ opacity: 1;
38141
+ }
38142
+ }
38143
+
38144
+ @media (hover: hover) and (prefers-reduced-motion: no-preference) {
38145
+ .crewlet-settings-table__key {
38146
+ transition: opacity var(--motion-duration-fast) var(--motion-easing-default);
38147
+ }
38148
+ }
38149
+
38119
38150
  /* Tabular figures, so a column of numbers reads down its digits. */
38120
38151
  .crewlet-settings-table__value {
38121
38152
  min-width: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.140.0",
3
+ "version": "0.141.1",
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.140.0",
46
- "@crewlethq/tokens": "0.140.0",
45
+ "@crewlethq/icons": "0.141.1",
46
+ "@crewlethq/tokens": "0.141.1",
47
47
  "prosemirror-commands": "1.7.2",
48
48
  "prosemirror-gapcursor": "1.4.1",
49
49
  "prosemirror-history": "1.5.1",
@@ -4,13 +4,13 @@ import './chunk-KOJPDCGQ.js';
4
4
  import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-KBZO4B33.js';
5
5
  import { Toolbar } from './chunk-NPEI2QAN.js';
6
6
  import { Menu } from './chunk-XHEM234A.js';
7
- import { Button } from './chunk-CYF22JOT.js';
8
- import './chunk-XSPCITPN.js';
9
7
  import { FormField, Input } from './chunk-NBXUIEKY.js';
10
8
  import './chunk-NICEDVZM.js';
11
9
  import './chunk-JLKO7PSK.js';
12
10
  import './chunk-PJV5HVZY.js';
13
11
  import './chunk-TEXK4RK6.js';
12
+ import { Button } from './chunk-CYF22JOT.js';
13
+ import './chunk-XSPCITPN.js';
14
14
  import { IconButton } from './chunk-P5HNBRIS.js';
15
15
  import './chunk-TDFLCUBE.js';
16
16
  import './chunk-3YJB5ZF5.js';
@@ -4,8 +4,8 @@ import { KeyChip, highlightMatch } from './chunk-HBDA76EZ.js';
4
4
  import { Popover } from './chunk-KDRJZWE3.js';
5
5
  import { Skeleton } from './chunk-WFAJYBLX.js';
6
6
  import { Text } from './chunk-475DOAWF.js';
7
- import { useMediaMatch } from './chunk-COS6LJ4K.js';
8
7
  import { Input } from './chunk-NBXUIEKY.js';
8
+ import { useMediaMatch } from './chunk-COS6LJ4K.js';
9
9
  import { focusables, isComposing } from './chunk-EDPMHSLZ.js';
10
10
  import { returnFocus } from './chunk-4ITETIGZ.js';
11
11
  import { announce } from './chunk-WGMKERCR.js';
@@ -1,9 +1,9 @@
1
1
  import { Modal } from './chunk-WTLHCUDU.js';
2
2
  import { useClipboard } from './chunk-STJ7QBC3.js';
3
- import { Menu } from './chunk-XHEM234A.js';
4
3
  import { EmptyValue } from './chunk-WGLOH33S.js';
5
4
  import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
6
5
  import { Checkbox } from './chunk-XLND4DD6.js';
6
+ import { Menu } from './chunk-XHEM234A.js';
7
7
  import { Button } from './chunk-CYF22JOT.js';
8
8
  import { IconButton } from './chunk-P5HNBRIS.js';
9
9
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,6 +1,6 @@
1
1
  import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
2
- import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
3
2
  import { Input } from './chunk-NBXUIEKY.js';
3
+ import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './HitArea-QUOS6ZDJ.css';
6
6
  import './Combobox-F5VEJIAO.css';
@@ -1,5 +1,5 @@
1
- import { Button } from './chunk-CYF22JOT.js';
2
1
  import { FormField, Label, Input } from './chunk-NBXUIEKY.js';
2
+ import { Button } from './chunk-CYF22JOT.js';
3
3
  import { IconButton } from './chunk-P5HNBRIS.js';
4
4
  import { announce } from './chunk-WGMKERCR.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,5 +1,5 @@
1
- import { StatusDot } from './chunk-QRE6JCHS.js';
2
1
  import { toISO, useNow, formatRelative } from './chunk-GBKBME7Q.js';
2
+ import { StatusDot } from './chunk-QRE6JCHS.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './EditingStatus-TMGT265J.css';
5
5
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -1,6 +1,6 @@
1
- import { Document } from './chunk-I4PBFJGX.js';
2
1
  import { PrincipalAvatar } from './chunk-265IX4YA.js';
3
2
  import { toInstant, RelativeTime, formatExact, toISO } from './chunk-GBKBME7Q.js';
3
+ import { Document } from './chunk-I4PBFJGX.js';
4
4
  import { Composer } from './chunk-N4JLT5X3.js';
5
5
  import { Button } from './chunk-CYF22JOT.js';
6
6
  import { IconButton } from './chunk-P5HNBRIS.js';
@@ -1,5 +1,5 @@
1
- import { SlideNav } from './chunk-MPWHYZTN.js';
2
1
  import { SlideStage, SLIDE_WIDTH, SLIDE_HEIGHT } from './chunk-7O53SWKI.js';
2
+ import { SlideNav } from './chunk-MPWHYZTN.js';
3
3
  import { Eyebrow } from './chunk-RK4XPHVG.js';
4
4
  import { Button } from './chunk-CYF22JOT.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,6 +1,6 @@
1
1
  import { useListbox, useOptionKeys, useHighlightRest } from './chunk-KW7T23RT.js';
2
- import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
3
2
  import { useFieldError } from './chunk-JLKO7PSK.js';
3
+ import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
4
4
  import { useLayerContainer, viewportBounds, visibleBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
5
5
  import { useFocusModality, returnFocus } from './chunk-4ITETIGZ.js';
6
6
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,8 +1,8 @@
1
1
  import { Modal } from './chunk-WTLHCUDU.js';
2
2
  import { Callout } from './chunk-RCQLXOGS.js';
3
3
  import { SegmentedControl } from './chunk-PNLCBC2N.js';
4
- import { Button } from './chunk-CYF22JOT.js';
5
4
  import { FormField, Input } from './chunk-NBXUIEKY.js';
5
+ import { Button } from './chunk-CYF22JOT.js';
6
6
  import { useState } from 'react';
7
7
  import { ClockGlyph } from '@crewlethq/icons/glyphs';
8
8
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
@@ -1,8 +1,8 @@
1
1
  import { useScrollerFocus, Modal } from './chunk-WTLHCUDU.js';
2
2
  import { useListbox, useHighlightRest } from './chunk-KW7T23RT.js';
3
+ import { Input } from './chunk-NBXUIEKY.js';
3
4
  import { Kbd } from './chunk-VBBLHS2Y.js';
4
5
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
5
- import { Input } from './chunk-NBXUIEKY.js';
6
6
  import { isComposing } from './chunk-EDPMHSLZ.js';
7
7
  import { Count } from './chunk-Y5CMDLQM.js';
8
8
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,8 +1,8 @@
1
1
  import { useReorder } from './chunk-JMBPMSNI.js';
2
- import { Kbd } from './chunk-VBBLHS2Y.js';
3
- import { Button } from './chunk-CYF22JOT.js';
4
2
  import { FormField, Textarea } from './chunk-NBXUIEKY.js';
5
3
  import { characterCountState, CharacterCount, countCharacters } from './chunk-TEXK4RK6.js';
4
+ import { Kbd } from './chunk-VBBLHS2Y.js';
5
+ import { Button } from './chunk-CYF22JOT.js';
6
6
  import { IconButton } from './chunk-P5HNBRIS.js';
7
7
  import { isComposing } from './chunk-EDPMHSLZ.js';
8
8
  import { announce } from './chunk-WGMKERCR.js';