tycho-components 0.39.2 → 0.40.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/dist/configs/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export { default as ProfileService } from "./services/ProfileService";
|
|
|
10
10
|
export type { Corpus, CorpusRequest, Github } from "./types/Corpus";
|
|
11
11
|
export { CorpusStatusNames } from "./types/CorpusStatus";
|
|
12
12
|
export type { CorpusStatus } from "./types/CorpusStatus";
|
|
13
|
-
export { DocumentStatusNames } from "./types/Document";
|
|
13
|
+
export { DocumentStatusNames, DocumentStatusTagColors } from "./types/Document";
|
|
14
14
|
export type { DocumentStatus, default as Document } from "./types/Document";
|
|
15
15
|
export type { default as Participant } from "./types/Participant";
|
|
16
16
|
export { CorpusImageTypeNames } from "./types/CorpusImage";
|
package/dist/configs/index.js
CHANGED
|
@@ -7,7 +7,7 @@ export { getCommonDispatch, registerCommonDispatch, } from "./store/commonDispat
|
|
|
7
7
|
export { commonResources, featureResources, mergeResources, commonLocalization, } from "./Localization";
|
|
8
8
|
export { default as ProfileService } from "./services/ProfileService";
|
|
9
9
|
export { CorpusStatusNames } from "./types/CorpusStatus";
|
|
10
|
-
export { DocumentStatusNames } from "./types/Document";
|
|
10
|
+
export { DocumentStatusNames, DocumentStatusTagColors } from "./types/Document";
|
|
11
11
|
export { CorpusImageTypeNames } from "./types/CorpusImage";
|
|
12
12
|
export { DEFAULT_EDITION_TIERS, EditionTiers, StructuralEditionTiers, isStructuralEditionTier, } from "./types/EditionTiers";
|
|
13
13
|
export { DEFAULT_DELIMITERS, DELIMITERS, DelimiterNames, EMPTY_CONFIGURATION, } from "./types/ProcessConfiguration";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { TagColors } from 'tycho-storybook';
|
|
1
2
|
import { PlatformTools } from '../../functions/ToolsUtils';
|
|
2
3
|
import Participant from './Participant';
|
|
3
4
|
import ProcessConfiguration from './ProcessConfiguration';
|
|
4
|
-
export type DocumentStatus = 'EDITING' | 'EDITED' | 'POS' | 'POS_DONE' | 'SYNTACTIC' | 'COMPLETED';
|
|
5
|
+
export type DocumentStatus = 'EDITING' | 'EDITED' | 'POS' | 'POS_DONE' | 'SYNTACTIC' | 'COMPLETED' | 'DELETED';
|
|
5
6
|
export declare const DocumentStatusNames: {
|
|
6
7
|
EDITING: string;
|
|
7
8
|
EDITED: string;
|
|
@@ -9,7 +10,9 @@ export declare const DocumentStatusNames: {
|
|
|
9
10
|
POS_DONE: string;
|
|
10
11
|
SYNTACTIC: string;
|
|
11
12
|
COMPLETED: string;
|
|
13
|
+
DELETED: string;
|
|
12
14
|
};
|
|
15
|
+
export declare const DocumentStatusTagColors: Record<DocumentStatus, TagColors>;
|
|
13
16
|
type Document = {
|
|
14
17
|
uid: string;
|
|
15
18
|
name: string;
|
|
@@ -5,4 +5,14 @@ export const DocumentStatusNames = {
|
|
|
5
5
|
POS_DONE: 'common:document.status.pos_done',
|
|
6
6
|
SYNTACTIC: 'common:document.status.syntactic',
|
|
7
7
|
COMPLETED: 'common:document.status.completed',
|
|
8
|
+
DELETED: 'common:document.status.deleted',
|
|
9
|
+
};
|
|
10
|
+
export const DocumentStatusTagColors = {
|
|
11
|
+
EDITING: 'gray',
|
|
12
|
+
EDITED: 'yellow',
|
|
13
|
+
POS: 'cyan',
|
|
14
|
+
POS_DONE: 'indigo',
|
|
15
|
+
SYNTACTIC: 'teal',
|
|
16
|
+
COMPLETED: 'green',
|
|
17
|
+
DELETED: 'slate',
|
|
8
18
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tycho-components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.40.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"react-i18next": "^13.0.2",
|
|
83
83
|
"react-router-dom": "^6.14.2",
|
|
84
84
|
"react-toastify": "^9.1.3",
|
|
85
|
-
"tycho-storybook": "0.
|
|
85
|
+
"tycho-storybook": "0.11.0",
|
|
86
86
|
"wavesurfer-react": "^2.2.2",
|
|
87
87
|
"wavesurfer.js": "^6.6.3"
|
|
88
88
|
},
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"react-toastify": "^9.1.3",
|
|
113
113
|
"sass-embedded": "^1.97.2",
|
|
114
114
|
"storybook": "^10.1.11",
|
|
115
|
-
"tycho-storybook": "^0.
|
|
115
|
+
"tycho-storybook": "^0.11.0",
|
|
116
116
|
"typescript": "^5.7.3",
|
|
117
117
|
"vite": "^7.0.0",
|
|
118
118
|
"vitest": "^3.2.6",
|