@emerson-eps/color-tables 0.2.6 → 0.2.9

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/index.d.ts CHANGED
@@ -1,6 +1,9 @@
1
- export { ContinuousLegend } from './component/Legend/ContinuousLegend';
2
- export { colorsArray, rgbValues, RGBToHex } from './component/Utils/continousLegend';
3
- export { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
4
- export { colorTablesObj, colorTablesArray } from './component/ColorTableTypes';
1
+ import { ContinuousLegend } from './component/Legend/ContinuousLegend';
2
+ import { colorsArray, rgbValues, RGBToHex } from './component/Utils/continousLegend';
3
+ import { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
4
+ import { colorTablesObj, colorTablesArray } from './component/ColorTableTypes';
5
+ import { ColorSelectorAccordion } from './component/ColorSelector/ColorSelectorAccordion';
6
+ import { ColorSelectorComponent } from './component/ColorSelector/ColorSelectorComponent';
7
+ import { ColorSelectorWrapper } from './component/ColorSelector/ColorSelectorWrapper';
5
8
  import * as colorTables from './component/color-tables.json';
6
- export default colorTables;
9
+ export { ContinuousLegend, colorsArray, rgbValues, RGBToHex, colorTableData, DiscreteColorLegend, colorTablesObj, colorTablesArray, ColorSelectorAccordion, ColorSelectorComponent, ColorSelectorWrapper, colorTables, };
package/dist/index.js CHANGED
@@ -1,6 +1,9 @@
1
- export { ContinuousLegend } from './component/Legend/ContinuousLegend';
2
- export { colorsArray, rgbValues, RGBToHex } from './component/Utils/continousLegend';
3
- export { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
1
+ import { ContinuousLegend } from './component/Legend/ContinuousLegend';
2
+ import { colorsArray, rgbValues, RGBToHex } from './component/Utils/continousLegend';
3
+ import { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
4
+ import { ColorSelectorAccordion } from './component/ColorSelector/ColorSelectorAccordion';
5
+ import { ColorSelectorComponent } from './component/ColorSelector/ColorSelectorComponent';
6
+ import { ColorSelectorWrapper } from './component/ColorSelector/ColorSelectorWrapper';
4
7
  import * as colorTables from './component/color-tables.json';
5
- export default colorTables;
8
+ export { ContinuousLegend, colorsArray, rgbValues, RGBToHex, colorTableData, DiscreteColorLegend, ColorSelectorAccordion, ColorSelectorComponent, ColorSelectorWrapper, colorTables, };
6
9
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAC,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExF,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAC7D,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAC,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExF,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AACtF,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EACH,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,QAAQ,EACR,cAAc,EACd,mBAAmB,EAGnB,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACpB,WAAW,GACd,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emerson-eps/color-tables",
3
- "version": "0.2.6",
3
+ "version": "0.2.9",
4
4
  "description": "Standard library of color tables for geological domain",
5
5
  "release": {
6
6
  "branches": [
package/src/index.ts CHANGED
@@ -1,6 +1,23 @@
1
- export { ContinuousLegend } from './component/Legend/ContinuousLegend';
2
- export { colorsArray, rgbValues, RGBToHex} from './component/Utils/continousLegend';
3
- export { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
4
- export { colorTablesObj, colorTablesArray } from './component/ColorTableTypes';
1
+ import { ContinuousLegend } from './component/Legend/ContinuousLegend';
2
+ import { colorsArray, rgbValues, RGBToHex} from './component/Utils/continousLegend';
3
+ import { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
4
+ import { colorTablesObj, colorTablesArray } from './component/ColorTableTypes';
5
+ import { ColorSelectorAccordion } from './component/ColorSelector/ColorSelectorAccordion';
6
+ import { ColorSelectorComponent } from './component/ColorSelector/ColorSelectorComponent';
7
+ import { ColorSelectorWrapper } from './component/ColorSelector/ColorSelectorWrapper';
5
8
  import * as colorTables from './component/color-tables.json';
6
- export default colorTables;
9
+
10
+ export {
11
+ ContinuousLegend,
12
+ colorsArray,
13
+ rgbValues,
14
+ RGBToHex,
15
+ colorTableData,
16
+ DiscreteColorLegend,
17
+ colorTablesObj,
18
+ colorTablesArray,
19
+ ColorSelectorAccordion,
20
+ ColorSelectorComponent,
21
+ ColorSelectorWrapper,
22
+ colorTables,
23
+ };
package/tsconfig.json CHANGED
@@ -18,6 +18,6 @@
18
18
  "noUnusedParameters": true,
19
19
  "resolveJsonModule": true,
20
20
  },
21
- "include": ["src"],
21
+ "include": ["src", "./src/custom.d.ts"],
22
22
  "exclude": ["node_modules"]
23
23
  }