Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@dreamworld/dw-button
Advanced tools
A button web component created using [`mwc-button`](https://www.webcomponents.org/element/@material/mwc-button)
A button web component created using mwc-button
npm install @dreamworld/dw-button
import '@dreamworld/dw-button/dw-button.js';
<dw-button label="OK"></dw-button>
Button is rendered by default in Primary color. It can be rendered in secondary, error or text color too. For that
add corresponding class (secondary
, error
and text
) to the button. e.g.
<dw-button label="OK" class="secondary"></dw-button>
it's actually main reason for creating extension of
mwc-button
.
outlined
attribute.filled
attribute.raised
attribute can be used to show elevated button. As outlined
button will never be raised, this
doesn't work with outlined
style.Add disabled
attribute to make a button disabled.
mwc-button
element.FAQs
A button web component created using [`mwc-button`](https://www.webcomponents.org/element/@material/mwc-button)
We found that @dreamworld/dw-button demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.