Skip to content

Commit 2d003b9

Browse files
committed
fix ColorMapType declaration to remove values type AGAIN
1 parent 59e243b commit 2d003b9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@renci/apsviz-geostyler",
3-
"version": "15.0.20",
3+
"version": "15.0.21",
44
"description": "Framework for styling geodata",
55
"main": "dist/index.js",
66
"type": "module",

src/Component/Symbolizer/Field/ColorMapTypeField/ColorMapTypeField.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,11 @@ import {
3838
Tooltip
3939
} from '@mui/joy';
4040

41-
//import { ColorMapType } from 'geostyler-style';
41+
import { ColorMapType } from 'geostyler-style';
4242
// import { RadioChangeEvent } from 'antd/lib/radio';
4343

4444
import _get from 'lodash/get';
4545
//import { useGeoStylerLocale } from '../../../../context/GeoStylerContext/GeoStylerContext';
46-
type ColorMapType = 'ramp' | 'intervals';
4746

4847
export interface ColorMapTypeFieldProps {
4948
colorMapTypeOptions?: ColorMapType[];
@@ -63,7 +62,8 @@ export const ColorMapTypeField: React.FC<ColorMapTypeFieldProps> = ({
6362
// add a tooltip for each colorMapTypeOption
6463
const colorMapTypeToolTips = {
6564
"ramp": "colors interpolated between intervals",
66-
"intervals": "no color interpolation between intervals"
65+
"intervals": "no color interpolation between intervals",
66+
"values": ""
6767
};
6868

6969
// const locale = useGeoStylerLocale('ColorMapTypeField');

0 commit comments

Comments
 (0)