UNPKG

@mozaic-ds/vue

Version:

Mozaic-Vue is the Vue.js implementation of ADEO Design system

36 lines (33 loc) 871 B
/** * Code Connect mapping for MCircularProgressbar * Links Figma Circular progress bar (ADS2) to @mozaic-ds/vue */ import figma, { html } from '@figma/code-connect/html'; figma.connect( 'https://www.figma.com/design/Zyh9RyabNaqkjbuFWP9Aqj/%E2%9C%A8-Components--ADS2---Stable-version-?node-id=61-2204', { props: { size: figma.enum('Size', { S: 's', M: 'm', L: 'l', }), value: figma.enum('Completion', { '0%': 0, '25%': 25, '50%': 50, '75%': 75, '100%': 100, }), }, example: ({ size, value }) => html`<script setup> import { MCircularProgressbar } from '@mozaic-ds/vue'; </script> <MCircularProgressbar size=${size} :value=${value} aria-label="Progress bar" ></MCircularProgressbar>`, }, );