Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
vue-accessible-date-field
Advanced tools
An open source Vue date field component designed to be as accessible as possible.
Vue date field with possibility to use a visual date picker to choose the date. Accessibility is under development. Not recommended to use this component until version 1.0.0 is released. Component is made with Vue 3.
npm install vue-accessible-date-field
Date field:
Date picker showing selected date with dotted border, focused but not selected date with yellow background color and hovered date with light gray background and pink border.
The W3C documents and the Date Picker Dialog Example earlier found on their website have been used to help develop this component. In addition, Duet Date Picker has influenced in the implementation of localization. The component is not ready yet, but many functionalities are already working.
The component has some CSS custom variables that are possible to override by adding the following class to project's global stylesheet and editing it the way that suit's your needs.
.vue-accessible-date-field {
--main-color: #222222;
/* date field section (text fields) */
--date-field-section-outline-color: #d71ef7;
--calendar-icon-focus-color: #d71ef7;
--open-calendar-button-background-color: #ffffff;
--error-text-color: #BB1331;
/* date picker (modal) section */
--day-hover-background-color: #e8e7e7;
--day-not-disabled-hover-border-color: #f44a87;
--day-focus-border: #3182a0;
--day-tabindex-0-background-color: #ffd55f;
--day-selected-border-color: #3182a0;
--chooce-selected-button-background-color: #39306b;
--chooce-selected-button-background-color-hover: #5c73bc;
--close-modal-button-background-color: #272525;
--close-modal-button-hover-background-color: #677983;
--modal-backdrop-z-index: 1000;
--date-picker-z-index: 1001;
}
You can also override other CSS styles as you like. Please keep accessibility in mind if changing the values.
FAQs
An open source Vue date field component designed to be as accessible as possible.
The npm package vue-accessible-date-field receives a total of 0 weekly downloads. As such, vue-accessible-date-field popularity was classified as not popular.
We found that vue-accessible-date-field demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.