/**
 * Code Connect mapping for MStepperInline
 * Links Figma Stepper (Inline) 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=13050-10371',
  {
    props: {
      showStep03: figma.boolean('Show Step 03'),
      showStep04: figma.boolean('Show Step 04'),
      showStep05: figma.boolean('Show Step 05'),
      showStep06: figma.boolean('Show Step 06'),
    },
    example: () =>
      html`<script setup>
          import { MStepperInline } from '@mozaic-ds/vue';
        </script>

        <MStepperInline
          :current-step="1"
          :steps="[{ label: 'Step label', additionalInfo: 'Additional information' }, { label: 'Step label', additionalInfo: 'Additional information' }, { label: 'Step label', additionalInfo: 'Additional information' }]"
        ></MStepperInline>`,
  },
);
