Skip to content

Commit 023af30

Browse files
committed
chore: lint js files and auto‑fix formatting
1 parent cdb5513 commit 023af30

File tree

20 files changed

+1051
-969
lines changed

20 files changed

+1051
-969
lines changed

assets/images/infotip.js

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
1-
import * as React from "react"
2-
31
/**
42
* Infotip component renders an SVG icon that represents a infotip.
5-
*
6-
* @returns {JSX.Element} SVG component for a infotip icon.
3+
*
4+
* @return {JSX.Element} SVG component for a infotip icon.
75
*/
86
function InfotipIcon() {
9-
return (
10-
<svg width="24px" height="24px" xmlns="http://www.w3.org/2000/svg" viewBox="0 -24 100 125" version="1.1" x="0px" y="0px">
11-
<g stroke="none" stroke-width="1" fill-rule="evenodd">
12-
<path d="M28.089,52.744 L47.281,52.744 C48.987,52.744 50.37,54.127 50.37,55.833 C50.37,57.539 48.987,58.922 47.281,58.922 L28.089,58.922 C26.383,58.922 25,57.539 25,55.833 C25,54.127 26.383,52.744 28.089,52.744 L28.089,52.744 Z M25,41.502 L25,41.502 C25,39.796 26.383,38.413 28.089,38.413 L71.911,38.413 C73.617,38.413 75,39.796 75,41.502 C75,43.208 73.617,44.591 71.911,44.591 L28.089,44.591 C26.383,44.591 25,43.208 25,41.502 L25,41.502 Z M25,27.171 L25,27.171 C25,25.465 26.383,24.082 28.089,24.082 L71.911,24.082 C73.617,24.082 75,25.465 75,27.171 C75,28.877 73.617,30.26 71.911,30.26 L28.089,30.26 C26.383,30.26 25,28.877 25,27.171 L25,27.171 Z M88.822,64 C88.822,66.107 87.107,67.822 85,67.822 L67.729,67.822 L50,82.891 L32.271,67.822 L15,67.822 C12.893,67.822 11.178,66.107 11.178,64 L11.178,19 C11.178,16.892 12.893,15.178 15,15.178 L85,15.178 C87.107,15.178 88.822,16.892 88.822,19 L88.822,64 Z M85,9 L15,9 C9.477,9 5,13.477 5,19 L5,64 C5,69.523 9.477,74 15,74 L30,74 L50,91 L70,74 L85,74 C90.523,74 95,69.523 95,64 L95,19 C95,13.477 90.523,9 85,9 L85,9 Z" />
13-
</g>
14-
</svg>
15-
)
7+
return (
8+
<svg
9+
width="24px"
10+
height="24px"
11+
xmlns="http://www.w3.org/2000/svg"
12+
viewBox="0 -24 100 125"
13+
version="1.1"
14+
x="0px"
15+
y="0px"
16+
>
17+
<g stroke="none" strokeWidth="1" fillRule="evenodd">
18+
<path d="M28.089,52.744 L47.281,52.744 C48.987,52.744 50.37,54.127 50.37,55.833 C50.37,57.539 48.987,58.922 47.281,58.922 L28.089,58.922 C26.383,58.922 25,57.539 25,55.833 C25,54.127 26.383,52.744 28.089,52.744 L28.089,52.744 Z M25,41.502 L25,41.502 C25,39.796 26.383,38.413 28.089,38.413 L71.911,38.413 C73.617,38.413 75,39.796 75,41.502 C75,43.208 73.617,44.591 71.911,44.591 L28.089,44.591 C26.383,44.591 25,43.208 25,41.502 L25,41.502 Z M25,27.171 L25,27.171 C25,25.465 26.383,24.082 28.089,24.082 L71.911,24.082 C73.617,24.082 75,25.465 75,27.171 C75,28.877 73.617,30.26 71.911,30.26 L28.089,30.26 C26.383,30.26 25,28.877 25,27.171 L25,27.171 Z M88.822,64 C88.822,66.107 87.107,67.822 85,67.822 L67.729,67.822 L50,82.891 L32.271,67.822 L15,67.822 C12.893,67.822 11.178,66.107 11.178,64 L11.178,19 C11.178,16.892 12.893,15.178 15,15.178 L85,15.178 C87.107,15.178 88.822,16.892 88.822,19 L88.822,64 Z M85,9 L15,9 C9.477,9 5,13.477 5,19 L5,64 C5,69.523 9.477,74 15,74 L30,74 L50,91 L70,74 L85,74 C90.523,74 95,69.523 95,64 L95,19 C95,13.477 90.523,9 85,9 L85,9 Z" />
19+
</g>
20+
</svg>
21+
);
1622
}
1723

18-
export default InfotipIcon
24+
export default InfotipIcon;

