@rivm-loculus-tools/common-frontend 0.6.0 → 0.7.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.
@@ -1,4 +1,4 @@
1
1
  import { ConfigBase } from '../../models/config.models';
2
2
  export declare class StandardConfigUtil {
3
- static createConfig(): Pick<ConfigBase, 'nonce' | 'pageConfig' | 'spinner'>;
3
+ static createConfig(): Pick<ConfigBase, 'nonce' | 'pageConfig'>;
4
4
  }
@@ -4,11 +4,7 @@ var t = class {
4
4
  static createConfig() {
5
5
  return {
6
6
  nonce: e.getInstance().document.querySelector("meta[name=\"csp-nonce\"]")?.getAttribute("content") ?? void 0,
7
- pageConfig: { appBarHeight: 48 },
8
- spinner: {
9
- DEFAULT_CIRCULAR_PROGRESS_SIZE: 40,
10
- DEFAULT_TAKING_LONGER_TIMEOUT_MS: 5e3
11
- }
7
+ pageConfig: { appBarHeight: 48 }
12
8
  };
13
9
  }
14
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["StandardConfigUtil","WindowService"],"sources":["../../../src/utils/StandardConfigUtil/StandardConfigUtil.ts"],"sourcesContent":["import { WindowService } from '@gen-epix/ui-core/classes/services/WindowService';\n\nimport type { ConfigBase } from '../../models/config.models';\n\nexport class StandardConfigUtil {\n public static createConfig(): Pick<ConfigBase, 'nonce' | 'pageConfig' | 'spinner'> {\n return {\n nonce: WindowService.getInstance().document.querySelector('meta[name=\"csp-nonce\"]')?.getAttribute('content') ?? undefined,\n pageConfig: {\n appBarHeight: 48,\n },\n spinner: {\n DEFAULT_CIRCULAR_PROGRESS_SIZE: 40,\n DEFAULT_TAKING_LONGER_TIMEOUT_MS: 5000,\n },\n };\n }\n}\n"],"mappings":";;AAIA,IAAaA,IAAb,MAAgC;CAC9B,OAAc,eAAqE;EACjF,OAAO;GACL,OAAOC,EAAc,YAAY,CAAC,CAAC,SAAS,cAAc,0BAAwB,CAAC,EAAE,aAAa,SAAS,KAAK,KAAA;GAChH,YAAY,EACV,cAAc,GAChB;GACA,SAAS;IACP,gCAAgC;IAChC,kCAAkC;GACpC;EACF;CACF;AACF"}
1
+ {"version":3,"file":"index.js","names":["StandardConfigUtil","WindowService"],"sources":["../../../src/utils/StandardConfigUtil/StandardConfigUtil.ts"],"sourcesContent":["import { WindowService } from '@gen-epix/ui-core/classes/services/WindowService';\n\nimport type { ConfigBase } from '../../models/config.models';\n\nexport class StandardConfigUtil {\n public static createConfig(): Pick<ConfigBase, 'nonce' | 'pageConfig'> {\n return {\n nonce: WindowService.getInstance().document.querySelector('meta[name=\"csp-nonce\"]')?.getAttribute('content') ?? undefined,\n pageConfig: {\n appBarHeight: 48,\n },\n };\n }\n}\n"],"mappings":";;AAIA,IAAaA,IAAb,MAAgC;CAC9B,OAAc,eAAyD;EACrE,OAAO;GACL,OAAOC,EAAc,YAAY,CAAC,CAAC,SAAS,cAAc,0BAAwB,CAAC,EAAE,aAAa,SAAS,KAAK,KAAA;GAChH,YAAY,EACV,cAAc,GAChB;EACF;CACF;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivm-loculus-tools/common-frontend",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "license": "EUPL-1.2",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "@emotion/react": "*",
13
13
  "@emotion/styled": "*",
14
14
  "@gen-epix/ui-core-components": "^4.6.0",
15
- "@gen-epix/ui-core-form": "^4.5.0",
15
+ "@gen-epix/ui-core-form": "^4.5.1",
16
16
  "@gen-epix/ui-core": "^3.10.0",
17
17
  "@mui/icons-material": "*",
18
18
  "@mui/material": "*",
@@ -35,9 +35,9 @@
35
35
  "@emotion/cache": "11.14.0",
36
36
  "@emotion/react": "11.14.0",
37
37
  "@emotion/styled": "11.14.1",
38
- "@gen-epix/eslint-config": "0.8.0",
38
+ "@gen-epix/eslint-config": "0.9.0",
39
39
  "@gen-epix/ui-core-components": "4.6.0",
40
- "@gen-epix/ui-core-form": "4.5.0",
40
+ "@gen-epix/ui-core-form": "4.5.1",
41
41
  "@gen-epix/ui-core": "3.10.0",
42
42
  "@mui/icons-material": "9.5.0",
43
43
  "@mui/material": "9.5.0",
@@ -45,7 +45,7 @@
45
45
  "@mui/system": "9.5.0",
46
46
  "@mui/utils": "9.5.0",
47
47
  "@types/lodash": "4.17.27",
48
- "@types/node": "26.6.5",
48
+ "@types/node": "26.6.6",
49
49
  "@types/react-dom": "19.3.0",
50
50
  "@types/react": "19.3.0",
51
51
  "@vitejs/plugin-react": "6.1.2",
@@ -171,9 +171,9 @@
171
171
  "types": "./dist/stores/fastaDataStore/index.d.ts",
172
172
  "import": "./dist/stores/fastaDataStore/index.js"
173
173
  },
174
- "./theme": {
175
- "types": "./dist/theme/index.d.ts",
176
- "import": "./dist/theme/index.js"
174
+ "./theme/demoTheme": {
175
+ "types": "./dist/theme/demoTheme/index.d.ts",
176
+ "import": "./dist/theme/demoTheme/index.js"
177
177
  },
178
178
  "./utils/DependencyContainerUtil": {
179
179
  "types": "./dist/utils/DependencyContainerUtil/index.d.ts",
@@ -1 +0,0 @@
1
- export * from './theme';