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.
@workday/canvas-kit-css-banner
Advanced tools
Readme
Errors and Alerts notify users of missteps that happen within a workflow and describe how the user can take appropriate action to resolve them.
yarn add @workday/canvas-kit-css
or
yarn add @workday/canvas-kit-css-banner
Add your node_modules
directory to your SASS includePaths
. You will then be able to import
index.scss
.
You must have PostCSS support. Add the postcss-inline-svg plugin to properly process and inline icons. Process your SASS through PostCSS once it has been compiled to CSS.
@import '~@workday/canvas-kit-css-banner/index.scss';
Use by applying .wdc-banner
.
.wdc-banner-text
- Contains the alert/error text.
.wdc-banner-right
- Rightmost area containing a link.
<a class="wdc-banner" href="#">
<span class="wdc-banner-text">
12 Alerts
</span>
<span class="wdc-banner-link">
View All
</span>
</a>
.wdc-banner-error
Set the banner variant as
error
<a class="wdc-banner wdc-banner-error" href="#">
<span class="wdc-banner-text">
24 Errors and 12 Alerts
</span>
<span class="wdc-banner-link">
View All
</span>
</a>
.wdc-banner-sticky
Set the banner variant as
sticky
. Text will truncate with an ellipsis if longer than maximum width.
<a class="wdc-banner wdc-banner-sticky" href="#">
<span class="wdc-banner-text">
12 Alerts
</span>
<span class="wdc-banner-link">
View All
</span>
</a>
Responsive styles will modify both the full and minimized alert bars at smaller screen sizes. The full alert bar will have a fixed width while the minimized bar will only have the icon shown.
See canvas-kit-core for accessibility guidelines.
FAQs
Errors and alerts for canvas-kit-css
The npm package @workday/canvas-kit-css-banner receives a total of 285 weekly downloads. As such, @workday/canvas-kit-css-banner popularity was classified as not popular.
We found that @workday/canvas-kit-css-banner demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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.