diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b5fff5cc..618b80199 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Not released +- Improve types [#160](https://github.com/CartoDB/carto-react/pull/160) - Update deck.gl version to 8.5.0 [#162](https://github.com/CartoDB/carto-react/pull/162) - Fix Material-UI warnings on justify property [#162](https://github.com/CartoDB/carto-react/pull/162) diff --git a/packages/react-core/src/index.d.ts b/packages/react-core/src/index.d.ts index 190079a23..b163a6ab0 100644 --- a/packages/react-core/src/index.d.ts +++ b/packages/react-core/src/index.d.ts @@ -1,9 +1,24 @@ +export { + getRequest, + postRequest, + encodeParameter, + REQUEST_GET_MAX_URL_LENGTH +} from './utils/requestsUtils'; + +export { debounce } from './utils/debounce'; +export { throttle } from './utils/throttle'; +export { randomString } from './utils/randomString'; + +export { makeClosedInterval } from './utils/makeClosedInterval'; + export { AggregationTypes } from './operations/aggregation/AggregationTypes'; export { aggregationFunctions } from './operations/aggregation/values'; export { groupValuesByColumn } from './operations/groupby'; export { histogram } from './operations/histogram'; +export { scatterPlot } from './operations/scatterPlot'; -export { viewportFeatures as viewportFeaturesBinary } from './filters/viewportFeaturesBinary'; +export { viewportFeatures } from './filters/viewportFeatures'; +export { viewportFeaturesBinary } from './filters/viewportFeaturesBinary'; export { viewportFeaturesGeoJSON } from './filters/viewportFeaturesGeoJSON'; export { AggregationFunctions, GroupByFeature, HistogramFeature, Viewport, ViewportFeaturesBinary } from './types'; diff --git a/packages/react-ui/src/widgets/legend/LegendProportion.js b/packages/react-ui/src/widgets/legend/LegendProportion.js index dd0ed0d01..88eee4a7b 100644 --- a/packages/react-ui/src/widgets/legend/LegendProportion.js +++ b/packages/react-ui/src/widgets/legend/LegendProportion.js @@ -57,7 +57,14 @@ export default function LegendProportion({ legend }) { */} - + Max: {max} diff --git a/packages/react-widgets/src/index.d.ts b/packages/react-widgets/src/index.d.ts index ffcd9c41d..2c7d44c1a 100644 --- a/packages/react-widgets/src/index.d.ts +++ b/packages/react-widgets/src/index.d.ts @@ -5,3 +5,10 @@ export { default as HistogramWidget } from './widgets/HistogramWidget'; export { default as PieWidget } from './widgets/PieWidget'; export { default as LegendWidget } from './widgets/LegendWidget'; export { default as ScatterPlotWidget } from './widgets/ScatterPlotWidget'; +export { + getFormula, + getHistogram, + getCategories, + geocodeStreetPoint, + getScatter +} from './models';