chrono-phylo-tree 1.1.6 → 1.1.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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "chrono-phylo-tree",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "description": "A React-based phylogenetic tree visualization library",
5
- "type": "module",
6
5
  "main": "src/index.ts",
7
- "module": "src/index.ts",
8
- "types": "src/index.ts",
6
+ "files": [
7
+ "src"
8
+ ],
9
9
  "scripts": {
10
10
  "dev": "vite",
11
11
  "build": "tsc -b && vite build",
package/eslint.config.js DELETED
@@ -1,28 +0,0 @@
1
- import js from '@eslint/js'
2
- import globals from 'globals'
3
- import reactHooks from 'eslint-plugin-react-hooks'
4
- import reactRefresh from 'eslint-plugin-react-refresh'
5
- import tseslint from 'typescript-eslint'
6
-
7
- export default tseslint.config(
8
- { ignores: ['dist'] },
9
- {
10
- extends: [js.configs.recommended, ...tseslint.configs.recommended],
11
- files: ['**/*.{ts,tsx}'],
12
- languageOptions: {
13
- ecmaVersion: 2020,
14
- globals: globals.browser,
15
- },
16
- plugins: {
17
- 'react-hooks': reactHooks,
18
- 'react-refresh': reactRefresh,
19
- },
20
- rules: {
21
- ...reactHooks.configs.recommended.rules,
22
- 'react-refresh/only-export-components': [
23
- 'warn',
24
- { allowConstantExport: true },
25
- ],
26
- },
27
- },
28
- )
package/global.d.ts DELETED
@@ -1,26 +0,0 @@
1
- interface SaveFilePickerOptions {
2
- suggestedName?: string;
3
- types?: Array<{
4
- description: string;
5
- accept: { [mimeType: string]: string[] };
6
- }>;
7
- }
8
-
9
- interface FileSystemCreateWritableOptions {
10
- keepExistingData?: boolean;
11
- }
12
-
13
- interface FileSystemFileHandle {
14
- createWritable: (options?: FileSystemCreateWritableOptions) => Promise<FileSystemWritableFileStream>;
15
- }
16
-
17
- interface FileSystemWritableFileStream extends WritableStream {
18
- seek(position: number): Promise<void>;
19
- truncate(size: number): Promise<void>;
20
- write(data: FileSystemWriteChunkType): Promise<void>;
21
- close: () => Promise<void>;
22
- }
23
-
24
- interface Window {
25
- showSaveFilePicker?: (options?: SaveFilePickerOptions) => Promise<FileSystemFileHandle>;
26
- }
package/index.html DELETED
@@ -1,13 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/logo.png" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title id="title">Árbol Cronofilogenético</title>
8
- </head>
9
- <body>
10
- <div id="root"></div>
11
- <script type="module" src="/src/main.tsx"></script>
12
- </body>
13
- </html>
package/public/logo.png DELETED
Binary file
@@ -1,37 +0,0 @@
1
- code;spanish;english;deutsch
2
- lan;Español;English;Deutsch
3
- ttl;Árbol Cronofilogenético;Chronophylogenetic Tree;Chronophylogenetischer Baum
4
- nvlbl00;Escala;Scale;Skala
5
- nvlbl01;Presente;Present;Gegenwart
6
- nvlbl02;Color;Color;Farbe
7
- nvlbl03;Repositorio;Repository;Entwurfsmuster
8
- nvlbl04;Importar JSON;Import JSON;Importiere JSON
9
- nvbtn00;Crear especie vacía;Create empty species;Erschaffe leere Spezies
10
- nvbtn00_0;Eliminar todas las especies;Delete all species;Lösche alle Spezies
11
- nvbtn01;Ejemplo;Example;Beispiel
12
- nvbtn02;Descargar JSON;Download JSON;JSON Herunterladen
13
- nvlbl05;Idioma;Language;Sprache
14
- nvlbl06;Escala Cronológica;Chronological Scale;Chronologische Skala
15
- nvlbl07;Mostrar Datos;Display Data;Daten Anzeigen
16
- nvlbl08;Mostrar Imágenes;Display Images;Bilder Anzeigen
17
- splbl00;Nombre;Name;Name
18
- splbl01;Aparición;Apparition;Erscheinung
19
- splbl02;Duración;Duration;Dauer
20
- splbl03;Descripción;Description;Beschreibung
21
- splbl04;Imagen;Image;Bild
22
- spbtn00;Guardar;Save;Speichern
23
- spbtn01;Eliminar;Delete;Löschen
24
- spbtn02;Crear descendiente;Create descendant;Erschaffe Nachkomme
25
- spbtn03;Crear ancestro;Create ancestor;Erschaffe Vorfahre
26
- spbtn04;Quitar Ancestro;Remove Ancestor;Entferne Vorfahr
27
- spbtn04_0;Quitar Ancestros;Remove Ancestors;Lösche Nachkomme
28
- spbtn05;Cancelar;Cancel;Abbrechen
29
- cdbtn00;Crear;Create;Erschaffe
30
- cnfrm00;¿Estás seguro de que deseas quitar al ancestro de {0}?;Are you sure you want to remove the {0}'s ancestor?;Willst du wirklich den {0}ten Vorfahre entfernen?
31
- cnfrm00_0;¿Estás seguro de que deseas quitar a los ancestros de {0}?;Are you sure you want to remove the {0}'s ancestors?;Willst du wirklich die {0}ten Vorfahren entfernen?
32
- cnfrm01;¿Estás seguro de que deseas eliminar la especie {0}?;Are you sure you want to remove the {0} species?;Willst du wirklich die {0}te Spezies entfernen?
33
- cnfrm01_0;¿Estás seguro de que deseas eliminar la especie {0} junto a sus descendientes?;Are you sure you want to remove the {0} species along with its descendants?;Willst du wirklich die {0}te Spezies mit allen Nachfahren entfernen?
34
- alert01;La duración de {0} debe ser mayor a 0;The duration of {0} must be greater than 0;Die Dauer von {0} muss grösser sein wie 0.
35
- alert02;La aparición de {0} debe ser entre la aparición ({1}) y la extinción ({2}) de {3};The apparition of {0} must be between the apparition ({1}) and the extinction ({2}) of {3};Die Erscheinung von {0} muss zwischen der Erscheinung von ({1}) und dem Aussterben von ({2}) von {3}.
36
- alert03;La aparición de {0} debe ser anterior o igual a la aparición ({1}) de {2};The apparition of {0} must be before or equal the apparition ({1}) of {2};Die Erscheinung von {0} muss zugleich oder befor dem Erscheinen von ({1}) von {2} sein.
37
- alert03_0;La extinción de {0} debe ser posterior o igual a la aparición ({1}) de {2};The extiction of {0} must be after or equal the apparition ({1}) of {2};Das Aussterben von {0} muss nach oder zugleich zu dem Erscheinen von ({1}) von {2} sein.
package/public/vite.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/tsconfig.app.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
4
- "target": "ES2020",
5
- "useDefineForClassFields": true,
6
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
7
- "module": "ESNext",
8
- "skipLibCheck": true,
9
-
10
- /* Bundler mode */
11
- "moduleResolution": "bundler",
12
- "allowImportingTsExtensions": true,
13
- "isolatedModules": true,
14
- "moduleDetection": "force",
15
- "noEmit": true,
16
- "jsx": "react-jsx",
17
-
18
- /* Linting */
19
- "strict": true,
20
- "noUnusedLocals": true,
21
- "noUnusedParameters": true,
22
- "noFallthroughCasesInSwitch": true,
23
- "noUncheckedSideEffectImports": true
24
- },
25
- "include": ["src"]
26
- }
package/tsconfig.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "outDir": "./dist",
4
- "rootDir": "./src",
5
- "target": "ES6",
6
- "module": "ES6",
7
- "moduleResolution": "Node",
8
- "jsx": "react-jsx",
9
- "declaration": true,
10
- "declarationMap": true,
11
- "sourceMap": true,
12
- "strict": true,
13
- "skipLibCheck": true,
14
- "esModuleInterop": true
15
- },
16
- "include": ["src/**/*.ts", "src/**/*.tsx", "src/*.ts", "src/*.tsx", "src/*.d.ts"]
17
- }
@@ -1,24 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
4
- "target": "ES2022",
5
- "lib": ["ES2023"],
6
- "module": "ESNext",
7
- "skipLibCheck": true,
8
-
9
- /* Bundler mode */
10
- "moduleResolution": "bundler",
11
- "allowImportingTsExtensions": true,
12
- "isolatedModules": true,
13
- "moduleDetection": "force",
14
- "noEmit": true,
15
-
16
- /* Linting */
17
- "strict": true,
18
- "noUnusedLocals": true,
19
- "noUnusedParameters": true,
20
- "noFallthroughCasesInSwitch": true,
21
- "noUncheckedSideEffectImports": true
22
- },
23
- "include": ["vite.config.ts"]
24
- }
package/vite.config.ts DELETED
@@ -1,34 +0,0 @@
1
- import { defineConfig } from 'vite'
2
- import react from '@vitejs/plugin-react'
3
- import tailwindcss from '@tailwindcss/vite'
4
- import { dirname, resolve } from 'node:path'
5
- import { fileURLToPath } from 'node:url'
6
- import dts from 'vite-plugin-dts'
7
-
8
- const __dirname = dirname(fileURLToPath(import.meta.url))
9
-
10
- // https://vite.dev/config/
11
- export default defineConfig({
12
- plugins: [
13
- react(),
14
- tailwindcss(),
15
- dts(),
16
- ],
17
- build: {
18
- lib: {
19
- entry: resolve(__dirname, 'src/index.ts'),
20
- name: 'chrono-phylo-tree',
21
- fileName: 'chrono-phylo-tree',
22
- },
23
- rollupOptions: {
24
- external: ["react", "react-dom", "react/jsx-runtime"],
25
- output: {
26
- globals: {
27
- react: "React",
28
- "react-dom": "ReactDom",
29
- "react/jsx-runtime": "react/jsx-runtime",
30
- },
31
- },
32
- },
33
- },
34
- })