tycho-components 0.2.3-SNAPSHOT-2 → 0.2.3-SNAPSHOT-4

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.
@@ -1,6 +1,4 @@
1
1
  .loading-container {
2
- margin-top: calc(var(--spacing-xxlarge) + var(--spacing-large));
3
-
4
2
  display: flex;
5
3
  justify-content: center;
6
4
  align-items: center;
@@ -4,12 +4,12 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
4
4
  import { saveAs } from 'file-saver';
5
5
  import { useEffect, useState } from 'react';
6
6
  import { useTranslation } from 'react-i18next';
7
+ import AppPlaceholder from '../AppPlaceholder';
8
+ import DateUtils from '../functions/DateUtils';
7
9
  import SentenceUtils from '../functions/SentenceUtils';
8
10
  import CytoscapeTreeConverter from './cytoscape/CytoscapeTreeConverter';
9
11
  import SyntreesCytoscape from './cytoscape/SyntreesCytoscape';
10
12
  import './style.scss';
11
- import AppPlaceholder from '../AppPlaceholder';
12
- import DateUtils from '../functions/DateUtils';
13
13
  export default function TreeView({ struct, expression, selector = 'canvas-tree', translations, wheelSensitivity, onExpand, onReady, }) {
14
14
  const { t } = useTranslation('tree');
15
15
  const [cy, setCy] = useState(null);
@@ -28,6 +28,8 @@
28
28
  bottom: 16px;
29
29
  left: 16px;
30
30
  z-index: 1100;
31
+ display: flex;
32
+ flex-direction: column;
31
33
 
32
34
  .translation b {
33
35
  margin-right: 4px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tycho-components",
3
3
  "private": false,
4
- "version": "0.2.3-SNAPSHOT-2",
4
+ "version": "0.2.3-SNAPSHOT-4",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {