@crewlethq/ui 0.193.0 → 0.195.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 (140) hide show
  1. package/README.md +11 -3
  2. package/dist/AgentHandoffPanel/index.js +10 -10
  3. package/dist/AgentIdentity/index.js +10 -10
  4. package/dist/AppShell/index.js +3 -3
  5. package/dist/ArrangeList/index.js +4 -4
  6. package/dist/ArtifactCard/index.js +5 -5
  7. package/dist/BriefCard/index.js +1 -1
  8. package/dist/CheckGrid/index.js +4 -4
  9. package/dist/Checkbox/index.js +3 -3
  10. package/dist/ColorField/index.js +3 -3
  11. package/dist/Combobox/index.js +3 -3
  12. package/dist/CommandPalette/index.js +8 -8
  13. package/dist/CommentThread/index.js +10 -10
  14. package/dist/Composer/index.js +9 -9
  15. package/dist/ConfirmField/index.js +3 -3
  16. package/dist/ConsequenceList/index.js +4 -4
  17. package/dist/DataGrid/index.js +6 -6
  18. package/dist/DataTable/index.js +8 -8
  19. package/dist/DataView/index.js +9 -9
  20. package/dist/DeepWorkCard/index.js +5 -3
  21. package/dist/Dictation/fake.d.ts +4 -0
  22. package/dist/Dictation/index.js +2 -2
  23. package/dist/Dictation/machine.d.ts +16 -2
  24. package/dist/Dictation/session.d.ts +2 -2
  25. package/dist/Dictation/slot.d.ts +5 -3
  26. package/dist/DocTabsEditor/index.js +6 -6
  27. package/dist/DockColumn/index.js +1 -1
  28. package/dist/DurationField/index.js +6 -6
  29. package/dist/{Editor-JKKN2X7Z.js → Editor-FORDIRIB.js} +4 -4
  30. package/dist/EmojiPicker/index.js +3 -3
  31. package/dist/EntityList/index.js +1 -1
  32. package/dist/FieldSpotlight/FieldSpotlight.d.ts +38 -0
  33. package/dist/FieldSpotlight/index.d.ts +3 -0
  34. package/dist/FieldSpotlight/index.js +4 -0
  35. package/dist/FieldSpotlight-HRZJERTW.css +86 -0
  36. package/dist/Input/index.js +2 -2
  37. package/dist/KeyValueRows/index.js +5 -5
  38. package/dist/LinkInterstitial/index.js +8 -8
  39. package/dist/ListInput/index.js +7 -7
  40. package/dist/MemberPicker/index.js +4 -4
  41. package/dist/MessageActions/index.js +4 -4
  42. package/dist/Modal/index.js +7 -7
  43. package/dist/MoneyField/index.js +3 -3
  44. package/dist/NumberField/index.js +5 -5
  45. package/dist/OpenInAppCard/index.js +2 -2
  46. package/dist/OrgTable/index.js +8 -8
  47. package/dist/PrincipalPicker/index.js +4 -4
  48. package/dist/ProposalCard/index.js +9 -9
  49. package/dist/RailList/index.js +4 -4
  50. package/dist/ReactionBar/index.js +4 -4
  51. package/dist/RefusalCard/index.js +1 -1
  52. package/dist/ResultTableCard/index.js +1 -1
  53. package/dist/RichEditor/index.js +1 -1
  54. package/dist/RunChip/index.js +6 -2
  55. package/dist/ScopeList/index.js +6 -6
  56. package/dist/SectionFrame/index.js +3 -3
  57. package/dist/SelectionBar/index.js +3 -3
  58. package/dist/SendKeys/index.js +3 -3
  59. package/dist/SettingForm/index.js +5 -5
  60. package/dist/SetupWizard/index.js +6 -2
  61. package/dist/ShareDialog/index.js +9 -9
  62. package/dist/SheetColumnEditor/index.js +6 -6
  63. package/dist/SheetGrid/index.js +2 -2
  64. package/dist/SidebarNav/index.js +2 -2
  65. package/dist/SlideFilmstrip/index.js +4 -4
  66. package/dist/StatusCard/index.js +1 -1
  67. package/dist/Stepper/Stepper.d.ts +30 -2
  68. package/dist/Stepper/StepperPlan.d.ts +28 -0
  69. package/dist/Stepper/index.d.ts +3 -1
  70. package/dist/Stepper/index.js +5 -1
  71. package/dist/{Stepper-BRWYNQAC.css → Stepper-OZ6HP72G.css} +101 -0
  72. package/dist/Switcher/index.js +9 -9
  73. package/dist/TableCells/index.js +1 -1
  74. package/dist/TimeRangePicker/index.js +8 -8
  75. package/dist/TimeWindowPicker/index.js +5 -5
  76. package/dist/TreeCanvas/index.js +2 -2
  77. package/dist/TreeGrid/index.js +7 -7
  78. package/dist/ValueField/index.js +6 -6
  79. package/dist/{chunk-SQQSMYAK.js → chunk-2SSTJDRV.js} +1 -1
  80. package/dist/{chunk-ACFQLY2Y.js → chunk-2ZNOHIT4.js} +2 -2
  81. package/dist/{chunk-5QOATK65.js → chunk-3ZPBG7CZ.js} +1 -1
  82. package/dist/{chunk-MENY4GKL.js → chunk-4NBADPFB.js} +1 -1
  83. package/dist/{chunk-5TRZSIUJ.js → chunk-5PCC5XTZ.js} +1 -1
  84. package/dist/{chunk-FA3NHWSM.js → chunk-6AU73W3Y.js} +1 -1
  85. package/dist/{chunk-WMOER32I.js → chunk-6EJS374X.js} +1 -1
  86. package/dist/{chunk-G6TM7JFC.js → chunk-6FHN76QP.js} +1 -1
  87. package/dist/{chunk-VOVZS7TB.js → chunk-7CLO6XZ6.js} +1 -1
  88. package/dist/{chunk-3XW3ZD7S.js → chunk-ANCFMQBV.js} +1 -1
  89. package/dist/{chunk-JWXF7ZWQ.js → chunk-B4TAERAM.js} +1 -1
  90. package/dist/{chunk-6GLTUEHI.js → chunk-CNKQ4TVM.js} +1 -1
  91. package/dist/{chunk-DVTFVZEG.js → chunk-CVNUXLMI.js} +1 -1
  92. package/dist/{chunk-GI7TT5VZ.js → chunk-D5PENLAM.js} +1 -1
  93. package/dist/{chunk-LZAXPGTP.js → chunk-DEQM77O7.js} +2 -2
  94. package/dist/{chunk-S5YAPC7Q.js → chunk-DN2P7HJL.js} +2 -2
  95. package/dist/{chunk-EBMU5KWN.js → chunk-EEDTDHAX.js} +2 -2
  96. package/dist/{chunk-G2KDXOW6.js → chunk-EJDWUXFJ.js} +2 -2
  97. package/dist/{chunk-HOR5M3EP.js → chunk-EZO5MYII.js} +1 -1
  98. package/dist/{chunk-ITRT36AQ.js → chunk-GI446L5L.js} +1 -1
  99. package/dist/{chunk-ZVCKMHT7.js → chunk-IFL6DM5K.js} +1 -1
  100. package/dist/{chunk-M3NUWL5L.js → chunk-IFRKD6YP.js} +1 -1
  101. package/dist/{chunk-YB5XT2BD.js → chunk-KFG43OLH.js} +1 -1
  102. package/dist/{chunk-5XBQS642.js → chunk-L63OLY2D.js} +2 -2
  103. package/dist/{chunk-SAER5A5P.js → chunk-LDCHU4SB.js} +3 -3
  104. package/dist/chunk-LM4TJV2S.js +61 -0
  105. package/dist/{chunk-6M3GVYTI.js → chunk-MKOWEHDH.js} +1 -1
  106. package/dist/{chunk-N6TWNLF3.js → chunk-MMMO7HHQ.js} +2 -2
  107. package/dist/{chunk-UHAGUNRC.js → chunk-MX5UU2H3.js} +2 -2
  108. package/dist/{chunk-5XW45VZX.js → chunk-MZAMX65M.js} +1 -1
  109. package/dist/{chunk-EJC6MRHK.js → chunk-N2AIHIYX.js} +2 -2
  110. package/dist/{chunk-ZGUUXVSY.js → chunk-NCAKCLQE.js} +2 -2
  111. package/dist/{chunk-CI4HUVNI.js → chunk-OOH3GW7F.js} +19 -10
  112. package/dist/{chunk-BDVXG75B.js → chunk-ORX3PYX3.js} +1 -1
  113. package/dist/{chunk-CB6MUWCA.js → chunk-Q3GLZ272.js} +21 -13
  114. package/dist/{chunk-KOXHGF55.js → chunk-QGQYMKCP.js} +2 -2
  115. package/dist/{chunk-2MN3RNRM.js → chunk-SK3RTU5M.js} +182 -4
  116. package/dist/{chunk-EQI3QDPR.js → chunk-T2DGBIFD.js} +1 -1
  117. package/dist/{chunk-J4JT2OSY.js → chunk-V5CRLYEY.js} +1 -1
  118. package/dist/{chunk-6XBDBCCB.js → chunk-VNCKUYYT.js} +1 -1
  119. package/dist/{chunk-ZYOS3VXQ.js → chunk-W47E4PT4.js} +6 -7
  120. package/dist/{chunk-TR6724R3.js → chunk-XHQ6BRGS.js} +1 -1
  121. package/dist/{chunk-IWYNBJBG.js → chunk-XKFZBWXA.js} +1 -1
  122. package/dist/{chunk-Z4WUD5N3.js → chunk-XLB7QIXK.js} +2 -2
  123. package/dist/{chunk-SVI2275S.js → chunk-YER6BEBM.js} +1 -1
  124. package/dist/{chunk-O5V4YD4A.js → chunk-YOGPQDXA.js} +1 -1
  125. package/dist/{chunk-MYYIWUJG.js → chunk-YW3IH3EU.js} +1 -1
  126. package/dist/{chunk-6SW4NH2E.js → chunk-YXRMGI4B.js} +1 -1
  127. package/dist/{chunk-G6QKTJRY.js → chunk-ZFPNNBG7.js} +2 -2
  128. package/dist/{chunk-ZS4KUY2F.js → chunk-ZH45BDTS.js} +1 -1
  129. package/dist/generated/index.d.ts +1 -0
  130. package/dist/generated/index.js +99 -98
  131. package/dist/index.js +99 -98
  132. package/dist/{session-XDRRVFVE.js → session-NK2VB5MB.js} +42 -13
  133. package/dist/styles.css +191 -1
  134. package/package.json +3 -3
  135. package/dist/{chunk-SXUKSA6U.js → chunk-2Q4U57SU.js} +1 -1
  136. package/dist/{chunk-IMYAUG56.js → chunk-AHJI2VH3.js} +1 -1
  137. package/dist/{chunk-Y3VQQUOL.js → chunk-NLYURJUF.js} +1 -1
  138. package/dist/{chunk-QGZPXZHE.js → chunk-SB2QSRS7.js} +1 -1
  139. package/dist/{chunk-JJEGPEV7.js → chunk-VCMO7KK3.js} +0 -0
  140. package/dist/{chunk-K657TVMA.js → chunk-X242LRUF.js} +1 -1
