Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@script-development/heatmap
Advanced tools
Readme
Simple vue calender heatmap
npm i @script-development/heatmap
// or for pnpm
pnpm i @script-development/heatmap
In ur main.ts import the styling ( or add ur own )
import '@script-development/heatmap/style.css';
If you'd like to add ur own styling, everything is prefixed with heatmap-
.heatmap {
// Is well, the container around it
&-container {
}
// Week day display at the top
&-week-day {
}
// The individual calender days
&-day {
}
// the pagination
&-pagination {
// Month date
h5 {
}
// The arrow icons
.icon {
}
}
// The tooltip
&-tooltip {
}
}
Type definitions can be found here
values: {
type: Object as PropType<HeatmapValues>,
required: true,
},
locale: {
type: String as PropType<keyof Locales>,
default: 'en-US',
},
color: {
type: String,
default: '153, 27, 27',
},
enablePagination: {
type: Boolean,
default: true,
}
Add it like you would any other component
<script lang="ts" setup>
import Heatmap from '@script-development/heatmap';
</script>
<template>
<Heatmap color="30, 134, 151" values="{max: 10, '2022-06-25': 17, '2022-06-26': 24}"/>
</template>
FAQs
Vue heatmap
The npm package @script-development/heatmap receives a total of 12 weekly downloads. As such, @script-development/heatmap popularity was classified as not popular.
We found that @script-development/heatmap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.