Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ewelink-discover-fix
- Loading branch information
Showing
78 changed files
with
6,047 additions
and
2,123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 60 | ||
# Number of days of inactivity before a stale issue is closed | ||
daysUntilClose: 7 | ||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- pinned | ||
- security | ||
# Label to use when marking an issue as stale | ||
staleLabel: stale | ||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
# Comment to post when closing a stale issue. Set to `false` to disable | ||
closeComment: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
const getApexChartAreaOptions = ({ displayAxes, height, series, COLORS }) => { | ||
const options = { | ||
chart: { | ||
type: 'area', | ||
fontFamily: 'inherit', | ||
height, | ||
parentHeightOffset: 0, | ||
sparkline: { | ||
enabled: !displayAxes | ||
}, | ||
toolbar: { | ||
show: false | ||
}, | ||
animations: { | ||
enabled: false | ||
} | ||
}, | ||
dataLabels: { | ||
enabled: false | ||
}, | ||
fill: { | ||
opacity: 0.16, | ||
type: 'solid' | ||
}, | ||
stroke: { | ||
width: 2, | ||
lineCap: 'round', | ||
curve: 'smooth' | ||
}, | ||
series, | ||
grid: { | ||
strokeDashArray: 4, | ||
padding: { | ||
left: -4 | ||
} | ||
}, | ||
xaxis: { | ||
labels: { | ||
padding: 0, | ||
datetimeUTC: false | ||
}, | ||
tooltip: { | ||
enabled: false | ||
}, | ||
axisBorder: { | ||
show: false | ||
}, | ||
type: 'datetime' | ||
}, | ||
yaxis: { | ||
labels: { | ||
padding: 4 | ||
} | ||
}, | ||
colors: COLORS, | ||
legend: { | ||
show: displayAxes, | ||
position: 'bottom' | ||
} | ||
}; | ||
return options; | ||
}; | ||
|
||
export { getApexChartAreaOptions }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
const getApexChartBarOptions = ({ displayAxes, series, COLORS }) => { | ||
const options = { | ||
chart: { | ||
type: 'bar', | ||
fontFamily: 'inherit', | ||
height: displayAxes ? 200 : 100, | ||
parentHeightOffset: 0, | ||
toolbar: { | ||
show: false | ||
}, | ||
sparkline: { | ||
enabled: !displayAxes | ||
}, | ||
animations: { | ||
enabled: false | ||
}, | ||
stacked: true | ||
}, | ||
plotOptions: { | ||
bar: { | ||
columnWidth: '100%' | ||
} | ||
}, | ||
dataLabels: { | ||
enabled: false | ||
}, | ||
fill: { | ||
opacity: 1 | ||
}, | ||
series, | ||
grid: { | ||
padding: { | ||
top: -20, | ||
right: 0, | ||
left: -4, | ||
bottom: -4 | ||
}, | ||
strokeDashArray: 4, | ||
xaxis: { | ||
lines: { | ||
show: true | ||
} | ||
} | ||
}, | ||
xaxis: { | ||
labels: { | ||
padding: 0, | ||
datetimeUTC: false | ||
}, | ||
tooltip: { | ||
enabled: false | ||
}, | ||
axisBorder: { | ||
show: false | ||
}, | ||
type: 'datetime' | ||
}, | ||
yaxis: { | ||
labels: { | ||
padding: 4 | ||
} | ||
}, | ||
colors: COLORS, | ||
legend: { | ||
show: displayAxes, | ||
position: 'bottom' | ||
} | ||
}; | ||
return options; | ||
}; | ||
|
||
export { getApexChartBarOptions }; |
Oops, something went wrong.