@rivm-loculus-tools/sequence-editor 1.3.0 → 1.4.0

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.
@@ -0,0 +1,3 @@
1
+ import { PaletteMode, Theme, ThemeOptions } from '@mui/material';
2
+ export declare const createSequenceEditorThemeOptions: (paletteMode: PaletteMode) => ThemeOptions;
3
+ export declare const createSequenceEditorTheme: (paletteMode: PaletteMode) => Theme;
@@ -0,0 +1 @@
1
+ export * from './demoTheme';
@@ -0,0 +1,13 @@
1
+ import { createTheme as e } from "@mui/material";
2
+ import { createDemoThemeOptions as t } from "@rivm-loculus-tools/common-frontend/theme/demoTheme";
3
+ // src/theme/demoTheme/demoTheme.ts
4
+ var n = (e) => {
5
+ let n = t(e);
6
+ return {
7
+ ...n,
8
+ components: { ...n.components }
9
+ };
10
+ }, r = (t) => e(n(t));
11
+ export { r as createSequenceEditorTheme, n as createSequenceEditorThemeOptions };
12
+
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["muiCreateTheme","createSequenceEditorThemeOptions","commonThemeOptions","createDemoThemeOptions","paletteMode","createSequenceEditorTheme","createTheme"],"sources":["../../../src/theme/demoTheme/demoTheme.ts"],"sourcesContent":["import { createDemoThemeOptions } from '@rivm-loculus-tools/common-frontend/theme/demoTheme';\nimport type {\n PaletteMode,\n Theme,\n ThemeOptions,\n} from '@mui/material';\nimport { createTheme as muiCreateTheme } from '@mui/material';\n\nexport const createSequenceEditorThemeOptions = (paletteMode: PaletteMode): ThemeOptions => {\n const commonThemeOptions = createDemoThemeOptions(paletteMode);\n const themeOptions: ThemeOptions = {\n ...commonThemeOptions,\n components: {\n ...commonThemeOptions.components,\n },\n };\n return themeOptions;\n};\n\nexport const createSequenceEditorTheme = (paletteMode: PaletteMode): Theme => {\n return muiCreateTheme(createSequenceEditorThemeOptions(paletteMode));\n};\n"],"mappings":";;;AAQA,IAAaC,KAAoC,MAA2C;CAC1F,IAAMC,IAAqBC,EAAuBC,CAAW;CAO7D,OAAO;EALL,GAAGF;EACH,YAAY,EACV,GAAGA,EAAmB,WACxB;CAEK;AACT,GAEaG,KAA6B,MACjCL,EAAeC,EAAiCG,CAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivm-loculus-tools/sequence-editor",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "license": "EUPL-1.2",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,14 +14,13 @@
14
14
  "@gen-epix/ui-core-components": "*",
15
15
  "@gen-epix/ui-core-form": "*",
16
16
  "@gen-epix/ui-core": "*",
17
- "@gen-epix/ui-phylogenetic-tree": "*",
18
17
  "@mui/icons-material": "*",
19
18
  "@mui/material": "*",
20
19
  "@mui/styled-engine": "*",
21
20
  "@mui/system": "*",
22
21
  "@mui/utils": "*",
23
22
  "@mui/x-date-pickers": "*",
24
- "@rivm-loculus-tools/common-frontend": "^0.6.0",
23
+ "@rivm-loculus-tools/common-frontend": "^0.7.0",
25
24
  "@rivm-loculus-tools/sequence-editor-wasm": "^0.3.0",
26
25
  "i18next": "*",
27
26
  "react-dom": "*",
@@ -43,18 +42,17 @@
43
42
  "@emotion/cache": "11.14.0",
44
43
  "@emotion/react": "11.14.0",
45
44
  "@emotion/styled": "11.14.1",
46
- "@gen-epix/eslint-config": "0.8.0",
45
+ "@gen-epix/eslint-config": "0.9.0",
47
46
  "@gen-epix/ui-core-components": "4.6.0",
48
- "@gen-epix/ui-core-form": "4.5.0",
47
+ "@gen-epix/ui-core-form": "4.5.1",
49
48
  "@gen-epix/ui-core": "3.10.0",
50
- "@gen-epix/ui-phylogenetic-tree": "3.6.2",
51
49
  "@mui/icons-material": "9.5.0",
52
50
  "@mui/material": "9.5.0",
53
51
  "@mui/styled-engine": "9.5.0",
54
52
  "@mui/system": "9.5.0",
55
53
  "@mui/utils": "9.5.0",
56
54
  "@types/lodash": "4.17.27",
57
- "@types/node": "26.6.5",
55
+ "@types/node": "26.6.6",
58
56
  "@types/react-dom": "19.3.0",
59
57
  "@types/react": "19.3.0",
60
58
  "@vitejs/plugin-react": "6.1.2",
@@ -147,6 +145,10 @@
147
145
  "types": "./dist/stores/sequenceEditorStore/index.d.ts",
148
146
  "import": "./dist/stores/sequenceEditorStore/index.js"
149
147
  },
148
+ "./theme/demoTheme": {
149
+ "types": "./dist/theme/demoTheme/index.d.ts",
150
+ "import": "./dist/theme/demoTheme/index.js"
151
+ },
150
152
  "./utils/EditorUtil": {
151
153
  "types": "./dist/utils/EditorUtil/index.d.ts",
152
154
  "import": "./dist/utils/EditorUtil/index.js"