@emerson-eps/color-tables 0.1.8 → 0.1.13
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/dist/component/ColorTableTypes.d.ts +6 -0
- package/dist/component/ColorTableTypes.js +2 -0
- package/dist/component/ColorTableTypes.js.map +1 -0
- package/dist/component/Legend/ContinuousLegend.d.ts +15 -0
- package/dist/component/Legend/ContinuousLegend.js +89 -0
- package/dist/component/Legend/ContinuousLegend.js.map +1 -0
- package/dist/component/Legend/DiscreteLegend.d.ts +17 -0
- package/dist/component/Legend/DiscreteLegend.js +80 -0
- package/dist/component/Legend/DiscreteLegend.js.map +1 -0
- package/dist/component/Utils/continousLegend.d.ts +13 -0
- package/dist/component/Utils/continousLegend.js +50 -0
- package/dist/component/Utils/continousLegend.js.map +1 -0
- package/dist/component/Utils/discreteLegend.d.ts +5 -0
- package/dist/component/Utils/discreteLegend.js +60 -0
- package/dist/component/Utils/discreteLegend.js.map +1 -0
- package/dist/component/WelllayerTemplateTypes.d.ts +13 -0
- package/dist/component/WelllayerTemplateTypes.js +2 -0
- package/dist/component/WelllayerTemplateTypes.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/stories/ColorLegends/ContinousLgends/MD.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/ContinousLgends/MD.stories.js +29 -0
- package/dist/stories/ColorLegends/ContinousLgends/MD.stories.js.map +1 -0
- package/dist/stories/ColorLegends/ContinousLgends/NTG.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/ContinousLgends/NTG.stories.js +29 -0
- package/dist/stories/ColorLegends/ContinousLgends/NTG.stories.js.map +1 -0
- package/dist/stories/ColorLegends/ContinousLgends/PermTot.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/ContinousLgends/PermTot.stories.js +29 -0
- package/dist/stories/ColorLegends/ContinousLgends/PermTot.stories.js.map +1 -0
- package/dist/stories/ColorLegends/ContinousLgends/Permeability.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/ContinousLgends/Permeability.stories.js +29 -0
- package/dist/stories/ColorLegends/ContinousLgends/Permeability.stories.js.map +1 -0
- package/dist/stories/ColorLegends/ContinousLgends/PoroTot.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/ContinousLgends/PoroTot.stories.js +29 -0
- package/dist/stories/ColorLegends/ContinousLgends/PoroTot.stories.js.map +1 -0
- package/dist/stories/ColorLegends/ContinousLgends/Porosity.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/ContinousLgends/Porosity.stories.js +29 -0
- package/dist/stories/ColorLegends/ContinousLgends/Porosity.stories.js.map +1 -0
- package/dist/stories/ColorLegends/ContinousLgends/SW.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/ContinousLgends/SW.stories.js +29 -0
- package/dist/stories/ColorLegends/ContinousLgends/SW.stories.js.map +1 -0
- package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js +38 -0
- package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js.map +1 -0
- package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js +38 -0
- package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js.map +1 -0
- package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js +30 -0
- package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js.map +1 -0
- package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js +30 -0
- package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js.map +1 -0
- package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js +33 -0
- package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js.map +1 -0
- package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js +44 -0
- package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js.map +1 -0
- package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js +33 -0
- package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js.map +1 -0
- package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js +43 -0
- package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js.map +1 -0
- package/package.json +8 -7
- package/src/component/Legend/ContinuousLegend.tsx +4 -6
- package/src/component/Legend/DiscreteLegend.tsx +2 -5
- package/src/component/color-tables.json +15 -1
- package/src/component/welllayer_template.json +1 -1
- package/src/custom.d.ts +1 -0
- package/src/index.ts +5 -1
- package/src/stories/ColorLegends/ContinousLgends/MD.stories.jsx +1 -1
- package/src/stories/ColorLegends/ContinousLgends/NTG.stories.jsx +1 -1
- package/src/stories/ColorLegends/ContinousLgends/PermTot.stories.jsx +1 -1
- package/src/stories/ColorLegends/ContinousLgends/Permeability.stories.jsx +1 -1
- package/src/stories/ColorLegends/ContinousLgends/PoroTot.stories.jsx +1 -1
- package/src/stories/ColorLegends/ContinousLgends/Porosity.stories.jsx +1 -1
- package/src/stories/ColorLegends/ContinousLgends/SW.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/Facies.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/RDE.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/Zonelog.stories.jsx +1 -1
- package/tsconfig.json +24 -0
- package/src/setupTests.js +0 -5
- package/src/tsconfig.json +0 -25
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
//"baseUrl": "src",
|
|
4
|
+
"outDir": "dist",
|
|
5
|
+
"module": "es6",
|
|
6
|
+
"target": "es6",
|
|
7
|
+
//"lib": ["es6", "dom", "es2016", "es2017"],
|
|
8
|
+
"sourceMap": true,
|
|
9
|
+
"allowJs": true,
|
|
10
|
+
"jsx": "react",
|
|
11
|
+
"declaration": true,
|
|
12
|
+
"moduleResolution": "node",
|
|
13
|
+
"forceConsistentCasingInFileNames": true,
|
|
14
|
+
"noImplicitReturns": true,
|
|
15
|
+
"noImplicitThis": true,
|
|
16
|
+
"noImplicitAny": true,
|
|
17
|
+
"strictNullChecks": true,
|
|
18
|
+
"suppressImplicitAnyIndexErrors": true,
|
|
19
|
+
"noUnusedLocals": true,
|
|
20
|
+
"noUnusedParameters": true
|
|
21
|
+
},
|
|
22
|
+
"include": ["src",],
|
|
23
|
+
"exclude": ["node_modules"]
|
|
24
|
+
}
|
package/src/setupTests.js
DELETED
package/src/tsconfig.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"baseUrl": "./src",
|
|
4
|
-
//"outDir": "build",
|
|
5
|
-
"module": "esnext",
|
|
6
|
-
"target": "es5",
|
|
7
|
-
"lib": ["es6", "dom", "es2016", "es2017"],
|
|
8
|
-
"sourceMap": true,
|
|
9
|
-
"allowJs": false,
|
|
10
|
-
"jsx": "react",
|
|
11
|
-
"declaration": true,
|
|
12
|
-
"moduleResolution": "node",
|
|
13
|
-
"forceConsistentCasingInFileNames": true,
|
|
14
|
-
"noImplicitReturns": true,
|
|
15
|
-
"noImplicitThis": true,
|
|
16
|
-
"noImplicitAny": true,
|
|
17
|
-
"strictNullChecks": true,
|
|
18
|
-
"suppressImplicitAnyIndexErrors": true,
|
|
19
|
-
"noUnusedLocals": true,
|
|
20
|
-
"noUnusedParameters": true
|
|
21
|
-
},
|
|
22
|
-
//"include": ["./src/component"],
|
|
23
|
-
"exclude": [ "" ]
|
|
24
|
-
}
|
|
25
|
-
|