@crewlethq/ui 0.180.0 → 0.181.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 +48 -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 +63 -0
- package/dist/AssignmentList/index.d.ts +3 -0
- package/dist/AssignmentList/index.js +8 -0
- package/dist/AssignmentList-JIUZFZGQ.css +257 -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 +63 -0
- package/dist/ConsequenceList/index.d.ts +3 -0
- package/dist/ConsequenceList/index.js +23 -0
- package/dist/ConsequenceList-5TXFZPMG.css +68 -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 +19 -8
- package/dist/DateTimePicker/index.js +2 -2
- package/dist/DocTabsEditor/index.js +3 -3
- package/dist/DurationField/index.js +4 -4
- package/dist/{Editor-N3HLIXHX.js → Editor-ANVKGFJ6.js} +2 -2
- 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 +4 -4
- package/dist/TreeGrid/index.js +5 -5
- package/dist/ValueField/index.js +4 -4
- package/dist/{chunk-PL4YO2KU.js → chunk-2V4QQ4NB.js} +2 -2
- package/dist/{chunk-U32DZ6Q4.js → chunk-2XKPQBAX.js} +1 -1
- package/dist/{chunk-NJCF4FUM.js → chunk-3WJCTKUH.js} +2 -2
- package/dist/{chunk-SKDMFJZD.js → chunk-3ZMDQUFO.js} +1 -1
- package/dist/{chunk-BIOS7CQN.js → chunk-5WPNDMMI.js} +1 -1
- package/dist/{chunk-PCS2ZEIM.js → chunk-AXKB6RKG.js} +4 -4
- package/dist/{chunk-FC225TSK.js → chunk-BEYMQKP3.js} +33 -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-TTN5QKIV.js → chunk-H36ZMY4G.js} +1 -1
- package/dist/{chunk-HHQFTPHY.js → chunk-H6NPUCDU.js} +2 -2
- package/dist/{chunk-W6NSF6E2.js → chunk-H7L4ZEVN.js} +1 -1
- package/dist/{chunk-KYW3GH2W.js → chunk-IUCQ5WOX.js} +1 -1
- package/dist/{chunk-PZ6CR4F2.js → chunk-J66BRPSY.js} +2 -2
- package/dist/{chunk-QXKPMRUG.js → chunk-JLUXCPKS.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-65ACQRWE.js → chunk-L5DGZMVI.js} +3 -3
- package/dist/{chunk-3LS2XHI5.js → chunk-MF6ONZJ3.js} +1 -1
- 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-RJHSGJ7E.js +68 -0
- package/dist/{chunk-RTVKQOK3.js → chunk-RMBPTHLK.js} +1 -1
- package/dist/{chunk-L3QL5QLE.js → chunk-RP7OCGCP.js} +1 -1
- package/dist/{chunk-SYAK2KOB.js → chunk-RRMZ5ITI.js} +1 -1
- package/dist/{chunk-2OYZFXUY.js → chunk-S2KWNN2Y.js} +2 -2
- 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-7YAEM37E.js → chunk-UJSD6N7V.js} +1 -1
- package/dist/{chunk-DPEMGLRK.js → chunk-WG7GNCUQ.js} +1 -1
- package/dist/chunk-WRIUIQHA.js +90 -0
- package/dist/{chunk-SYL6JDZH.js → chunk-X6FJSY3C.js} +1 -1
- package/dist/generated/index.d.ts +2 -0
- package/dist/generated/index.js +116 -114
- package/dist/index.js +116 -114
- package/dist/styles.css +448 -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-RFJI4VGF.js → chunk-XADL7CMK.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,266 @@ a.crewlet-make-row__item:active {
|
|
|
4917
4917
|
}
|
|
4918
4918
|
|
|
4919
4919
|
|
|
4920
|
+
/* AssignmentList-JIUZFZGQ.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
|
+
/* NARROW: the value drops under the name, the actions stay on the name's line. */
|
|
5074
|
+
@container (max-width: 30rem) {
|
|
5075
|
+
.crewlet-assignment-list__grid {
|
|
5076
|
+
grid-template-columns: minmax(0, 1fr) var(--size-control-md);
|
|
5077
|
+
}
|
|
5078
|
+
|
|
5079
|
+
.crewlet-assignment-list__row {
|
|
5080
|
+
padding-block: var(--spacing-2);
|
|
5081
|
+
}
|
|
5082
|
+
|
|
5083
|
+
.crewlet-assignment-list__who {
|
|
5084
|
+
grid-column: 1;
|
|
5085
|
+
grid-row: 1;
|
|
5086
|
+
}
|
|
5087
|
+
|
|
5088
|
+
.crewlet-assignment-list__actions {
|
|
5089
|
+
grid-column: 2;
|
|
5090
|
+
grid-row: 1;
|
|
5091
|
+
}
|
|
5092
|
+
|
|
5093
|
+
.crewlet-assignment-list__value {
|
|
5094
|
+
grid-column: 1 / -1;
|
|
5095
|
+
grid-row: 2;
|
|
5096
|
+
}
|
|
5097
|
+
}
|
|
5098
|
+
|
|
5099
|
+
/* The picker: the value as a quiet button, its parts cut by an ellipsis. */
|
|
5100
|
+
.crewlet-assignment-picker {
|
|
5101
|
+
display: flex;
|
|
5102
|
+
align-items: center;
|
|
5103
|
+
justify-content: space-between;
|
|
5104
|
+
gap: var(--spacing-2);
|
|
5105
|
+
width: 100%;
|
|
5106
|
+
min-width: 0;
|
|
5107
|
+
height: var(--size-control-md);
|
|
5108
|
+
padding: 0 var(--spacing-2);
|
|
5109
|
+
border: 1px solid transparent;
|
|
5110
|
+
border-radius: var(--radius-md);
|
|
5111
|
+
background: transparent;
|
|
5112
|
+
color: inherit;
|
|
5113
|
+
font: inherit;
|
|
5114
|
+
font-size: var(--font-size-sm);
|
|
5115
|
+
text-align: start;
|
|
5116
|
+
cursor: pointer;
|
|
5117
|
+
}
|
|
5118
|
+
|
|
5119
|
+
.crewlet-assignment-picker:hover {
|
|
5120
|
+
border-color: var(--color-border-default);
|
|
5121
|
+
background: var(--color-surface-hover);
|
|
5122
|
+
}
|
|
5123
|
+
|
|
5124
|
+
.crewlet-assignment-picker:focus-visible {
|
|
5125
|
+
outline: 2px solid var(--color-focus);
|
|
5126
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
5127
|
+
}
|
|
5128
|
+
|
|
5129
|
+
.crewlet-assignment-picker:disabled {
|
|
5130
|
+
cursor: not-allowed;
|
|
5131
|
+
opacity: 0.6;
|
|
5132
|
+
}
|
|
5133
|
+
|
|
5134
|
+
.crewlet-assignment-picker.is-pending,
|
|
5135
|
+
.crewlet-assignment-list__row.is-pending .crewlet-assignment-picker {
|
|
5136
|
+
border-color: var(--color-feedback-warning-line);
|
|
5137
|
+
background: var(--color-feedback-warning-soft);
|
|
5138
|
+
}
|
|
5139
|
+
|
|
5140
|
+
.crewlet-assignment-picker__value {
|
|
5141
|
+
display: inline-flex;
|
|
5142
|
+
align-items: center;
|
|
5143
|
+
gap: var(--spacing-2);
|
|
5144
|
+
min-width: 0;
|
|
5145
|
+
}
|
|
5146
|
+
|
|
5147
|
+
.crewlet-assignment-picker__icon {
|
|
5148
|
+
display: inline-flex;
|
|
5149
|
+
flex: none;
|
|
5150
|
+
}
|
|
5151
|
+
|
|
5152
|
+
.crewlet-assignment-picker__primary,
|
|
5153
|
+
.crewlet-assignment-picker__secondary {
|
|
5154
|
+
min-width: 0;
|
|
5155
|
+
overflow: hidden;
|
|
5156
|
+
text-overflow: ellipsis;
|
|
5157
|
+
white-space: nowrap;
|
|
5158
|
+
}
|
|
5159
|
+
|
|
5160
|
+
.crewlet-assignment-picker__primary {
|
|
5161
|
+
/* Kept whole while it fits: a shrink by a fraction of a pixel still draws an ellipsis. */
|
|
5162
|
+
flex: 0 0 auto;
|
|
5163
|
+
max-width: 100%;
|
|
5164
|
+
font-weight: var(--font-weight-medium);
|
|
5165
|
+
color: var(--color-text-primary);
|
|
5166
|
+
}
|
|
5167
|
+
|
|
5168
|
+
/* What the value is gives way before its name does. */
|
|
5169
|
+
.crewlet-assignment-picker__secondary {
|
|
5170
|
+
flex: 0 1 auto;
|
|
5171
|
+
color: var(--color-text-tertiary);
|
|
5172
|
+
}
|
|
5173
|
+
|
|
5174
|
+
.crewlet-assignment-picker__chevron {
|
|
5175
|
+
flex: none;
|
|
5176
|
+
color: var(--color-text-tertiary);
|
|
5177
|
+
}
|
|
5178
|
+
|
|
5179
|
+
|
|
4920
5180
|
/* AttachmentChip-RZ6ZCB43.css */
|
|
4921
5181
|
/*
|
|
4922
5182
|
* A file attached to a message: a Tag whose leading mark is the file's
|
|
@@ -9441,7 +9701,7 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
|
|
|
9441
9701
|
}
|
|
9442
9702
|
|
|
9443
9703
|
|
|
9444
|
-
/* ChangeList-
|
|
9704
|
+
/* ChangeList-2VAPZDT3.css */
|
|
9445
9705
|
/*
|
|
9446
9706
|
* What a change will do, as a before and after on PropertyList's grid: one
|
|
9447
9707
|
* label column (as wide as the longest label, never under 92px) and one value
|
|
@@ -9717,6 +9977,105 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
|
|
|
9717
9977
|
margin-top: 0;
|
|
9718
9978
|
}
|
|
9719
9979
|
|
|
9980
|
+
/* THE SUBJECT, said once over its rows: a seat over its jobs, a record over its fields. */
|
|
9981
|
+
.crewlet-change-list__subject {
|
|
9982
|
+
min-width: 0;
|
|
9983
|
+
font-size: var(--font-size-sm);
|
|
9984
|
+
font-weight: var(--font-weight-semibold);
|
|
9985
|
+
color: var(--color-text-primary);
|
|
9986
|
+
}
|
|
9987
|
+
|
|
9988
|
+
/*
|
|
9989
|
+
* TRUNCATE: every value one line, cut by an ellipsis with its words on hover.
|
|
9990
|
+
* The label column is bounded, so a long label wraps between its words and
|
|
9991
|
+
* every list in a dialog shares one value edge.
|
|
9992
|
+
*/
|
|
9993
|
+
/* A list that cuts its values takes the width it is given and never widens its container. */
|
|
9994
|
+
.crewlet-change-list--truncate {
|
|
9995
|
+
contain: inline-size;
|
|
9996
|
+
}
|
|
9997
|
+
|
|
9998
|
+
.crewlet-change-list--truncate .crewlet-change-list__rows {
|
|
9999
|
+
--crewlet-description-list-term: minmax(6rem, min(11rem, 35%));
|
|
10000
|
+
}
|
|
10001
|
+
|
|
10002
|
+
.crewlet-change-list--truncate .crewlet-change-list__subject,
|
|
10003
|
+
.crewlet-change-list--truncate .crewlet-change-list__value > :is(.crewlet-change-list__fact, .crewlet-change-list__removed),
|
|
10004
|
+
.crewlet-change-list--truncate .crewlet-change-list__pair > :is(.crewlet-change-list__from, .crewlet-change-list__to),
|
|
10005
|
+
.crewlet-change-list--truncate .crewlet-change-list__next > .crewlet-change-list__to {
|
|
10006
|
+
display: inline-block;
|
|
10007
|
+
max-width: 100%;
|
|
10008
|
+
min-width: 0;
|
|
10009
|
+
overflow: hidden;
|
|
10010
|
+
text-overflow: ellipsis;
|
|
10011
|
+
white-space: nowrap;
|
|
10012
|
+
vertical-align: bottom;
|
|
10013
|
+
}
|
|
10014
|
+
|
|
10015
|
+
.crewlet-change-list--truncate .crewlet-change-list__subject {
|
|
10016
|
+
display: block;
|
|
10017
|
+
}
|
|
10018
|
+
|
|
10019
|
+
.crewlet-change-list--truncate .crewlet-change-list__pair {
|
|
10020
|
+
min-width: 0;
|
|
10021
|
+
row-gap: 2px;
|
|
10022
|
+
}
|
|
10023
|
+
|
|
10024
|
+
/* The old value gives way first, so the new one keeps more of its words. */
|
|
10025
|
+
.crewlet-change-list--truncate .crewlet-change-list__pair > .crewlet-change-list__from {
|
|
10026
|
+
flex: 0 2 auto;
|
|
10027
|
+
}
|
|
10028
|
+
|
|
10029
|
+
.crewlet-change-list--truncate .crewlet-change-list__next {
|
|
10030
|
+
flex: 0 1 auto;
|
|
10031
|
+
max-width: 100%;
|
|
10032
|
+
}
|
|
10033
|
+
|
|
10034
|
+
.crewlet-change-list--truncate .crewlet-change-list__value {
|
|
10035
|
+
overflow-wrap: normal;
|
|
10036
|
+
}
|
|
10037
|
+
|
|
10038
|
+
.crewlet-change-list--truncate .crewlet-change-list__label {
|
|
10039
|
+
overflow-wrap: break-word;
|
|
10040
|
+
}
|
|
10041
|
+
|
|
10042
|
+
/* The fold control starts on the rows' text edge rather than stretching. */
|
|
10043
|
+
.crewlet-change-list__more {
|
|
10044
|
+
align-self: flex-start;
|
|
10045
|
+
}
|
|
10046
|
+
|
|
10047
|
+
/* Several subjects' changes, a subject a block, a section's step apart. */
|
|
10048
|
+
.crewlet-change-groups {
|
|
10049
|
+
display: flex;
|
|
10050
|
+
flex-direction: column;
|
|
10051
|
+
gap: var(--spacing-2);
|
|
10052
|
+
min-width: 0;
|
|
10053
|
+
}
|
|
10054
|
+
|
|
10055
|
+
.crewlet-change-groups__list {
|
|
10056
|
+
display: flex;
|
|
10057
|
+
flex-direction: column;
|
|
10058
|
+
gap: var(--spacing-4);
|
|
10059
|
+
min-width: 0;
|
|
10060
|
+
}
|
|
10061
|
+
|
|
10062
|
+
.crewlet-change-groups__more {
|
|
10063
|
+
display: flex;
|
|
10064
|
+
align-items: center;
|
|
10065
|
+
gap: var(--spacing-2);
|
|
10066
|
+
min-width: 0;
|
|
10067
|
+
}
|
|
10068
|
+
|
|
10069
|
+
/* The folded subjects, named in passing: one line, cut with an ellipsis. */
|
|
10070
|
+
.crewlet-change-groups__hidden {
|
|
10071
|
+
min-width: 0;
|
|
10072
|
+
overflow: hidden;
|
|
10073
|
+
text-overflow: ellipsis;
|
|
10074
|
+
white-space: nowrap;
|
|
10075
|
+
font-size: var(--font-size-xs);
|
|
10076
|
+
color: var(--color-text-tertiary);
|
|
10077
|
+
}
|
|
10078
|
+
|
|
9720
10079
|
|
|
9721
10080
|
/* ChangeMark-KFDGBF6G.css */
|
|
9722
10081
|
/*
|
|
@@ -15473,6 +15832,23 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
15473
15832
|
}
|
|
15474
15833
|
|
|
15475
15834
|
|
|
15835
|
+
/* ConfirmModal-V2OAWUGJ.css */
|
|
15836
|
+
/*
|
|
15837
|
+
* A confirmation's parts, in the stacked body: the summary, a destination,
|
|
15838
|
+
* the changes and then the consequences, set apart from what is above them by
|
|
15839
|
+
* a rule, so what will happen reads as one group under what is asked.
|
|
15840
|
+
*/
|
|
15841
|
+
.crewlet-modal__body--stacked:has(> .crewlet-confirm-modal__changes, > .crewlet-confirm-modal__consequences) {
|
|
15842
|
+
gap: var(--spacing-4);
|
|
15843
|
+
}
|
|
15844
|
+
|
|
15845
|
+
/* A prompt's own title is not something to rule off from. */
|
|
15846
|
+
.crewlet-modal__body--stacked > :not(.crewlet-modal__prompt-title) + .crewlet-confirm-modal__consequences {
|
|
15847
|
+
padding-top: var(--spacing-4);
|
|
15848
|
+
border-top: 1px solid var(--color-border-default);
|
|
15849
|
+
}
|
|
15850
|
+
|
|
15851
|
+
|
|
15476
15852
|
/* ConflictNote-OP64JJ6T.css */
|
|
15477
15853
|
/* ConflictNote: a refused write's sentence in the danger ink, with its glyph
|
|
15478
15854
|
so the colour is never the only carrier, and its controls beside it. */
|
|
@@ -15532,6 +15908,77 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
15532
15908
|
}
|
|
15533
15909
|
|
|
15534
15910
|
|
|
15911
|
+
/* ConsequenceList-5TXFZPMG.css */
|
|
15912
|
+
/*
|
|
15913
|
+
* What confirming will do: an eyebrow, then choices and facts on one text
|
|
15914
|
+
* edge. A fact's glyph sits where a choice's box sits, so every line's words
|
|
15915
|
+
* start where the checkbox labels do.
|
|
15916
|
+
*/
|
|
15917
|
+
.crewlet-consequence-list {
|
|
15918
|
+
/* It takes the width it is given, so a long name never widens the dialog. */
|
|
15919
|
+
contain: inline-size;
|
|
15920
|
+
display: flex;
|
|
15921
|
+
flex-direction: column;
|
|
15922
|
+
gap: var(--spacing-1);
|
|
15923
|
+
min-width: 0;
|
|
15924
|
+
}
|
|
15925
|
+
|
|
15926
|
+
.crewlet-consequence-list__heading {
|
|
15927
|
+
margin-bottom: var(--spacing-1);
|
|
15928
|
+
}
|
|
15929
|
+
|
|
15930
|
+
.crewlet-consequence-list__choice {
|
|
15931
|
+
min-width: 0;
|
|
15932
|
+
}
|
|
15933
|
+
|
|
15934
|
+
/* A long label or chip wraps between words, never inside one. */
|
|
15935
|
+
.crewlet-consequence-list__choice .crewlet-checkbox__label,
|
|
15936
|
+
.crewlet-consequence-list__text {
|
|
15937
|
+
min-width: 0;
|
|
15938
|
+
overflow-wrap: break-word;
|
|
15939
|
+
}
|
|
15940
|
+
|
|
15941
|
+
.crewlet-consequence-list__fact {
|
|
15942
|
+
display: flex;
|
|
15943
|
+
align-items: flex-start;
|
|
15944
|
+
gap: var(--spacing-2);
|
|
15945
|
+
min-width: 0;
|
|
15946
|
+
margin: 0;
|
|
15947
|
+
padding-block: var(--spacing-1);
|
|
15948
|
+
font-size: var(--font-size-xs);
|
|
15949
|
+
line-height: var(--font-line-height-normal);
|
|
15950
|
+
color: var(--color-text-secondary);
|
|
15951
|
+
}
|
|
15952
|
+
|
|
15953
|
+
/* The glyph column is the checkbox's width, and the glyph sits on the first line. */
|
|
15954
|
+
.crewlet-consequence-list__mark {
|
|
15955
|
+
display: inline-flex;
|
|
15956
|
+
flex: none;
|
|
15957
|
+
align-items: center;
|
|
15958
|
+
justify-content: center;
|
|
15959
|
+
width: var(--crewlet-checkbox-size, 16px);
|
|
15960
|
+
height: calc(var(--font-line-height-normal) * 1em);
|
|
15961
|
+
color: var(--color-text-tertiary);
|
|
15962
|
+
}
|
|
15963
|
+
|
|
15964
|
+
.crewlet-consequence-list__fact--warning .crewlet-consequence-list__mark {
|
|
15965
|
+
color: var(--color-feedback-warning-ink);
|
|
15966
|
+
}
|
|
15967
|
+
|
|
15968
|
+
.crewlet-consequence-list__fact--danger {
|
|
15969
|
+
color: var(--color-feedback-danger-ink);
|
|
15970
|
+
}
|
|
15971
|
+
|
|
15972
|
+
.crewlet-consequence-list__fact--danger .crewlet-consequence-list__mark {
|
|
15973
|
+
color: inherit;
|
|
15974
|
+
}
|
|
15975
|
+
|
|
15976
|
+
/* A named resource is one chip: it ends in an ellipsis rather than breaking. */
|
|
15977
|
+
.crewlet-resource-name {
|
|
15978
|
+
max-width: min(100%, 32ch);
|
|
15979
|
+
}
|
|
15980
|
+
|
|
15981
|
+
|
|
15535
15982
|
/* Container-34BAKG7B.css */
|
|
15536
15983
|
/*
|
|
15537
15984
|
* 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.181.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.181.0",
|
|
47
|
+
"@crewlethq/tokens": "0.181.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,5 +1,5 @@
|
|
|
1
|
-
import { today, CalendarGrid, shiftMonth, compareDays } from './chunk-EE3DJMSQ.js';
|
|
2
1
|
import { Popover } from './chunk-AJFA2XDQ.js';
|
|
2
|
+
import { today, CalendarGrid, shiftMonth, compareDays } from './chunk-EE3DJMSQ.js';
|
|
3
3
|
import { Button } from './chunk-JYJ24UUX.js';
|
|
4
4
|
import { IconButton } from './chunk-VM73Y6TO.js';
|
|
5
5
|
import { useFocusModality } from './chunk-4ITETIGZ.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
|