gensplore 0.0.3 → 0.0.8
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/README.md +8 -0
- package/dist/gensplore.cjs +52 -0
- package/dist/gensplore.js +24358 -0
- package/dist/index.d.cts +18 -0
- package/dist/index.d.ts +16 -0
- package/package.json +58 -61
- package/dist/favicon.ico +0 -0
- package/dist/gensplore.es.js +0 -27845
- package/dist/gensplore.umd.js +0 -144
- package/dist/manifest.json +0 -25
- package/dist/robots.txt +0 -3
- package/dist/sequence.gb +0 -910
- package/dist/sequence2.gb +0 -82215
- package/dist/splash.png +0 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
|
|
3
|
+
interface GensploreProps {
|
|
4
|
+
/** GenBank file contents, including the reference sequence and annotations. */
|
|
5
|
+
genbankString: string;
|
|
6
|
+
/** Optional URL of one ungapped alternative FASTA record. Requires CORS access. */
|
|
7
|
+
fastaUrl?: string;
|
|
8
|
+
/** Controlled search value. Omit to let the viewer manage its own search. */
|
|
9
|
+
searchInput?: string | null;
|
|
10
|
+
/** Called when the search changes; null clears the search. */
|
|
11
|
+
setSearchInput?: (value: string | null) => void;
|
|
12
|
+
/** Called with the reference/comparison title; does not change document.title itself. */
|
|
13
|
+
setTitleCallback?: (title: string) => void;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare function Gensplore(props: GensploreProps): ReactElement;
|
|
17
|
+
|
|
18
|
+
export = Gensplore;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
|
|
3
|
+
export interface GensploreProps {
|
|
4
|
+
/** GenBank file contents, including the reference sequence and annotations. */
|
|
5
|
+
genbankString: string;
|
|
6
|
+
/** Optional URL of one ungapped alternative FASTA record. Requires CORS access. */
|
|
7
|
+
fastaUrl?: string;
|
|
8
|
+
/** Controlled search value. Omit to let the viewer manage its own search. */
|
|
9
|
+
searchInput?: string | null;
|
|
10
|
+
/** Called when the search changes; null clears the search. */
|
|
11
|
+
setSearchInput?: (value: string | null) => void;
|
|
12
|
+
/** Called with the reference/comparison title; does not change document.title itself. */
|
|
13
|
+
setTitleCallback?: (title: string) => void;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default function Gensplore(props: GensploreProps): ReactElement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gensplore",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "React component for displaying genbank files",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"genbank",
|
|
@@ -9,81 +9,78 @@
|
|
|
9
9
|
],
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "https://github.com/theosanderson/gensplore",
|
|
12
|
+
"url": "git+https://github.com/theosanderson/gensplore.git",
|
|
13
13
|
"directory": "gensplore-component"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@
|
|
17
|
-
"@
|
|
18
|
-
"@
|
|
19
|
-
"@
|
|
20
|
-
"@storybook/addon-
|
|
21
|
-
"@storybook/
|
|
22
|
-
"@storybook/react": "^
|
|
23
|
-
"@
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
29
|
-
"@vitejs/plugin-react": "^4.2.0",
|
|
30
|
-
"autoprefixer": "^10.4.13",
|
|
31
|
-
"bio-parsers": "^9.3.0",
|
|
16
|
+
"@fontsource/open-sans": "^5.3.0",
|
|
17
|
+
"@fontsource/open-sans-condensed": "^4.5.5",
|
|
18
|
+
"@headlessui/react": "^2.2.10",
|
|
19
|
+
"@playwright/test": "^1.63.0",
|
|
20
|
+
"@storybook/addon-docs": "^10.6.0",
|
|
21
|
+
"@storybook/addon-links": "^10.6.0",
|
|
22
|
+
"@storybook/react-vite": "^10.6.0",
|
|
23
|
+
"@tailwindcss/postcss": "^4.3.3",
|
|
24
|
+
"@tanstack/react-virtual": "^3.14.11",
|
|
25
|
+
"@teselagen/bio-parsers": "^0.4.38",
|
|
26
|
+
"@types/react": "^19.2.18",
|
|
27
|
+
"@types/react-dom": "^19.2.7",
|
|
28
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
32
29
|
"color-hash": "^2.0.2",
|
|
33
|
-
"
|
|
34
|
-
"postcss": "^8.
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"react": "^
|
|
39
|
-
"react-
|
|
40
|
-
"react-
|
|
41
|
-
"react-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"tailwindcss": "^3.2.6",
|
|
49
|
-
"ve-range-utils": "^2.6.6",
|
|
50
|
-
"ve-sequence-utils": "^5.2.9",
|
|
51
|
-
"vite": "^5.0.2",
|
|
52
|
-
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
53
|
-
"web-vitals": "^2.1.4"
|
|
30
|
+
"events": "^3.3.0",
|
|
31
|
+
"postcss": "^8.5.28",
|
|
32
|
+
"postcss-prefix-selector": "^2.2.1",
|
|
33
|
+
"rc-slider": "^11.1.9",
|
|
34
|
+
"react": "^19.2.8",
|
|
35
|
+
"react-dom": "^19.2.8",
|
|
36
|
+
"react-icons": "^5.7.0",
|
|
37
|
+
"react-toastify": "^11.1.0",
|
|
38
|
+
"react-use": "^17.6.1",
|
|
39
|
+
"rolldown": "^1.2.7",
|
|
40
|
+
"storybook": "^10.6.0",
|
|
41
|
+
"tailwindcss": "^4.3.3",
|
|
42
|
+
"typescript": "^7.0.2",
|
|
43
|
+
"vite": "^8.2.2",
|
|
44
|
+
"vite-plugin-css-injected-by-js": "^5.0.2"
|
|
54
45
|
},
|
|
55
46
|
"peerDependencies": {
|
|
56
|
-
"react": "^18.
|
|
57
|
-
"react-dom": "^18.
|
|
47
|
+
"react": "^18.3.1 || ^19.0.0",
|
|
48
|
+
"react-dom": "^18.3.1 || ^19.0.0"
|
|
58
49
|
},
|
|
59
|
-
"main": "dist/gensplore.
|
|
50
|
+
"main": "./dist/gensplore.cjs",
|
|
51
|
+
"module": "./dist/gensplore.js",
|
|
60
52
|
"files": [
|
|
61
53
|
"dist"
|
|
62
54
|
],
|
|
63
55
|
"scripts": {
|
|
64
56
|
"start": "vite",
|
|
65
|
-
"build": "vite build",
|
|
57
|
+
"build": "vite build && node scripts/copy-types.mjs",
|
|
66
58
|
"serve": "vite preview",
|
|
67
59
|
"storybook": "storybook dev -p 6006",
|
|
68
|
-
"build-storybook": "storybook build"
|
|
60
|
+
"build-storybook": "storybook build",
|
|
61
|
+
"test": "node --test src/comparison/*.test.mjs",
|
|
62
|
+
"prepack": "yarn build",
|
|
63
|
+
"test:package": "yarn build && node scripts/check-package.mjs",
|
|
64
|
+
"test:previews": "node scripts/check-previews.mjs"
|
|
69
65
|
},
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
66
|
+
"packageManager": "yarn@4.18.0",
|
|
67
|
+
"type": "module",
|
|
68
|
+
"types": "./dist/index.d.ts",
|
|
69
|
+
"exports": {
|
|
70
|
+
".": {
|
|
71
|
+
"import": {
|
|
72
|
+
"types": "./dist/index.d.ts",
|
|
73
|
+
"default": "./dist/gensplore.js"
|
|
74
|
+
},
|
|
75
|
+
"require": {
|
|
76
|
+
"types": "./dist/index.d.cts",
|
|
77
|
+
"default": "./dist/gensplore.cjs"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"./package.json": "./package.json"
|
|
76
81
|
},
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"not dead",
|
|
81
|
-
"not op_mini all"
|
|
82
|
-
],
|
|
83
|
-
"development": [
|
|
84
|
-
"last 1 chrome version",
|
|
85
|
-
"last 1 firefox version",
|
|
86
|
-
"last 1 safari version"
|
|
87
|
-
]
|
|
82
|
+
"sideEffects": true,
|
|
83
|
+
"resolutions": {
|
|
84
|
+
"@babel/runtime": "^7.29.7"
|
|
88
85
|
}
|
|
89
86
|
}
|
package/dist/favicon.ico
DELETED
|
Binary file
|