Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@automattic/calypso-ui
Advanced tools
Cards are used as containers to group similar information and tasks together to make it easier to scan and read.
Includes both
Card
andCompactCard
import Card from 'components/card';
import CompactCard from 'components/card/compact';
render: function() {
return (
<div className="your-stuff">
<Card>
<span>Your stuff in a Card</span>
</Card>
<CompactCard>
<span>Your stuff in a CompactCard</span>
</CompactCard>
</div>
);
}
Name | Type | Default | Description |
---|---|---|---|
className | string | null | Adds CSS classes. |
href | string | null | URL of the card. Adds a right chevron icon. |
tagName | string | null | Allows you to control the tag name of the card wrapper (only if href is not specified). |
displayAsLink | bool | false | Used for cards without a href that need to display as a link. Primarily intended for use when tagName is "button" and when an onClick attribute is set. The corresponding button will render with the same visual appearance as a link (including the right chevron icon). |
target | string | null | If used with href , this specifies where the link opens. Changes the icon to external . |
compact | bool | false | Decreases the size of the card. |
highlight | string | null | Displays a colored highlight. If specified (default is no highlight), can be one of info , success , error , or warning . |
CompactCard
component slightly modifies the Card
component (and is equivalent to using <Card compact />
).Notice
or Banner
.FAQs
Calypso UI Components
The npm package @automattic/calypso-ui receives a total of 4 weekly downloads. As such, @automattic/calypso-ui popularity was classified as not popular.
We found that @automattic/calypso-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 21 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.