package/dist/styles.css CHANGED
@@ -23849,6 +23849,95 @@ svg.crewlet-datetime__chevron {
23849
23849
  }
23850
23850
 
23851
23851
 
23852
+ /* FieldSpotlight-HRZJERTW.css */
23853
+ /*
23854
+ * FieldSpotlight: a ring and a pinned label round a control an assistant is
23855
+ * working on. The ring is 2px at a 2px offset, the 4px a form field leaves
23856
+ * between its control and its help line, so it never covers the hint.
23857
+ */
23858
+ .crewlet-field-spotlight {
23859
+ position: relative;
23860
+ display: block;
23861
+ min-width: 0;
23862
+ border-radius: var(--radius-md);
23863
+ }
23864
+
23865
+ .crewlet-field-spotlight--inline {
23866
+ display: inline-flex;
23867
+ max-width: 100%;
23868
+ vertical-align: middle;
23869
+ }
23870
+
23871
+ .crewlet-field-spotlight--accent,
23872
+ .crewlet-field-spotlight--success {
23873
+ outline-style: solid;
23874
+ outline-width: 2px;
23875
+ outline-offset: 2px;
23876
+ }
23877
+
23878
+ .crewlet-field-spotlight--accent {
23879
+ outline-color: var(--color-brand-accent);
23880
+ }
23881
+
23882
+ .crewlet-field-spotlight--success {
23883
+ outline-color: var(--color-feedback-success-ink);
23884
+ }
23885
+
23886
+ /* Pinned over the end of the label row, just clear of the ring. */
23887
+ .crewlet-field-spotlight__label {
23888
+ position: absolute;
23889
+ inset-inline-end: 0;
23890
+ bottom: calc(100% + var(--spacing-1));
23891
+ z-index: var(--z-index-raised);
23892
+ box-sizing: border-box;
23893
+ max-width: 100%;
23894
+ padding: 0 var(--spacing-2);
23895
+ border-radius: var(--radius-pill);
23896
+ overflow: hidden;
23897
+ font-family: var(--font-family-sans);
23898
+ font-size: var(--font-size-xs);
23899
+ font-weight: var(--font-weight-medium);
23900
+ line-height: var(--font-line-height-normal);
23901
+ text-overflow: ellipsis;
23902
+ white-space: nowrap;
23903
+ pointer-events: none;
23904
+ }
23905
+
23906
+ .crewlet-field-spotlight--accent .crewlet-field-spotlight__label {
23907
+ background: var(--color-brand-accent);
23908
+ color: var(--color-text-on-accent);
23909
+ }
23910
+
23911
+ .crewlet-field-spotlight--success .crewlet-field-spotlight__label {
23912
+ background: var(--color-feedback-success-soft);
23913
+ color: var(--color-feedback-success-ink);
23914
+ }
23915
+
23916
+ .crewlet-field-spotlight--pulse {
23917
+ animation: crewlet-field-spotlight-pulse var(--motion-duration-breath) var(--motion-easing-in-out) infinite;
23918
+ }
23919
+
23920
+ @keyframes crewlet-field-spotlight-pulse {
23921
+ 50% {
23922
+ outline-color: var(--color-brand-accent-soft);
23923
+ }
23924
+ }
23925
+
23926
+ @media (prefers-reduced-motion: reduce) {
23927
+ .crewlet-field-spotlight--pulse {
23928
+ animation: none;
23929
+ }
23930
+ }
23931
+
23932
+ /* Forced colors drops the label's fill, so it keeps a hairline in the text colour. */
23933
+ @media (forced-colors: active) {
23934
+ .crewlet-field-spotlight__label {
23935
+ outline: 1px solid CanvasText;
23936
+ outline-offset: -1px;
23937
+ }
23938
+ }
23939
+
23940
+
23852
23941
  /* FileDrop-WE7BNZGV.css */
