
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
@cypress-design/vue-button
Advanced tools
npm install @cypress-design/vue-button
or with yarn
yarn add @cypress-design/vue-button
import Button from '@cypress-design/vue-button'
<script lang="ts" setup>
import { IconActionQuestionMarkCircle } from '@cypress-design/vue-icon'
</script>
<template>
<Button>
<IconActionQuestionMarkCircle class="mr-2" fill-color="indigo-400" />
Button
</Button>
</template>
<script lang="ts" setup>
import {
default as Button,
VariantClassesTable,
SizeClassesTable,
} from '@cypress-design/vue-button'
</script>
<template>
<div class="flex flex-wrap justify-stretch gap-[8px]">
<div
v-for="(_, variant) in VariantClassesTable"
class="p-[8px] py-[12px] flex flex-col items-center gap-[16px] rounded min-w-[180px]"
:class="{
'bg-gray-1000 text-white': variant === 'outline-dark',
'bg-white text-gray-900': variant !== 'outline-dark',
}"
>
{{ variant }}
<div
class="flex gap-[8px] items-center"
v-for="(_, size) in SizeClassesTable"
>
{{ size }}
<Button :variant="variant" :size="size"> Button </Button>
</div>
</div>
</div>
</template>
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
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.