@webviz/well-log-viewer 2.6.23 → 2.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,11 +1,9 @@
1
- import type { colorTablesObj } from "@emerson-eps/color-tables/dist/component/colorTableTypes";
2
- export type ColorTable = colorTablesObj;
1
+ import type { ColorTable } from "@emerson-eps/color-tables/dist/component/colorTableTypes";
2
+ export type { ColorTable } from "@emerson-eps/color-tables/dist/component/colorTableTypes";
3
3
  export type ColorFunction = {
4
4
  name: string;
5
5
  func: (v: number) => [number, number, number];
6
6
  };
7
- export type ColormapFunction = colorTablesObj | ColorFunction;
8
- /** @deprecated Use ColormapFunction instead. */
9
- export type ColorMapFunction = ColormapFunction;
7
+ export type ColormapFunction = ColorTable | ColorFunction;
10
8
  export declare function isFunction(colormapFunction: ColormapFunction | undefined): boolean;
11
9
  export declare function getColormapFunction(functionName?: string, colormapFunctions?: ColormapFunction[]): ColormapFunction | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"color-function.js","sourceRoot":"","sources":["../../src/utils/color-function.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAYzC,MAAM,UAAU,UAAU,CACtB,gBAA8C;IAE9C,IAAI,CAAC,gBAAgB;QAAE,OAAO,KAAK,CAAC;IACpC,OAAO,CAAC,CAAE,gBAAkC,CAAC,IAAI,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,mBAAmB,CAC/B,YAAqB,EACrB,iBAAsC;IAEtC,IAAI,CAAC,YAAY;QAAE,OAAO,SAAS,CAAC;IACpC,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACrB,OAAO,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAC;QACxD,iBAAiB,GAAG,EAAE,CAAC;IAC3B,CAAC;IAED,MAAM,aAAa,GAAG,aAAa,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;IAErE,IAAI,CAAC,aAAa,EAAE,CAAC;QACjB,OAAO,CAAC,KAAK,CAAC,mBAAmB,YAAY,aAAa,CAAC,CAAC;IAChE,CAAC;IAED,OAAO,aAAa,CAAC;AACzB,CAAC"}
1
+ {"version":3,"file":"color-function.js","sourceRoot":"","sources":["../../src/utils/color-function.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAUzC,MAAM,UAAU,UAAU,CACtB,gBAA8C;IAE9C,IAAI,CAAC,gBAAgB;QAAE,OAAO,KAAK,CAAC;IACpC,OAAO,CAAC,CAAE,gBAAkC,CAAC,IAAI,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,mBAAmB,CAC/B,YAAqB,EACrB,iBAAsC;IAEtC,IAAI,CAAC,YAAY;QAAE,OAAO,SAAS,CAAC;IACpC,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACrB,OAAO,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAC;QACxD,iBAAiB,GAAG,EAAE,CAAC;IAC3B,CAAC;IAED,MAAM,aAAa,GAAG,aAAa,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;IAErE,IAAI,CAAC,aAAa,EAAE,CAAC;QACjB,OAAO,CAAC,KAAK,CAAC,mBAAmB,YAAY,aAAa,CAAC,CAAC;IAChE,CAAC;IAED,OAAO,aAAa,CAAC;AACzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webviz/well-log-viewer",
3
- "version": "2.6.23",
3
+ "version": "2.7.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,6 +8,7 @@
8
8
  "dist"
9
9
  ],
10
10
  "scripts": {
11
+ "typecheck": "tsc --noEmit --project ./tsconfig.typecheck.json",
11
12
  "transpile": "tsc --project ./tsconfig.json",
12
13
  "copy-files": "copyfiles --up 1 \"src/**/*.scss\" dist/",
13
14
  "build": "git clean -xdff dist && npm run transpile && npm run copy-files",
@@ -21,14 +22,15 @@
21
22
  "author": "Equinor <opensource@equinor.com>",
22
23
  "license": "MPL-2.0",
23
24
  "dependencies": {
24
- "@emerson-eps/color-tables": "^0.4.92",
25
+ "@emerson-eps/color-tables": "^1.0.2",
25
26
  "@equinor/videx-wellog": "^0.11.3",
26
- "@webviz/wsc-common": "1.3.22",
27
+ "@webviz/wsc-common": "1.4.0",
27
28
  "convert-units": "^2.3.4",
28
29
  "d3": "^7.8.2"
29
30
  },
30
31
  "peerDependencies": {
31
- "@mui/material": "^5.11",
32
+ "@mui/icons-material": "^5.11 || ^6 || ^7.3",
33
+ "@mui/material": "^5.11 || ^6 || ^7.3",
32
34
  "react": "^17 || ^18",
33
35
  "react-dom": "^17 || ^18"
34
36
  },