Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
fix: export zoom icon (#3308)
bdjulbic8c5030c3ed15
diff --git a/src/components/src/common/icons/close.tsx b/src/components/src/common/icons/close.tsxindex 14d42f1c4..c9c95bf2f 100644--- a/src/components/src/common/icons/close.tsx+++ b/src/components/src/common/icons/close.tsx@@ -13,12 +13,8 @@ export default class Close extends Component<Partial<BaseProps>> {render() {return (<Base {...this.props}>- <g transform="translate(8,8)">- <path d="M16.127688,49.4434399 L0.686714703,34.0024666 C-0.228904901,33.086847 -0.228904901,31.6023343 0.686714703,30.6867147 C1.12641074,30.2470187 1.72276655,30 2.34459065,30 L17.785564,30 C19.0804456,30 20.1301546,31.049709 20.1301546,32.3445907 L20.1301546,47.785564 C20.1301546,49.0804456 19.0804456,50.1301546 17.785564,50.1301546 C17.1637399,50.1301546 16.5673841,49.883136 16.127688,49.4434399 Z" />- <path- d="M45.127688,19.4434399 L29.6867147,4.0024666 C28.7710951,3.086847 28.7710951,1.60233431 29.6867147,0.686714703 C30.1264107,0.247018663 30.7227665,-8.17124146e-14 31.3445907,-8.17124146e-14 L46.785564,-7.7547585e-14 C48.0804456,-7.7547585e-14 49.1301546,1.04970899 49.1301546,2.34459065 L49.1301546,17.785564 C49.1301546,19.0804456 48.0804456,20.1301546 46.785564,20.1301546 C46.1637399,20.1301546 45.5673841,19.883136 45.127688,19.4434399 Z"- transform="translate(39.065077, 10.065077) rotate(-180.000000) translate(-39.065077, -10.065077)"- />+ <g transform="translate(32,32)">+ <path d="M-16,-16 L16,16 M16,-16 L-16,16" stroke="currentColor" strokeWidth="5" strokeLinecap="round" fill="none" /></g></Base>);diff --git a/src/components/src/common/icons/index.tsx b/src/components/src/common/icons/index.tsxindex a017808db..a0e983342 100644--- a/src/components/src/common/icons/index.tsx+++ b/src/components/src/common/icons/index.tsx@@ -117,3 +117,4 @@ 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';+export {default as ZoomOut} from './zoom-out';diff --git a/src/components/src/common/icons/zoom-out.tsx b/src/components/src/common/icons/zoom-out.tsxnew file mode 100644index 000000000..506ad3b06--- /dev/null+++ b/src/components/src/common/icons/zoom-out.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 ZoomOut extends Component<Partial<BaseProps>> {+ static defaultProps = {+ height: '16px',+ viewBox: '0 0 16 16',+ predefinedClassName: 'data-ex-icons-zoom-out'+ };++ render() {+ return (+ <Base {...this.props}>+ <path+ fillRule="evenodd"+ clipRule="evenodd"+ d="M3.84995 6.54449C3.49097 6.54449 3.19995 6.83551 3.19995 7.19449C3.19995 7.55348 3.49097 7.84449 3.84995 7.84449H10.55C10.9089 7.84449 11.2 7.55348 11.2 7.19449C11.2 6.83551 10.9089 6.54449 10.55 6.54449H3.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>+ );+ }+}