@crewlethq/ui 0.180.0 → 0.182.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.
- package/README.md +54 -2
- package/dist/AgentHandoffPanel/index.js +4 -4
- package/dist/AgentIdentity/index.js +11 -5
- package/dist/ArrangeFrame/index.js +2 -2
- package/dist/ArrangeList/index.js +4 -4
- package/dist/ArtifactCard/index.js +4 -4
- package/dist/AssignmentList/AssignmentList.d.ts +78 -0
- package/dist/AssignmentList/index.d.ts +3 -0
- package/dist/AssignmentList/index.js +8 -0
- package/dist/AssignmentList-3NZQFSYD.css +297 -0
- package/dist/ChangeList/ChangeGroups.d.ts +28 -0
- package/dist/ChangeList/ChangeList.d.ts +18 -1
- package/dist/ChangeList/index.d.ts +2 -0
- package/dist/ChangeList/index.js +11 -1
- package/dist/{ChangeList-R4UZBGU5.css → ChangeList-2VAPZDT3.css} +99 -0
- package/dist/CheckGrid/index.js +4 -4
- package/dist/Checkbox/index.js +3 -3
- package/dist/ChipField/index.js +2 -2
- package/dist/ColorField/index.js +3 -3
- package/dist/Combobox/index.js +3 -3
- package/dist/CommandPalette/index.js +16 -4
- package/dist/CommentThread/index.js +4 -4
- package/dist/Composer/index.js +3 -3
- package/dist/ConfirmField/index.js +3 -3
- package/dist/ConfirmModal-V2OAWUGJ.css +14 -0
- package/dist/ConsequenceList/ConsequenceList.d.ts +65 -0
- package/dist/ConsequenceList/index.d.ts +3 -0
- package/dist/ConsequenceList/index.js +23 -0
- package/dist/ConsequenceList-EEXTCT6J.css +74 -0
- package/dist/ContrastHelp/index.js +1 -1
- package/dist/DataGrid/index.js +4 -4
- package/dist/DataTable/index.js +17 -5
- package/dist/DataView/index.js +18 -7
- package/dist/DocTabsEditor/index.js +3 -3
- package/dist/DurationField/index.js +4 -4
- package/dist/{Editor-N3HLIXHX.js → Editor-HW7A54RA.js} +3 -3
- package/dist/EmojiPicker/index.js +3 -3
- package/dist/GraphCanvas/index.js +2 -2
- package/dist/InboxList/index.js +2 -2
- package/dist/Input/index.js +2 -2
- package/dist/KeyValueRows/index.js +3 -3
- package/dist/LinkInterstitial/index.js +20 -3
- package/dist/ListInput/index.js +3 -3
- package/dist/MemberPicker/index.js +4 -4
- package/dist/MessageActions/index.js +4 -4
- package/dist/Modal/ConfirmModal.d.ts +35 -2
- package/dist/Modal/index.d.ts +1 -0
- package/dist/Modal/index.js +20 -1
- package/dist/MoneyField/index.js +3 -3
- package/dist/NumberField/index.js +3 -3
- package/dist/OrgTable/index.js +6 -6
- package/dist/PrincipalPicker/index.js +4 -4
- package/dist/ProposalCard/index.js +8 -8
- package/dist/RailList/index.js +1 -1
- package/dist/ReactionBar/index.js +4 -4
- package/dist/RichEditor/index.js +1 -1
- package/dist/ScopeList/index.js +4 -4
- package/dist/SelectionBar/index.js +2 -2
- package/dist/SettingForm/index.js +3 -3
- package/dist/ShareDialog/index.js +20 -3
- package/dist/SheetColumnEditor/index.js +4 -4
- package/dist/SheetGrid/index.js +1 -1
- package/dist/SlideFilmstrip/index.js +1 -1
- package/dist/Switcher/index.js +17 -5
- package/dist/TagsInput/index.js +2 -2
- package/dist/TimeRangePicker/index.js +15 -4
- package/dist/TimeWindowPicker/index.js +3 -3
- package/dist/TreeGrid/index.js +5 -5
- package/dist/ValueField/index.js +4 -4
- package/dist/{chunk-HHQFTPHY.js → chunk-2EBAGM5E.js} +1 -1
- package/dist/{chunk-U32DZ6Q4.js → chunk-2XKPQBAX.js} +1 -1
- package/dist/{chunk-SKDMFJZD.js → chunk-3ZMDQUFO.js} +1 -1
- package/dist/{chunk-BIOS7CQN.js → chunk-5WPNDMMI.js} +1 -1
- package/dist/{chunk-65ACQRWE.js → chunk-6PXXUHIH.js} +2 -2
- package/dist/{chunk-5KUJWSPT.js → chunk-CVKCSJ5F.js} +1 -1
- package/dist/{chunk-SN2FN2XW.js → chunk-D54HL3AN.js} +103 -14
- package/dist/{chunk-BFYADGPT.js → chunk-DJXY65LN.js} +2 -2
- package/dist/{chunk-NC4CT5D3.js → chunk-DKXMP3LN.js} +1 -1
- package/dist/{chunk-5MRK6I7V.js → chunk-FF2YPFIZ.js} +1 -1
- package/dist/{chunk-VDJJSZ6N.js → chunk-G5W5ZLIL.js} +1 -1
- package/dist/{chunk-7PLFR7AF.js → chunk-G7YITKUF.js} +2 -2
- package/dist/{chunk-PZ6CR4F2.js → chunk-GJVLQXDA.js} +2 -2
- package/dist/{chunk-QXKPMRUG.js → chunk-GQAHG6NB.js} +2 -2
- package/dist/{chunk-TTN5QKIV.js → chunk-H36ZMY4G.js} +1 -1
- package/dist/{chunk-W6NSF6E2.js → chunk-H7L4ZEVN.js} +1 -1
- package/dist/{chunk-FC225TSK.js → chunk-HLIWHEXR.js} +33 -2
- package/dist/{chunk-KYW3GH2W.js → chunk-IUCQ5WOX.js} +1 -1
- package/dist/{chunk-NJCF4FUM.js → chunk-IZDILOZ5.js} +2 -2
- package/dist/{chunk-ZMY5F3SF.js → chunk-JLZ37UFI.js} +2 -2
- package/dist/{chunk-MQJQVEFQ.js → chunk-JZN5VTHT.js} +1 -1
- package/dist/{chunk-MVSR3KE6.js → chunk-KHELXOOP.js} +1 -1
- package/dist/{chunk-PL4YO2KU.js → chunk-KIPQWDPP.js} +2 -2
- package/dist/{chunk-L3QL5QLE.js → chunk-LBLHL5KZ.js} +1 -1
- package/dist/chunk-LNS3I6MG.js +68 -0
- package/dist/{chunk-CIFX64WT.js → chunk-NRE7D5JZ.js} +2 -2
- package/dist/{chunk-2SX6FP6K.js → chunk-NYIVZNML.js} +3 -3
- package/dist/{chunk-7YI6OCXI.js → chunk-P3UGTTUA.js} +1 -1
- package/dist/{chunk-YXOCR6QP.js → chunk-QFO375KV.js} +1 -1
- package/dist/{chunk-JMNVSA65.js → chunk-R4A2Y7HG.js} +2 -2
- package/dist/{chunk-RTVKQOK3.js → chunk-RMBPTHLK.js} +1 -1
- package/dist/{chunk-SYAK2KOB.js → chunk-RRMZ5ITI.js} +1 -1
- package/dist/{chunk-3LS2XHI5.js → chunk-SEBNQVEU.js} +1 -1
- package/dist/{chunk-QOEOXKV2.js → chunk-SFKAZSZE.js} +1 -1
- package/dist/{chunk-KLNQEBYF.js → chunk-TEAHPDQM.js} +1 -1
- package/dist/{chunk-5TNJEP2C.js → chunk-TEHDRA7W.js} +2 -2
- package/dist/{chunk-WP2MLABG.js → chunk-TICGBUBC.js} +1 -1
- package/dist/{chunk-PCS2ZEIM.js → chunk-UI37YHEJ.js} +4 -4
- package/dist/{chunk-7YAEM37E.js → chunk-UJSD6N7V.js} +1 -1
- package/dist/{chunk-DPEMGLRK.js → chunk-WG7GNCUQ.js} +1 -1
- package/dist/{chunk-SYL6JDZH.js → chunk-X6FJSY3C.js} +1 -1
- package/dist/chunk-XDTWKLEX.js +103 -0
- package/dist/{chunk-2OYZFXUY.js → chunk-ZZCUQWA2.js} +2 -2
- package/dist/generated/index.d.ts +2 -0
- package/dist/generated/index.js +108 -106
- package/dist/index.js +108 -106
- package/dist/styles.css +494 -1
- package/package.json +3 -3
- package/dist/{chunk-FA6ROZOF.js → chunk-3OZCJUFS.js} +1 -1
- package/dist/{chunk-L3RGZSNE.js → chunk-GF7VSU5G.js} +1 -1
- package/dist/{chunk-5643FBGN.js → chunk-KF7ZOWJW.js} +1 -1
- package/dist/{chunk-LVCYS5JG.js → chunk-KH4HKMXF.js} +1 -1
- package/dist/{chunk-ITFAH735.js → chunk-L4BKQVXX.js} +1 -1
- package/dist/{chunk-OD7LFCYV.js → chunk-UTPLRVXN.js} +1 -1
- package/dist/{chunk-4BTFE223.js → chunk-XIZI47NY.js} +1 -1
- /package/dist/{chunk-IMD3SCK7.js → chunk-YDDWUJ4O.js} +0 -0
package/dist/styles.css
CHANGED
|
@@ -4917,6 +4917,306 @@ a.crewlet-make-row__item:active {
|
|
|
4917
4917
|
}
|
|
4918
4918
|
|
|
4919
4919
|
|
|
4920
|
+
/* AssignmentList-3NZQFSYD.css */
|
|
4921
|
+
/*
|
|
4922
|
+
* Who is assigned what: a group's eyebrow, then rows of a name and, right
|
|
4923
|
+
* after it, the value's picker and the row's actions. Every row shares one
|
|
4924
|
+
* grid, so names, values and actions line up down the card.
|
|
4925
|
+
*/
|
|
4926
|
+
.crewlet-assignment-list {
|
|
4927
|
+
/* The column a row's mark takes, so a pending row's "Was" line starts on the name's edge. */
|
|
4928
|
+
--crewlet-assignment-list-icon: 20px;
|
|
4929
|
+
|
|
4930
|
+
container-type: inline-size;
|
|
4931
|
+
min-width: 0;
|
|
4932
|
+
}
|
|
4933
|
+
|
|
4934
|
+
/*
|
|
4935
|
+
* ONE GRID FOR EVERY GROUP: groups, lists and rows are its subgrids, so values start at one edge down the card,
|
|
4936
|
+
* right after a name column as wide as the longest name, up to two fifths of the row.
|
|
4937
|
+
*/
|
|
4938
|
+
.crewlet-assignment-list__grid {
|
|
4939
|
+
display: grid;
|
|
4940
|
+
grid-template-columns: fit-content(40%) minmax(0, 1fr) var(--size-control-md);
|
|
4941
|
+
column-gap: var(--spacing-4);
|
|
4942
|
+
min-width: 0;
|
|
4943
|
+
}
|
|
4944
|
+
|
|
4945
|
+
.crewlet-assignment-list__group,
|
|
4946
|
+
.crewlet-assignment-list__rows,
|
|
4947
|
+
.crewlet-assignment-list__row {
|
|
4948
|
+
display: grid;
|
|
4949
|
+
grid-column: 1 / -1;
|
|
4950
|
+
grid-template-columns: subgrid;
|
|
4951
|
+
min-width: 0;
|
|
4952
|
+
}
|
|
4953
|
+
|
|
4954
|
+
.crewlet-assignment-list__group {
|
|
4955
|
+
row-gap: var(--spacing-1);
|
|
4956
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
4957
|
+
}
|
|
4958
|
+
|
|
4959
|
+
.crewlet-assignment-list__group + .crewlet-assignment-list__group {
|
|
4960
|
+
border-top: 1px solid var(--color-border-default);
|
|
4961
|
+
}
|
|
4962
|
+
|
|
4963
|
+
.crewlet-assignment-list__label {
|
|
4964
|
+
grid-column: 1 / -1;
|
|
4965
|
+
}
|
|
4966
|
+
|
|
4967
|
+
.crewlet-assignment-list__rows {
|
|
4968
|
+
margin: 0;
|
|
4969
|
+
padding: 0;
|
|
4970
|
+
list-style: none;
|
|
4971
|
+
}
|
|
4972
|
+
|
|
4973
|
+
.crewlet-assignment-list__row {
|
|
4974
|
+
align-items: center;
|
|
4975
|
+
row-gap: var(--spacing-2);
|
|
4976
|
+
min-height: var(--size-row-lg);
|
|
4977
|
+
padding-block: var(--spacing-1);
|
|
4978
|
+
}
|
|
4979
|
+
|
|
4980
|
+
.crewlet-assignment-list__row + .crewlet-assignment-list__row {
|
|
4981
|
+
border-top: 1px solid var(--color-border-default);
|
|
4982
|
+
}
|
|
4983
|
+
|
|
4984
|
+
.crewlet-assignment-list__who {
|
|
4985
|
+
display: flex;
|
|
4986
|
+
flex-direction: column;
|
|
4987
|
+
gap: 2px;
|
|
4988
|
+
min-width: 0;
|
|
4989
|
+
}
|
|
4990
|
+
|
|
4991
|
+
.crewlet-assignment-list__name {
|
|
4992
|
+
display: flex;
|
|
4993
|
+
align-items: center;
|
|
4994
|
+
gap: var(--spacing-2);
|
|
4995
|
+
min-width: 0;
|
|
4996
|
+
font-size: var(--font-size-sm);
|
|
4997
|
+
font-weight: var(--font-weight-medium);
|
|
4998
|
+
color: var(--color-text-primary);
|
|
4999
|
+
}
|
|
5000
|
+
|
|
5001
|
+
.crewlet-assignment-list__icon {
|
|
5002
|
+
display: inline-flex;
|
|
5003
|
+
flex: none;
|
|
5004
|
+
align-items: center;
|
|
5005
|
+
justify-content: center;
|
|
5006
|
+
width: var(--crewlet-assignment-list-icon);
|
|
5007
|
+
}
|
|
5008
|
+
|
|
5009
|
+
.crewlet-assignment-list__words,
|
|
5010
|
+
.crewlet-assignment-list__was-value {
|
|
5011
|
+
min-width: 0;
|
|
5012
|
+
overflow: hidden;
|
|
5013
|
+
text-overflow: ellipsis;
|
|
5014
|
+
white-space: nowrap;
|
|
5015
|
+
}
|
|
5016
|
+
|
|
5017
|
+
/* What a pending row had, under the name on the name's text edge. */
|
|
5018
|
+
.crewlet-assignment-list__was {
|
|
5019
|
+
display: flex;
|
|
5020
|
+
align-items: center;
|
|
5021
|
+
gap: var(--spacing-1);
|
|
5022
|
+
min-width: 0;
|
|
5023
|
+
font-size: var(--font-size-xs);
|
|
5024
|
+
color: var(--color-text-tertiary);
|
|
5025
|
+
}
|
|
5026
|
+
|
|
5027
|
+
.crewlet-assignment-list__icon + .crewlet-assignment-list__words {
|
|
5028
|
+
min-width: 0;
|
|
5029
|
+
}
|
|
5030
|
+
|
|
5031
|
+
.crewlet-assignment-list__row:has(.crewlet-assignment-list__icon) .crewlet-assignment-list__was {
|
|
5032
|
+
padding-inline-start: calc(var(--crewlet-assignment-list-icon) + var(--spacing-2));
|
|
5033
|
+
}
|
|
5034
|
+
|
|
5035
|
+
.crewlet-assignment-list__old {
|
|
5036
|
+
text-decoration: line-through;
|
|
5037
|
+
text-decoration-thickness: 1px;
|
|
5038
|
+
}
|
|
5039
|
+
|
|
5040
|
+
.crewlet-assignment-list__value {
|
|
5041
|
+
display: flex;
|
|
5042
|
+
min-width: 0;
|
|
5043
|
+
}
|
|
5044
|
+
|
|
5045
|
+
/* The picker, or the menu anchor around it, takes the column and never widens it. */
|
|
5046
|
+
.crewlet-assignment-list__value > * {
|
|
5047
|
+
flex: 1 1 auto;
|
|
5048
|
+
min-width: 0;
|
|
5049
|
+
max-width: 100%;
|
|
5050
|
+
}
|
|
5051
|
+
|
|
5052
|
+
.crewlet-assignment-list__actions {
|
|
5053
|
+
display: flex;
|
|
5054
|
+
justify-content: flex-end;
|
|
5055
|
+
}
|
|
5056
|
+
|
|
5057
|
+
.crewlet-assignment-list__footer {
|
|
5058
|
+
display: flex;
|
|
5059
|
+
flex-wrap: wrap;
|
|
5060
|
+
align-items: center;
|
|
5061
|
+
justify-content: flex-end;
|
|
5062
|
+
gap: var(--spacing-2);
|
|
5063
|
+
padding: var(--spacing-2) var(--spacing-4);
|
|
5064
|
+
border-top: 1px solid var(--color-border-default);
|
|
5065
|
+
background: var(--color-surface-inset);
|
|
5066
|
+
}
|
|
5067
|
+
|
|
5068
|
+
.crewlet-assignment-list__footer > :first-child {
|
|
5069
|
+
min-width: 0;
|
|
5070
|
+
margin-inline-end: auto;
|
|
5071
|
+
}
|
|
5072
|
+
|
|
5073
|
+
/* A link name keeps the name's ink, and underlines where the pointer is. */
|
|
5074
|
+
.crewlet-assignment-list__link {
|
|
5075
|
+
color: inherit;
|
|
5076
|
+
text-decoration: none;
|
|
5077
|
+
}
|
|
5078
|
+
|
|
5079
|
+
.crewlet-assignment-list__link:hover {
|
|
5080
|
+
text-decoration: underline;
|
|
5081
|
+
}
|
|
5082
|
+
|
|
5083
|
+
.crewlet-assignment-list__link:focus-visible {
|
|
5084
|
+
outline: 2px solid var(--color-focus);
|
|
5085
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
5086
|
+
}
|
|
5087
|
+
|
|
5088
|
+
/* A split row's parts: each a row of the subgrid, its label on the name's text edge. */
|
|
5089
|
+
.crewlet-assignment-list__line {
|
|
5090
|
+
display: grid;
|
|
5091
|
+
grid-column: 1 / 3;
|
|
5092
|
+
grid-template-columns: subgrid;
|
|
5093
|
+
align-items: center;
|
|
5094
|
+
}
|
|
5095
|
+
|
|
5096
|
+
.crewlet-assignment-list__line-label {
|
|
5097
|
+
min-width: 0;
|
|
5098
|
+
padding-inline-start: calc(var(--crewlet-assignment-list-icon) + var(--spacing-2));
|
|
5099
|
+
overflow: hidden;
|
|
5100
|
+
text-overflow: ellipsis;
|
|
5101
|
+
white-space: nowrap;
|
|
5102
|
+
font-size: var(--font-size-xs);
|
|
5103
|
+
color: var(--color-text-secondary);
|
|
5104
|
+
}
|
|
5105
|
+
|
|
5106
|
+
/* NARROW: the value drops under the name, the actions stay on the name's line. */
|
|
5107
|
+
@container (max-width: 30rem) {
|
|
5108
|
+
.crewlet-assignment-list__grid {
|
|
5109
|
+
grid-template-columns: minmax(0, 1fr) var(--size-control-md);
|
|
5110
|
+
}
|
|
5111
|
+
|
|
5112
|
+
.crewlet-assignment-list__row {
|
|
5113
|
+
padding-block: var(--spacing-2);
|
|
5114
|
+
}
|
|
5115
|
+
|
|
5116
|
+
.crewlet-assignment-list__who {
|
|
5117
|
+
grid-column: 1;
|
|
5118
|
+
grid-row: 1;
|
|
5119
|
+
}
|
|
5120
|
+
|
|
5121
|
+
.crewlet-assignment-list__actions {
|
|
5122
|
+
grid-column: 2;
|
|
5123
|
+
grid-row: 1;
|
|
5124
|
+
}
|
|
5125
|
+
|
|
5126
|
+
.crewlet-assignment-list__row > .crewlet-assignment-list__value {
|
|
5127
|
+
grid-column: 1 / -1;
|
|
5128
|
+
grid-row: 2;
|
|
5129
|
+
}
|
|
5130
|
+
|
|
5131
|
+
/* A part's label sits over its picker, both across the row. */
|
|
5132
|
+
.crewlet-assignment-list__line {
|
|
5133
|
+
grid-column: 1 / -1;
|
|
5134
|
+
grid-template-columns: minmax(0, 1fr);
|
|
5135
|
+
row-gap: var(--spacing-1);
|
|
5136
|
+
}
|
|
5137
|
+
}
|
|
5138
|
+
|
|
5139
|
+
/* The picker: the value as a quiet button, its parts cut by an ellipsis. */
|
|
5140
|
+
.crewlet-assignment-picker {
|
|
5141
|
+
display: flex;
|
|
5142
|
+
align-items: center;
|
|
5143
|
+
justify-content: space-between;
|
|
5144
|
+
gap: var(--spacing-2);
|
|
5145
|
+
width: 100%;
|
|
5146
|
+
min-width: 0;
|
|
5147
|
+
height: var(--size-control-md);
|
|
5148
|
+
padding: 0 var(--spacing-2);
|
|
5149
|
+
border: 1px solid transparent;
|
|
5150
|
+
border-radius: var(--radius-md);
|
|
5151
|
+
background: transparent;
|
|
5152
|
+
color: inherit;
|
|
5153
|
+
font: inherit;
|
|
5154
|
+
font-size: var(--font-size-sm);
|
|
5155
|
+
text-align: start;
|
|
5156
|
+
cursor: pointer;
|
|
5157
|
+
}
|
|
5158
|
+
|
|
5159
|
+
.crewlet-assignment-picker:hover {
|
|
5160
|
+
border-color: var(--color-border-default);
|
|
5161
|
+
background: var(--color-surface-hover);
|
|
5162
|
+
}
|
|
5163
|
+
|
|
5164
|
+
.crewlet-assignment-picker:focus-visible {
|
|
5165
|
+
outline: 2px solid var(--color-focus);
|
|
5166
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
5167
|
+
}
|
|
5168
|
+
|
|
5169
|
+
.crewlet-assignment-picker:disabled {
|
|
5170
|
+
cursor: not-allowed;
|
|
5171
|
+
opacity: 0.6;
|
|
5172
|
+
}
|
|
5173
|
+
|
|
5174
|
+
.crewlet-assignment-picker.is-pending,
|
|
5175
|
+
.crewlet-assignment-list__row.is-pending .crewlet-assignment-picker {
|
|
5176
|
+
border-color: var(--color-feedback-warning-line);
|
|
5177
|
+
background: var(--color-feedback-warning-soft);
|
|
5178
|
+
}
|
|
5179
|
+
|
|
5180
|
+
.crewlet-assignment-picker__value {
|
|
5181
|
+
display: inline-flex;
|
|
5182
|
+
align-items: center;
|
|
5183
|
+
gap: var(--spacing-2);
|
|
5184
|
+
min-width: 0;
|
|
5185
|
+
}
|
|
5186
|
+
|
|
5187
|
+
.crewlet-assignment-picker__icon {
|
|
5188
|
+
display: inline-flex;
|
|
5189
|
+
flex: none;
|
|
5190
|
+
}
|
|
5191
|
+
|
|
5192
|
+
.crewlet-assignment-picker__primary,
|
|
5193
|
+
.crewlet-assignment-picker__secondary {
|
|
5194
|
+
min-width: 0;
|
|
5195
|
+
overflow: hidden;
|
|
5196
|
+
text-overflow: ellipsis;
|
|
5197
|
+
white-space: nowrap;
|
|
5198
|
+
}
|
|
5199
|
+
|
|
5200
|
+
.crewlet-assignment-picker__primary {
|
|
5201
|
+
/* Kept whole while it fits: a shrink by a fraction of a pixel still draws an ellipsis. */
|
|
5202
|
+
flex: 0 0 auto;
|
|
5203
|
+
max-width: 100%;
|
|
5204
|
+
font-weight: var(--font-weight-medium);
|
|
5205
|
+
color: var(--color-text-primary);
|
|
5206
|
+
}
|
|
5207
|
+
|
|
5208
|
+
/* What the value is gives way before its name does. */
|
|
5209
|
+
.crewlet-assignment-picker__secondary {
|
|
5210
|
+
flex: 0 1 auto;
|
|
5211
|
+
color: var(--color-text-tertiary);
|
|
5212
|
+
}
|
|
5213
|
+
|
|
5214
|
+
.crewlet-assignment-picker__chevron {
|
|
5215
|
+
flex: none;
|
|
5216
|
+
color: var(--color-text-tertiary);
|
|
5217
|
+
}
|
|
5218
|
+
|
|
5219
|
+
|
|
4920
5220
|
/* AttachmentChip-RZ6ZCB43.css */
|
|
4921
5221
|
/*
|
|
4922
5222
|
* A file attached to a message: a Tag whose leading mark is the file's
|
|
@@ -9441,7 +9741,7 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
|
|
|
9441
9741
|
}
|
|
9442
9742
|
|
|
9443
9743
|
|
|
9444
|
-
/* ChangeList-
|
|
9744
|
+
/* ChangeList-2VAPZDT3.css */
|
|
9445
9745
|
/*
|
|
9446
9746
|
* What a change will do, as a before and after on PropertyList's grid: one
|
|
9447
9747
|
* label column (as wide as the longest label, never under 92px) and one value
|
|
@@ -9717,6 +10017,105 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
|
|
|
9717
10017
|
margin-top: 0;
|
|
9718
10018
|
}
|
|
9719
10019
|
|
|
10020
|
+
/* THE SUBJECT, said once over its rows: a seat over its jobs, a record over its fields. */
|
|
10021
|
+
.crewlet-change-list__subject {
|
|
10022
|
+
min-width: 0;
|
|
10023
|
+
font-size: var(--font-size-sm);
|
|
10024
|
+
font-weight: var(--font-weight-semibold);
|
|
10025
|
+
color: var(--color-text-primary);
|
|
10026
|
+
}
|
|
10027
|
+
|
|
10028
|
+
/*
|
|
10029
|
+
* TRUNCATE: every value one line, cut by an ellipsis with its words on hover.
|
|
10030
|
+
* The label column is bounded, so a long label wraps between its words and
|
|
10031
|
+
* every list in a dialog shares one value edge.
|
|
10032
|
+
*/
|
|
10033
|
+
/* A list that cuts its values takes the width it is given and never widens its container. */
|
|
10034
|
+
.crewlet-change-list--truncate {
|
|
10035
|
+
contain: inline-size;
|
|
10036
|
+
}
|
|
10037
|
+
|
|
10038
|
+
.crewlet-change-list--truncate .crewlet-change-list__rows {
|
|
10039
|
+
--crewlet-description-list-term: minmax(6rem, min(11rem, 35%));
|
|
10040
|
+
}
|
|
10041
|
+
|
|
10042
|
+
.crewlet-change-list--truncate .crewlet-change-list__subject,
|
|
10043
|
+
.crewlet-change-list--truncate .crewlet-change-list__value > :is(.crewlet-change-list__fact, .crewlet-change-list__removed),
|
|
10044
|
+
.crewlet-change-list--truncate .crewlet-change-list__pair > :is(.crewlet-change-list__from, .crewlet-change-list__to),
|
|
10045
|
+
.crewlet-change-list--truncate .crewlet-change-list__next > .crewlet-change-list__to {
|
|
10046
|
+
display: inline-block;
|
|
10047
|
+
max-width: 100%;
|
|
10048
|
+
min-width: 0;
|
|
10049
|
+
overflow: hidden;
|
|
10050
|
+
text-overflow: ellipsis;
|
|
10051
|
+
white-space: nowrap;
|
|
10052
|
+
vertical-align: bottom;
|
|
10053
|
+
}
|
|
10054
|
+
|
|
10055
|
+
.crewlet-change-list--truncate .crewlet-change-list__subject {
|
|
10056
|
+
display: block;
|
|
10057
|
+
}
|
|
10058
|
+
|
|
10059
|
+
.crewlet-change-list--truncate .crewlet-change-list__pair {
|
|
10060
|
+
min-width: 0;
|
|
10061
|
+
row-gap: 2px;
|
|
10062
|
+
}
|
|
10063
|
+
|
|
10064
|
+
/* The old value gives way first, so the new one keeps more of its words. */
|
|
10065
|
+
.crewlet-change-list--truncate .crewlet-change-list__pair > .crewlet-change-list__from {
|
|
10066
|
+
flex: 0 2 auto;
|
|
10067
|
+
}
|
|
10068
|
+
|
|
10069
|
+
.crewlet-change-list--truncate .crewlet-change-list__next {
|
|
10070
|
+
flex: 0 1 auto;
|
|
10071
|
+
max-width: 100%;
|
|
10072
|
+
}
|
|
10073
|
+
|
|
10074
|
+
.crewlet-change-list--truncate .crewlet-change-list__value {
|
|
10075
|
+
overflow-wrap: normal;
|
|
10076
|
+
}
|
|
10077
|
+
|
|
10078
|
+
.crewlet-change-list--truncate .crewlet-change-list__label {
|
|
10079
|
+
overflow-wrap: break-word;
|
|
10080
|
+
}
|
|
10081
|
+
|
|
10082
|
+
/* The fold control starts on the rows' text edge rather than stretching. */
|
|
10083
|
+
.crewlet-change-list__more {
|
|
10084
|
+
align-self: flex-start;
|
|
10085
|
+
}
|
|
10086
|
+
|
|
10087
|
+
/* Several subjects' changes, a subject a block, a section's step apart. */
|
|
10088
|
+
.crewlet-change-groups {
|
|
10089
|
+
display: flex;
|
|
10090
|
+
flex-direction: column;
|
|
10091
|
+
gap: var(--spacing-2);
|
|
10092
|
+
min-width: 0;
|
|
10093
|
+
}
|
|
10094
|
+
|
|
10095
|
+
.crewlet-change-groups__list {
|
|
10096
|
+
display: flex;
|
|
10097
|
+
flex-direction: column;
|
|
10098
|
+
gap: var(--spacing-4);
|
|
10099
|
+
min-width: 0;
|
|
10100
|
+
}
|
|
10101
|
+
|
|
10102
|
+
.crewlet-change-groups__more {
|
|
10103
|
+
display: flex;
|
|
10104
|
+
align-items: center;
|
|
10105
|
+
gap: var(--spacing-2);
|
|
10106
|
+
min-width: 0;
|
|
10107
|
+
}
|
|
10108
|
+
|
|
10109
|
+
/* The folded subjects, named in passing: one line, cut with an ellipsis. */
|
|
10110
|
+
.crewlet-change-groups__hidden {
|
|
10111
|
+
min-width: 0;
|
|
10112
|
+
overflow: hidden;
|
|
10113
|
+
text-overflow: ellipsis;
|
|
10114
|
+
white-space: nowrap;
|
|
10115
|
+
font-size: var(--font-size-xs);
|
|
10116
|
+
color: var(--color-text-tertiary);
|
|
10117
|
+
}
|
|
10118
|
+
|
|
9720
10119
|
|
|
9721
10120
|
/* ChangeMark-KFDGBF6G.css */
|
|
9722
10121
|
/*
|
|
@@ -15473,6 +15872,23 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
15473
15872
|
}
|
|
15474
15873
|
|
|
15475
15874
|
|
|
15875
|
+
/* ConfirmModal-V2OAWUGJ.css */
|
|
15876
|
+
/*
|
|
15877
|
+
* A confirmation's parts, in the stacked body: the summary, a destination,
|
|
15878
|
+
* the changes and then the consequences, set apart from what is above them by
|
|
15879
|
+
* a rule, so what will happen reads as one group under what is asked.
|
|
15880
|
+
*/
|
|
15881
|
+
.crewlet-modal__body--stacked:has(> .crewlet-confirm-modal__changes, > .crewlet-confirm-modal__consequences) {
|
|
15882
|
+
gap: var(--spacing-4);
|
|
15883
|
+
}
|
|
15884
|
+
|
|
15885
|
+
/* A prompt's own title is not something to rule off from. */
|
|
15886
|
+
.crewlet-modal__body--stacked > :not(.crewlet-modal__prompt-title) + .crewlet-confirm-modal__consequences {
|
|
15887
|
+
padding-top: var(--spacing-4);
|
|
15888
|
+
border-top: 1px solid var(--color-border-default);
|
|
15889
|
+
}
|
|
15890
|
+
|
|
15891
|
+
|
|
15476
15892
|
/* ConflictNote-OP64JJ6T.css */
|
|
15477
15893
|
/* ConflictNote: a refused write's sentence in the danger ink, with its glyph
|
|
15478
15894
|
so the colour is never the only carrier, and its controls beside it. */
|
|
@@ -15532,6 +15948,83 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
15532
15948
|
}
|
|
15533
15949
|
|
|
15534
15950
|
|
|
15951
|
+
/* ConsequenceList-EEXTCT6J.css */
|
|
15952
|
+
/*
|
|
15953
|
+
* What confirming will do: an eyebrow, then choices and facts on one text
|
|
15954
|
+
* edge. A fact's glyph sits where a choice's box sits, so every line's words
|
|
15955
|
+
* start where the checkbox labels do.
|
|
15956
|
+
*/
|
|
15957
|
+
.crewlet-consequence-list {
|
|
15958
|
+
/* It takes the width it is given, so a long name never widens the dialog. */
|
|
15959
|
+
contain: inline-size;
|
|
15960
|
+
display: flex;
|
|
15961
|
+
flex-direction: column;
|
|
15962
|
+
gap: var(--spacing-1);
|
|
15963
|
+
min-width: 0;
|
|
15964
|
+
}
|
|
15965
|
+
|
|
15966
|
+
.crewlet-consequence-list__heading {
|
|
15967
|
+
margin-bottom: var(--spacing-1);
|
|
15968
|
+
}
|
|
15969
|
+
|
|
15970
|
+
.crewlet-consequence-list__choice {
|
|
15971
|
+
min-width: 0;
|
|
15972
|
+
}
|
|
15973
|
+
|
|
15974
|
+
/* A long label or chip wraps between words, never inside one. */
|
|
15975
|
+
.crewlet-consequence-list__choice .crewlet-checkbox__label,
|
|
15976
|
+
.crewlet-consequence-list__text {
|
|
15977
|
+
min-width: 0;
|
|
15978
|
+
overflow-wrap: break-word;
|
|
15979
|
+
}
|
|
15980
|
+
|
|
15981
|
+
.crewlet-consequence-list__fact {
|
|
15982
|
+
display: flex;
|
|
15983
|
+
align-items: flex-start;
|
|
15984
|
+
gap: var(--spacing-2);
|
|
15985
|
+
min-width: 0;
|
|
15986
|
+
margin: 0;
|
|
15987
|
+
padding-block: var(--spacing-1);
|
|
15988
|
+
font-size: var(--font-size-xs);
|
|
15989
|
+
line-height: var(--font-line-height-normal);
|
|
15990
|
+
color: var(--color-text-secondary);
|
|
15991
|
+
}
|
|
15992
|
+
|
|
15993
|
+
/* The glyph column is the checkbox's width, and the glyph sits on the first line. */
|
|
15994
|
+
.crewlet-consequence-list__mark {
|
|
15995
|
+
display: inline-flex;
|
|
15996
|
+
flex: none;
|
|
15997
|
+
align-items: center;
|
|
15998
|
+
justify-content: center;
|
|
15999
|
+
width: var(--crewlet-checkbox-size, 16px);
|
|
16000
|
+
height: calc(var(--font-line-height-normal) * 1em);
|
|
16001
|
+
color: var(--color-text-tertiary);
|
|
16002
|
+
}
|
|
16003
|
+
|
|
16004
|
+
.crewlet-consequence-list__fact--warning .crewlet-consequence-list__mark {
|
|
16005
|
+
color: var(--color-feedback-warning-ink);
|
|
16006
|
+
}
|
|
16007
|
+
|
|
16008
|
+
.crewlet-consequence-list__fact--danger {
|
|
16009
|
+
color: var(--color-feedback-danger-ink);
|
|
16010
|
+
}
|
|
16011
|
+
|
|
16012
|
+
.crewlet-consequence-list__fact--danger .crewlet-consequence-list__mark {
|
|
16013
|
+
color: inherit;
|
|
16014
|
+
}
|
|
16015
|
+
|
|
16016
|
+
/* A named resource is one chip: it ends in an ellipsis rather than breaking. */
|
|
16017
|
+
.crewlet-resource-name {
|
|
16018
|
+
max-width: min(100%, 32ch);
|
|
16019
|
+
}
|
|
16020
|
+
|
|
16021
|
+
/* Divided: a rule above, apart from the summary and the controls over it. */
|
|
16022
|
+
.crewlet-consequence-list--divided {
|
|
16023
|
+
padding-top: var(--spacing-4);
|
|
16024
|
+
border-top: 1px solid var(--color-border-default);
|
|
16025
|
+
}
|
|
16026
|
+
|
|
16027
|
+
|
|
15535
16028
|
/* Container-34BAKG7B.css */
|
|
15536
16029
|
/*
|
|
15537
16030
|
* Container, the centred content measure. One max-width scale shared by every
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.182.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.
|
|
47
|
-
"@crewlethq/tokens": "0.
|
|
46
|
+
"@crewlethq/icons": "0.182.0",
|
|
47
|
+
"@crewlethq/tokens": "0.182.0",
|
|
48
48
|
"prosemirror-commands": "1.7.2",
|
|
49
49
|
"prosemirror-gapcursor": "1.4.1",
|
|
50
50
|
"prosemirror-history": "1.5.1",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useListbox } from './chunk-KW7T23RT.js';
|
|
2
2
|
import { Tag } from './chunk-HOIZJFYS.js';
|
|
3
|
+
import { announce } from './chunk-WGMKERCR.js';
|
|
3
4
|
import { IconButton } from './chunk-VM73Y6TO.js';
|
|
4
5
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
5
6
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
6
|
-
import { announce } from './chunk-WGMKERCR.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './TagsInput-MWVVKTT2.css';
|
|
9
9
|
import { forwardRef, useState, useRef, useId, useImperativeHandle, useEffect, useMemo, useLayoutEffect } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IconButton } from './chunk-VM73Y6TO.js';
|
|
2
1
|
import { announce } from './chunk-WGMKERCR.js';
|
|
2
|
+
import { IconButton } from './chunk-VM73Y6TO.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './ArrangeFrame-7B6PUS37.css';
|
|
5
5
|
import { forwardRef, useRef, useCallback, useState, useEffect } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
2
1
|
import { developing } from './chunk-6C7GQOBV.js';
|
|
3
2
|
import { usePresence, releaseFocus } from './chunk-SNKQNAJI.js';
|
|
3
|
+
import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
4
4
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -2,10 +2,10 @@ import { SECRET_INPUT_PROPS } from './chunk-NICEDVZM.js';
|
|
|
2
2
|
import { useFieldError, FormFieldInvalidContext } from './chunk-JLKO7PSK.js';
|
|
3
3
|
import { copyTextStyles } from './chunk-AKLZJTOJ.js';
|
|
4
4
|
import { characterCountState, CharacterCount } from './chunk-TEXK4RK6.js';
|
|
5
|
+
import { announce } from './chunk-WGMKERCR.js';
|
|
5
6
|
import { IconButton } from './chunk-VM73Y6TO.js';
|
|
6
7
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
7
8
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
8
|
-
import { announce } from './chunk-WGMKERCR.js';
|
|
9
9
|
import { useHeadingLevel, headingTag, HeadingLevelProvider, nextHeadingLevel } from './chunk-PQADV6P6.js';
|
|
10
10
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
11
11
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tag } from './chunk-HOIZJFYS.js';
|
|
2
|
+
import { announce } from './chunk-WGMKERCR.js';
|
|
2
3
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
3
4
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
4
|
-
import { announce } from './chunk-WGMKERCR.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './Tag-H2EA4ZCW.css';
|
|
7
7
|
import './ChipField-D4CW6XFA.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMeasuredSizes, isTypeAheadKey, typeAheadBuffer } from './chunk-MY374UUD.js';
|
|
2
|
-
import { FilterChip } from './chunk-L6HUVA33.js';
|
|
3
2
|
import { FullscreenToggle } from './chunk-5EAMUZAJ.js';
|
|
3
|
+
import { FilterChip } from './chunk-L6HUVA33.js';
|
|
4
4
|
import { CANVAS_FIT_PADDING, Canvas } from './chunk-M2QGWIPH.js';
|
|
5
5
|
import { Text } from './chunk-475DOAWF.js';
|
|
6
6
|
import { LayerHost } from './chunk-AVJKMQXK.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
2
2
|
import { Button } from './chunk-JYJ24UUX.js';
|
|
3
|
-
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
4
3
|
import { announce } from './chunk-WGMKERCR.js';
|
|
4
|
+
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './SelectionBar-54W5IFF5.css';
|
|
7
7
|
import { useRef, useEffect } from 'react';
|
|
File without changes
|