
Security News
Python Adopts Standard Lock File Format for Reproducible Installs
Python has adopted a standardized lock file format to improve reproducibility, security, and tool interoperability across the packaging ecosystem.
@smui/touch-target
Advanced tools
A touch target is the area that extends beyond the visible boundary of an interactive element that still responds to touch inputs. According to the Material Design spec, touch targets should be no less than 48px x 48px in size. SMUI provides a touch
prop on the following components that will increased their touch target.
This component provides a wrapper to ensure that collapsing margins don't cause touch targets to overlap.
npm install --save-dev @smui/touch-target
<Wrapper>
<Button touch><Label>Tap Me</Label></Button>
</Wrapper>
<script>
import Wrapper from '@smui/touch-target';
import Button, { Label } from '@smui/button';
</script>
A fragment used as a touch target wrapper.
Equivalent to the ClassAdder
with Div
common component.
See Layout and typography in the Material design spec.
See Touch Target in MDC-Web for information about the upstream library's architecture.
FAQs
Svelte Material UI - Touch Target
The npm package @smui/touch-target receives a total of 2,239 weekly downloads. As such, @smui/touch-target popularity was classified as popular.
We found that @smui/touch-target 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
Python has adopted a standardized lock file format to improve reproducibility, security, and tool interoperability across the packaging ecosystem.
Security News
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.