Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[Style] align icon styles, use lucid icons (#3073)
Shan He822cd0e32692
diff --git a/examples/demo-app/src/factories/panel-header.js b/examples/demo-app/src/factories/panel-header.jsindex a0666cf88..132d86cb3 100644--- a/examples/demo-app/src/factories/panel-header.js+++ b/examples/demo-app/src/factories/panel-header.js@@ -20,7 +20,7 @@ export function CustomPanelHeaderFactory(...deps) {},{id: 'docs',- iconComponent: Icons.Docs,+ iconComponent: Icons.Docs2,href: USER_GUIDE_DOC,blank: true,tooltip: 'User Guide',diff --git a/src/components/src/common/animation-control/playback-controls.tsx b/src/components/src/common/animation-control/playback-controls.tsxindex b3a55b6ea..c5aa87f25 100644--- a/src/components/src/common/animation-control/playback-controls.tsx+++ b/src/components/src/common/animation-control/playback-controls.tsx@@ -4,7 +4,7 @@import React, {useState, useCallback} from 'react';import styled, {IStyledComponent} from 'styled-components';import classnames from 'classnames';-import {Reset, Play, Pause, Save, Rocket, AnchorWindow, FreeWindow} from '../icons';+import {Reset, Play, Pause, Save, Speed, AnchorWindow, FreeWindow} from '../icons';import {ANIMATION_WINDOW} from '@kepler.gl/constants';import {Filter, TimeRangeFilter} from '@kepler.gl/types';import AnimationSpeedSliderFactory from './animation-speed-slider';@@ -36,12 +36,12 @@ const StyledAnimationControls: IStyledComponent<const DEFAULT_ICONS = {/* eslint-disable react/display-name */- reset: () => <Reset height="18px" />,- play: () => <Play height="18px" />,- pause: () => <Pause height="18px" />,- export: () => <Save height="18px" />,+ reset: () => <Reset height="16px" />,+ play: () => <Play height="16px" />,+ pause: () => <Pause height="16px" />,+ export: () => <Save height="16px" />,/* eslint-enable react/display-name */- speed: Rocket,+ speed: () => <Speed height="16px" />,animationFree: FreeWindow,animationIncremental: AnchorWindow};diff --git a/src/components/src/common/icons/arrow-down.tsx b/src/components/src/common/icons/arrow-down.tsxindex f6110bb9b..90001d024 100644--- a/src/components/src/common/icons/arrow-down.tsx+++ b/src/components/src/common/icons/arrow-down.tsx@@ -6,17 +6,21 @@ import Base, {BaseProps} from './base';export default class ArrowDown extends Component<Partial<BaseProps>> {static defaultProps = {- height: '16px',+ height: '24px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-arrowdown'};render() {return (- <Base {...this.props}>- <path- d="M13.1,17.5c0.4-0.4,1.1-0.4,1.6,0L32,34.8l17.4-17.4c0.4-0.4,1.1-0.4,1.6,0l4.7,4.7c0.4,0.4,0.4,1.1,0,1.6L32.8,46.7- c-0.4,0.4-1.1,0.4-1.6,0L8.3,23.8c-0.4-0.4-0.4-1.1,0-1.6L13.1,17.5z"- />{' '}+ <Base+ {...this.props}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ style={{fill: 'none', stroke: 'currentColor'}}+ >+ <path d="m6 9 6 6 6-6" /></Base>);}diff --git a/src/components/src/common/icons/base-map.tsx b/src/components/src/common/icons/base-map.tsxnew file mode 100644index 000000000..d52d52731--- /dev/null+++ b/src/components/src/common/icons/base-map.tsx@@ -0,0 +1,34 @@+// SPDX-License-Identifier: MIT+// Copyright contributors to the kepler.gl project++import React, {Component} from 'react';+import Base, {BaseProps} from './base';++class BaseMap extends Component<Partial<BaseProps>> {+ static defaultProps = {+ height: '16px',+ predefinedClassName: 'data-ex-icons-basemap',+ viewBox: '0 0 24 24',+ totalColor: 1+ };++ render() {+ return (+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentColor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <g>+ <path d="M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z" />+ <path d="M15 5.764v15" />+ <path d="M9 3.236v15" />+ </g>+ </Base>+ );+ }+}++export default BaseMap;diff --git a/src/components/src/common/icons/bug.tsx b/src/components/src/common/icons/bug.tsxindex cf032a2ca..3b83e629d 100644--- a/src/components/src/common/icons/bug.tsx+++ b/src/components/src/common/icons/bug.tsx@@ -7,16 +7,30 @@ import Base, {BaseProps} from './base';export default class Bug extends Component<Partial<BaseProps>> {static defaultProps = {height: '16px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-bug'};render() {return (- <Base {...this.props}>- <g>- <path d="M32 8.333C26.698 8.333 22.4 13 22.4 19h19.2c0-6-4.298-10.667-9.6-10.667z" />- <path d="M53.6 32H46v-6.506c0-.074.184-.142.18-.215l5.417-5.907c.937-1.042.987-2.73.05-3.772-.937-1.041-2.432-1.041-3.369 0l-5.304 5.664c-.066-.004-.115-.264-.181-.264H21.207c-.066 0-.128.26-.193.264l-5.317-5.785c-.937-1.042-2.457-.981-3.394.06-.937 1.042-.937 2.76 0 3.802l5.516 5.923c-.003.072.181.156.181.23V32h-7.6C9.075 32 8 33.027 8 34.5S9.075 37 10.4 37h7.2c0 3 .375 4.299 1.025 6.12-.105.084-.227.253-.322.359l-6.788 7.603c-.937 1.041-.937 2.76 0 3.802.937 1.04 2.457 1.056 3.394.015l6.443-6.93C23.494 50.693 26 52.619 30 53.246V27h4v26.246c4-.626 6.506-2.545 8.648-5.27l6.343 6.938a2.29 2.29 0 0 0 3.444 0c.937-1.041.962-2.73.025-3.771L45.684 43.6c-.094-.105-.21-.396-.316-.48C46.018 41.298 46.4 40 46.4 37h7.2c1.325 0 2.4-1.027 2.4-2.5S54.925 32 53.6 32z" />- </g>+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="m8 2 1.88 1.88" />+ <path d="M14.12 3.88 16 2" />+ <path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1" />+ <path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6" />+ <path d="M12 20v-9" />+ <path d="M6.53 9C4.6 8.8 3 7.1 3 5" />+ <path d="M6 13H2" />+ <path d="M3 21c0-2.1 1.7-3.9 3.8-4" />+ <path d="M20.97 5c0 2.1-1.6 3.8-3.5 4" />+ <path d="M22 13h-4" />+ <path d="M17.2 17c2.1.1 3.8 1.9 3.8 4" /></Base>);}diff --git a/src/components/src/common/icons/cloud.tsx b/src/components/src/common/icons/cloud.tsxnew file mode 100644index 000000000..ea3382e30--- /dev/null+++ b/src/components/src/common/icons/cloud.tsx@@ -0,0 +1,27 @@+// SPDX-License-Identifier: MIT+// Copyright contributors to the kepler.gl project++import React, {Component} from 'react';+import Base, {BaseProps} from './base';++export default class Layers extends Component<Partial<BaseProps>> {+ static defaultProps = {+ height: '16px',+ viewBox: '0 0 24 24',+ predefinedClassName: 'data-ex-icons-layers'+ };++ render() {+ return (+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z" />+ </Base>+ );+ }+}diff --git a/src/components/src/common/icons/copy.tsx b/src/components/src/common/icons/copy.tsxindex 7530383c6..953a66ca8 100644--- a/src/components/src/common/icons/copy.tsx+++ b/src/components/src/common/icons/copy.tsx@@ -6,15 +6,28 @@ import Base, {BaseProps} from './base';export default class Copy extends Component<Partial<BaseProps>> {static defaultProps = {- height: '16px',- predefinedClassName: 'data-ex-icons-copy'+ height: '14px',+ viewBox: '0 0 14 14',+ predefinedClassName: 'data-ex-icons-copy',+ style: {+ fill: 'none',+ stroke: 'currentColor'+ }};render() {return (- <Base viewBox="0 0 64 64" {...this.props}>- <path d="M37.2402913,45.4271845 L37.2402913,53.2402913 L9.66990291,53.2402913 L9.66990291,25.6699029 L17.4830097,25.6699029 L17.4830097,21 L8.59223301,21 C6.61650485,21 5,22.6165049 5,24.592233 L5,54.407767 C5,56.3834951 6.61650485,58 8.59223301,58 L38.407767,58 C40.3834951,58 42,56.3834951 42,54.407767 L42,45.5169903 L37.2402913,45.5169903 L37.2402913,45.4271845 Z" />- <path d="M52.407767,7 L22.592233,7 C20.6165049,7 19,8.61650485 19,10.592233 L19,40.407767 C19,42.3834951 20.6165049,44 22.592233,44 L52.407767,44 C54.3834951,44 56,42.3834951 56,40.407767 L56,10.592233 C56,8.61650485 54.3834951,7 52.407767,7 Z M51.3300971,39.2402913 L23.7597087,39.2402913 L23.7597087,11.6699029 L51.4199029,11.6699029 L51.4199029,39.2402913 L51.3300971,39.2402913 Z" />+ <Base {...this.props}>+ <path+ strokeLinecap="round"+ strokeLinejoin="round"+ d="M11.8002 4.98792H6.4002C5.73745 4.98792 5.2002 5.52517 5.2002 6.18792V11.5879C5.2002 12.2507 5.73745 12.7879 6.4002 12.7879H11.8002C12.4629 12.7879 13.0002 12.2507 13.0002 11.5879V6.18792C13.0002 5.52517 12.4629 4.98792 11.8002 4.98792Z"+ />+ <path+ strokeLinecap="round"+ strokeLinejoin="round"+ d="M2.8 8.58796H2.2C1.88174 8.58796 1.57652 8.46154 1.35147 8.23649C1.12643 8.01145 1 7.70622 1 7.38796V1.98796C1 1.6697 1.12643 1.36448 1.35147 1.13944C1.57652 0.914392 1.88174 0.787964 2.2 0.787964H7.6C7.91826 0.787964 8.22348 0.914392 8.44853 1.13944C8.67357 1.36448 8.8 1.6697 8.8 1.98796V2.58796"+ /></Base>);}diff --git a/src/components/src/common/icons/cube-3d.tsx b/src/components/src/common/icons/cube-3d.tsxindex 8a31f790e..9c4496baf 100644--- a/src/components/src/common/icons/cube-3d.tsx+++ b/src/components/src/common/icons/cube-3d.tsx@@ -6,16 +6,23 @@ import Base, {BaseProps} from './base';export default class Cube3D extends Component<Partial<BaseProps>> {static defaultProps = {- height: '16px',- predefinedClassName: 'data-ex-icons-cube3d'+ height: '24px',+ viewBox: '0 0 24 24',+ predefinedClassName: 'data-ex-icons-layers'};render() {return (- <Base {...this.props}>- <path d="M29.2,29.57,9.52,40.93V20a2.81,2.81,0,0,1,1.4-2.43L29.2,7.06Z" />- <path d="M32.08,34.38l21,10.82L33.4,56.56a2.78,2.78,0,0,1-2.8,0L12.12,45.91Z" />- <path d="M54.48,20v19.6L34.8,29.49V7.06L53.09,17.61A2.81,2.81,0,0,1,54.48,20Z" />+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z" />+ <path d="m3.3 7 8.7 5 8.7-5" />+ <path d="M12 22V12" /></Base>);}diff --git a/src/components/src/common/icons/data-table.tsx b/src/components/src/common/icons/data-table.tsxindex bf051ae6d..45847c88f 100644--- a/src/components/src/common/icons/data-table.tsx+++ b/src/components/src/common/icons/data-table.tsx@@ -8,15 +8,24 @@ export default class DataTable extends Component<Partial<BaseProps>> {static displayName = 'DataTable';static defaultProps = {height: '16px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-datatable'};render() {return (- <Base {...this.props}>- <g>- <path d="M49.8627039,8 L14.1386877,8 C11.3005103,8 9,10.2588055 9,13.045531 L9,51.954469 C9,54.74165 11.3005103,57 14.1386877,57 L49.8627039,57 C52.7004174,57 54.9999999,54.74165 54.9999999,51.954469 L54.9999999,13.045531 C55.0004638,10.2588055 52.7008814,8 49.8627039,8 Z M23.6645354,52.7702626 C23.6645354,53.3860934 23.1134149,53.8844062 22.4328647,53.8844062 L13.8673027,53.8844062 C13.1862885,53.8844062 12.6351681,53.3856379 12.6351681,52.7702626 L12.6351681,45.0177179 C12.6351681,44.4009761 13.1862885,43.9022078 13.8673027,43.9022078 L22.4328647,43.9022078 C23.1134149,43.9022078 23.6645354,44.4009761 23.6645354,45.0177179 L23.6645354,52.7702626 Z M37.4773392,52.7702626 C37.4773392,53.3860934 36.9271465,53.8844062 36.2461324,53.8844062 L27.6810343,53.8844062 C26.9995562,53.8844062 26.4484358,53.3856379 26.4484358,52.7702626 L26.4484358,45.0177179 C26.4484358,44.4009761 26.9995562,43.9022078 27.6810343,43.9022078 L36.2456685,43.9022078 C36.9271465,43.9022078 37.4768752,44.4009761 37.4768752,45.0177179 L37.4768752,52.7702626 L37.4773392,52.7702626 Z M51.2910708,52.7702626 C51.2910708,53.3860934 50.7408781,53.8844062 50.059864,53.8844062 L41.494302,53.8844062 C40.8128239,53.8844062 40.2630952,53.3856379 40.2630952,52.7702626 L40.2630952,45.0177179 C40.2630952,44.4009761 40.8132878,43.9022078 41.494302,43.9022078 L50.0594001,43.9022078 C50.7408781,43.9022078 51.2906068,44.4009761 51.2906068,45.0177179 L51.2906068,52.7702626 L51.2910708,52.7702626 Z M23.6645354,39.9735533 C23.6645354,40.5893842 23.1134149,41.0886079 22.4328647,41.0886079 L13.8673027,41.0886079 C13.1862885,41.0886079 12.6351681,40.5889287 12.6351681,39.9735533 L12.6351681,32.2200976 C12.6351681,31.6042668 13.1862885,31.1054985 13.8673027,31.1054985 L22.4328647,31.1054985 C23.1134149,31.1054985 23.6645354,31.6047223 23.6645354,32.2200976 L23.6645354,39.9735533 Z M37.4773392,39.9735533 C37.4773392,40.5893842 36.9271465,41.0886079 36.2461324,41.0886079 L27.6810343,41.0886079 C26.9995562,41.0886079 26.4484358,40.5889287 26.4484358,39.9735533 L26.4484358,32.2200976 C26.4484358,31.6042668 26.9995562,31.1054985 27.6810343,31.1054985 L36.2456685,31.1054985 C36.9271465,31.1054985 37.4768752,31.6047223 37.4768752,32.2200976 L37.4768752,39.9735533 L37.4773392,39.9735533 Z M51.2910708,39.9735533 C51.2910708,40.5893842 50.7408781,41.0886079 50.059864,41.0886079 L41.494302,41.0886079 C40.8128239,41.0886079 40.2630952,40.5889287 40.2630952,39.9735533 L40.2630952,32.2200976 C40.2630952,31.6042668 40.8132878,31.1054985 41.494302,31.1054985 L50.0594001,31.1054985 C50.7408781,31.1054985 51.2906068,31.6047223 51.2906068,32.2200976 L51.2906068,39.9735533 L51.2910708,39.9735533 Z M23.6645354,26.9996561 C23.6645354,27.6159424 23.1134149,28.1142552 22.4328647,28.1142552 L13.8673027,28.1142552 C13.1862885,28.1142552 12.6351681,27.6159424 12.6351681,26.9996561 L12.6351681,19.2466558 C12.6351681,18.630825 13.1862885,18.1316012 13.8673027,18.1316012 L22.4328647,18.1316012 C23.1134149,18.1316012 23.6645354,18.630825 23.6645354,19.2466558 L23.6645354,26.9996561 Z M37.4773392,26.9996561 C37.4773392,27.6159424 36.9271465,28.1142552 36.2461324,28.1142552 L27.6810343,28.1142552 C26.9995562,28.1142552 26.4484358,27.6159424 26.4484358,26.9996561 L26.4484358,19.2466558 C26.4484358,18.630825 26.9995562,18.1316012 27.6810343,18.1316012 L36.2456685,18.1316012 C36.9271465,18.1316012 37.4768752,18.630825 37.4768752,19.2466558 L37.4768752,26.9996561 L37.4773392,26.9996561 Z M51.2910708,26.9996561 C51.2910708,27.6159424 50.7408781,28.1142552 50.059864,28.1142552 L41.494302,28.1142552 C40.8128239,28.1142552 40.2630952,27.6159424 40.2630952,26.9996561 L40.2630952,19.2466558 C40.2630952,18.630825 40.8132878,18.1316012 41.494302,18.1316012 L50.0594001,18.1316012 C50.7408781,18.1316012 51.2906068,18.630825 51.2906068,19.2466558 L51.2906068,26.9996561 L51.2910708,26.9996561 Z" />- </g>+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <rect width="18" height="18" x="3" y="3" rx="2" ry="2" />+ <line x1="3" x2="21" y1="9" y2="9" />+ <line x1="3" x2="21" y1="15" y2="15" />+ <line x1="9" x2="9" y1="9" y2="21" />+ <line x1="15" x2="15" y1="9" y2="21" /></Base>);}diff --git a/src/components/src/common/icons/db.tsx b/src/components/src/common/icons/db.tsxindex 9cba4c4d7..c5bce33ca 100644--- a/src/components/src/common/icons/db.tsx+++ b/src/components/src/common/icons/db.tsx@@ -8,15 +8,22 @@ export default class Db extends Component<Partial<BaseProps>> {static displayName = 'Db';static defaultProps = {height: '16px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-db'};render() {return (- <Base {...this.props}>- <g>- <path d="M32.000001,6 C26.2249941,6 20.9934005,7.06979182 17.0208337,8.93585449 C13.0482668,10.8019172 10,13.6479177 10,17.4078917 L10,45.5921083 C10,49.3520823 13.0482668,52.177146 17.0208337,54.0432087 C20.9934005,55.9092042 26.2249941,57 32.000001,57 C37.7750413,57 43.0066082,55.9092042 46.9791677,54.0432087 C50.9517265,52.177146 54,49.3520823 54,45.5921083 L54,17.4078917 C54,13.6479177 50.9517259,10.8019172 46.9791677,8.93585449 C43.0066075,7.06979182 37.7750406,6 32.0000003,6 L32.000001,6 Z M32.0000003,10 C37.2706271,10 42.0256405,11.0406591 45.2916666,12.5994318 C48.557694,14.1582045 50,16.0484773 50,17.5 C50,18.9515227 48.557694,20.8204545 45.2916666,22.3792273 C42.0256405,23.9380682 37.2706271,25 32.0000003,25 C26.7294069,25 21.9743668,23.9380682 18.7083334,22.3792273 C15.4422994,20.8204545 14,18.9515227 14,17.5 C14,16.0484773 15.4422994,14.1582045 18.7083334,12.5994318 C21.9743668,11.0406591 26.7294069,10 32.0000003,10 Z M14,24 C14.9089734,24.6525751 15.9275867,25.2372249 17.0208334,25.7463652 C20.9934001,27.5963149 26.2249936,28.6777307 32.0000003,28.6777307 C37.7750404,28.6777307 43.0066072,27.5963149 46.9791666,25.7463652 C48.0724133,25.2372249 49.0910266,24.6525751 50,24 L50,26.6818848 C50,28.0982036 48.557694,29.9218214 45.2916666,31.4427891 C42.0256405,32.9638898 37.2706271,34 32.0000003,34 C26.7294069,34 21.9743668,32.9638898 18.7083334,31.4427891 C15.4422994,29.9218214 14,28.0982036 14,26.6818848 L14,24 Z M14,33 C14.9091527,33.6585228 15.92008,34.251917 17.0208334,34.7635187 C20.9934001,36.6095602 26.2249936,37.6887967 32.0000003,37.6887967 C37.7750404,37.6887967 43.0066072,36.6095602 46.9791666,34.7635187 C48.07992,34.2518506 49.0908466,33.6585228 50,33 L50,35.6970954 C50,37.110473 48.557694,38.9302905 45.2916666,40.4480996 C42.0256405,41.9660415 37.2706271,43 32.0000003,43 C26.7294069,43 21.9743668,41.9660415 18.7083334,40.4480996 C15.4422994,38.9302905 14,37.110473 14,35.6970954 L14,33 Z M14,43 C14.9091527,43.6585228 15.92008,44.2518506 17.0208334,44.7635187 C20.9934001,46.6095602 26.2249936,47.6887967 32.0000003,47.6887967 C37.7750404,47.6887967 43.0066072,46.6095602 46.9791666,44.7635187 C48.07992,44.251917 49.0908466,43.6585228 50,43 L50,45.6970954 C50,47.110473 48.557694,48.9302905 45.2916666,50.4480996 C42.0256405,51.9659751 37.2706271,53 32.0000003,53 C26.7294069,53 21.9743668,51.9659751 18.7083334,50.4480996 C15.4422994,48.9302905 14,47.110473 14,45.6970954 L14,43 Z" />- </g>+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <ellipse cx="12" cy="5" rx="9" ry="3" />+ <path d="M3 5V19A9 3 0 0 0 21 19V5" />+ <path d="M3 12A9 3 0 0 0 21 12" /></Base>);}diff --git a/src/components/src/common/icons/delete.tsx b/src/components/src/common/icons/delete.tsxindex 5d8ff2e12..fb25a1581 100644--- a/src/components/src/common/icons/delete.tsx+++ b/src/components/src/common/icons/delete.tsx@@ -6,16 +6,22 @@ import Base, {BaseProps} from './base';export default class Delete extends Component<Partial<BaseProps>> {static defaultProps = {- height: '16px',+ height: '24px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-delete'};render() {return (- <Base {...this.props}>- <g transform="translate(8, 8)">- <path d="M31.5059707,24 L47.5987718,7.90719891 C48.1337427,7.37222791 48.1337427,6.50972364 47.5987718,5.97475264 L42.0252474,0.40122825 C41.4902764,-0.13374275 40.6277721,-0.13374275 40.0928011,0.40122825 L24,16.4940293 L7.90719891,0.40122825 C7.37222791,-0.13374275 6.50972364,-0.13374275 5.97475264,0.40122825 L0.40122825,5.97475264 C-0.13374275,6.50972364 -0.13374275,7.37222791 0.40122825,7.90719891 L16.4940293,24 L0.40122825,40.0928011 C-0.13374275,40.6277721 -0.13374275,41.4902764 0.40122825,42.0252474 L5.97475264,47.5987718 C6.50972364,48.1337427 7.37222791,48.1337427 7.90719891,47.5987718 L24,31.5059707 L40.0928011,47.5987718 C40.6277721,48.1337427 41.4902764,48.1337427 42.0252474,47.5987718 L47.5987718,42.0252474 C48.1337427,41.4902764 48.1337427,40.6277721 47.5987718,40.0928011 L31.5059707,24 Z" />- </g>+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M18 6 6 18" />+ <path d="m6 6 12 12" /></Base>);}diff --git a/src/components/src/common/icons/docs2.tsx b/src/components/src/common/icons/docs2.tsxnew file mode 100644index 000000000..27024c28d--- /dev/null+++ b/src/components/src/common/icons/docs2.tsx@@ -0,0 +1,27 @@+// SPDX-License-Identifier: MIT+// Copyright contributors to the kepler.gl project++import React, {Component} from 'react';+import Base, {BaseProps} from './base';++export default class Docs2 extends Component<Partial<BaseProps>> {+ static defaultProps = {+ height: '16px',+ viewBox: '0 0 24 24',+ predefinedClassName: 'data-ex-icons-docs2'+ };++ render() {+ return (+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20" />+ </Base>+ );+ }+}diff --git a/src/components/src/common/icons/eye-seen.tsx b/src/components/src/common/icons/eye-seen.tsxindex 266f7307c..73a51f5fd 100644--- a/src/components/src/common/icons/eye-seen.tsx+++ b/src/components/src/common/icons/eye-seen.tsx@@ -7,14 +7,25 @@ import Base, {BaseProps} from './base';export default class EyeSeen extends Component<Partial<BaseProps>> {static defaultProps = {height: '16px',+ viewBox: '0 0 16 16',predefinedClassName: 'data-ex-icons-eyeseen'};render() {return (<Base {...this.props}>- <path d="M55.25,35v-.09a1.86,1.86,0,0,0-.49-1,36.15,36.15,0,0,0-5.05-5,31.92,31.92,0,0,0-13.19-7A21.09,21.09,0,0,0,28,21.8a26.07,26.07,0,0,0-7.4,2.73,40.33,40.33,0,0,0-9.88,7.63c-.54.56-1.07,1.12-1.56,1.73a1.92,1.92,0,0,0,0,2.56,36.09,36.09,0,0,0,5.05,5,31.89,31.89,0,0,0,13.19,7,21.05,21.05,0,0,0,8.51.12,26.06,26.06,0,0,0,7.41-2.73,40.37,40.37,0,0,0,9.88-7.63c.54-.56,1.07-1.12,1.56-1.73a1.84,1.84,0,0,0,.49-1v-.19s0-.06,0-.09,0-.06,0-.09,0-.08,0-.09M32,44.51a9.35,9.35,0,1,1,9.28-9.35A9.31,9.31,0,0,1,32,44.51" />- <path d="M32,32.07a3.1,3.1,0,1,1-3.07,3.1A3.08,3.08,0,0,1,32,32.07" />+ <path+ fillRule="evenodd"+ clipRule="evenodd"+ fill="currentColor"+ d="M15.3 7.50005C15.2 7.40005 15.2 7.30005 15.2 7.30005C15.1 7.20005 15 7.00005 14.8 6.70005C14.5 6.20005 14 5.60005 13.4 5.00005C12.2 3.70005 10.4 2.30005 8 2.30005C5.6 2.30005 3.7 3.70005 2.5 5.00005C1.9 5.60005 1.5 6.20005 1.2 6.70005C1 7.00005 0.9 7.20005 0.8 7.30005C0.8 7.40005 0.7 7.40005 0.7 7.50005C0.6 7.70005 0.6 8.00005 0.7 8.20005C0.7 8.20005 0.7 8.30005 0.8 8.40005C0.9 8.50005 1 8.80005 1.2 9.00005C1.5 9.50005 2 10.1 2.6 10.8C3.8 12.1 5.6 13.4 8 13.4C10.4 13.4 12.2 12 13.4 10.8C14 10.1 14.5 9.50005 14.8 9.00005C15 8.80005 15.1 8.50005 15.2 8.40005C15.2 8.30005 15.3 8.30005 15.3 8.20005C15.4 8.00005 15.4 7.70005 15.3 7.50005ZM13.6 8.20005C13.3 8.60005 12.9 9.20005 12.4 9.80005C11.3 11 9.8 12 8 12C6.1 12 4.6 11 3.6 9.80005C3 9.20005 2.6 8.70005 2.3 8.20005C2.2 8.10005 2.2 8.00005 2.1 7.90005C2.2 7.80005 2.2 7.70005 2.3 7.50005C2.6 7.00005 3 6.50005 3.6 5.90005C4.6 4.80005 6.1 3.70005 8 3.70005C9.8 3.70005 11.3 4.80005 12.4 5.90005C12.9 6.50005 13.3 7.00005 13.6 7.50005C13.7 7.60005 13.8 7.80005 13.8 7.90005C13.8 8.00005 13.7 8.10005 13.6 8.20005Z"+ />+ <path+ fillRule="evenodd"+ clipRule="evenodd"+ fill="currentColor"+ d="M7.8999 5.40002C6.4999 5.40002 5.3999 6.50002 5.3999 7.90002C5.3999 9.30002 6.4999 10.4 7.8999 10.4C9.2999 10.4 10.3999 9.30002 10.3999 7.90002C10.3999 6.50002 9.2999 5.40002 7.8999 5.40002ZM7.8999 9.00002C7.2999 9.00002 6.7999 8.50002 6.7999 7.90002C6.7999 7.30002 7.2999 6.80002 7.8999 6.80002C8.4999 6.80002 8.9999 7.30002 8.9999 7.90002C8.9999 8.50002 8.4999 9.00002 7.8999 9.00002Z"+ /></Base>);}diff --git a/src/components/src/common/icons/eye-unseen.tsx b/src/components/src/common/icons/eye-unseen.tsxindex 8138d5a6c..cc7fee4f5 100644--- a/src/components/src/common/icons/eye-unseen.tsx+++ b/src/components/src/common/icons/eye-unseen.tsx@@ -7,14 +7,23 @@ import Base, {BaseProps} from './base';export default class EyeUnseen extends Component<Partial<BaseProps>> {static defaultProps = {height: '16px',+ viewBox: '0 0 16 16',predefinedClassName: 'data-ex-icons-eyeunseen'};render() {return (<Base {...this.props}>- <path d="M17.55,44.49a42.79,42.79,0,0,1-4.18-3.08,36.09,36.09,0,0,1-5.05-5,1.92,1.92,0,0,1,0-2.56c.49-.6,1-1.17,1.56-1.73a40.33,40.33,0,0,1,9.88-7.63,26.07,26.07,0,0,1,7.4-2.73,21.09,21.09,0,0,1,8.51.12,24.12,24.12,0,0,1,3.41,1L34.34,27.7a7.49,7.49,0,0,0-9.59,9.59Z" />- <path d="M23.14,47.37l5.73-5.73a7.49,7.49,0,0,0,9.82-9.82l6-6a42.78,42.78,0,0,1,4.18,3.09,36.15,36.15,0,0,1,5.05,5,1.86,1.86,0,0,1,.49,1V35s0,0,0,.09,0,.06,0,.09,0,.06,0,.09v.19a1.84,1.84,0,0,1-.49,1c-.49.6-1,1.17-1.56,1.73a40.37,40.37,0,0,1-9.88,7.63,26.06,26.06,0,0,1-7.41,2.73,21.05,21.05,0,0,1-8.51-.12A24.09,24.09,0,0,1,23.14,47.37Z" />+ <path+ fillRule="evenodd"+ clipRule="evenodd"+ d="M15.4999 14.5L12.2999 11.3L9.7999 8.90002L7.1999 6.20002L4.6999 3.70002L1.4999 0.500024C1.1999 0.200024 0.799902 0.200024 0.499902 0.500024C0.199902 0.800024 0.199902 1.20002 0.499902 1.50002L3.1999 4.20002C1.9999 5.20002 1.0999 6.30002 0.399902 7.70002C0.299902 7.90002 0.299902 8.10003 0.399902 8.30002C0.399902 8.30002 0.499902 8.40002 0.499902 8.50002C0.599902 8.70002 0.699902 8.90003 0.899902 9.10003C1.1999 9.60003 1.6999 10.3 2.2999 10.9C3.4999 12.2 5.4999 13.7 7.9999 13.7C9.2999 13.7 10.5999 13.3 11.6999 12.6L14.4999 15.4C14.7999 15.7 15.1999 15.7 15.4999 15.4C15.7999 15.2 15.7999 14.8 15.4999 14.5ZM6.7999 7.80002L8.1999 9.20002C8.0999 9.20002 7.9999 9.20002 7.8999 9.20002C7.6999 9.20002 7.5999 9.20003 7.3999 9.10003C7.1999 9.00002 7.1999 9.00002 7.0999 8.90002C6.9999 8.80002 6.8999 8.70002 6.7999 8.50002C6.6999 8.30002 6.6999 8.20002 6.6999 8.00002C6.7999 7.90002 6.7999 7.80002 6.7999 7.80002ZM7.9999 12.4C6.0999 12.4 4.4999 11.3 3.3999 10.1C2.7999 9.50002 2.3999 8.90002 2.0999 8.40002C1.9999 8.30002 1.8999 8.10002 1.7999 8.00002C2.3999 6.90002 3.1999 6.00002 4.1999 5.20002L5.6999 6.80002C5.6999 6.80002 5.5999 6.90002 5.5999 7.00002C5.3999 7.30002 5.2999 7.70002 5.2999 8.00002C5.2999 8.30002 5.3999 8.70002 5.4999 9.00002C5.5999 9.30002 5.7999 9.60002 6.0999 9.90002C6.3999 10.2 6.5999 10.4 6.9999 10.5C7.2999 10.6 7.6999 10.7 7.9999 10.7C8.2999 10.7 8.6999 10.6 8.9999 10.5C9.0999 10.5 9.1999 10.4 9.2999 10.4L10.6999 11.8C9.8999 12.1 8.8999 12.4 7.9999 12.4Z"+ />+ <path+ fillRule="evenodd"+ clipRule="evenodd"+ d="M15.0001 7.69995C15.1001 7.89995 15.1001 8.09995 15.0001 8.29995C14.6001 9.09995 14.1001 9.79995 13.5001 10.5C13.3001 10.8 12.8001 10.8 12.5001 10.6C12.2001 10.4 12.2001 9.89995 12.4001 9.59995C12.8001 9.09995 13.2001 8.59995 13.5001 7.99995C13.4001 7.89995 13.3001 7.79995 13.3001 7.59995C13.0001 7.09995 12.6001 6.59995 12.1001 5.99995C11.5001 5.39995 10.9001 4.79995 10.1001 4.39995C9.30009 3.89995 8.50009 3.59995 7.50009 3.59995C7.10009 3.59995 6.70009 3.59995 6.30009 3.69995C6.00009 3.79995 5.60009 3.59995 5.50009 3.19995C5.40009 2.79995 5.60009 2.49995 6.00009 2.39995C6.50009 2.29995 7.00009 2.19995 7.50009 2.19995C10.0001 2.19995 11.9001 3.59995 13.1001 4.99995C13.7001 5.69995 14.2001 6.29995 14.5001 6.79995C14.7001 6.99995 14.9001 7.49995 15.0001 7.69995Z"+ /></Base>);}diff --git a/src/components/src/common/icons/filter-funnel.tsx b/src/components/src/common/icons/filter-funnel.tsxindex 99cec12db..1fa39cbda 100644--- a/src/components/src/common/icons/filter-funnel.tsx+++ b/src/components/src/common/icons/filter-funnel.tsx@@ -6,14 +6,21 @@ import Base, {BaseProps} from './base';export default class FilterFunnel extends Component<Partial<BaseProps>> {static defaultProps = {- height: '16px',+ height: '24px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-filterfunnel'};render() {return (- <Base {...this.props}>- <path d="M52.5,19.67l-16,20h0a6.24,6.24,0,0,0-1.37,3.9V57L30.6,54.74a3.12,3.12,0,0,1-1.73-2.79V43.58h0a6.24,6.24,0,0,0-1.37-3.9l-16-20a5,5,0,0,1-1.35-3.24c0-5.17,9.78-9.36,21.85-9.36s21.85,4.19,21.85,9.36A5,5,0,0,1,52.5,19.67Zm-20.5,3c8.62,0,15.61-2.79,15.61-6.24s-7-6.24-15.61-6.24S16.39,13,16.39,16.43,23.38,22.67,32,22.67Z" />+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentColor'}}+ strokeWidth="1.75"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z" /></Base>);}diff --git a/src/components/src/common/icons/index.tsx b/src/components/src/common/icons/index.tsxindex 58539e8fc..a017808db 100644--- a/src/components/src/common/icons/index.tsx+++ b/src/components/src/common/icons/index.tsx@@ -17,18 +17,21 @@ export {default as ArrowRight} from './arrow-right';export {default as ArrowUpSolid} from './arrow-up-solid';export {default as ArrowUpAlt} from './arrow-up-alt';export {default as ArrowUp} from './arrow-up';+export {default as BaseMap} from './base-map';export {default as Bug} from './bug';export {default as Cancel} from './cancel';export {default as Checkmark} from './checkmark';export {default as Clipboard} from './clipboard';export {default as Clock} from './clock';export {default as Close} from './close';+export {default as Cloud} from './cloud';export {default as Copy} from './copy';export {default as Cube3d} from './cube-3d';export {default as DataTable} from './data-table';export {default as Db} from './db';export {default as Delete} from './delete';export {default as Docs} from './docs';+export {default as Docs2} from './docs2';export {default as DragNDrop} from './drag-n-drop';export {default as DraggableDots} from './draggable-dots';export {default as Edit} from './edit';@@ -54,18 +57,20 @@ export {default as Legend} from './legend';export {default as LineChart} from './line-chart';export {default as Logout} from './logout';export {default as Login} from './login';-export {default as Map} from './map';export {default as MapIcon} from './map-icon';+export {default as MapPin} from './map-pin';export {default as Minus} from './minus';export {default as Pause} from './pause';export {default as Picture} from './picture';+export {default as Pin} from './pin';+export {default as PointerClick} from './pointer-click';export {default as Play} from './play';export {default as Reduce} from './reduce';export {default as Reset} from './reset';-export {default as Rocket} from './rocket';export {default as Save} from './save';export {default as Save2} from './save2';export {default as Share} from './share';+export {default as Speed} from './speed';export {default as SquareSelect} from './square-select';export {default as Settings} from './settings';export {default as Search} from './search';@@ -86,7 +91,6 @@ export {default as Messages} from './messages';export {default as Crosshairs} from './crosshairs';export {default as CursorClick} from './cursor-click';export {default as CursorPoint} from './cursor-point';-export {default as Pin} from './pin';export {default as Calendar} from './calendar';export {default as LocationMarker} from './location-marker';export {default as Globe} from './globe';@@ -112,3 +116,4 @@ export {default as EdgeWorkEffectIcon} from './effects/edge-work';export {default as VignetteEffectIcon} from './effects/vignette';export {default as MagnifyEffectIcon} from './effects/magnify';export {default as HexagonalPixelateEffectIcon} from './effects/hexagonal-pixelate';+export {default as ZoomIn} from './zoom-in';diff --git a/src/components/src/common/icons/layers.tsx b/src/components/src/common/icons/layers.tsxindex fa0732c01..f7afec2b6 100644--- a/src/components/src/common/icons/layers.tsx+++ b/src/components/src/common/icons/layers.tsx@@ -6,14 +6,23 @@ import Base, {BaseProps} from './base';export default class Layers extends Component<Partial<BaseProps>> {static defaultProps = {- height: '16px',+ height: '24px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-layers'};render() {return (- <Base {...this.props}>- <path d="M50.88,43.52a3.2,3.2,0,0,1,0,5.86L34.56,56.52a6.42,6.42,0,0,1-5.13,0L13.12,49.37a3.2,3.2,0,0,1,0-5.86l4.62-2a6,6,0,0,0,1.48,1l2.16.95-7,3.05,16.32,7.14a3.19,3.19,0,0,0,2.56,0L49.6,46.44l-7-3.05,2.16-.95a6,6,0,0,0,1.48-.95Zm0-14.39a3.2,3.2,0,0,1,0,5.86L34.56,42.13a6.42,6.42,0,0,1-5.13,0L13.12,35a3.2,3.2,0,0,1,0-5.86l4.62-2a6,6,0,0,0,1.48,1l2.16.95-7,3.05L30.72,39.2a3.19,3.19,0,0,0,2.56,0L49.6,32.06l-7-3.05,2.16-.95a6,6,0,0,0,1.48-.95ZM13.12,20.6a3.2,3.2,0,0,1,0-5.86L29.44,7.6a6.39,6.39,0,0,1,5.13,0l16.32,7.14a3.2,3.2,0,0,1,0,5.86L34.56,27.74a6.39,6.39,0,0,1-5.13,0Z" />+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z" />+ <path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12" />+ <path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17" />{' '}</Base>);}diff --git a/src/components/src/common/icons/legend.tsx b/src/components/src/common/icons/legend.tsxindex 76fc3f85f..317799e33 100644--- a/src/components/src/common/icons/legend.tsx+++ b/src/components/src/common/icons/legend.tsx@@ -7,13 +7,25 @@ import Base, {BaseProps} from './base';export default class Legend extends Component<Partial<BaseProps>> {static defaultProps = {height: '16px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-legend'};render() {return (- <Base {...this.props}>- <path d="M29.78,45.89v5.56H46.44V45.89Zm-11.11,0v5.56h5.56V45.89ZM29.78,34.78v5.56H46.44V34.78Zm-11.11,0v5.56h5.56V34.78ZM29.78,23.67v5.56H46.44V23.67Zm-11.11,0v5.56h5.56V23.67ZM29.78,12.56v5.56H46.44V12.56Zm-11.11,0v5.56h5.56V12.56ZM15.89,7H49.22A2.78,2.78,0,0,1,52,9.78V54.22A2.78,2.78,0,0,1,49.22,57H15.89a2.78,2.78,0,0,1-2.78-2.78V9.78A2.78,2.78,0,0,1,15.89,7Z" />+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <rect width="7" height="7" x="3" y="3" rx="1" />+ <rect width="7" height="7" x="3" y="14" rx="1" />+ <path d="M14 4h7" />+ <path d="M14 9h7" />+ <path d="M14 15h7" />+ <path d="M14 20h7" /></Base>);}diff --git a/src/components/src/common/icons/map-pin.tsx b/src/components/src/common/icons/map-pin.tsxnew file mode 100644index 000000000..e7bbcc6b0--- /dev/null+++ b/src/components/src/common/icons/map-pin.tsx@@ -0,0 +1,29 @@+// SPDX-License-Identifier: MIT+// Copyright contributors to the kepler.gl project++import React, {Component} from 'react';+import Base, {BaseProps} from './base';++export default class MapPin extends Component<Partial<BaseProps>> {+ static defaultProps = {+ height: '16px',+ viewBox: '0 0 24 24',+ predefinedClassName: 'data-ex-icons-map-pin'+ };++ render() {+ return (+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0" />+ <circle cx="12" cy="8" r="2" />+ <path d="M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712" />+ </Base>+ );+ }+}diff --git a/src/components/src/common/icons/map.tsx b/src/components/src/common/icons/map.tsxdeleted file mode 100644index 0013d727a..000000000--- a/src/components/src/common/icons/map.tsx+++ /dev/null@@ -1,45 +0,0 @@-// SPDX-License-Identifier: MIT-// Copyright contributors to the kepler.gl project--import React, {Component} from 'react';-import Base, {BaseProps} from './base';--class MapIcon extends Component<Partial<BaseProps>> {- static defaultProps = {- height: '16px',- predefinedClassName: 'data-ex-icons-add',- totalColor: 1- };-- render() {- return (- <Base viewBox={'0 0 602 602'} {...this.props}>- <g>- <path- d="M573.864,323.679l25.6-201.737L409.988,50.046L197.993,151.289L0,67.678l27.935,220.105L2.223,506.009l208.665,39.135- l200.136-38.125l189.865,43.823L573.864,323.679z M210.855,522.625L26.64,488.076l23.732-199.335L26.803,103.007l171.761,72.543- L410.987,74.083l164.331,62.361l-23.755,187.142l23.648,198.602l-163.764-37.782L210.855,522.625z"- />- <path- d="M506.021,405.449c-5.509,0-10.604,1.596-15.049,4.167c-17.531-12.832-35.583-27.904-36.47-47.735- c-1.217-27.195,15.439-53.227-3.623-78.182c-18.625-24.382-66.301-7.944-84.73-26.264c2.873-4.617,4.593-10.01,4.593-15.844- c0-16.671-13.519-30.192-30.187-30.192c-16.68,0-30.192,13.515-30.192,30.192c0,9.561,4.534,17.98,11.467,23.513- c-2.907,7.358-4.729,15.167-5.048,23.141c-0.496,12.596,3.121,25.126,0.391,37.634c-2.252,10.391-16.875,9.729-24.757,9.788- c-19.875,0.177-48.202-3.57-61.023,10.462c-3.783-2.843-8.207-4.812-13.077-5.621c-2.87-25.848,2.098-51.102-20.824-70.985- c-14.736-12.794-38.846-18.344-52.438-32.719c2.873-4.619,4.61-10.031,4.61-15.871c0-16.674-13.515-30.198-30.189-30.198- c-16.668,0-30.192,13.515-30.192,30.198c0,16.668,13.515,30.183,30.192,30.183c5.562,0,10.707-1.604,15.179-4.229- c10.048,10.083,23.915,16.784,36.892,23.56c16.529,8.627,28.844,19.698,31.108,39.283c1.241,10.734,0.762,21.291,1.46,31.854- c-12.135,3.918-20.978,15.16-20.978,28.602c0,16.681,13.515,30.192,30.195,30.192c16.668,0,30.189-13.512,30.189-30.192- c0-3.942-0.81-7.701-2.189-11.159c10.024-18.063,56.066-5.745,73.423-11.55c12.644-4.238,17.13-16.083,18.247-28.365- c1.063-11.473-2.637-22.757-0.91-34.283c0.686-4.69,1.867-9.224,3.439-13.55c1.644,0.271,3.311,0.502,5.024,0.502- c5.308,0,10.22-1.489,14.559-3.904c18.684,18.713,55.768,6.174,79.328,20.271c28.017,16.754-0.792,64.046,8.051,89.309- c6.123,17.472,22.13,30.499,37.994,42.232c-2.902,4.64-4.664,10.084-4.664,15.953c0,16.681,13.507,30.192,30.198,30.192- c16.657,0,30.192-13.512,30.192-30.192C536.213,418.979,522.689,405.449,506.021,405.449z"- />- </g>- </Base>- );- }-}--export default MapIcon;diff --git a/src/components/src/common/icons/messages.tsx b/src/components/src/common/icons/messages.tsxindex 7d7abfb24..8a4030574 100644--- a/src/components/src/common/icons/messages.tsx+++ b/src/components/src/common/icons/messages.tsx@@ -7,13 +7,22 @@ import Base, {BaseProps} from './base';export default class Messages extends Component<Partial<BaseProps>> {static defaultProps = {height: '16px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-messages'};render() {return (- <Base {...this.props}>- <path d="M52 10H12a8 8 0 0 0-8 8v20a8 8 0 0 0 8 8h4v7c0 .567.455 1 .964 1 .17 0 .345-.031.512-.121L32 46h20a8 8 0 0 0 8-8V18a8 8 0 0 0-8-8zm-8 24H20v-4h24v4zm4-8H16v-4h32v4z" />+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" />+ <path d="M13 8H7" />+ <path d="M17 12H7" /></Base>);}diff --git a/src/components/src/common/icons/pause.tsx b/src/components/src/common/icons/pause.tsxindex 366a62532..40f449fea 100644--- a/src/components/src/common/icons/pause.tsx+++ b/src/components/src/common/icons/pause.tsx@@ -7,13 +7,22 @@ import Base, {BaseProps} from './base';export default class Pause extends Component<Partial<BaseProps>> {static defaultProps = {height: '16px',+ viewBox: '0 0 24 24',+predefinedClassName: 'data-ex-icons-pause'};render() {return (- <Base {...this.props}>- <path d="M23.015 56h-9a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v44a2 2 0 0 1-2 2zm29-2V10a2 2 0 0 0-2-2h-9a2 2 0 0 0-2 2v44a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2z" />+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <rect x="14" y="4" width="4" height="16" rx="1" />+ <rect x="6" y="4" width="4" height="16" rx="1" /></Base>);}diff --git a/src/components/src/common/icons/picture.tsx b/src/components/src/common/icons/picture.tsxindex 0097964c6..81385e313 100644--- a/src/components/src/common/icons/picture.tsx+++ b/src/components/src/common/icons/picture.tsx@@ -7,13 +7,23 @@ import Base, {BaseProps} from './base';export default class Picture extends React.Component<Partial<BaseProps>> {static defaultProps = {height: '16px',+ viewBox: '0 0 24 24',+predefinedClassName: 'data-ex-icons-minus'};render() {return (- <Base viewBox="0 0 64 64" {...this.props}>- <path d="M55 8H9a1 1 0 0 0-1 1v46a1 1 0 0 0 1 1h46a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1zm-3 36H12V12h40v32zM40.508 25.75l8.217 11.05c.98 1.319.047 3.2-1.587 3.2H16.987c-1.863 0-2.698-2.356-1.257-3.547l6.012-4.966a1.97 1.97 0 0 1 2.513 0l3.859 3.187a1.973 1.973 0 0 0 2.843-.347l6.378-8.578a1.973 1.973 0 0 1 3.173 0zM26 21a4 4 0 1 1-8 0 4 4 0 0 1 8 0z" />+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <rect width="18" height="18" x="3" y="3" rx="2" ry="2" />+ <circle cx="9" cy="9" r="2" />+ <path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" />{' '}</Base>);}diff --git a/src/components/src/common/icons/pin.tsx b/src/components/src/common/icons/pin.tsxindex fd50ba3be..e4b94f860 100644--- a/src/components/src/common/icons/pin.tsx+++ b/src/components/src/common/icons/pin.tsx@@ -3,23 +3,26 @@import React, {Component} from 'react';import Base, {BaseProps} from './base';-import styled, {IStyledComponent} from 'styled-components';--const StyledBase: IStyledComponent<'web'> = styled(Base)`- transform: rotate(30deg);-`;export default class Pin extends Component<Partial<BaseProps>> {static defaultProps = {- size: 'tiny',+ height: '16px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-pin'};render() {return (- <StyledBase {...this.props}>- <path d="M36 35.476V59a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V35.476C21.103 33.696 16 27.453 16 20c0-8.836 7.163-16 16-16s16 7.164 16 16c0 7.453-5.103 13.697-12 15.476z" />- </StyledBase>+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M12 17v5" />+ <path d="M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z" />+ </Base>);}}diff --git a/src/components/src/common/icons/play.tsx b/src/components/src/common/icons/play.tsxindex 54fa83a65..f471ecdf5 100644--- a/src/components/src/common/icons/play.tsx+++ b/src/components/src/common/icons/play.tsx@@ -7,13 +7,21 @@ import Base, {BaseProps} from './base';export default class Play extends Component<Partial<BaseProps>> {static defaultProps = {height: '16px',+ viewBox: '0 0 24 24',+predefinedClassName: 'data-ex-icons-play'};render() {return (- <Base {...this.props}>- <path d="M15.625 7.434l36.738 23.378a2 2 0 0 1 0 3.375L15.625 57.566c-1.997 1.27-4.61-.164-4.61-2.531V9.965c0-2.368 2.613-3.802 4.61-2.531z" />+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <polygon points="6 3 20 12 6 21 6 3" /></Base>);}diff --git a/src/components/src/common/icons/pointer-click.tsx b/src/components/src/common/icons/pointer-click.tsxnew file mode 100644index 000000000..512d35c29--- /dev/null+++ b/src/components/src/common/icons/pointer-click.tsx@@ -0,0 +1,31 @@+// SPDX-License-Identifier: MIT+// Copyright contributors to the kepler.gl project++import React, {Component} from 'react';+import Base, {BaseProps} from './base';++export default class PointerClick extends Component<Partial<BaseProps>> {+ static defaultProps = {+ height: '16px',+ viewBox: '0 0 24 24',+ predefinedClassName: 'data-ex-icons-pointer-click'+ };++ render() {+ return (+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M14 4.1 12 6" />+ <path d="m5.1 8-2.9-.8" />+ <path d="m6 12-1.9 2" />+ <path d="M7.2 2.2 8 5.1" />+ <path d="M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z" />+ </Base>+ );+ }+}diff --git a/src/components/src/common/icons/reset.tsx b/src/components/src/common/icons/reset.tsxindex c05aecf99..c83a1cecd 100644--- a/src/components/src/common/icons/reset.tsx+++ b/src/components/src/common/icons/reset.tsx@@ -7,13 +7,23 @@ import Base, {BaseProps} from './base';export default class Reset extends Component<Partial<BaseProps>> {static defaultProps = {height: '16px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-reset'};render() {return (- <Base {...this.props}>- <path d="M56 32.9v.001c0 12.739-9.788 23.192-22.255 24.248-1.127.095-2.083-.85-2.083-1.982v-5.256c0-.998.784-1.763 1.776-1.878 7.568-.882 13.46-7.332 13.46-15.132 0-8.402-6.834-15.235-15.234-15.235S16.43 24.499 16.429 32.9h7.313L13.463 49.865c-.773 1.278-2.63 1.269-3.393-.015L0 32.9h7.328c0-13.441 10.895-24.336 24.336-24.336S56 19.46 56 32.9z" />+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M10 2h4" />+ <path d="M12 14v-4" />+ <path d="M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6" />+ <path d="M9 17H4v5" /></Base>);}diff --git a/src/components/src/common/icons/rocket.tsx b/src/components/src/common/icons/rocket.tsxdeleted file mode 100644index b95d0861b..000000000--- a/src/components/src/common/icons/rocket.tsx+++ /dev/null@@ -1,20 +0,0 @@-// SPDX-License-Identifier: MIT-// Copyright contributors to the kepler.gl project--import React, {Component} from 'react';-import Base, {BaseProps} from './base';--export default class Rocket extends Component<Partial<BaseProps>> {- static defaultProps = {- height: '16px',- predefinedClassName: 'data-ex-icons-rocket'- };-- render() {- return (- <Base {...this.props}>- <path d="M40.67,13,26.22,27.43H17.56L8.89,39s9.18-2.56,14.53-1.36L8.89,56.32l19-14.81c2.65,6.08-1.71,14.81-1.71,14.81l11.55-8.67V39L52.22,24.54,55.11,10.1Z" />- </Base>- );- }-}diff --git a/src/components/src/common/icons/save.tsx b/src/components/src/common/icons/save.tsxindex 79a005f8d..2d889cffa 100644--- a/src/components/src/common/icons/save.tsx+++ b/src/components/src/common/icons/save.tsx@@ -6,15 +6,23 @@ import Base, {BaseProps} from './base';export default class Save extends Component<Partial<BaseProps>> {static defaultProps = {- height: '16px',+ height: '24px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-save'};render() {return (- <Base {...this.props}>- <path d="M49.26,56.17H14.74a6.91,6.91,0,0,1-6.91-6.91V32a3.45,3.45,0,1,1,6.91,0V49.26H49.26V32a3.45,3.45,0,1,1,6.91,0V49.26A6.91,6.91,0,0,1,49.26,56.17Z" />- <path d="M44.81,24.08a3.5,3.5,0,0,1-4.9,0l-4.45-4.45V35.44a3.45,3.45,0,0,1-6.91,0V19.62l-4.45,4.45a3.5,3.5,0,0,1-4.9,0,3.44,3.44,0,0,1,0-4.87L29.55,8.85a6,6,0,0,1,.52-.45,2.61,2.61,0,0,1,.62-.31,3.45,3.45,0,0,1,2.62,0,2.61,2.61,0,0,1,.62.31,6,6,0,0,1,.52.45L44.81,19.21A3.44,3.44,0,0,1,44.81,24.08Z" />+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />+ <polyline points="7 10 12 15 17 10" />+ <line x1="12" x2="12" y1="15" y2="3" /></Base>);}diff --git a/src/components/src/common/icons/save2.tsx b/src/components/src/common/icons/save2.tsxindex 7e679717e..08339018a 100644--- a/src/components/src/common/icons/save2.tsx+++ b/src/components/src/common/icons/save2.tsx@@ -7,18 +7,22 @@ import Base, {BaseProps} from './base';export default class Save2 extends Component<Partial<BaseProps>> {static defaultProps = {height: '16px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-save2'};render() {return (- <Base {...this.props}>- <g>- <path d="M37.9069767,38 L24.0930233,38 C22.9368372,38 22,38.8952 22,40 C22,41.1048 22.9368372,42 24.0930233,42 L37.9069767,42 C39.0631628,42 40,41.1048 40,40 C40,38.8952 39.0631628,38 37.9069767,38 Z" />- <path d="M37.9069767,46 L24.0930233,46 C22.9368372,46 22,46.8952 22,48 C22,49.1048 22.9368372,50 24.0930233,50 L37.9069767,50 C39.0631628,50 40,49.1048 40,48 C40,46.8952 39.0631628,46 37.9069767,46 Z" />- <path d="M47.9591688,8.6 C46.8447431,7.56810345 45.4006509,7 43.8938457,7 L39.6276717,7 L17.8756081,7 L13.0382379,7 C9.70852048,7 7,9.75517241 7,13.1422414 L7,50.8577586 C7,54.2448276 9.70852048,57 13.0382379,57 L17.8756081,57 L46.1243919,57 L50.9617621,57 C54.2914795,57 57,54.2448276 57,50.8577586 L57,19.6896552 C57,17.9637931 56.2804963,16.3086207 55.0270852,15.1474138 L47.9591688,8.6 Z M37.5089917,11.3103448 L37.5089917,17.275 C37.5089917,18.2655172 36.7157579,19.0724138 35.7420126,19.0724138 L21.7612671,19.0724138 C20.7875218,19.0724138 19.994288,18.2655172 19.994288,17.275 L19.994288,11.3103448 L37.5089917,11.3103448 Z M19.994288,52.6896552 L19.994288,34.9448276 C19.994288,33.9543103 20.7875218,33.1474138 21.7612671,33.1474138 L42.2387329,33.1474138 C43.2124782,33.1474138 44.005712,33.9543103 44.005712,34.9448276 L44.005712,52.6896552 L19.994288,52.6896552 Z M52.7634875,50.8577586 C52.7634875,51.8681034 51.9558467,52.6896552 50.9626095,52.6896552 L48.2439194,52.6896552 L48.2439194,34.9448276 C48.2439194,31.5775862 45.5506534,28.837069 42.2395803,28.837069 L21.7612671,28.837069 C18.4501941,28.837069 15.7569281,31.5775862 15.7569281,34.9448276 L15.7569281,52.6896552 L13.0382379,52.6896552 C12.0450008,52.6896552 11.23736,51.8681034 11.23736,50.8577586 L11.23736,13.1422414 C11.23736,12.1318966 12.0450008,11.3103448 13.0382379,11.3103448 L15.7569281,11.3103448 L15.7569281,17.275 C15.7569281,20.6422414 18.4501941,23.3827586 21.7612671,23.3827586 L35.7420126,23.3827586 C39.0530856,23.3827586 41.7463516,20.6422414 41.7463516,17.275 L41.7463516,11.3103448 L43.8938457,11.3103448 C44.3430058,11.3103448 44.7735216,11.4793103 45.1057306,11.787931 L52.175342,18.3353448 C52.5490771,18.6810345 52.7634875,19.1758621 52.7634875,19.6896552 L52.7634875,50.8577586 Z" />- <path d="M32.8214286,17.6428571 C33.3022857,17.6428571 33.7685714,17.4440777 34.111,17.1073997 C34.4461429,16.7626531 34.6428571,16.2939445 34.6428571,15.8090988 C34.6428571,15.3242531 34.4461429,14.8555444 34.111,14.5181329 C33.4334286,13.8286397 32.2094286,13.8286397 31.5391429,14.5100643 C31.1967143,14.8555444 31,15.3242531 31,15.8090988 C31,16.2939445 31.1967143,16.7626531 31.5391429,17.1073997 C31.8742857,17.4440777 32.3405714,17.6428571 32.8214286,17.6428571 Z" />- </g>+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" />+ <path d="M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7" />+ <path d="M7 3v4a1 1 0 0 0 1 1h7" /></Base>);}diff --git a/src/components/src/common/icons/settings.tsx b/src/components/src/common/icons/settings.tsxindex ba2ef42f7..4ea515b8c 100644--- a/src/components/src/common/icons/settings.tsx+++ b/src/components/src/common/icons/settings.tsx@@ -6,16 +6,24 @@ import Base, {BaseProps} from './base';export default class Settings extends Component<Partial<BaseProps>> {static defaultProps = {- height: '16px',+ height: '24px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-settings'};render() {return (- <Base {...this.props}>- <g transform="translate(3, 4) scale(0.9, 0.9)">- <path d="M32.2,52.32a6.24,6.24,0,0,0,12.09,0h9.56a1.56,1.56,0,0,0,0-3.12H44.29a6.24,6.24,0,0,0-12.09,0h-22a1.56,1.56,0,0,0,0,3.12ZM16.59,33.59a6.24,6.24,0,0,0,12.09,0H53.85a1.56,1.56,0,0,0,0-3.12H28.68a6.24,6.24,0,0,0-12.09,0H10.15a1.56,1.56,0,1,0,0,3.12ZM35.32,11.74H10.15a1.56,1.56,0,1,0,0,3.12H35.32a6.24,6.24,0,0,0,12.09,0h6.44a1.56,1.56,0,0,0,0-3.12H47.41a6.24,6.24,0,0,0-12.09,0Z" />- </g>+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M20 7h-9" />+ <path d="M14 17H5" />+ <circle cx="17" cy="17" r="3" />+ <circle cx="7" cy="7" r="3" /></Base>);}diff --git a/src/components/src/common/icons/share.tsx b/src/components/src/common/icons/share.tsxindex 911f58c9f..6d4d28e7e 100644--- a/src/components/src/common/icons/share.tsx+++ b/src/components/src/common/icons/share.tsx@@ -7,13 +7,24 @@ import Base, {BaseProps} from './base';export default class Share extends Component<Partial<BaseProps>> {static defaultProps = {height: '16px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-share'};render() {return (- <Base {...this.props}>- <path d="M58 50c0 5.523-4.477 10-10 10s-10-4.477-10-10c0-.432.037-.854.09-1.272L22.236 39.81A9.95 9.95 0 0 1 16 42c-5.523 0-10-4.477-10-10s4.477-10 10-10a9.95 9.95 0 0 1 6.236 2.19l15.854-8.918A10.03 10.03 0 0 1 38 14c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10a9.95 9.95 0 0 1-6.236-2.19L25.91 30.728c.053.418.09.84.09 1.272s-.037.854-.09 1.272l15.854 8.918A9.95 9.95 0 0 1 48 40c5.523 0 10 4.477 10 10z" />+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <circle cx="18" cy="5" r="3" />+ <circle cx="6" cy="12" r="3" />+ <circle cx="18" cy="19" r="3" />+ <line x1="8.59" x2="15.42" y1="13.51" y2="17.49" />+ <line x1="15.41" x2="8.59" y1="6.51" y2="10.49" /></Base>);}diff --git a/src/components/src/common/icons/speed.tsx b/src/components/src/common/icons/speed.tsxnew file mode 100644index 000000000..f02111780--- /dev/null+++ b/src/components/src/common/icons/speed.tsx@@ -0,0 +1,28 @@+// SPDX-License-Identifier: MIT+// Copyright contributors to the kepler.gl project++import React, {Component} from 'react';+import Base, {BaseProps} from './base';++export default class Speed extends Component<Partial<BaseProps>> {+ static defaultProps = {+ height: '16px',+ viewBox: '0 0 24 24',+ predefinedClassName: 'data-ex-icons-speed'+ };++ render() {+ return (+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="m12 14 4-4" />+ <path d="M3.34 19a10 10 0 1 1 17.32 0" />+ </Base>+ );+ }+}diff --git a/src/components/src/common/icons/trash.tsx b/src/components/src/common/icons/trash.tsxindex 1a696f10c..245c4d264 100644--- a/src/components/src/common/icons/trash.tsx+++ b/src/components/src/common/icons/trash.tsx@@ -6,19 +6,23 @@ import Base, {BaseProps} from './base';export default class Trash extends Component<Partial<BaseProps>> {static defaultProps = {- height: '16px',- viewBox: '0 0 16 16',+ height: '14px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-trash'};render() {return (- <Base {...this.props}>- <path- fillRule="evenodd"- clipRule="evenodd"- d="M6.09647 1.76979C6.21891 1.64735 6.38496 1.57857 6.55811 1.57857H9.4424C9.61554 1.57857 9.7816 1.64735 9.90404 1.76979C10.0265 1.89222 10.0953 2.05828 10.0953 2.23143V2.88429H5.90525V2.23143C5.90525 2.05828 5.97404 1.89222 6.09647 1.76979ZM4.32668 2.88429V2.23143C4.32668 1.63962 4.56178 1.07204 4.98025 0.65357C5.39873 0.235096 5.9663 0 6.55811 0H9.4424C10.0342 0 10.6018 0.235096 11.0203 0.65357C11.4387 1.07204 11.6738 1.63962 11.6738 2.23143V2.88429L14.4896 2.88429C14.9256 2.88429 15.2789 3.23766 15.2789 3.67357C15.2789 4.10948 14.9256 4.46286 14.4896 4.46286H13.837V13.7686C13.837 14.3604 13.6019 14.928 13.1835 15.3464C12.765 15.7649 12.1974 16 11.6056 16H4.3949C3.80308 16 3.23551 15.7649 2.81704 15.3464C2.39856 14.928 2.16347 14.3604 2.16347 13.7686V4.46286H1.51035C1.07444 4.46286 0.721069 4.10948 0.721069 3.67357C0.721069 3.23766 1.07444 2.88429 1.51035 2.88429L4.32668 2.88429ZM3.74204 13.7686V4.46286H12.2585V13.7686C12.2585 13.9417 12.1897 14.1078 12.0673 14.2302C11.9448 14.3526 11.7788 14.4214 11.6056 14.4214H4.3949C4.22175 14.4214 4.05569 14.3526 3.93326 14.2302C3.81082 14.1078 3.74204 13.9417 3.74204 13.7686Z"- />+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="1.5"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M3 6h18" />+ <path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" />+ <path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" /></Base>);}diff --git a/src/components/src/common/icons/zoom-in.tsx b/src/components/src/common/icons/zoom-in.tsxnew file mode 100644index 000000000..1812c4131--- /dev/null+++ b/src/components/src/common/icons/zoom-in.tsx@@ -0,0 +1,30 @@+// SPDX-License-Identifier: MIT+// Copyright contributors to the kepler.gl project++import React, {Component} from 'react';+import Base, {BaseProps} from './base';++export default class ZoomIn extends Component<Partial<BaseProps>> {+ static defaultProps = {+ height: '16px',+ viewBox: '0 0 16 16',+ predefinedClassName: 'data-ex-icons-zoom-in'+ };++ render() {+ return (+ <Base {...this.props}>+ <path+ fillRule="evenodd"+ clipRule="evenodd"+ d="M7.85938 3.84995C7.85938 3.49097 7.56836 3.19995 7.20937 3.19995C6.85039 3.19995 6.55938 3.49097 6.55938 3.84995V6.54449H3.84995C3.49097 6.54449 3.19995 6.83551 3.19995 7.19449C3.19995 7.55348 3.49097 7.84449 3.84995 7.84449H6.55937V10.55C6.55937 10.9089 6.85039 11.2 7.20937 11.2C7.56836 11.2 7.85937 10.9089 7.85937 10.55V7.84449H10.55C10.9089 7.84449 11.2 7.55348 11.2 7.19449C11.2 6.83551 10.9089 6.54449 10.55 6.54449H7.85938V3.84995Z"+ />+ <path+ fillRule="evenodd"+ clipRule="evenodd"+ d="M12.1 7.2C12.1 9.90619 9.90619 12.1 7.2 12.1C4.4938 12.1 2.3 9.90619 2.3 7.2C2.3 4.4938 4.4938 2.3 7.2 2.3C9.90619 2.3 12.1 4.4938 12.1 7.2ZM11.0938 12.0251C10.0295 12.885 8.67487 13.4 7.2 13.4C3.77583 13.4 1 10.6242 1 7.2C1 3.77583 3.77583 1 7.2 1C10.6242 1 13.4 3.77583 13.4 7.2C13.4 8.68104 12.8807 10.0408 12.0143 11.1071L14.7721 13.8649C15.0259 14.1187 15.0259 14.5303 14.7721 14.7841C14.5182 15.038 14.1067 15.038 13.8528 14.7841L11.0938 12.0251Z"+ />+ </Base>+ );+ }+}diff --git a/src/components/src/common/item-selector/chickleted-input.tsx b/src/components/src/common/item-selector/chickleted-input.tsxindex a3d3e3f44..b1bf82063 100644--- a/src/components/src/common/item-selector/chickleted-input.tsx+++ b/src/components/src/common/item-selector/chickleted-input.tsx@@ -65,7 +65,7 @@ interface ChickletProps {const Chicklet = ({disabled, name, remove, inputTheme}: ChickletProps) => (<ChickletButton inputTheme={inputTheme}><ChickletTag>{name}</ChickletTag>- <Delete onClick={disabled ? undefined : remove} />+ <Delete height="16px" onClick={disabled ? undefined : remove} /></ChickletButton>);diff --git a/src/components/src/common/item-selector/dropdown-select.tsx b/src/components/src/common/item-selector/dropdown-select.tsxindex 0c34e8e30..5faf5ab46 100644--- a/src/components/src/common/item-selector/dropdown-select.tsx+++ b/src/components/src/common/item-selector/dropdown-select.tsx@@ -140,7 +140,7 @@ function DropdownSelect<Option>({</DropdownSelectValue>{erasable && hasValue ? (<DropdownSelectActionRight>- <Delete height="12px" onClick={onErase} />+ <Delete height="16px" onClick={onErase} /></DropdownSelectActionRight>) : showArrow ? (<DropdownSelectActionRight>diff --git a/src/components/src/common/modal.tsx b/src/components/src/common/modal.tsxindex 46814e39e..402c39745 100644--- a/src/components/src/common/modal.tsx+++ b/src/components/src/common/modal.tsx@@ -224,7 +224,7 @@ export class ModalDialog extends Component<ModalDialogProps> {<ModalContentWrapper className="modal--wrapper" cssStyle={props.cssStyle}>{props.close && (<CloseButton className="modal--close" onClick={props.onCancel}>- <Delete height="14px" />+ <Delete height="18px" /></CloseButton>)}<div>diff --git a/src/components/src/dnd-context.tsx b/src/components/src/dnd-context.tsxindex 0ef76060f..e49ab9029 100644--- a/src/components/src/dnd-context.tsx+++ b/src/components/src/dnd-context.tsx@@ -115,7 +115,7 @@ function DndContextFactory(},[onLayerDragEnd, onEffectDragEnd]);- console.log('dndContext', {activeLayer});+return (<DndKitContext onDragStart={onDragStart} onDragEnd={onDragEnd} modifiers={dndModifiers}>{children}diff --git a/src/components/src/geocoder/geocoder.tsx b/src/components/src/geocoder/geocoder.tsxindex 1316035a1..537b06a21 100644--- a/src/components/src/geocoder/geocoder.tsx+++ b/src/components/src/geocoder/geocoder.tsx@@ -282,7 +282,7 @@ const GeoCoder: React.FC<GeocoderProps & IntlProps> = ({/>{showDelete ? (<div className="remove-result">- <Delete height="12px" onClick={onMarkDeleted} />+ <Delete height="16px" onClick={onMarkDeleted} /></div>) : null}</div>diff --git a/src/components/src/kepler-gl.tsx b/src/components/src/kepler-gl.tsxindex 44c6443a5..f8e63a731 100644--- a/src/components/src/kepler-gl.tsx+++ b/src/components/src/kepler-gl.tsx@@ -104,6 +104,10 @@ const GlobalStyle = styled.div`color: ${props => props.theme.labelColor};}+ :focus {+ outline: none;+ }+.maplibregl-ctrl .maplibregl-ctrl-logo {display: none;}diff --git a/src/components/src/map/layer-selector-panel.tsx b/src/components/src/map/layer-selector-panel.tsxindex e33852fb6..589014b3d 100644--- a/src/components/src/map/layer-selector-panel.tsx+++ b/src/components/src/map/layer-selector-panel.tsx@@ -76,7 +76,7 @@ function LayerSelectorPanelFactory(data-tipdata-for="toggle-layer">- <Layers height="22px" />+ <Layers height="16px" /><MapControlTooltipid="toggle-layer"message={isActive ? 'tooltip.hideLayerPanel' : 'tooltip.showLayerPanel'}diff --git a/src/components/src/map/map-legend-panel.tsx b/src/components/src/map/map-legend-panel.tsxindex 78f9db498..60c260864 100644--- a/src/components/src/map/map-legend-panel.tsx+++ b/src/components/src/map/map-legend-panel.tsx@@ -308,7 +308,7 @@ type MapLegendPanelComponents = {type MapLegendPanelComponentType = React.FC<MapLegendPanelProps>;const defaultActionIcons = {- legend: Legend+ legend: props => <Legend {...props} height="18px" />};const MapLegendPanelComponent = ({diff --git a/src/components/src/map/toggle-3d-button.tsx b/src/components/src/map/toggle-3d-button.tsxindex 7d95df14f..81e65647c 100644--- a/src/components/src/map/toggle-3d-button.tsx+++ b/src/components/src/map/toggle-3d-button.tsx@@ -23,7 +23,7 @@ export type Toggle3dButtonProps = {function Toggle3dButtonFactory(MapControlTooltip) {const defaultActionIcons = {- cube: Cube3d+ cube: props => <Cube3d {...props} height="18px" />};/** @type {import('./toggle-3d-button').Toggle3dButtonComponent} */const Toggle3dButton: React.FC<Toggle3dButtonProps> = ({diff --git a/src/components/src/side-panel.tsx b/src/components/src/side-panel.tsxindex acb9fbbcf..5b23aedfe 100644--- a/src/components/src/side-panel.tsx+++ b/src/components/src/side-panel.tsx@@ -15,7 +15,7 @@ import {ADD_MAP_STYLE_ID} from '@kepler.gl/constants';-import {CursorClick, Layers, FilterFunnel, Settings} from './common/icons';+import {BaseMap, Layers, FilterFunnel, PointerClick} from './common/icons';import SidebarFactory from './side-panel/side-bar';import PanelHeaderFactory from './side-panel/panel-header';@@ -76,10 +76,10 @@ export default function SidePanelFactory(};const SIDEBAR_ICONS = {- layer: Layers,- filter: FilterFunnel,- interaction: Settings,- map: CursorClick+ layer: props => <Layers {...props} height="18px" />,+ filter: props => <FilterFunnel {...props} height="18px" />,+ interaction: props => <PointerClick {...props} height="18px" />,+ map: props => <BaseMap {...props} height="18px" />};// We should defined sidebar panels here but keeping them for backward compatiblediff --git a/src/components/src/side-panel/common/dataset-tag.tsx b/src/components/src/side-panel/common/dataset-tag.tsxindex 2cff4e722..5662f9b3f 100644--- a/src/components/src/side-panel/common/dataset-tag.tsx+++ b/src/components/src/side-panel/common/dataset-tag.tsx@@ -19,10 +19,10 @@ const DatasetTagWrapper = styled.div`font-size: 11px;letter-spacing: 0.2px;overflow: auto;-+ display: flex;+ align-items: center;.dataset-color {flex-shrink: 0;- margin-top: 3px;}.dataset-name {diff --git a/src/components/src/side-panel/common/dataset-title.tsx b/src/components/src/side-panel/common/dataset-title.tsxindex b35cb9c99..f38464363 100644--- a/src/components/src/side-panel/common/dataset-title.tsx+++ b/src/components/src/side-panel/common/dataset-title.tsx@@ -19,7 +19,7 @@ import {StyledDatasetTitleProps, RemoveDatasetProps, ShowDataTableProps} from '.const StyledDatasetTitle = styled.div<StyledDatasetTitleProps>`color: ${props => props.theme.textColor};display: flex;- align-items: flex-start;+ align-items: center;.source-data-arrow {height: 16px;diff --git a/src/components/src/side-panel/interaction-panel/tooltip-config/tooltip-chicklet.tsx b/src/components/src/side-panel/interaction-panel/tooltip-config/tooltip-chicklet.tsxindex 8a6e5f217..6ddb31770 100644--- a/src/components/src/side-panel/interaction-panel/tooltip-config/tooltip-chicklet.tsx+++ b/src/components/src/side-panel/interaction-panel/tooltip-config/tooltip-chicklet.tsx@@ -244,7 +244,7 @@ function TooltipChickletFactory()}</ChickletAddonWrapper>)}- <Delete onClick={disabled ? null : remove} />+ <Delete height="16px" onClick={disabled ? null : remove} /></ChickletButton></SortableStyledItem>);diff --git a/src/components/src/side-panel/layer-panel/layer-panel-header.tsx b/src/components/src/side-panel/layer-panel/layer-panel-header.tsxindex cab91db89..a758b3ce7 100644--- a/src/components/src/side-panel/layer-panel/layer-panel-header.tsx+++ b/src/components/src/side-panel/layer-panel/layer-panel-header.tsx@@ -21,7 +21,7 @@ import {VertDots,WarningSign,Reset,- Crosshairs+ ZoomIn} from '../../common/icons';import {InlineInput, StyledPanelHeader} from '../../common/styled-components';@@ -364,13 +364,13 @@ export const HeaderWarning = ({warning, id}) => ();const defaultActionIcons = {- remove: Trash,- visible: EyeSeen,- hidden: EyeUnseen,- enableConfig: ArrowDown,- duplicate: Copy,+ remove: props => <Trash {...props} height="16px" />,+ visible: props => <EyeSeen {...props} height="16px" />,+ hidden: props => <EyeUnseen {...props} height="16px" />,+ enableConfig: props => <ArrowDown {...props} height="18px" />,+ duplicate: props => <Copy {...props} height="14px" />,resetIsValid: Reset,- crosshairs: Crosshairs+ crosshairs: props => <ZoomIn {...props} height="14px" />};LayerPanelHeaderFactory.deps = [LayerTitleSectionFactory, LayerPanelHeaderActionSectionFactory];diff --git a/src/components/src/side-panel/panel-header.tsx b/src/components/src/side-panel/panel-header.tsxindex 00aca5706..5f552bfb2 100644--- a/src/components/src/side-panel/panel-header.tsx+++ b/src/components/src/side-panel/panel-header.tsx@@ -7,7 +7,7 @@ import classnames from 'classnames';import {createSelector} from 'reselect';import {StyledPanelDropdown, Tooltip} from '../common/styled-components';import KeplerGlLogo from '../common/logo';-import {Save, DataTable, Save2, Picture, Db, Map as MapIcon, Share} from '../common/icons';+import {Save, DataTable, Save2, Picture, Db, BaseMap, Share} from '../common/icons';import Toolbar, {ToolbarProps} from '../common/toolbar';import ToolbarItem, {ToolbarItemProps} from '../common/toolbar-item';import {FormattedMessage} from '@kepler.gl/localization';@@ -158,7 +158,7 @@ const PanelAction: React.FC<PanelActionProps> = React.memo(({item, showExportDro>{item.label ? <p>{item.label}</p> : null}<a target={item.blank ? '_blank' : ''} href={item.href} rel="noreferrer">- <item.iconComponent height="20px" {...item.iconComponentProps} />+ <item.iconComponent height="18px" {...item.iconComponentProps} /></a>{item.tooltip ? (<Tooltip id={`${item.id}-action`} place="bottom" delayShow={500} effect="solid">@@ -229,7 +229,7 @@ export const SaveExportDropdownFactory = (},{label: 'toolbar.exportMap',- icon: MapIcon,+ icon: BaseMap,key: 'map',onClick: props => props.onExportMap},diff --git a/src/layers/src/table.tsx b/src/layers/src/table.tsxindex 261a48a90..de6c7c7d8 100644--- a/src/layers/src/table.tsx+++ b/src/layers/src/table.tsx@@ -7,17 +7,23 @@ import {Base, BaseProps} from './base';export default class Table extends Component<Partial<BaseProps>> {static defaultProps = {height: '16px',+ viewBox: '0 0 24 24',predefinedClassName: 'data-ex-icons-table'};render() {return (- <Base {...this.props}>- <path- d="M56.0384598,50.5v-8.3076935H8.9615383V50.5H56.0384598z M8.9615383,22.8076916h13.8461533V14.5H8.9615383- V22.8076916z M25.5769234,22.8076916h13.8461533V14.5H25.5769234V22.8076916z M42.1923065,22.8076916h13.8461533V14.5H42.1923065- V22.8076916z M8.9615383,36.6538467h47.0769196v-8.3076935H8.9615383V36.6538467z"- />+ <Base+ {...this.props}+ style={{fill: 'none', stroke: 'currentcolor'}}+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <path d="M12 3v18" />+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M3 9h18" />+ <path d="M3 15h18" /></Base>);}diff --git a/test/browser/components/filters/time-widget-test.js b/test/browser/components/filters/time-widget-test.jsindex 58ff4bc8b..6b2e57b5e 100644--- a/test/browser/components/filters/time-widget-test.js+++ b/test/browser/components/filters/time-widget-test.js@@ -153,7 +153,7 @@ test('Components -> TimeWidget.mount -> test actions', t => {t.deepEqual(toggleAnimation.args[0], [0], 'should call toggle animation');// hit speed icon- wrapper.find(Icons.Rocket).at(0).simulate('click');+ wrapper.find(Icons.Speed).at(0).simulate('click');t.equal(wrapper.find(AnimationSpeedSlider).length, 1, 'should render AnimationSpeedSlider');t.equal(