assets/images/marker.js

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,30 @@
1-
import * as React from "react"
2-
31
/**
42
* Marker component renders an SVG icon that represents a marker.
5-
*
6-
* @returns {JSX.Element} SVG component for a marker icon.
3+
*
4+
* @return {JSX.Element} SVG component for a marker icon.
75
*/
86
function MarkerIcon() {
9-
return (
10-
<svg
11-
width="24px"
12-
height="24px"
13-
xmlns="http://www.w3.org/2000/svg"
14-
viewBox="-5.0 -10.0 110.0 135.0"
15-
>
16-
<path
17-
d="M90.492 24.562a8.787 8.787 0 01.285 12.125l-36.96 40.629a1.957 1.957 0 01-2.824.066L20.784 47.175a1.953 1.953 0 01.066-2.824l40.63-36.96a8.787 8.787 0 0112.124.284z"
18-
fillRule="evenodd"
19-
/>
20-
<path
21-
d="M53.754 77.387l-5.418 5.418a4.886 4.886 0 01-6.035.691c-.004 0-.004-.003-.008-.003-2.914-1.832-5.793-2.614-8.66-2.188-2.946.438-5.84 2.121-8.739 5.004a1.953 1.953 0 01-2.757-.004l-10.27-10.27a1.953 1.953 0 01-.004-2.758c2.886-2.898 4.566-5.793 5.004-8.738.425-2.867-.356-5.75-2.188-8.66 0-.004-.004-.004-.004-.008a4.881 4.881 0 01.692-6.031c2.113-2.118 5.418-5.418 5.418-5.418.761-.762 2-.762 2.761 0l30.207 30.207c.762.761.762 2 0 2.761zm-4.14-1.379L22.167 48.563l-4.035 4.035a.97.97 0 00-.137 1.203c2.387 3.793 3.297 7.57 2.743 11.31-.473 3.18-2.024 6.359-4.77 9.495l7.602 7.602c3.14-2.746 6.32-4.297 9.496-4.77 3.738-.554 7.515.356 11.312 2.747a.976.976 0 001.203-.14l4.035-4.036z"
22-
fillRule="evenodd"
23-
/>
24-
<path
25-
d="M4.867 84.551l9.14-9.14c.763-.762 2-.762 2.762 0l5.989 5.988c.762.761.762 2 0 2.761l-3.152 3.153c-.368.367-.864.57-1.38.57H6.25a1.957 1.957 0 01-1.383-3.336zM6.246 94.863a1.954 1.954 0 010-3.906H93.72a1.954 1.954 0 010 3.906z"
26-
fillRule="evenodd"
27-
/>
28-
</svg>
29-
)
7+
return (
8+
<svg
9+
width="24px"
10+
height="24px"
11+
xmlns="http://www.w3.org/2000/svg"
12+
viewBox="-5.0 -10.0 110.0 135.0"
13+
>
14+
<path
15+
d="M90.492 24.562a8.787 8.787 0 01.285 12.125l-36.96 40.629a1.957 1.957 0 01-2.824.066L20.784 47.175a1.953 1.953 0 01.066-2.824l40.63-36.96a8.787 8.787 0 0112.124.284z"
16+
fillRule="evenodd"
17+
/>
18+
<path
19+
d="M53.754 77.387l-5.418 5.418a4.886 4.886 0 01-6.035.691c-.004 0-.004-.003-.008-.003-2.914-1.832-5.793-2.614-8.66-2.188-2.946.438-5.84 2.121-8.739 5.004a1.953 1.953 0 01-2.757-.004l-10.27-10.27a1.953 1.953 0 01-.004-2.758c2.886-2.898 4.566-5.793 5.004-8.738.425-2.867-.356-5.75-2.188-8.66 0-.004-.004-.004-.004-.008a4.881 4.881 0 01.692-6.031c2.113-2.118 5.418-5.418 5.418-5.418.761-.762 2-.762 2.761 0l30.207 30.207c.762.761.762 2 0 2.761zm-4.14-1.379L22.167 48.563l-4.035 4.035a.97.97 0 00-.137 1.203c2.387 3.793 3.297 7.57 2.743 11.31-.473 3.18-2.024 6.359-4.77 9.495l7.602 7.602c3.14-2.746 6.32-4.297 9.496-4.77 3.738-.554 7.515.356 11.312 2.747a.976.976 0 001.203-.14l4.035-4.036z"
20+
fillRule="evenodd"
21+
/>
22+
<path
23+
d="M4.867 84.551l9.14-9.14c.763-.762 2-.762 2.762 0l5.989 5.988c.762.761.762 2 0 2.761l-3.152 3.153c-.368.367-.864.57-1.38.57H6.25a1.957 1.957 0 01-1.383-3.336zM6.246 94.863a1.954 1.954 0 010-3.906H93.72a1.954 1.954 0 010 3.906z"
24+
fillRule="evenodd"
25+
/>
26+
</svg>
27+
);
3028
}
3129

32-
export default MarkerIcon
30+
export default MarkerIcon;

0 commit comments

Comments
 (0)