@molgenis/vip-report-template 5.1.4 → 5.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molgenis/vip-report-template",
3
- "version": "5.1.4",
3
+ "version": "5.1.5",
4
4
  "description": "Report Template for Variant Call Format (VCF) Report Generator",
5
5
  "scripts": {
6
6
  "build": "vite build",
@@ -15,32 +15,33 @@
15
15
  },
16
16
  "license": "LGPL-3.0",
17
17
  "devDependencies": {
18
- "@molgenis/vite-plugin-inline": "^1.0.9",
19
- "@typescript-eslint/eslint-plugin": "^5.38.1",
20
- "@typescript-eslint/parser": "^5.38.1",
21
- "@vitest/coverage-c8": "^0.23.4",
18
+ "@molgenis/vite-plugin-inline": "^1.0.11",
19
+ "@typescript-eslint/eslint-plugin": "^5.51.0",
20
+ "@typescript-eslint/parser": "^5.51.0",
21
+ "@vitest/coverage-c8": "^0.28.4",
22
22
  "bulma": "^0.9.4",
23
- "eslint": "^8.24.0",
24
- "eslint-config-prettier": "^8.5.0",
23
+ "eslint": "^8.33.0",
24
+ "eslint-config-prettier": "^8.6.0",
25
25
  "eslint-plugin-prettier": "^4.2.1",
26
- "eslint-plugin-solid": "^0.7.3",
27
- "husky": "^8.0.1",
28
- "prettier": "^2.7.1",
29
- "sass": "^1.55.0",
30
- "typescript": "^4.8.4",
31
- "vite": "^3.1.3",
32
- "vite-plugin-solid": "^2.3.9",
33
- "vitest": "^0.23.4"
26
+ "eslint-plugin-solid": "^0.9.4",
27
+ "husky": "^8.0.3",
28
+ "jsdom": "^21.1.0",
29
+ "prettier": "^2.8.4",
30
+ "sass": "^1.58.0",
31
+ "typescript": "^4.9.5",
32
+ "vite": "^4.1.1",
33
+ "vite-plugin-solid": "^2.5.0",
34
+ "vitest": "^0.28.4"
34
35
  },
35
36
  "dependencies": {
36
- "@fortawesome/fontawesome-svg-core": "^6.2.0",
37
- "@fortawesome/free-solid-svg-icons": "^6.2.0",
38
- "@molgenis/vip-report-api": "^4.3.2",
39
- "@molgenis/vip-report-vcf": "^1.3.3",
37
+ "@fortawesome/fontawesome-svg-core": "^6.3.0",
38
+ "@fortawesome/free-solid-svg-icons": "^6.3.0",
39
+ "@molgenis/vip-report-api": "^4.3.3",
40
+ "@molgenis/vip-report-vcf": "^1.3.4",
40
41
  "base64-js": "^1.5.1",
41
- "igv": "^2.13.3",
42
+ "igv": "^2.13.11",
42
43
  "solid-app-router": "^0.4.2",
43
- "solid-js": "^1.5.6"
44
+ "solid-js": "^1.6.10"
44
45
  },
45
46
  "lint-staged": {
46
47
  "src/**/*.{tsx,ts}": [
@@ -5,7 +5,7 @@ export const SearchBox: Component<{ value?: string | null; onInput: (value: stri
5
5
 
6
6
  return (
7
7
  <div class="field has-addons">
8
- <p class="control has-icons-right is-expanded">
8
+ <div class="control has-icons-right is-expanded">
9
9
  <input
10
10
  class="input"
11
11
  type="text"
@@ -31,7 +31,7 @@ export const SearchBox: Component<{ value?: string | null; onInput: (value: stri
31
31
  <i class="fas fa-circle-xmark" />
32
32
  </span>
33
33
  )}
34
- </p>
34
+ </div>
35
35
  <div class="control">
36
36
  <a class="button is-info" onClick={() => props.onInput(value())}>
37
37
  <span class="icon is-left">
@@ -16,7 +16,8 @@ import { InfoCollapsablePane } from "./InfoCollapsablePane";
16
16
 
17
17
  const computeRowspan = (recordsMetadata: Metadata) =>
18
18
  Object.values(recordsMetadata.info).find((field) => field.nested) !== undefined ? 2 : 1;
19
- const computeColspan = (field: FieldMetadata) => (field.nested ? field.nested.items.length : undefined);
19
+ // '+1' for the column with the collapse button
20
+ const computeColspan = (field: FieldMetadata) => (field.nested ? field.nested.items.length + 1 : undefined);
20
21
 
21
22
  export const VariantsTable: Component<{
22
23
  records: Item<Record>[];