Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

[chore] 3.1.0-alpha.2 release (#2855)

Igor Dykhta6804129665fd
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c478ee093..50f71466f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,51 @@ Each version should:
Ref: http://keepachangelog.com/en/0.3.0/
-->
+## [3.1.0-alpha.2] - December 24 2024
+
+- f9b385a6e [fix] Fixed time filter bug where points located at the borders of the domains were not correctly displayed (#2854)
+- 59abc6a19 [fix] fix for custom color scales with tile layer (#2853)
+- 3a4bf667f [feat] histogram and point layer fixes (#2852)
+- f9c52e538 [feat] color scale histogram (#2851)
+- 3e7dc937a [fix] custom palette issues (#2850)
+- d55797991 [docs] Replace yarn global add with yarn dlx for puppeteer installation (#2849)
+- e106c1927 [feat] Plumbing for vector tile layer (#2839)
+- a2abbf72d [fix] fix yarn cover regression (#2846)
+- 6925bd429 [docs] update demo-app/README.md (#2847)
+- f05b6e37d [chore] Bump nanoid from 3.3.7 to 3.3.8 in /website (#2840)
+- 4baa44d9b [chore] Bump nanoid from 3.3.7 to 3.3.8 (#2837)
+- b09d7eb95 [Enhancement] support mapbox url protocol (#2693)
+- 215383661 [Feat] Redesign color range to use chormajs and d3 color function (#2835)
+- bded7af76 [Feat] handle layer color scale by field.domainQuantiles (#2829)
+- 5f7c26bd0 [fix] Prevent duplicate legend in line and arc layers (#2830)
+- 639c7a5b9 [feat] Apply new legend style (#2831)
+- f9c214dd5 [chore] getSelectedFeature (#2832)
+- efdf2ea8d [chore] ts fixes (#2827)
+- 074d123dd [Feat] Add display format setting for table/tooltip (#2826)
+- aec75d819 [Chore] Minor ts refactoring (#2825)
+- 1825b6572 [fix] Expand legend (#2824)
+- bb6a376e8 [fix] adjust time range filter on value set (#2823)
+- cef3faf19 [Feat] add h3 typed column (#2822)
+- c5d42ddc9 [fix] Fix multiple field filtering in setFilterUpdater (#2821)
+- c4d1cfff0 [FEAT] support domain.domainStops in layer color, render color legend based on zoom (#2815)
+- 3a4feac59 [fix] Line layer is not displayed for between hex ids (#2820)
+- 89411c820 [fix] Typescript 4.4 fixes (#2816)
+- 240289603 [feat] Show selected fields in the tooltip for aggregation layers (#2814)
+- 95c6ed14b [chore] Bump elliptic from 6.5.7 to 6.6.1 in /bindings/kepler.gl-jupyter/js (#2818)
+- fb3fa7b58 [chore] Bump cross-spawn from 6.0.5 to 6.0.6 in /website (#2817)
+- f476a1c4c [chore] Bump elliptic from 6.5.7 to 6.6.0 (#2720)
+- c727356f7 [chore] Bump cross-spawn from 6.0.5 to 6.0.6 (#2772)
+- 3950d73ab [chore] Fixes in README.md (#2810)
+- 786aa36cf [Fix] Don't modify height for with fixed height enabled; Height UI unification (#2804)
+- 2178d9057 [fix] show sync layer animations when there is one dataset (#2803)
+- 6f35313f7 [chore] timeline refactoring (#2802)
+- d50bbc831 [fix] Updated plot when changing cross filters (#2801)
+- b4dfa2fce [fix] disable Share Map for FSQ provider (#2808)
+- 86b5dda7e [Feat] AI Assistant [2] (#2777)
+- 5a0cbca66 [Bug] Fix issue with React StrictMode causing Dataset table to not display (#2683)
+- b147db8d5 [chore] Local Development Guide Update (#2806)
+- 6223be939 [fix] Foursquare storage provider improvements (#2800)
+
## [3.1.0-alpha.1] - December 3 2024
- f6b37c6af [fix] fixes for exported maps
diff --git a/examples/demo-app/src/factories/load-data-modal.js b/examples/demo-app/src/factories/load-data-modal.js
index 110006ab3..ebf3da570 100644
--- a/examples/demo-app/src/factories/load-data-modal.js
+++ b/examples/demo-app/src/factories/load-data-modal.js
@@ -29,7 +29,7 @@ const CustomLoadDataModalFactory = (...deps) => {
// add more loading methods
const loadingMethods = [
defaultLoadingMethods.find(lm => lm.id === 'upload'),
- defaultLoadingMethods.find(lm => lm.id === 'tileset'),
+ // defaultLoadingMethods.find(lm => lm.id === 'tileset'),
additionalMethods.remote,
defaultLoadingMethods.find(lm => lm.id === 'storage'),
additionalMethods.sample
diff --git a/package.json b/package.json
index c368ac33c..565bd0d6e 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "kepler.gl",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl is a webgl based application to visualize large scale location data in the browser",
"license": "MIT",
"main": "dist/index.js",
@@ -24,9 +24,9 @@
"./src/localization",
"./src/deckgl-layers",
"./src/deckgl-arrow-layers",
+ "./src/table",
"./src/layers",
"./src/schemas",
- "./src/table",
"./src/cloud-providers",
"./src/processors",
"./src/tasks",
@@ -103,7 +103,7 @@
"@deck.gl/mapbox": "^8.9.27",
"@hubble.gl/core": "1.2.0-alpha.6",
"@hubble.gl/react": "1.2.0-alpha.6",
- "@kepler.gl/components": "3.1.0-alpha.1",
+ "@kepler.gl/components": "3.1.0-alpha.2",
"@loaders.gl/polyfills": "^4.3.2",
"@types/mapbox__geo-viewport": "^0.4.1",
"html-webpack-plugin": "^4.3.0",
diff --git a/src/actions/package.json b/src/actions/package.json
index 6ba1bb22b..f9ef1694a 100644
--- a/src/actions/package.json
+++ b/src/actions/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/actions",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -31,11 +31,11 @@
],
"dependencies": {
"@deck.gl/core": "^8.9.27",
- "@kepler.gl/cloud-providers": "3.1.0-alpha.1",
- "@kepler.gl/constants": "3.1.0-alpha.1",
- "@kepler.gl/layers": "3.1.0-alpha.1",
- "@kepler.gl/processors": "3.1.0-alpha.1",
- "@kepler.gl/types": "3.1.0-alpha.1",
+ "@kepler.gl/cloud-providers": "3.1.0-alpha.2",
+ "@kepler.gl/constants": "3.1.0-alpha.2",
+ "@kepler.gl/layers": "3.1.0-alpha.2",
+ "@kepler.gl/processors": "3.1.0-alpha.2",
+ "@kepler.gl/types": "3.1.0-alpha.2",
"@reduxjs/toolkit": "^1.7.2",
"@types/lodash.curry": "^4.1.7",
"@types/react-redux": "^7.1.23",
diff --git a/src/ai-assistant/package.json b/src/ai-assistant/package.json
index 612047718..856348624 100644
--- a/src/ai-assistant/package.json
+++ b/src/ai-assistant/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/ai-assistant",
"author": "Xun Li<[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl AI assistant",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -30,11 +30,12 @@
"umd"
],
"dependencies": {
- "@kepler.gl/components": "3.1.0-alpha.1",
- "@kepler.gl/constants": "3.1.0-alpha.1",
- "@kepler.gl/layers": "3.1.0-alpha.1",
- "@kepler.gl/types": "3.1.0-alpha.1",
- "@kepler.gl/utils": "3.1.0-alpha.1",
+ "@kepler.gl/components": "3.1.0-alpha.2",
+ "@kepler.gl/constants": "3.1.0-alpha.2",
+ "@kepler.gl/layers": "3.1.0-alpha.2",
+ "@kepler.gl/table": "3.1.0-alpha.2",
+ "@kepler.gl/types": "3.1.0-alpha.2",
+ "@kepler.gl/utils": "3.1.0-alpha.2",
"color-interpolate": "^1.0.5",
"echarts": "^5.5.1",
"global": "^4.3.0",
diff --git a/src/ai-assistant/src/constants.ts b/src/ai-assistant/src/constants.ts
index 8597677e0..3c6d4e005 100644
--- a/src/ai-assistant/src/constants.ts
+++ b/src/ai-assistant/src/constants.ts
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: MIT
+// Copyright contributors to the kepler.gl project
+
export const TASK_LIST =
'1. Show dataset/layer/variable info.\n2. Change the basemap style.\n3. Load data from url.\n4. Create a map layer using variable.\n5. Filter the data of a variable.\n6. Create a histogram.';
diff --git a/src/ai-assistant/src/tools/filter-function.tsx b/src/ai-assistant/src/tools/filter-function.tsx
index 011f45e98..b3b90ef19 100644
--- a/src/ai-assistant/src/tools/filter-function.tsx
+++ b/src/ai-assistant/src/tools/filter-function.tsx
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: MIT
+// Copyright contributors to the kepler.gl project
+
import {useSelector} from 'react-redux';
import {ActionHandler, createOrUpdateFilter, setFilter, setFilterPlot} from '@kepler.gl/actions';
diff --git a/src/ai-assistant/src/tools/layer-creation-function.tsx b/src/ai-assistant/src/tools/layer-creation-function.tsx
index 30333e022..cad1f5558 100644
--- a/src/ai-assistant/src/tools/layer-creation-function.tsx
+++ b/src/ai-assistant/src/tools/layer-creation-function.tsx
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: MIT
+// Copyright contributors to the kepler.gl project
+
import {ActionHandler, addLayer} from '@kepler.gl/actions';
import {LayerClasses} from '@kepler.gl/layers';
import KeplerTable, {Datasets} from '@kepler.gl/table';
diff --git a/src/ai-assistant/src/tools/layer-style-function.tsx b/src/ai-assistant/src/tools/layer-style-function.tsx
index 9191bdf82..5efd10083 100644
--- a/src/ai-assistant/src/tools/layer-style-function.tsx
+++ b/src/ai-assistant/src/tools/layer-style-function.tsx
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: MIT
+// Copyright contributors to the kepler.gl project
+
// This file is used to call the LAYER_VISUAL_CHANNEL_CHANGE to update the layer style
import {
diff --git a/src/ai-assistant/src/tools/utils.ts b/src/ai-assistant/src/tools/utils.ts
index 8c7d06646..241070158 100644
--- a/src/ai-assistant/src/tools/utils.ts
+++ b/src/ai-assistant/src/tools/utils.ts
@@ -1,6 +1,10 @@
+// SPDX-License-Identifier: MIT
+// Copyright contributors to the kepler.gl project
+
+import interpolate from 'color-interpolate';
+
import {Layer} from '@kepler.gl/layers';
import {Datasets, KeplerTable} from '@kepler.gl/table';
-import interpolate from 'color-interpolate';
export function checkDatasetNotExists(
datasets: Datasets,
diff --git a/src/cloud-providers/package.json b/src/cloud-providers/package.json
index 7ca695bcf..9f81dda85 100644
--- a/src/cloud-providers/package.json
+++ b/src/cloud-providers/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/cloud-providers",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -30,7 +30,7 @@
"umd"
],
"dependencies": {
- "@kepler.gl/types": "3.1.0-alpha.1",
+ "@kepler.gl/types": "3.1.0-alpha.2",
"react": "^18.2.0"
},
"nyc": {
diff --git a/src/common-utils/package.json b/src/common-utils/package.json
index 79831a5f8..796a960f2 100644
--- a/src/common-utils/package.json
+++ b/src/common-utils/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/common-utils",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl common utils",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -30,8 +30,8 @@
"umd"
],
"dependencies": {
- "@kepler.gl/constants": "3.1.0-alpha.1",
- "@kepler.gl/types": "3.1.0-alpha.1",
+ "@kepler.gl/constants": "3.1.0-alpha.2",
+ "@kepler.gl/types": "3.1.0-alpha.2",
"d3-array": "^2.8.0",
"global": "^4.3.0",
"type-analyzer": "0.4.0"
diff --git a/src/components/package.json b/src/components/package.json
index dac381e86..8ac9becd2 100644
--- a/src/components/package.json
+++ b/src/components/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/components",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && ../../node_modules/.bin/babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -37,20 +37,20 @@
"@dnd-kit/sortable": "^7.0.2",
"@dnd-kit/utilities": "^3.2.1",
"@floating-ui/react": "0.25.1",
- "@kepler.gl/actions": "3.1.0-alpha.1",
- "@kepler.gl/cloud-providers": "3.1.0-alpha.1",
- "@kepler.gl/common-utils": "3.1.0-alpha.1",
- "@kepler.gl/constants": "3.1.0-alpha.1",
- "@kepler.gl/effects": "3.1.0-alpha.1",
- "@kepler.gl/layers": "3.1.0-alpha.1",
- "@kepler.gl/localization": "3.1.0-alpha.1",
- "@kepler.gl/processors": "3.1.0-alpha.1",
- "@kepler.gl/reducers": "3.1.0-alpha.1",
- "@kepler.gl/schemas": "3.1.0-alpha.1",
- "@kepler.gl/styles": "3.1.0-alpha.1",
- "@kepler.gl/table": "3.1.0-alpha.1",
- "@kepler.gl/types": "3.1.0-alpha.1",
- "@kepler.gl/utils": "3.1.0-alpha.1",
+ "@kepler.gl/actions": "3.1.0-alpha.2",
+ "@kepler.gl/cloud-providers": "3.1.0-alpha.2",
+ "@kepler.gl/common-utils": "3.1.0-alpha.2",
+ "@kepler.gl/constants": "3.1.0-alpha.2",
+ "@kepler.gl/effects": "3.1.0-alpha.2",
+ "@kepler.gl/layers": "3.1.0-alpha.2",
+ "@kepler.gl/localization": "3.1.0-alpha.2",
+ "@kepler.gl/processors": "3.1.0-alpha.2",
+ "@kepler.gl/reducers": "3.1.0-alpha.2",
+ "@kepler.gl/schemas": "3.1.0-alpha.2",
+ "@kepler.gl/styles": "3.1.0-alpha.2",
+ "@kepler.gl/table": "3.1.0-alpha.2",
+ "@kepler.gl/types": "3.1.0-alpha.2",
+ "@kepler.gl/utils": "3.1.0-alpha.2",
"@mapbox/mapbox-sdk": "^0.15.3",
"@nebula.gl/edit-modes": "1.0.2-alpha.1",
"@tippyjs/react": "^4.2.0",
diff --git a/src/components/src/common/animation-control/floating-time-display.tsx b/src/components/src/common/animation-control/floating-time-display.tsx
index 2063958f1..55456e581 100644
--- a/src/components/src/common/animation-control/floating-time-display.tsx
+++ b/src/components/src/common/animation-control/floating-time-display.tsx
@@ -144,7 +144,7 @@ export default function FloatingTimeDisplayFactory() {
return accu;
},
- {displayDate: [], displayTime: []}
+ {displayDate: [], displayTime: []} as {displayDate: string[], displayTime: string[]}
);
}, [currentTime, timeFormat, defaultTimeFormat, timezone]);
diff --git a/src/components/src/map/map-legend.tsx b/src/components/src/map/map-legend.tsx
index 09f191dbc..d380445e2 100644
--- a/src/components/src/map/map-legend.tsx
+++ b/src/components/src/map/map-legend.tsx
@@ -340,7 +340,7 @@ export function LayerLegendContentFactory(
}) => {
const visualChannels = layer.getLegendVisualChannels();
const channelKeys = Object.values(visualChannels);
- const colorChannels = channelKeys.filter(isColorChannel);
+ const colorChannels = channelKeys.filter(isColorChannel) as VisualChannel[];
const nonColorChannels = channelKeys.filter(vc => !isColorChannel(vc));
const width = containerW - 2 * DIMENSIONS.mapControl.padding;
@@ -372,7 +372,7 @@ export function LayerLegendContentFactory(
actionIcons={actionIcons}
/>
))}
- {nonColorChannels.map(visualChannel => {
+ {nonColorChannels.map((visualChannel: VisualChannel) => {
const matchCondition = !visualChannel.condition || visualChannel.condition(layer.config);
const enabled = layer.config[visualChannel.field] || visualChannel.defaultMeasure;
diff --git a/src/components/src/modals/tilesets-modals/load-tileset.tsx b/src/components/src/modals/tilesets-modals/load-tileset.tsx
index bbef3a9a3..b706e109d 100644
--- a/src/components/src/modals/tilesets-modals/load-tileset.tsx
+++ b/src/components/src/modals/tilesets-modals/load-tileset.tsx
@@ -15,7 +15,7 @@ import LoadDataFooter from './load-data-footer';
// import TilesetIcon from './tileset-icon';
import TilesetVectorForm from './tileset-vector-form';
-const WIDTH_ICON = '62px';
+// const WIDTH_ICON = '62px';
const LoadTilesetTabContainer = styled.div`
color: ${props => props.theme.AZURE};
@@ -27,11 +27,12 @@ const Container = styled.div`
background-color: ${props => props.theme.WHITE};
`;
-// @ts-expect-error
+/*
const TilesetTypeContainer = styled.div`
display: grid;
grid-template-columns: repeat(4, ${WIDTH_ICON});
`;
+*/
const MetaContainer = styled.div`
display: flex;
@@ -96,8 +97,7 @@ function LoadTilesetTabFactory() {
isAddingDatasets,
intl
}) => {
- // @ts-expect-error
- const [typeIndex, setTypeIndex] = useState<number>(0);
+ const [typeIndex/*, setTypeIndex*/] = useState<number>(0);
const [response, setResponse] = useState<MetaResponse>({});
const error = response.error;
diff --git a/src/components/src/side-panel/layer-panel/layer-column-mode-config.tsx b/src/components/src/side-panel/layer-panel/layer-column-mode-config.tsx
index ad7e66b54..b66fdbbd5 100644
--- a/src/components/src/side-panel/layer-panel/layer-column-mode-config.tsx
+++ b/src/components/src/side-panel/layer-panel/layer-column-mode-config.tsx
@@ -209,6 +209,7 @@ export type LayerColumnModeConfigProps = {
fieldPairs?: FieldPair[];
openModal: (l: LayerInfoModal) => void;
updateLayerConfig: (config: Partial<LayerBaseConfig>) => void;
+ updateLayerType: (type: string) => void;
};
LayerColumnModeConfigFactory.deps = [LayerColumnConfigFactory, ColumnModeConfigFactory];
diff --git a/src/components/src/side-panel/layer-panel/layer-configurator.tsx b/src/components/src/side-panel/layer-panel/layer-configurator.tsx
index 9ae3944db..ebec6b7a9 100644
--- a/src/components/src/side-panel/layer-panel/layer-configurator.tsx
+++ b/src/components/src/side-panel/layer-panel/layer-configurator.tsx
@@ -1070,8 +1070,8 @@ export default function LayerConfiguratorFactory(
return (
<StyledLayerConfigurator>
{layer.layerInfoModal && !layer.supportedColumnModes ? (
- // @ts-expect-error wrong handler type?
- <HowToButton onClick={() => openModal(layer.layerInfoModal)} />
+ // TODO figure out handler type. String or return type of layer.layerInfoModal ?
+ <HowToButton onClick={() => openModal(layer.layerInfoModal as any)} />
) : null}
<LayerConfigGroup label={'layer.basic'} collapsible expanded={!layer.hasAllColumns()}>
<LayerTypeSelector
@@ -1094,8 +1094,8 @@ export default function LayerConfiguratorFactory(
supportedColumnModes={layer.supportedColumnModes}
id={layer.id}
layerConfig={layer.config}
- // @ts-expect-error wrong handler type?
- openModal={openModal}
+ // TODO figure out handler type. String or return type of layer.layerInfoModal ?
+ openModal={openModal as any}
updateLayerConfig={updateLayerConfig}
updateLayerType={updateLayerType}
fields={fields}
diff --git a/src/constants/package.json b/src/constants/package.json
index 498a9cb7a..543d78822 100644
--- a/src/constants/package.json
+++ b/src/constants/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/constants",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:umd && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:umd && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -30,7 +30,7 @@
"umd"
],
"dependencies": {
- "@kepler.gl/types": "3.1.0-alpha.1",
+ "@kepler.gl/types": "3.1.0-alpha.2",
"@types/d3-scale": "^3.2.2",
"@types/keymirror": "^0.1.1",
"chroma-js": "2.1.2",
diff --git a/src/deckgl-arrow-layers/package.json b/src/deckgl-arrow-layers/package.json
index 94b24991a..d9c767362 100644
--- a/src/deckgl-arrow-layers/package.json
+++ b/src/deckgl-arrow-layers/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/deckgl-arrow-layers",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "Deck.gl layers with GeoArrow and GeoParquet support",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
diff --git a/src/deckgl-layers/package.json b/src/deckgl-layers/package.json
index 7ec18f7c4..9d52a2760 100644
--- a/src/deckgl-layers/package.json
+++ b/src/deckgl-layers/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/deckgl-layers",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -35,9 +35,9 @@
"@deck.gl/core": "^8.9.27",
"@deck.gl/geo-layers": "^8.9.27",
"@deck.gl/layers": "^8.9.27",
- "@kepler.gl/constants": "3.1.0-alpha.1",
- "@kepler.gl/types": "3.1.0-alpha.1",
- "@kepler.gl/utils": "3.1.0-alpha.1",
+ "@kepler.gl/constants": "3.1.0-alpha.2",
+ "@kepler.gl/types": "3.1.0-alpha.2",
+ "@kepler.gl/utils": "3.1.0-alpha.2",
"@luma.gl/constants": "^8.5.20",
"@luma.gl/core": "^8.5.20",
"@mapbox/geo-viewport": "^0.4.1",
diff --git a/src/effects/package.json b/src/effects/package.json
index 2a8ccf44a..192dc8d2f 100644
--- a/src/effects/package.json
+++ b/src/effects/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/effects",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl viaual effects",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -31,9 +31,9 @@
],
"dependencies": {
"@deck.gl/core": "^8.9.27",
- "@kepler.gl/constants": "3.1.0-alpha.1",
- "@kepler.gl/types": "3.1.0-alpha.1",
- "@kepler.gl/utils": "3.1.0-alpha.1",
+ "@kepler.gl/constants": "3.1.0-alpha.2",
+ "@kepler.gl/types": "3.1.0-alpha.2",
+ "@kepler.gl/utils": "3.1.0-alpha.2",
"@luma.gl/core": "^8.5.20",
"@luma.gl/shadertools": "^8.5.20",
"suncalc": "^1.9.0"
diff --git a/src/layers/package.json b/src/layers/package.json
index da58fd8d2..d9ba509ca 100644
--- a/src/layers/package.json
+++ b/src/layers/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/layers",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -36,14 +36,14 @@
"@deck.gl/geo-layers": "^8.9.27",
"@deck.gl/layers": "^8.9.27",
"@deck.gl/mesh-layers": "^8.9.27",
- "@kepler.gl/common-utils": "3.1.0-alpha.1",
- "@kepler.gl/constants": "3.1.0-alpha.1",
- "@kepler.gl/deckgl-arrow-layers": "3.1.0-alpha.1",
- "@kepler.gl/deckgl-layers": "3.1.0-alpha.1",
- "@kepler.gl/localization": "3.1.0-alpha.1",
- "@kepler.gl/table": "3.1.0-alpha.1",
- "@kepler.gl/types": "3.1.0-alpha.1",
- "@kepler.gl/utils": "3.1.0-alpha.1",
+ "@kepler.gl/common-utils": "3.1.0-alpha.2",
+ "@kepler.gl/constants": "3.1.0-alpha.2",
+ "@kepler.gl/deckgl-arrow-layers": "3.1.0-alpha.2",
+ "@kepler.gl/deckgl-layers": "3.1.0-alpha.2",
+ "@kepler.gl/localization": "3.1.0-alpha.2",
+ "@kepler.gl/table": "3.1.0-alpha.2",
+ "@kepler.gl/types": "3.1.0-alpha.2",
+ "@kepler.gl/utils": "3.1.0-alpha.2",
"@loaders.gl/arrow": "^4.3.2",
"@loaders.gl/core": "^4.3.2",
"@loaders.gl/gis": "^4.3.2",
diff --git a/src/layers/src/base-layer.ts b/src/layers/src/base-layer.ts
index dc6436243..3f1d4be3a 100644
--- a/src/layers/src/base-layer.ts
+++ b/src/layers/src/base-layer.ts
@@ -34,6 +34,7 @@ import {
} from '@kepler.gl/constants';
import {
DataContainerInterface,
+ DomainQuantiles,
getLatLngBounds,
getSampleContainerData,
hasColorMap,
@@ -220,7 +221,7 @@ function* generateColor(): Generator<RGBColor> {
if (index === layerColors.length) {
index = 0;
}
- yield layerColors[index++];
+ yield layerColors[index++] as unknown as RGBColor;
}
}
@@ -866,7 +867,10 @@ class Layer {
const colorUIProp = Object.entries(newConfig).reduce((accu, [key, value]) => {
return {
...accu,
- [key]: isPlainObject(accu[key]) && isPlainObject(value) ? {...accu[key], ...value} : value
+ [key]:
+ isPlainObject(accu[key]) && isPlainObject(value)
+ ? {...accu[key], ...(value as Record<string, unknown>)}
+ : value
};
}, previous[prop] || DEFAULT_COLOR_UI);
@@ -1095,9 +1099,9 @@ class Layer {
}
/**
* Mapping from visual channels to deck.gl accesors
- * @param {Object} param Parameters
- * @param {Function} param.dataAccessor Access kepler.gl layer data from deck.gl layer
- * @param {import('utils/table-utils/data-container-interface').DataContainerInterface} param.dataContainer DataContainer to use use with dataAccessor
+ * @param param Parameters
+ * @param param.dataAccessor Access kepler.gl layer data from deck.gl layer
+ * @param param.dataContainer DataContainer to use use with dataAccessor
* @return {Object} attributeAccessors - deck.gl layer attribute accessors
*/
getAttributeAccessors({
@@ -1192,7 +1196,7 @@ class Layer {
getVisChannelScale(
scale: string,
- domain: VisualChannelDomain,
+ domain: VisualChannelDomain | DomainQuantiles,
range: any,
fixed?: boolean
): GetVisChannelScaleReturnType {
diff --git a/src/layers/src/index.ts b/src/layers/src/index.ts
index 281a000ce..bf3c2d082 100644
--- a/src/layers/src/index.ts
+++ b/src/layers/src/index.ts
@@ -41,7 +41,7 @@ export {defaultElevation as s2DefaultElevation} from './s2-geometry-layer/s2-geo
export {getS2Center} from './s2-geometry-layer/s2-utils';
export {default as AggregationLayer} from './aggregation-layer';
-import {default as VectorTileLayer} from './vector-tile/vector-tile-layer';
+// import {default as VectorTileLayer} from './vector-tile/vector-tile-layer';
export {
getMetaUrl,
@@ -85,8 +85,8 @@ export const KeplerGlLayers = {
H3Layer,
ScenegraphLayer,
TripLayer,
- S2GeometryLayer,
- VectorTileLayer
+ S2GeometryLayer
+ // VectorTileLayer
};
export type LayerClassesType = typeof LayerClasses;
@@ -103,8 +103,8 @@ export const LayerClasses = {
[LAYER_TYPES.hexagonId]: H3Layer,
[LAYER_TYPES['3D']]: ScenegraphLayer,
[LAYER_TYPES.trip]: TripLayer,
- [LAYER_TYPES.s2]: S2GeometryLayer,
- [LAYER_TYPES['vectorTile']]: VectorTileLayer
+ [LAYER_TYPES.s2]: S2GeometryLayer
+ //[LAYER_TYPES['vectorTile']]: VectorTileLayer
};
export * from './mapbox-utils';
diff --git a/src/layers/src/vector-tile/abstract-tile-layer.ts b/src/layers/src/vector-tile/abstract-tile-layer.ts
index dd105407b..367120edd 100644
--- a/src/layers/src/vector-tile/abstract-tile-layer.ts
+++ b/src/layers/src/vector-tile/abstract-tile-layer.ts
@@ -5,7 +5,6 @@ import throttle from 'lodash.throttle';
import {notNullorUndefined} from '@kepler.gl/common-utils';
import {SCALE_TYPES, ALL_FIELD_TYPES, LAYER_VIS_CONFIGS} from '@kepler.gl/constants';
-import {Layer, VisualChannel} from '@kepler.gl/layers';
import {
KeplerTable as KeplerDataset,
Datasets as KeplerDatasets,
@@ -31,8 +30,10 @@ import {
import {findDefaultColorField, DataContainerInterface} from '@kepler.gl/utils';
import {
+ default as KeplerLayer,
LayerBaseConfig,
LayerBaseConfigPartial,
+ VisualChannel,
VisualChannelDomain,
VisualChannelField
} from '../base-layer';
@@ -137,13 +138,13 @@ export type AbstractTileLayerConfig = Merge<
export default abstract class AbstractTileLayer<
// Type of the tile itself
T,
- // Type of the iterable data object (for HexTile, this is the same as the tile)
+ // Type of the iterable data object
I extends Iterable<any> = T extends Iterable<any> ? T : never
-> extends Layer {
+> extends KeplerLayer {
declare config: AbstractTileLayerConfig;
declare visConfigSettings: AbstractTileLayerVisConfigSettings;
- constructor(props: ConstructorParameters<typeof Layer>[0]) {
+ constructor(props: ConstructorParameters<typeof KeplerLayer>[0]) {
super(props);
this.registerVisConfig(commonTileVisConfigs);
this.tileDataset = this.initTileDataset();
diff --git a/src/layers/src/vector-tile/vector-tile-layer.ts b/src/layers/src/vector-tile/vector-tile-layer.ts
index a4ed87543..dcc601af7 100644
--- a/src/layers/src/vector-tile/vector-tile-layer.ts
+++ b/src/layers/src/vector-tile/vector-tile-layer.ts
@@ -17,14 +17,6 @@ import {
DEFAULT_COLOR_UI,
LAYER_VIS_CONFIGS
} from '@kepler.gl/constants';
-import {
- Layer as KeplerLayer,
- VisualChannel,
- DatasetType,
- TileType,
- VectorTileType,
- VectorTileDatasetMetadata
-} from '@kepler.gl/layers';
import {
KeplerTable as KeplerDataset,
Datasets as KeplerDatasets,
@@ -48,12 +40,21 @@ import {getTileUrl} from './utils/vector-tile-utils';
import {MVTLayer as CustomMVTLayer} from './mvt-layer';
import VectorTileIcon from './vector-tile-icon';
import {
+ default as KeplerLayer,
LayerBaseConfig,
LayerBaseConfigPartial,
+ VisualChannel,
VisualChannelDomain,
VisualChannelField
} from '../base-layer';
-import {VectorTileMetadata, getLoaderOptions} from './utils/vector-tile-utils';
+import {
+ VectorTileMetadata,
+ getLoaderOptions,
+ DatasetType,
+ TileType,
+ VectorTileType,
+ VectorTileDatasetMetadata
+} from './utils/vector-tile-utils';
import AbstractTileLayer, {
LayerData as CommonLayerData,
diff --git a/src/localization/package.json b/src/localization/package.json
index 84c4d98e4..38bad2ee3 100644
--- a/src/localization/package.json
+++ b/src/localization/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/localization",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
diff --git a/src/processors/package.json b/src/processors/package.json
index e7f7bf107..47ee8c21d 100644
--- a/src/processors/package.json
+++ b/src/processors/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/processors",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -31,12 +31,12 @@
],
"dependencies": {
"@danmarshall/deckgl-typings": "4.9.22",
- "@kepler.gl/common-utils": "3.1.0-alpha.1",
- "@kepler.gl/constants": "3.1.0-alpha.1",
- "@kepler.gl/schemas": "3.1.0-alpha.1",
- "@kepler.gl/table": "3.1.0-alpha.1",
- "@kepler.gl/types": "3.1.0-alpha.1",
- "@kepler.gl/utils": "3.1.0-alpha.1",
+ "@kepler.gl/common-utils": "3.1.0-alpha.2",
+ "@kepler.gl/constants": "3.1.0-alpha.2",
+ "@kepler.gl/schemas": "3.1.0-alpha.2",
+ "@kepler.gl/table": "3.1.0-alpha.2",
+ "@kepler.gl/types": "3.1.0-alpha.2",
+ "@kepler.gl/utils": "3.1.0-alpha.2",
"@loaders.gl/arrow": "^4.3.2",
"@loaders.gl/core": "^4.3.2",
"@loaders.gl/csv": "^4.3.2",
diff --git a/src/reducers/package.json b/src/reducers/package.json
index 5c35a2fd3..6315e3292 100644
--- a/src/reducers/package.json
+++ b/src/reducers/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/reducers",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -30,21 +30,21 @@
"umd"
],
"dependencies": {
- "@kepler.gl/actions": "3.1.0-alpha.1",
- "@kepler.gl/cloud-providers": "3.1.0-alpha.1",
- "@kepler.gl/common-utils": "3.1.0-alpha.1",
- "@kepler.gl/constants": "3.1.0-alpha.1",
- "@kepler.gl/deckgl-arrow-layers": "3.1.0-alpha.1",
- "@kepler.gl/deckgl-layers": "3.1.0-alpha.1",
- "@kepler.gl/effects": "3.1.0-alpha.1",
- "@kepler.gl/layers": "3.1.0-alpha.1",
- "@kepler.gl/localization": "3.1.0-alpha.1",
- "@kepler.gl/processors": "3.1.0-alpha.1",
- "@kepler.gl/schemas": "3.1.0-alpha.1",
- "@kepler.gl/table": "3.1.0-alpha.1",
- "@kepler.gl/tasks": "3.1.0-alpha.1",
- "@kepler.gl/types": "3.1.0-alpha.1",
- "@kepler.gl/utils": "3.1.0-alpha.1",
+ "@kepler.gl/actions": "3.1.0-alpha.2",
+ "@kepler.gl/cloud-providers": "3.1.0-alpha.2",
+ "@kepler.gl/common-utils": "3.1.0-alpha.2",
+ "@kepler.gl/constants": "3.1.0-alpha.2",
+ "@kepler.gl/deckgl-arrow-layers": "3.1.0-alpha.2",
+ "@kepler.gl/deckgl-layers": "3.1.0-alpha.2",
+ "@kepler.gl/effects": "3.1.0-alpha.2",
+ "@kepler.gl/layers": "3.1.0-alpha.2",
+ "@kepler.gl/localization": "3.1.0-alpha.2",
+ "@kepler.gl/processors": "3.1.0-alpha.2",
+ "@kepler.gl/schemas": "3.1.0-alpha.2",
+ "@kepler.gl/table": "3.1.0-alpha.2",
+ "@kepler.gl/tasks": "3.1.0-alpha.2",
+ "@kepler.gl/types": "3.1.0-alpha.2",
+ "@kepler.gl/utils": "3.1.0-alpha.2",
"@loaders.gl/loader-utils": "^4.3.2",
"@turf/bbox": "^6.0.1",
"@types/lodash.clonedeep": "^4.5.7",
diff --git a/src/reducers/src/data-utils.ts b/src/reducers/src/data-utils.ts
index 1d3681186..067351041 100644
--- a/src/reducers/src/data-utils.ts
+++ b/src/reducers/src/data-utils.ts
@@ -45,13 +45,12 @@ export function processLayerBounds(layerBounds: Bounds[]): Bounds {
export function findMapBounds(layers: Layer[]): Bounds | null {
// find bounds in formatted layerData
// take ALL layers into account when finding map bounds
- const availableLayerBounds: Bounds | [] = layers.reduce((res, l) => {
+ const availableLayerBounds = layers.reduce((res, l) => {
if (l.meta && l.meta.bounds) {
- // @ts-expect-error
res.push(l.meta.bounds);
}
return res;
- }, []);
+ }, [] as Bounds[]);
// return null if no layer is available
if (availableLayerBounds.length === 0) {
return null;
diff --git a/src/reducers/src/layer-utils.ts b/src/reducers/src/layer-utils.ts
index bb92caf03..d8c2c3fd8 100644
--- a/src/reducers/src/layer-utils.ts
+++ b/src/reducers/src/layer-utils.ts
@@ -86,12 +86,11 @@ export function findDefaultLayer(dataset: KeplerTable, layerClasses: LayerClasse
}))
);
},
- [] as LayerClassesType[keyof LayerClassesType][]
+ [] as (LayerClassesType[keyof LayerClassesType] & {type: string})[]
);
// go through all layerProps to create layer
return layerProps.map(props => {
- // @ts-expect-error TODO: checking props.type !== null
const layer = new layerClasses[props.type](props);
return typeof layer.setInitialLayerConfig === 'function' && dataset.dataContainer
? layer.setInitialLayerConfig(dataset)
diff --git a/src/reducers/src/vis-state-merger.ts b/src/reducers/src/vis-state-merger.ts
index 231e1a553..bcb363961 100644
--- a/src/reducers/src/vis-state-merger.ts
+++ b/src/reducers/src/vis-state-merger.ts
@@ -14,7 +14,7 @@ import {
} from '@kepler.gl/utils';
import {getLayerOrderFromLayers} from '@kepler.gl/reducers';
-import {Layer} from '@kepler.gl/layers';
+import {Layer, VisualChannel} from '@kepler.gl/layers';
import {createEffect} from '@kepler.gl/effects';
import {LAYER_BLENDINGS, OVERLAY_BLENDINGS} from '@kepler.gl/constants';
import {CURRENT_VERSION, VisState, VisStateMergers, KeplerGLSchemaClass} from '@kepler.gl/schemas';
@@ -706,7 +706,7 @@ export function validateSavedVisualChannels(
savedLayer: ParsedLayer,
options: {throwOnError?: boolean} = {}
): null | Layer {
- Object.values(newLayer.visualChannels).forEach(({field, scale, key}) => {
+ (Object.values(newLayer.visualChannels) as VisualChannel[]).forEach(({field, scale, key}) => {
let foundField;
if (savedLayer.config) {
if (savedLayer.config[field]) {
diff --git a/src/reducers/src/vis-state-updaters.ts b/src/reducers/src/vis-state-updaters.ts
index 0dbdc09f7..a63451b99 100644
--- a/src/reducers/src/vis-state-updaters.ts
+++ b/src/reducers/src/vis-state-updaters.ts
@@ -532,10 +532,9 @@ export function layerConfigChangeUpdater(
// if layer is going to be visible we sync with filter otherwise we need to check whether other animatable layers exists and are visible
newState = syncTimeFilterWithLayerTimelineUpdater(newState, {
idx: filterIndex,
- // @ts-expect-error why layers are assigned to enable?
enable: action.newConfig.isVisible
? action.newConfig.isVisible
- : getAnimatableVisibleLayers(state.layers)
+ : getAnimatableVisibleLayers(state.layers).length > 0
});
}
}
@@ -733,8 +732,10 @@ export function layerDataIdChangeUpdater(
);
// if cant validate it with data create a new one
if (!validated) {
- // @ts-expect-error TODO: checking oldLayer.type !== null
- newLayer = new state.layerClasses[oldLayer.type]({dataId, id: oldLayer.id});
+ const oldLayerType = oldLayer.type;
+ if (oldLayerType) {
+ newLayer = new state.layerClasses[oldLayerType]({dataId, id: oldLayer.id});
+ }
} else {
newLayer = validated;
}
diff --git a/src/schemas/package.json b/src/schemas/package.json
index 3d9d180ac..5f08a05bd 100644
--- a/src/schemas/package.json
+++ b/src/schemas/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/schemas",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl schemas used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -30,13 +30,13 @@
"umd"
],
"dependencies": {
- "@kepler.gl/ai-assistant": "3.1.0-alpha.1",
- "@kepler.gl/common-utils": "3.1.0-alpha.1",
- "@kepler.gl/constants": "3.1.0-alpha.1",
- "@kepler.gl/layers": "3.1.0-alpha.1",
- "@kepler.gl/table": "3.1.0-alpha.1",
- "@kepler.gl/types": "3.1.0-alpha.1",
- "@kepler.gl/utils": "3.1.0-alpha.1",
+ "@kepler.gl/ai-assistant": "3.1.0-alpha.2",
+ "@kepler.gl/common-utils": "3.1.0-alpha.2",
+ "@kepler.gl/constants": "3.1.0-alpha.2",
+ "@kepler.gl/layers": "3.1.0-alpha.2",
+ "@kepler.gl/table": "3.1.0-alpha.2",
+ "@kepler.gl/types": "3.1.0-alpha.2",
+ "@kepler.gl/utils": "3.1.0-alpha.2",
"@loaders.gl/loader-utils": "^4.3.2",
"@types/keymirror": "^0.1.1",
"@types/lodash.clonedeep": "^4.5.7",
diff --git a/src/styles/package.json b/src/styles/package.json
index 6ea05333b..141084280 100644
--- a/src/styles/package.json
+++ b/src/styles/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/styles",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:umd && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:umd && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -30,7 +30,7 @@
"umd"
],
"dependencies": {
- "@kepler.gl/constants": "3.1.0-alpha.1",
+ "@kepler.gl/constants": "3.1.0-alpha.2",
"@types/styled-components": "^5.1.25",
"styled-components": "^4.1.3"
},
diff --git a/src/table/package.json b/src/table/package.json
index cd1d91cfc..554f2a080 100644
--- a/src/table/package.json
+++ b/src/table/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/table",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -30,11 +30,10 @@
"umd"
],
"dependencies": {
- "@kepler.gl/common-utils": "3.1.0-alpha.1",
- "@kepler.gl/constants": "3.1.0-alpha.1",
- "@kepler.gl/layers": "3.1.0-alpha.1",
- "@kepler.gl/types": "3.1.0-alpha.1",
- "@kepler.gl/utils": "3.1.0-alpha.1",
+ "@kepler.gl/common-utils": "3.1.0-alpha.2",
+ "@kepler.gl/constants": "3.1.0-alpha.2",
+ "@kepler.gl/types": "3.1.0-alpha.2",
+ "@kepler.gl/utils": "3.1.0-alpha.2",
"@types/d3-array": "^2.8.0",
"@types/lodash.uniq": "^4.5.7",
"d3-array": "^2.8.0",
diff --git a/src/table/src/kepler-table.ts b/src/table/src/kepler-table.ts
index 652316a00..7d6c83efc 100644
--- a/src/table/src/kepler-table.ts
+++ b/src/table/src/kepler-table.ts
@@ -28,7 +28,6 @@ import {
import {getGpuFilterProps, getDatasetFieldIndexForFilter} from './gpu-filter-utils';
-import {Layer} from '@kepler.gl/layers';
import {
getSortingFunction,
timeToUnixMilli,
@@ -51,6 +50,9 @@ import {
} from '@kepler.gl/utils';
import {generateHashId, notNullorUndefined} from '@kepler.gl/common-utils';
+// TODO isolate layer type, depends on @kepler.gl/layers
+type Layer = any;
+
export type GpuFilter = {
filterRange: number[][];
filterValueUpdateTriggers: {
diff --git a/src/tasks/package.json b/src/tasks/package.json
index e4cfb3f5d..6cba86e20 100644
--- a/src/tasks/package.json
+++ b/src/tasks/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/tasks",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -30,7 +30,7 @@
"umd"
],
"dependencies": {
- "@kepler.gl/processors": "3.1.0-alpha.1",
+ "@kepler.gl/processors": "3.1.0-alpha.2",
"react-palm": "^3.3.8"
},
"nyc": {
diff --git a/src/types/package.json b/src/types/package.json
index 11f61054f..b10a59b66 100644
--- a/src/types/package.json
+++ b/src/types/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/types",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl types used by kepler.gl components, actions and reducers",
"license": "MIT",
"types": "index.d.ts",
@@ -18,7 +18,7 @@
"url": "https://github.com/keplergl/kepler.gl.git"
},
"scripts": {
- "prepublish": " ",
+ "prepublishOnly": " ",
"stab": " "
},
"nyc": {
diff --git a/src/utils/package.json b/src/utils/package.json
index c35f676c9..b56b75441 100644
--- a/src/utils/package.json
+++ b/src/utils/package.json
@@ -1,7 +1,7 @@
{
"name": "@kepler.gl/utils",
"author": "Shan He <[email protected]>",
- "version": "3.1.0-alpha.1",
+ "version": "3.1.0-alpha.2",
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
"license": "MIT",
"main": "dist/index.js",
@@ -22,7 +22,7 @@
"build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
"build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
"build:types": "tsc --project ./tsconfig.production.json",
- "prepublish": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
+ "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
"stab": "mkdir -p dist && touch dist/index.js"
},
"files": [
@@ -30,9 +30,9 @@
"umd"
],
"dependencies": {
- "@kepler.gl/common-utils": "3.1.0-alpha.1",
- "@kepler.gl/constants": "3.1.0-alpha.1",
- "@kepler.gl/types": "3.1.0-alpha.1",
+ "@kepler.gl/common-utils": "3.1.0-alpha.2",
+ "@kepler.gl/constants": "3.1.0-alpha.2",
+ "@kepler.gl/types": "3.1.0-alpha.2",
"@luma.gl/constants": "^8.5.20",
"@luma.gl/core": "^8.5.20",
"@mapbox/geo-viewport": "^0.4.1",
diff --git a/src/utils/src/data-scale-utils.ts b/src/utils/src/data-scale-utils.ts
index 91c650f36..26cc0e14f 100644
--- a/src/utils/src/data-scale-utils.ts
+++ b/src/utils/src/data-scale-utils.ts
@@ -6,7 +6,7 @@ import moment from 'moment';
import {notNullorUndefined} from '@kepler.gl/common-utils';
import {ALL_FIELD_TYPES, ColorMap, ColorRange, SCALE_FUNC, SCALE_TYPES} from '@kepler.gl/constants';
-import {Layer, VisualChannel, VisualChannelDomain} from '@kepler.gl/layers';
+// import {Layer, VisualChannel, VisualChannelDomain} from '@kepler.gl/layers';
import {HexColor, MapState} from '@kepler.gl/types';
import {isRgbColor, rgbToHex} from './color-utils';
@@ -28,6 +28,11 @@ export type ColorBreakOrdinal = {
export type D3ScaleFunction = Record<string, any> & ((x: any) => any);
+// TODO isolate types - depends on @kepler.gl/layers
+type Layer = any;
+type VisualChannel = any;
+type VisualChannelDomain = any;
+
export type LabelFormat = (n: number) => string;
type dataValueAccessor = <T>(param: T) => T;
type dataContainerValueAccessor = (d: {index: number}, dc: DataContainerInterface) => any;
diff --git a/src/utils/src/effect-utils.ts b/src/utils/src/effect-utils.ts
index 9cae8fe2c..acd2e3672 100644
--- a/src/utils/src/effect-utils.ts
+++ b/src/utils/src/effect-utils.ts
@@ -13,11 +13,14 @@ import {
FILTER_TYPES,
FILTER_VIEW_TYPES
} from '@kepler.gl/constants';
-import {VisState} from '@kepler.gl/schemas';
+// import {VisState} from '@kepler.gl/schemas';
import {MapState, Effect, EffectProps, EffectDescription} from '@kepler.gl/types';
import {findById} from './utils';
import {clamp} from './data-utils';
+// TODO isolate types - depends on @kepler.gl/schemas
+type VisState = any;
+
export function computeDeckEffects({
visState,
mapState
diff --git a/src/utils/src/filter-utils.ts b/src/utils/src/filter-utils.ts
index 1083ff774..a2329ccba 100644
--- a/src/utils/src/filter-utils.ts
+++ b/src/utils/src/filter-utils.ts
@@ -17,7 +17,7 @@ import {
LAYER_TYPES,
FILTER_VIEW_TYPES
} from '@kepler.gl/constants';
-import {VisState} from '@kepler.gl/schemas';
+// import {VisState} from '@kepler.gl/schemas';
import * as ScaleUtils from './data-scale-utils';
import {h3IsValid} from 'h3-js';
@@ -55,6 +55,9 @@ export const durationDay = durationHour * 24;
export const durationWeek = durationDay * 7;
export const durationYear = durationDay * 365;
+// TODO isolate types - depends on @kepler.gl/schemas
+type VisState = any;
+
export type FilterResult = {
filteredIndexForDomain?: number[];
filteredIndex?: number[];
diff --git a/website/esbuild.config.mjs b/website/esbuild.config.mjs
index e8978c138..950d8dcd4 100644
--- a/website/esbuild.config.mjs
+++ b/website/esbuild.config.mjs
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: MIT
+// Copyright contributors to the kepler.gl project
+
import esbuild from 'esbuild';
import { replace } from 'esbuild-plugin-replace';
import process from 'node:process';
diff --git a/yarn.lock b/yarn.lock
index 2f9366fd4..95933f9b6 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3152,16 +3152,16 @@ __metadata:
languageName: node
linkType: hard
-"@kepler.gl/actions@npm:3.1.0-alpha.1, @kepler.gl/actions@workspace:src/actions":
+"@kepler.gl/actions@npm:3.1.0-alpha.2, @kepler.gl/actions@workspace:src/actions":
version: 0.0.0-use.local
resolution: "@kepler.gl/actions@workspace:src/actions"
dependencies:
"@deck.gl/core": "npm:^8.9.27"
- "@kepler.gl/cloud-providers": "npm:3.1.0-alpha.1"
- "@kepler.gl/constants": "npm:3.1.0-alpha.1"
- "@kepler.gl/layers": "npm:3.1.0-alpha.1"
- "@kepler.gl/processors": "npm:3.1.0-alpha.1"
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
+ "@kepler.gl/cloud-providers": "npm:3.1.0-alpha.2"
+ "@kepler.gl/constants": "npm:3.1.0-alpha.2"
+ "@kepler.gl/layers": "npm:3.1.0-alpha.2"
+ "@kepler.gl/processors": "npm:3.1.0-alpha.2"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
"@reduxjs/toolkit": "npm:^1.7.2"
"@types/lodash.curry": "npm:^4.1.7"
"@types/react-redux": "npm:^7.1.23"
@@ -3174,15 +3174,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@kepler.gl/ai-assistant@npm:3.1.0-alpha.1, @kepler.gl/ai-assistant@workspace:src/ai-assistant":
+"@kepler.gl/ai-assistant@npm:3.1.0-alpha.2, @kepler.gl/ai-assistant@workspace:src/ai-assistant":
version: 0.0.0-use.local
resolution: "@kepler.gl/ai-assistant@workspace:src/ai-assistant"
dependencies:
- "@kepler.gl/components": "npm:3.1.0-alpha.1"
- "@kepler.gl/constants": "npm:3.1.0-alpha.1"
- "@kepler.gl/layers": "npm:3.1.0-alpha.1"
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
- "@kepler.gl/utils": "npm:3.1.0-alpha.1"
+ "@kepler.gl/components": "npm:3.1.0-alpha.2"
+ "@kepler.gl/constants": "npm:3.1.0-alpha.2"
+ "@kepler.gl/layers": "npm:3.1.0-alpha.2"
+ "@kepler.gl/table": "npm:3.1.0-alpha.2"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
+ "@kepler.gl/utils": "npm:3.1.0-alpha.2"
color-interpolate: "npm:^1.0.5"
echarts: "npm:^5.5.1"
global: "npm:^4.3.0"
@@ -3190,28 +3191,28 @@ __metadata:
languageName: unknown
linkType: soft
-"@kepler.gl/cloud-providers@npm:3.1.0-alpha.1, @kepler.gl/cloud-providers@workspace:src/cloud-providers":
+"@kepler.gl/cloud-providers@npm:3.1.0-alpha.2, @kepler.gl/cloud-providers@workspace:src/cloud-providers":
version: 0.0.0-use.local
resolution: "@kepler.gl/cloud-providers@workspace:src/cloud-providers"
dependencies:
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
react: "npm:^18.2.0"
languageName: unknown
linkType: soft
-"@kepler.gl/common-utils@npm:3.1.0-alpha.1, @kepler.gl/common-utils@workspace:src/common-utils":
+"@kepler.gl/common-utils@npm:3.1.0-alpha.2, @kepler.gl/common-utils@workspace:src/common-utils":
version: 0.0.0-use.local
resolution: "@kepler.gl/common-utils@workspace:src/common-utils"
dependencies:
- "@kepler.gl/constants": "npm:3.1.0-alpha.1"
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
+ "@kepler.gl/constants": "npm:3.1.0-alpha.2"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
d3-array: "npm:^2.8.0"
global: "npm:^4.3.0"
type-analyzer: "npm:0.4.0"
languageName: unknown
linkType: soft
-"@kepler.gl/components@npm:3.1.0-alpha.1, @kepler.gl/components@workspace:src/components":
+"@kepler.gl/components@npm:3.1.0-alpha.2, @kepler.gl/components@workspace:src/components":
version: 0.0.0-use.local
resolution: "@kepler.gl/components@workspace:src/components"
dependencies:
@@ -3222,20 +3223,20 @@ __metadata:
"@dnd-kit/sortable": "npm:^7.0.2"
"@dnd-kit/utilities": "npm:^3.2.1"
"@floating-ui/react": "npm:0.25.1"
- "@kepler.gl/actions": "npm:3.1.0-alpha.1"
- "@kepler.gl/cloud-providers": "npm:3.1.0-alpha.1"
- "@kepler.gl/common-utils": "npm:3.1.0-alpha.1"
- "@kepler.gl/constants": "npm:3.1.0-alpha.1"
- "@kepler.gl/effects": "npm:3.1.0-alpha.1"
- "@kepler.gl/layers": "npm:3.1.0-alpha.1"
- "@kepler.gl/localization": "npm:3.1.0-alpha.1"
- "@kepler.gl/processors": "npm:3.1.0-alpha.1"
- "@kepler.gl/reducers": "npm:3.1.0-alpha.1"
- "@kepler.gl/schemas": "npm:3.1.0-alpha.1"
- "@kepler.gl/styles": "npm:3.1.0-alpha.1"
- "@kepler.gl/table": "npm:3.1.0-alpha.1"
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
- "@kepler.gl/utils": "npm:3.1.0-alpha.1"
+ "@kepler.gl/actions": "npm:3.1.0-alpha.2"
+ "@kepler.gl/cloud-providers": "npm:3.1.0-alpha.2"
+ "@kepler.gl/common-utils": "npm:3.1.0-alpha.2"
+ "@kepler.gl/constants": "npm:3.1.0-alpha.2"
+ "@kepler.gl/effects": "npm:3.1.0-alpha.2"
+ "@kepler.gl/layers": "npm:3.1.0-alpha.2"
+ "@kepler.gl/localization": "npm:3.1.0-alpha.2"
+ "@kepler.gl/processors": "npm:3.1.0-alpha.2"
+ "@kepler.gl/reducers": "npm:3.1.0-alpha.2"
+ "@kepler.gl/schemas": "npm:3.1.0-alpha.2"
+ "@kepler.gl/styles": "npm:3.1.0-alpha.2"
+ "@kepler.gl/table": "npm:3.1.0-alpha.2"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
+ "@kepler.gl/utils": "npm:3.1.0-alpha.2"
"@mapbox/mapbox-sdk": "npm:^0.15.3"
"@nebula.gl/edit-modes": "npm:1.0.2-alpha.1"
"@tippyjs/react": "npm:^4.2.0"
@@ -3313,11 +3314,11 @@ __metadata:
languageName: unknown
linkType: soft
-"@kepler.gl/constants@npm:3.1.0-alpha.1, @kepler.gl/constants@workspace:src/constants":
+"@kepler.gl/constants@npm:3.1.0-alpha.2, @kepler.gl/constants@workspace:src/constants":
version: 0.0.0-use.local
resolution: "@kepler.gl/constants@workspace:src/constants"
dependencies:
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
"@types/d3-scale": "npm:^3.2.2"
"@types/keymirror": "npm:^0.1.1"
chroma-js: "npm:2.1.2"
@@ -3329,7 +3330,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@kepler.gl/deckgl-arrow-layers@npm:3.1.0-alpha.1, @kepler.gl/deckgl-arrow-layers@workspace:src/deckgl-arrow-layers":
+"@kepler.gl/deckgl-arrow-layers@npm:3.1.0-alpha.2, @kepler.gl/deckgl-arrow-layers@workspace:src/deckgl-arrow-layers":
version: 0.0.0-use.local
resolution: "@kepler.gl/deckgl-arrow-layers@workspace:src/deckgl-arrow-layers"
dependencies:
@@ -3347,7 +3348,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@kepler.gl/deckgl-layers@npm:3.1.0-alpha.1, @kepler.gl/deckgl-layers@workspace:src/deckgl-layers":
+"@kepler.gl/deckgl-layers@npm:3.1.0-alpha.2, @kepler.gl/deckgl-layers@workspace:src/deckgl-layers":
version: 0.0.0-use.local
resolution: "@kepler.gl/deckgl-layers@workspace:src/deckgl-layers"
dependencies:
@@ -3356,9 +3357,9 @@ __metadata:
"@deck.gl/core": "npm:^8.9.27"
"@deck.gl/geo-layers": "npm:^8.9.27"
"@deck.gl/layers": "npm:^8.9.27"
- "@kepler.gl/constants": "npm:3.1.0-alpha.1"
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
- "@kepler.gl/utils": "npm:3.1.0-alpha.1"
+ "@kepler.gl/constants": "npm:3.1.0-alpha.2"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
+ "@kepler.gl/utils": "npm:3.1.0-alpha.2"
"@luma.gl/constants": "npm:^8.5.20"
"@luma.gl/core": "npm:^8.5.20"
"@mapbox/geo-viewport": "npm:^0.4.1"
@@ -3376,21 +3377,21 @@ __metadata:
languageName: unknown
linkType: soft
-"@kepler.gl/effects@npm:3.1.0-alpha.1, @kepler.gl/effects@workspace:src/effects":
+"@kepler.gl/effects@npm:3.1.0-alpha.2, @kepler.gl/effects@workspace:src/effects":
version: 0.0.0-use.local
resolution: "@kepler.gl/effects@workspace:src/effects"
dependencies:
"@deck.gl/core": "npm:^8.9.27"
- "@kepler.gl/constants": "npm:3.1.0-alpha.1"
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
- "@kepler.gl/utils": "npm:3.1.0-alpha.1"
+ "@kepler.gl/constants": "npm:3.1.0-alpha.2"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
+ "@kepler.gl/utils": "npm:3.1.0-alpha.2"
"@luma.gl/core": "npm:^8.5.20"
"@luma.gl/shadertools": "npm:^8.5.20"
suncalc: "npm:^1.9.0"
languageName: unknown
linkType: soft
-"@kepler.gl/layers@npm:3.1.0-alpha.1, @kepler.gl/layers@workspace:src/layers":
+"@kepler.gl/layers@npm:3.1.0-alpha.2, @kepler.gl/layers@workspace:src/layers":
version: 0.0.0-use.local
resolution: "@kepler.gl/layers@workspace:src/layers"
dependencies:
@@ -3400,14 +3401,14 @@ __metadata:
"@deck.gl/geo-layers": "npm:^8.9.27"
"@deck.gl/layers": "npm:^8.9.27"
"@deck.gl/mesh-layers": "npm:^8.9.27"
- "@kepler.gl/common-utils": "npm:3.1.0-alpha.1"
- "@kepler.gl/constants": "npm:3.1.0-alpha.1"
- "@kepler.gl/deckgl-arrow-layers": "npm:3.1.0-alpha.1"
- "@kepler.gl/deckgl-layers": "npm:3.1.0-alpha.1"
- "@kepler.gl/localization": "npm:3.1.0-alpha.1"
- "@kepler.gl/table": "npm:3.1.0-alpha.1"
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
- "@kepler.gl/utils": "npm:3.1.0-alpha.1"
+ "@kepler.gl/common-utils": "npm:3.1.0-alpha.2"
+ "@kepler.gl/constants": "npm:3.1.0-alpha.2"
+ "@kepler.gl/deckgl-arrow-layers": "npm:3.1.0-alpha.2"
+ "@kepler.gl/deckgl-layers": "npm:3.1.0-alpha.2"
+ "@kepler.gl/localization": "npm:3.1.0-alpha.2"
+ "@kepler.gl/table": "npm:3.1.0-alpha.2"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
+ "@kepler.gl/utils": "npm:3.1.0-alpha.2"
"@loaders.gl/arrow": "npm:^4.3.2"
"@loaders.gl/core": "npm:^4.3.2"
"@loaders.gl/gis": "npm:^4.3.2"
@@ -3446,7 +3447,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@kepler.gl/localization@npm:3.1.0-alpha.1, @kepler.gl/localization@workspace:src/localization":
+"@kepler.gl/localization@npm:3.1.0-alpha.2, @kepler.gl/localization@workspace:src/localization":
version: 0.0.0-use.local
resolution: "@kepler.gl/localization@workspace:src/localization"
dependencies:
@@ -3456,17 +3457,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@kepler.gl/processors@npm:3.1.0-alpha.1, @kepler.gl/processors@workspace:src/processors":
+"@kepler.gl/processors@npm:3.1.0-alpha.2, @kepler.gl/processors@workspace:src/processors":
version: 0.0.0-use.local
resolution: "@kepler.gl/processors@workspace:src/processors"
dependencies:
"@danmarshall/deckgl-typings": "npm:4.9.22"
- "@kepler.gl/common-utils": "npm:3.1.0-alpha.1"
- "@kepler.gl/constants": "npm:3.1.0-alpha.1"
- "@kepler.gl/schemas": "npm:3.1.0-alpha.1"
- "@kepler.gl/table": "npm:3.1.0-alpha.1"
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
- "@kepler.gl/utils": "npm:3.1.0-alpha.1"
+ "@kepler.gl/common-utils": "npm:3.1.0-alpha.2"
+ "@kepler.gl/constants": "npm:3.1.0-alpha.2"
+ "@kepler.gl/schemas": "npm:3.1.0-alpha.2"
+ "@kepler.gl/table": "npm:3.1.0-alpha.2"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
+ "@kepler.gl/utils": "npm:3.1.0-alpha.2"
"@loaders.gl/arrow": "npm:^4.3.2"
"@loaders.gl/core": "npm:^4.3.2"
"@loaders.gl/csv": "npm:^4.3.2"
@@ -3481,25 +3482,25 @@ __metadata:
languageName: unknown
linkType: soft
-"@kepler.gl/reducers@npm:3.1.0-alpha.1, @kepler.gl/reducers@workspace:src/reducers":
+"@kepler.gl/reducers@npm:3.1.0-alpha.2, @kepler.gl/reducers@workspace:src/reducers":
version: 0.0.0-use.local
resolution: "@kepler.gl/reducers@workspace:src/reducers"
dependencies:
- "@kepler.gl/actions": "npm:3.1.0-alpha.1"
- "@kepler.gl/cloud-providers": "npm:3.1.0-alpha.1"
- "@kepler.gl/common-utils": "npm:3.1.0-alpha.1"
- "@kepler.gl/constants": "npm:3.1.0-alpha.1"
- "@kepler.gl/deckgl-arrow-layers": "npm:3.1.0-alpha.1"
- "@kepler.gl/deckgl-layers": "npm:3.1.0-alpha.1"
- "@kepler.gl/effects": "npm:3.1.0-alpha.1"
- "@kepler.gl/layers": "npm:3.1.0-alpha.1"
- "@kepler.gl/localization": "npm:3.1.0-alpha.1"
- "@kepler.gl/processors": "npm:3.1.0-alpha.1"
- "@kepler.gl/schemas": "npm:3.1.0-alpha.1"
- "@kepler.gl/table": "npm:3.1.0-alpha.1"
- "@kepler.gl/tasks": "npm:3.1.0-alpha.1"
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
- "@kepler.gl/utils": "npm:3.1.0-alpha.1"
+ "@kepler.gl/actions": "npm:3.1.0-alpha.2"
+ "@kepler.gl/cloud-providers": "npm:3.1.0-alpha.2"
+ "@kepler.gl/common-utils": "npm:3.1.0-alpha.2"
+ "@kepler.gl/constants": "npm:3.1.0-alpha.2"
+ "@kepler.gl/deckgl-arrow-layers": "npm:3.1.0-alpha.2"
+ "@kepler.gl/deckgl-layers": "npm:3.1.0-alpha.2"
+ "@kepler.gl/effects": "npm:3.1.0-alpha.2"
+ "@kepler.gl/layers": "npm:3.1.0-alpha.2"
+ "@kepler.gl/localization": "npm:3.1.0-alpha.2"
+ "@kepler.gl/processors": "npm:3.1.0-alpha.2"
+ "@kepler.gl/schemas": "npm:3.1.0-alpha.2"
+ "@kepler.gl/table": "npm:3.1.0-alpha.2"
+ "@kepler.gl/tasks": "npm:3.1.0-alpha.2"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
+ "@kepler.gl/utils": "npm:3.1.0-alpha.2"
"@loaders.gl/loader-utils": "npm:^4.3.2"
"@turf/bbox": "npm:^6.0.1"
"@types/lodash.clonedeep": "npm:^4.5.7"
@@ -3527,17 +3528,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@kepler.gl/schemas@npm:3.1.0-alpha.1, @kepler.gl/schemas@workspace:src/schemas":
+"@kepler.gl/schemas@npm:3.1.0-alpha.2, @kepler.gl/schemas@workspace:src/schemas":
version: 0.0.0-use.local
resolution: "@kepler.gl/schemas@workspace:src/schemas"
dependencies:
- "@kepler.gl/ai-assistant": "npm:3.1.0-alpha.1"
- "@kepler.gl/common-utils": "npm:3.1.0-alpha.1"
- "@kepler.gl/constants": "npm:3.1.0-alpha.1"
- "@kepler.gl/layers": "npm:3.1.0-alpha.1"
- "@kepler.gl/table": "npm:3.1.0-alpha.1"
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
- "@kepler.gl/utils": "npm:3.1.0-alpha.1"
+ "@kepler.gl/ai-assistant": "npm:3.1.0-alpha.2"
+ "@kepler.gl/common-utils": "npm:3.1.0-alpha.2"
+ "@kepler.gl/constants": "npm:3.1.0-alpha.2"
+ "@kepler.gl/layers": "npm:3.1.0-alpha.2"
+ "@kepler.gl/table": "npm:3.1.0-alpha.2"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
+ "@kepler.gl/utils": "npm:3.1.0-alpha.2"
"@loaders.gl/loader-utils": "npm:^4.3.2"
"@types/keymirror": "npm:^0.1.1"
"@types/lodash.clonedeep": "npm:^4.5.7"
@@ -3549,25 +3550,24 @@ __metadata:
languageName: unknown
linkType: soft
-"@kepler.gl/styles@npm:3.1.0-alpha.1, @kepler.gl/styles@workspace:src/styles":
+"@kepler.gl/styles@npm:3.1.0-alpha.2, @kepler.gl/styles@workspace:src/styles":
version: 0.0.0-use.local
resolution: "@kepler.gl/styles@workspace:src/styles"
dependencies:
- "@kepler.gl/constants": "npm:3.1.0-alpha.1"
+ "@kepler.gl/constants": "npm:3.1.0-alpha.2"
"@types/styled-components": "npm:^5.1.25"
styled-components: "npm:^4.1.3"
languageName: unknown
linkType: soft
-"@kepler.gl/table@npm:3.1.0-alpha.1, @kepler.gl/table@workspace:src/table":
+"@kepler.gl/table@npm:3.1.0-alpha.2, @kepler.gl/table@workspace:src/table":
version: 0.0.0-use.local
resolution: "@kepler.gl/table@workspace:src/table"
dependencies:
- "@kepler.gl/common-utils": "npm:3.1.0-alpha.1"
- "@kepler.gl/constants": "npm:3.1.0-alpha.1"
- "@kepler.gl/layers": "npm:3.1.0-alpha.1"
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
- "@kepler.gl/utils": "npm:3.1.0-alpha.1"
+ "@kepler.gl/common-utils": "npm:3.1.0-alpha.2"
+ "@kepler.gl/constants": "npm:3.1.0-alpha.2"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
+ "@kepler.gl/utils": "npm:3.1.0-alpha.2"
"@types/d3-array": "npm:^2.8.0"
"@types/lodash.uniq": "npm:^4.5.7"
d3-array: "npm:^2.8.0"
@@ -3578,28 +3578,28 @@ __metadata:
languageName: unknown
linkType: soft
-"@kepler.gl/tasks@npm:3.1.0-alpha.1, @kepler.gl/tasks@workspace:src/tasks":
+"@kepler.gl/tasks@npm:3.1.0-alpha.2, @kepler.gl/tasks@workspace:src/tasks":
version: 0.0.0-use.local
resolution: "@kepler.gl/tasks@workspace:src/tasks"
dependencies:
- "@kepler.gl/processors": "npm:3.1.0-alpha.1"
+ "@kepler.gl/processors": "npm:3.1.0-alpha.2"
react-palm: "npm:^3.3.8"
languageName: unknown
linkType: soft
-"@kepler.gl/types@npm:3.1.0-alpha.1, @kepler.gl/types@workspace:src/types":
+"@kepler.gl/types@npm:3.1.0-alpha.2, @kepler.gl/types@workspace:src/types":
version: 0.0.0-use.local
resolution: "@kepler.gl/types@workspace:src/types"
languageName: unknown
linkType: soft
-"@kepler.gl/utils@npm:3.1.0-alpha.1, @kepler.gl/utils@workspace:src/utils":
+"@kepler.gl/utils@npm:3.1.0-alpha.2, @kepler.gl/utils@workspace:src/utils":
version: 0.0.0-use.local
resolution: "@kepler.gl/utils@workspace:src/utils"
dependencies:
- "@kepler.gl/common-utils": "npm:3.1.0-alpha.1"
- "@kepler.gl/constants": "npm:3.1.0-alpha.1"
- "@kepler.gl/types": "npm:3.1.0-alpha.1"
+ "@kepler.gl/common-utils": "npm:3.1.0-alpha.2"
+ "@kepler.gl/constants": "npm:3.1.0-alpha.2"
+ "@kepler.gl/types": "npm:3.1.0-alpha.2"
"@luma.gl/constants": "npm:^8.5.20"
"@luma.gl/core": "npm:^8.5.20"
"@mapbox/geo-viewport": "npm:^0.4.1"
@@ -20432,7 +20432,7 @@ __metadata:
"@deck.gl/test-utils": "npm:^8.9.27"
"@hubble.gl/core": "npm:1.2.0-alpha.6"
"@hubble.gl/react": "npm:1.2.0-alpha.6"
- "@kepler.gl/components": "npm:3.1.0-alpha.1"
+ "@kepler.gl/components": "npm:3.1.0-alpha.2"
"@loaders.gl/polyfills": "npm:^4.3.2"
"@luma.gl/test-utils": "npm:^8.5.20"
"@nebula.gl/layers": "npm:1.0.2-alpha.1"