@crewlethq/ui 0.151.0 → 0.153.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 +9 -1
- package/dist/ChangeList/index.js +2 -2
- package/dist/Combobox/Combobox.d.ts +2 -0
- package/dist/Combobox/index.js +1 -1
- package/dist/{Combobox-F5VEJIAO.css → Combobox-GHT43K32.css} +7 -0
- package/dist/DataView/index.js +2 -2
- package/dist/DiffList/index.js +1 -1
- package/dist/{DiffList-3JNPLQ2E.css → DiffList-57M6YCNS.css} +6 -7
- package/dist/DiffView/DiffView.d.ts +60 -35
- package/dist/DiffView/diff.d.ts +9 -41
- package/dist/DiffView/index.d.ts +7 -3
- package/dist/DiffView/index.js +1 -1
- package/dist/DiffView/lineDiff.d.ts +58 -0
- package/dist/DiffView/wordDiff.d.ts +47 -0
- package/dist/DiffView-J55CPJDX.css +224 -0
- package/dist/DurationField/index.js +2 -2
- package/dist/FilterPill/FilterPill.d.ts +6 -1
- package/dist/FilterPill/index.js +1 -1
- package/dist/{FilterPill-4GMNFZND.css → FilterPill-C6LFYCCA.css} +7 -0
- package/dist/OpenInAppCard/index.js +1 -1
- package/dist/PrincipalPicker/index.js +2 -2
- package/dist/ProposalCard/index.js +3 -3
- package/dist/RailList/index.js +1 -1
- package/dist/RichEditor/index.js +1 -1
- package/dist/ValueField/ValueField.d.ts +2 -0
- package/dist/ValueField/index.js +2 -2
- package/dist/VersionCompare/VersionCompare.d.ts +3 -4
- package/dist/VersionCompare/index.js +2 -2
- package/dist/{chunk-5DLBGF6I.js → chunk-2YAK37D6.js} +1 -1
- package/dist/chunk-4YLN5QVL.js +803 -0
- package/dist/{chunk-Z6OZNSHF.js → chunk-7FWYJCKT.js} +2 -1
- package/dist/{chunk-RGJB34YN.js → chunk-7XUP32RY.js} +1 -1
- package/dist/{chunk-TPABM6DW.js → chunk-CJAPAIJG.js} +8 -3
- package/dist/{chunk-FCRJAFTU.js → chunk-DWXTJWCJ.js} +1 -1
- package/dist/{chunk-TBOVJ7RL.js → chunk-GQQMN6O3.js} +3 -1
- package/dist/{chunk-4DUK2TC4.js → chunk-ITZAWYRG.js} +1 -1
- package/dist/{chunk-NB53SAL4.js → chunk-NOZD547E.js} +1 -1
- package/dist/{chunk-OMVGWZ3V.js → chunk-V3HP2HOI.js} +24 -19
- package/dist/generated/index.js +50 -50
- package/dist/index.js +50 -50
- package/dist/styles.css +191 -44
- package/package.json +3 -3
- package/dist/DiffView-ZI5C25Q3.css +0 -90
- package/dist/chunk-F4CM5KD3.js +0 -187
- package/dist/{chunk-CKNDBAQ7.js → chunk-OX332RI7.js} +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { DURATION_FIELD_LABELS, DURATION_UNIT_SECONDS, DurationField, durationSeconds, durationValue, durationWords } from '../chunk-
|
|
2
|
-
import '../chunk-DDGHRDGV.js';
|
|
1
|
+
export { DURATION_FIELD_LABELS, DURATION_UNIT_SECONDS, DurationField, durationSeconds, durationValue, durationWords } from '../chunk-OX332RI7.js';
|
|
3
2
|
import '../chunk-657WR3MX.js';
|
|
3
|
+
import '../chunk-DDGHRDGV.js';
|
|
4
4
|
import '../chunk-6QWSGM4W.js';
|
|
5
5
|
import '../chunk-KW7T23RT.js';
|
|
6
6
|
import '../chunk-B3UJKLVI.js';
|
|
@@ -22,6 +22,11 @@ export interface FilterPillProps {
|
|
|
22
22
|
* switch with no value ("Blocked"), which the field alone names.
|
|
23
23
|
*/
|
|
24
24
|
value?: ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* A face or a glyph before the value, for a value that is somebody: "Assignee
|
|
27
|
+
* is [face] Ada". Decorative, so the pill still reads as its sentence.
|
|
28
|
+
*/
|
|
29
|
+
valueLeading?: ReactNode;
|
|
25
30
|
/** Takes the filter off. Left out, the pill has no remove control. */
|
|
26
31
|
onRemove?: (() => void) | undefined;
|
|
27
32
|
/**
|
|
@@ -60,4 +65,4 @@ export declare function filterPillSentence(field: ReactNode, operator?: ReactNod
|
|
|
60
65
|
* hairline, named by the whole filter; it keeps the pill's ink rather than
|
|
61
66
|
* turning red, because taking a filter off destroys nothing.
|
|
62
67
|
*/
|
|
63
|
-
export declare function FilterPill({ field, operator, value, onRemove, removeLabel, renderWords, labels, className, }: FilterPillProps): import("react").JSX.Element;
|
|
68
|
+
export declare function FilterPill({ field, operator, value, valueLeading, onRemove, removeLabel, renderWords, labels, className, }: FilterPillProps): import("react").JSX.Element;
|
package/dist/FilterPill/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from '../chunk-
|
|
1
|
+
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from '../chunk-GQQMN6O3.js';
|
|
2
2
|
import '../chunk-KM5OKCW6.js';
|
|
3
3
|
import '../chunk-TDFLCUBE.js';
|
|
4
4
|
import '../chunk-BFZAGIXR.js';
|
|
@@ -83,6 +83,13 @@ button.crewlet-filter-pill__words {
|
|
|
83
83
|
color: var(--color-text-secondary);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
/* A face before the value (`valueLeading`), never shrunk by a long value. */
|
|
87
|
+
.crewlet-filter-pill__value-leading {
|
|
88
|
+
display: inline-flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
flex: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
86
93
|
.crewlet-filter-pill__value {
|
|
87
94
|
min-width: 0;
|
|
88
95
|
overflow: hidden;
|
|
@@ -3,12 +3,12 @@ import '../chunk-KOJPDCGQ.js';
|
|
|
3
3
|
import '../chunk-VRVNLJUA.js';
|
|
4
4
|
import '../chunk-OAD4AXYJ.js';
|
|
5
5
|
import '../chunk-NWKH5FF7.js';
|
|
6
|
-
import '../chunk-KBZO4B33.js';
|
|
7
6
|
import '../chunk-SJ3EUCFD.js';
|
|
8
7
|
import '../chunk-E7KRB77B.js';
|
|
9
8
|
import '../chunk-AV2DXAEL.js';
|
|
10
9
|
import '../chunk-475DOAWF.js';
|
|
11
10
|
import '../chunk-WSIJDWUG.js';
|
|
11
|
+
import '../chunk-KBZO4B33.js';
|
|
12
12
|
import '../chunk-QRE6JCHS.js';
|
|
13
13
|
import '../chunk-IMF3CPTY.js';
|
|
14
14
|
import '../chunk-XSPCITPN.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { PrincipalPicker } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { PrincipalPicker } from '../chunk-ITZAWYRG.js';
|
|
2
|
+
import '../chunk-7FWYJCKT.js';
|
|
3
3
|
import '../chunk-KW7T23RT.js';
|
|
4
4
|
import '../chunk-265IX4YA.js';
|
|
5
5
|
import '../chunk-2PSOUDCS.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-
|
|
1
|
+
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-2YAK37D6.js';
|
|
2
2
|
import '../chunk-OAD4AXYJ.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-NOZD547E.js';
|
|
4
|
+
import '../chunk-7XUP32RY.js';
|
|
5
5
|
import '../chunk-NWKH5FF7.js';
|
|
6
6
|
import '../chunk-CWACQEPP.js';
|
|
7
7
|
import '../chunk-SJ3EUCFD.js';
|
package/dist/RailList/index.js
CHANGED
|
@@ -2,8 +2,8 @@ export { RAIL_LIST_LABELS, RailList } from '../chunk-ECYA6XZL.js';
|
|
|
2
2
|
import '../chunk-TTUFOH2Y.js';
|
|
3
3
|
import '../chunk-657WR3MX.js';
|
|
4
4
|
import '../chunk-6KWNXIDE.js';
|
|
5
|
-
import '../chunk-KW7T23RT.js';
|
|
6
5
|
import '../chunk-TODOBUXO.js';
|
|
6
|
+
import '../chunk-KW7T23RT.js';
|
|
7
7
|
import '../chunk-HBDA76EZ.js';
|
|
8
8
|
import '../chunk-E7KRB77B.js';
|
|
9
9
|
import '../chunk-AV2DXAEL.js';
|
package/dist/RichEditor/index.js
CHANGED
|
@@ -2,8 +2,8 @@ export { RichEditor, preloadRichEditor } from '../chunk-JUZKRHQB.js';
|
|
|
2
2
|
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
3
3
|
import '../chunk-KOJPDCGQ.js';
|
|
4
4
|
import '../chunk-CWACQEPP.js';
|
|
5
|
-
import '../chunk-KBZO4B33.js';
|
|
6
5
|
import '../chunk-WFAJYBLX.js';
|
|
6
|
+
import '../chunk-KBZO4B33.js';
|
|
7
7
|
import '../chunk-IMF3CPTY.js';
|
|
8
8
|
import '../chunk-XSPCITPN.js';
|
|
9
9
|
import '../chunk-KM5OKCW6.js';
|
|
@@ -17,6 +17,8 @@ export interface ValueFieldChoice {
|
|
|
17
17
|
label: string;
|
|
18
18
|
/** A sentence saying what picking this one does: drawn under the option, and on the help line once chosen. */
|
|
19
19
|
hint?: string | undefined;
|
|
20
|
+
/** A face or a glyph before the label, the Select option's `leading`: a seat's face in a picker of seats. */
|
|
21
|
+
leading?: ReactNode;
|
|
20
22
|
}
|
|
21
23
|
/** The words a value field draws itself. */
|
|
22
24
|
export interface ValueFieldLabels {
|
package/dist/ValueField/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-
|
|
1
|
+
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-CJAPAIJG.js';
|
|
2
2
|
import '../chunk-657WR3MX.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-7FWYJCKT.js';
|
|
4
4
|
import '../chunk-KW7T23RT.js';
|
|
5
5
|
import '../chunk-XQMRSL7Z.js';
|
|
6
6
|
import '../chunk-NICEDVZM.js';
|
|
@@ -65,10 +65,9 @@ export interface VersionCompareProps {
|
|
|
65
65
|
* reader picked first, so a comparison reads forward in time. The host orders
|
|
66
66
|
* the two before it hands them over.
|
|
67
67
|
*
|
|
68
|
-
* THE CHANGES LENS IS A [DiffView] when the host hands
|
|
69
|
-
*
|
|
70
|
-
* changed") rather than drawn as a pane of unmarked lines that
|
|
71
|
-
* that failed to load. A comparison that is not two texts, such as the files
|
|
68
|
+
* THE CHANGES LENS IS A [DiffView] of the two texts when the host hands them
|
|
69
|
+
* over, with its counts above it; two identical texts are said in words
|
|
70
|
+
* ("Nothing changed") rather than drawn as a pane of unmarked lines. A comparison that is not two texts, such as the files
|
|
72
71
|
* of two releases, is drawn by the host in `changes`.
|
|
73
72
|
*
|
|
74
73
|
* A LENS THAT CANNOT BE DRAWN IS ABSENT, not offered and then empty: a first
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-V3HP2HOI.js';
|
|
2
|
+
import '../chunk-4YLN5QVL.js';
|
|
3
3
|
import '../chunk-B3UJKLVI.js';
|
|
4
4
|
import '../chunk-GMXOZEF5.js';
|
|
5
5
|
import '../chunk-XJU53WMW.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RefusalStrip, ReceiptStrip } from './chunk-OAD4AXYJ.js';
|
|
2
|
-
import { ChangeList } from './chunk-
|
|
2
|
+
import { ChangeList } from './chunk-NOZD547E.js';
|
|
3
3
|
import { StatusCard } from './chunk-NWKH5FF7.js';
|
|
4
4
|
import { Callout } from './chunk-CWACQEPP.js';
|
|
5
5
|
import { toInstant, formatUntil, useNow, formatExact, toISO } from './chunk-GBKBME7Q.js';
|