tycho-components 0.18.15 → 0.18.18

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.
@@ -135,7 +135,7 @@ const getButtons = (generateImage, reset, downloadPsd, toggleInfo, onExpand, exp
135
135
  condition: true,
136
136
  title: "button.recenter.tree",
137
137
  onClick: reset,
138
- icon: "fullscreen",
138
+ icon: "center_focus_weak",
139
139
  },
140
140
  {
141
141
  condition: !!expression,
@@ -1,8 +1,8 @@
1
- import { Token } from './Struct';
2
- import { Edition } from './Struct';
3
- import { Struct } from './Struct';
4
- import { SentenceStatus } from './SentenceStatus';
5
- import { UploadedFile } from '../../AppDropzone/UploadedFile';
1
+ import { Token } from "./Struct";
2
+ import { Edition } from "./Struct";
3
+ import { Struct } from "./Struct";
4
+ import { SentenceStatus } from "./SentenceStatus";
5
+ import { UploadedFile } from "../../AppDropzone/UploadedFile";
6
6
  export type Mark = {
7
7
  id: string;
8
8
  tokens: Token[];
@@ -42,6 +42,7 @@ type Sentence = {
42
42
  document: string;
43
43
  page: string;
44
44
  translation?: Translation;
45
+ translations?: Record<string, string>;
45
46
  struct: Struct;
46
47
  ns: boolean;
47
48
  status?: SentenceStatus;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tycho-components",
3
3
  "private": false,
4
- "version": "0.18.15",
4
+ "version": "0.18.18",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -49,7 +49,7 @@
49
49
  "react-hook-form": "^7.45.2",
50
50
  "react-i18next": "^13.0.2",
51
51
  "react-router-dom": "^6.14.2",
52
- "tycho-storybook": "0.6.7",
52
+ "tycho-storybook": "0.6.8",
53
53
  "yup": "^1.2.0"
54
54
  },
55
55
  "devDependencies": {