@tfn-design/design-system 0.4.2 → 0.4.3
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.
|
@@ -5,7 +5,7 @@ export interface StatusValue {
|
|
|
5
5
|
label: string;
|
|
6
6
|
tone: StatusBadgeTone;
|
|
7
7
|
}
|
|
8
|
-
export declare const STATUS_VOCABULARY_NAMES: readonly ["vehicle", "driver", "invite", "exception", "severity", "policy", "station", "reservation", "user", "linkKind", "onboardingPhase"];
|
|
8
|
+
export declare const STATUS_VOCABULARY_NAMES: readonly ["vehicle", "driver", "invite", "invitationRow", "exception", "severity", "policy", "station", "reservation", "user", "linkKind", "onboardingPhase"];
|
|
9
9
|
export type StatusVocabularyName = (typeof STATUS_VOCABULARY_NAMES)[number];
|
|
10
10
|
export declare const STATUS_VOCABULARIES: {
|
|
11
11
|
readonly vehicle: readonly [{
|
|
@@ -47,6 +47,16 @@ export declare const STATUS_VOCABULARIES: {
|
|
|
47
47
|
readonly label: "Expired";
|
|
48
48
|
readonly tone: "warning";
|
|
49
49
|
}];
|
|
50
|
+
readonly invitationRow: readonly [{
|
|
51
|
+
readonly label: "Sent";
|
|
52
|
+
readonly tone: "info";
|
|
53
|
+
}, {
|
|
54
|
+
readonly label: "Expired";
|
|
55
|
+
readonly tone: "warning";
|
|
56
|
+
}, {
|
|
57
|
+
readonly label: "Replaced";
|
|
58
|
+
readonly tone: "neutral";
|
|
59
|
+
}];
|
|
50
60
|
readonly exception: readonly [{
|
|
51
61
|
readonly label: "Open";
|
|
52
62
|
readonly tone: "warning";
|
|
@@ -2,6 +2,7 @@ export const STATUS_VOCABULARY_NAMES = [
|
|
|
2
2
|
'vehicle',
|
|
3
3
|
'driver',
|
|
4
4
|
'invite',
|
|
5
|
+
'invitationRow',
|
|
5
6
|
'exception',
|
|
6
7
|
'severity',
|
|
7
8
|
'policy',
|
|
@@ -30,6 +31,11 @@ export const STATUS_VOCABULARIES = {
|
|
|
30
31
|
{ label: 'Sent', tone: 'info' },
|
|
31
32
|
{ label: 'Expired', tone: 'warning' },
|
|
32
33
|
],
|
|
34
|
+
invitationRow: [
|
|
35
|
+
{ label: 'Sent', tone: 'info' },
|
|
36
|
+
{ label: 'Expired', tone: 'warning' },
|
|
37
|
+
{ label: 'Replaced', tone: 'neutral' },
|
|
38
|
+
],
|
|
33
39
|
exception: [
|
|
34
40
|
{ label: 'Open', tone: 'warning' },
|
|
35
41
|
{ label: 'Resolved', tone: 'success' },
|