
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@equinor/fusion-wc-button
Advanced tools
<!--prettier-ignore-start--> ## `fusion-wc-button` [](https://www.npmjs.com/package/@equinor/fusion-wc-button)
fusion-wc-button
npm install @equinor/fusion-wc-button
Name | Description |
---|---|
icon | Leading icon. Overrides icon property. Use label or the icon property to set the aria-label . |
trailingIcon | Icon to show after the label. Overrides trailingIcon property. Use label or the trailingIcon property to set the aria-label . |
default | Default content to display between both icons and after label. NOTE: It is highly recommended to set the label property instead of projecting text as it will also set the aria-label |
Name | Type | Default | Description |
---|---|---|---|
icon | string | '' | Icon to display, and aria-label value when label is not defined. |
label | string | '' | Label to display for the button, and aria-label . |
variant | ButtonVariant* | 'contained' | Button variant to render, defaults to contained if no variant is defined. |
color | ButtonColor** | 'primary' | Button color to render, defaults to primary if no color is defined. |
dense | boolean | false | Makes the button text and container slightly smaller. |
disabled | boolean | false | Disabled buttons cannot be interacted with and have no visual interaction effect. |
trailingIcon | boolean | false | When true , icon will be displayed after label . |
'expandContent' | boolean | false | When true , the space after the label and before any trailing icon, where default slotted content is rendered, is expanded to fit the available space inside the button. |
* ButtonVariant
is exported by fwc-button
.
type ButtonVariant = 'contained'|'outlined'|'ghost';
** ButtonColor
is exported by fwc-button
.
type ButtonColor = 'primary'|'secondary'|'danger';
FAQs
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 how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.