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.
@smui/image-list
Advanced tools
Image lists are RTL aware containers for sets of images and optional content.
npm install --save-dev @smui/image-list
The latest SMUI v3 beta had a lot of changes, and these docs haven't been caught up yet. You should check out the demo page's code to see the latest usage.
<ImageList class="my-image-list">
{#each $images as image}
<Item>
<ImageAspectContainer>
<Image src={image.src} alt={image.title} />
</ImageAspectContainer>
<Supporting>
<Label>{image.description}</Label>
</Supporting>
</Item>
{/each}
</ImageList>
<script>
import ImageList, {
Item,
ImageAspectContainer,
Image,
Supporting,
Label,
} from '@smui/image-list';
import './style.scss';
import { images } from './store.js';
</script>
// style.scss
.my-image-list {
@include mdc-image-list-standard-columns(5);
max-width: 680px;
}
@media (max-width: 599px) {
.my-image-list {
@include mdc-image-list-standard-columns(3);
}
}
in action: https://sveltematerialui.com/demo/image-list
demo code: https://github.com/hperrin/svelte-material-ui/blob/master/site/src/routes/demo/image-list.svelte and https://github.com/hperrin/svelte-material-ui/blob/master/site/src/routes/demo/image-list.scss
todo...
See Image lists in the Material design spec.
See Image List in MDC-Web for information about the upstream library's architecture.
3.0.0-beta.0 (2021-04-11)
FAQs
Svelte Material UI - Image List
The npm package @smui/image-list receives a total of 2,272 weekly downloads. As such, @smui/image-list popularity was classified as popular.
We found that @smui/image-list demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.