
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@psff/cmp-button
Advanced tools
psff-buttonA standard button element. Allow users to take actions in the page.
Setup the package as a dependencie.
yarn add @psff/cmp-button
Use the component <psff-button />.
import PsffButton from '@psff/cmp-button'
@Component({
components: {
'psff-button': PsffButton,
},
})
export default class MyComponent extends Vue {}
.my-button {
--psff-button-background-color: #fabada;
--psff-button-label-color: black;
}
<psff-button>Button</psff-button>
<psff-button>
<template #icon>X</template>
Button
</psff-button>
<psff-button disabled>Button</psff-button>
Extend standard <button> element parameters with:
type (string, default: 'button'): the HTML button typeicon-position (['left'|'right'], default: 'right'): the icon positionThis component does not emit any special events.
Generic:
--psff-button-background-color (default #648cfa)--psff-button-border-color (default #648cfa)--psff-button-border-size (default 2px)--psff-button-border-radius (default 4px)--psff-button-box-shadow (default: 2px 2px 4px rgba(94, 136, 252, .25))--psff-button-font-family (default: inherit)--psff-button-font-size (default: inherit)--psff-button-font-variant (default: normal)--psff-button-font-weight (default: inherit)--psff-button-height (default: 3rem)--psff-button-icon-spacing (default .2rem)--psff-button-label-color (default #fff)--psff-button-line-height (default: inherit)--psff-button-text-transform (default: none)--psff-button-outline (default: none)--psff-button-padding (default .75rem 1.5rem)--psff-button-width (default: auto)Disabled:
--psff-button-background-color-disabled (default: #d6d6d6)--psff-button-border-color-disabled (default: #d6d6d6)--psff-button-box-shadow-disabled (default: 2px 2px 4px rgba(49, 49, 49, .25))--psff-button-label-color-disabled (default: --psff-button-label-color-disabled)On hovered:
--psff-button-background-color-hovered (default: #3066f9)--psff-button-border-color-hovered (default: #3066f9--psff-button-box-shadow-hovered (default: --psff-button-box-shadow)--psff-button-label-color-hovered (default: --psff-button-label-color)On focused:
--psff-button-background-color-focused (default: #3066f9)--psff-button-border-color-focused (default: #3066f9)--psff-button-box-shadow-focused (default: --psff-button-box-shadow)--psff-button-label-color-focused (default: --psff-button-label-color)On actived:
--psff-button-background-color-actived (default: #3066f9)--psff-button-border-color-actived (default: #3066f9)--psff-button-box-shadow-actived (default: --psff-button-box-shadow)--psff-button-label-color-actived (default: --psff-button-label-color)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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.