23853
23942
  /*
23854
23943
  * Where files are dropped. A target of its own is a dashed, quiet area with a
@@ -46452,7 +46541,7 @@ button.crewlet-status-legend__item[aria-pressed='true'] .crewlet-status-legend__
46452
46541
 
46453
46542
 
46454
46543
 
46455
- /* Stepper-BRWYNQAC.css */
46544
+ /* Stepper-OZ6HP72G.css */
46456
46545
  /*
46457
46546
  * The stepper: where a sequence has got to (Stepper.tsx).
46458
46547
  *
@@ -46870,6 +46959,107 @@ button.crewlet-status-legend__item[aria-pressed='true'] .crewlet-status-legend__
46870
46959
  }
46871
46960
  }
46872
46961
 
46962
+ /*
46963
+ * THE PLAN: the column as a task list. The state tag sits beside the title,
46964
+ * the mark takes the state's tint, and the body spans the text column.
46965
+ */
46966
+ .crewlet-stepper--plan .crewlet-stepper__text {
46967
+ flex: 1;
46968
+ }
46969
+
46970
+ .crewlet-stepper--plan .crewlet-stepper__title {
46971
+ display: flex;
46972
+ flex-wrap: wrap;
46973
+ align-items: center;
46974
+ column-gap: var(--spacing-2);
46975
+ min-width: 0;
46976
+ font-weight: var(--font-weight-medium);
46977
+ }
46978
+
46979
+ .crewlet-stepper__state {
46980
+ display: inline-flex;
46981
+ }
46982
+
46983
+ .crewlet-stepper--plan .crewlet-stepper__description {
46984
+ color: var(--color-text-secondary);
46985
+ }
46986
+
46987
+ .crewlet-stepper--plan .crewlet-stepper__step--waiting .crewlet-stepper__description,
46988
+ .crewlet-stepper--plan .crewlet-stepper__step--optional .crewlet-stepper__description,
46989
+ .crewlet-stepper--plan .crewlet-stepper__step--skipped .crewlet-stepper__description {
46990
+ color: var(--color-text-tertiary);
46991
+ }
46992
+
46993
+ .crewlet-stepper--plan .crewlet-stepper__step--next .crewlet-stepper__mark {
46994
+ border-color: transparent;
46995
+ background: var(--color-brand-accent-soft);
46996
+ color: var(--color-brand-accent-ink);
46997
+ }
46998
+
46999
+ .crewlet-stepper--plan .crewlet-stepper__step--in-progress .crewlet-stepper__mark,
47000
+ .crewlet-stepper--plan .crewlet-stepper__step--checking .crewlet-stepper__mark {
47001
+ border-color: transparent;
47002
+ background: var(--color-feedback-info-soft);
47003
+ color: var(--color-feedback-info-ink);
47004
+ }
47005
+
47006
+ .crewlet-stepper--plan .crewlet-stepper__step--failed .crewlet-stepper__mark {
47007
+ border-color: transparent;
47008
+ background: var(--color-feedback-danger-soft);
47009
+ color: var(--color-feedback-danger-ink);
47010
+ }
47011
+
47012
+ /* A dashed ring: a step the plan can finish without. */
47013
+ .crewlet-stepper--plan .crewlet-stepper__step--optional .crewlet-stepper__mark,
47014
+ .crewlet-stepper--plan .crewlet-stepper__step--skipped .crewlet-stepper__mark {
47015
+ border-style: dashed;
47016
+ }
47017
+
47018
+ /* The body is the step's own content, so it takes the primary ink at the regular weight. */
47019
+ .crewlet-stepper__body {
47020
+ display: flex;
47021
+ flex-direction: column;
47022
+ gap: var(--spacing-3);
47023
+ min-width: 0;
47024
+ margin-top: var(--spacing-2);
47025
+ color: var(--color-text-primary);
47026
+ font-weight: var(--font-weight-regular);
47027
+ }
47028
+
47029
+ .crewlet-stepper__body[hidden] {
47030
+ display: none;
47031
+ }
47032
+
47033
+ /* A folded done step's title opens its body again. */
47034
+ .crewlet-stepper__toggle {
47035
+ appearance: none;
47036
+ max-width: 100%;
47037
+ margin: 0;
47038
+ padding: 0;
47039
+ border: 0;
47040
+ border-radius: var(--radius-sm);
47041
+ background: transparent;
47042
+ color: inherit;
47043
+ font-family: inherit;
47044
+ font-size: inherit;
47045
+ text-align: start;
47046
+ cursor: pointer;
47047
+ }
47048
+
47049
+ .crewlet-stepper__toggle:hover {
47050
+ color: var(--color-text-primary);
47051
+ }
47052
+
47053
+ .crewlet-stepper__toggle:focus-visible {
47054
+ outline: 2px solid var(--color-focus);
47055
+ outline-offset: 2px;
47056
+ }
47057
+
47058
+ .crewlet-stepper__chevron {
47059
+ flex: none;
47060
+ color: var(--color-text-tertiary);
47061
+ }
47062
+
46873
47063
 
