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.
@polymer/paper-card
Advanced tools
##<paper-card>
Material design: Cards
paper-card
is a container with a drop shadow.
Example:
<paper-card heading="Card Title">
<div class="card-content">Some content</div>
<div class="card-actions">
<paper-button>Some action</paper-button>
</div>
</paper-card>
Example - top card image:
<paper-card heading="Card Title" image="/path/to/image.png">
...
</paper-card>
By default, the aria-label
will be set to the value of the heading
attribute.
The following custom properties and mixins are available for styling:
Custom property | Description | Default |
---|---|---|
--paper-card-background-color | The background color of the card | --primary-background-color |
--paper-card-header-color | The color of the header text | #000 |
--paper-card-header | Mixin applied to the card header section | {} |
--paper-card-header-text | Mixin applied to the title in the card header section | {} |
--paper-card-header-image | Mixin applied to the image in the card header section | {} |
--paper-card-header-image-text | Mixin applied to the text overlapping the image in the card header section | {} |
--paper-card-content | Mixin applied to the card content section | {} |
--paper-card-actions | Mixin applied to the card action section | {} |
--paper-card | Mixin applied to the card | {} |
FAQs
Material design piece of paper with unique related data
We found that @polymer/paper-card demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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.
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.