46874
47064
  /* SuggestionRow-WSU34POM.css */
46875
47065
  /*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.193.0",
3
+ "version": "0.195.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.193.0",
47
- "@crewlethq/tokens": "0.193.0",
46
+ "@crewlethq/icons": "0.195.0",
47
+ "@crewlethq/tokens": "0.195.0",
48
48
  "prosemirror-commands": "1.7.2",
49
49
  "prosemirror-gapcursor": "1.4.1",
50
50
  "prosemirror-history": "1.5.1",
@@ -1,6 +1,6 @@
1
1
  import { Toolbar } from './chunk-NPEI2QAN.js';
2
- import { Button } from './chunk-YVMIT2OW.js';
3
2
  import { announce } from './chunk-AZQBGKPR.js';
3
+ import { Button } from './chunk-YVMIT2OW.js';
4
4
  import { returnFocus } from './chunk-4ITETIGZ.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './SelectionBar-54W5IFF5.css';
@@ -1,8 +1,8 @@
1
1
  import { Divider } from './chunk-6KWNXIDE.js';
2
2
  import { LockedLabel } from './chunk-TODOBUXO.js';
3
3
  import { KeyChip } from './chunk-HBDA76EZ.js';
4
- import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
5
4
  import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
5
+ import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
6
6
  import { Button } from './chunk-YVMIT2OW.js';
7
7
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
8
8
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,6 +1,6 @@
1
1
  import { SECRET_INPUT_PROPS } from './chunk-NICEDVZM.js';
2
- import { copyTextStyles } from './chunk-AKLZJTOJ.js';
3
2
  import { useFieldError, FormFieldInvalidContext } from './chunk-JLKO7PSK.js';
3
+ import { copyTextStyles } from './chunk-AKLZJTOJ.js';
4
4
  import { characterCountState, CharacterCount } from './chunk-BGVJBX7E.js';
5
5
  import { announce } from './chunk-AZQBGKPR.js';
6
6
  import { IconButton } from './chunk-66H4BC5Z.js';
@@ -2,10 +2,10 @@ import { releaseFocus, usePresence } from './chunk-SNKQNAJI.js';
2
2
  import { useRailShape, RailShapeContext, RailLeavingContext } from './chunk-JLOESTT2.js';
3
3
  import { PeekContext, AsideContext } from './chunk-MBEZOURR.js';
4
4
  import { ResizeHandle, clampSize } from './chunk-FQ6J4DK7.js';
5
+ import { useMediaMatch } from './chunk-COS6LJ4K.js';
5
6
  import { isApplePlatform, ariaKeyshortcuts, Kbd } from './chunk-25LIX6UI.js';
6
7
  import { Menu } from './chunk-43N4EHFR.js';
7
8
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
8
- import { useMediaMatch } from './chunk-COS6LJ4K.js';
9
9
  import { IconButton } from './chunk-66H4BC5Z.js';
10
10
  import { Tooltip } from './chunk-ZF5ELYJ3.js';
11
11
  import { focusables, useEscapeWithin, useModalLayer } from './chunk-EDPMHSLZ.js';
File without changes
@@ -1,5 +1,5 @@
1
- import { keyGlyph, isApplePlatform, Kbd } from './chunk-25LIX6UI.js';
2
1
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
2
+ import { keyGlyph, isApplePlatform, Kbd } from './chunk-25LIX6UI.js';
3
3
  import { isComposing } from './chunk-EDPMHSLZ.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './SendKeys-QVR5TSNA.css';