import { html } from 'lit-html';
import { ifDefined } from 'lit-html/directives/if-defined';
import { files } from '../../icons/manifest.json';
export const story = ({ icon }, size = '3xl', stroke = 'regular') => html `
    <abds-icon
      icon="${ifDefined(icon || undefined)}"
      size="${ifDefined(size || undefined)}"
      stroke-width="${ifDefined(stroke || undefined)}"
    ></abds-icon>
  `;
export const meta = {
  argTypes: {
    icon: {
      control: {
        type: 'select',
      },
      defaultValue: 'calendar-check',
      description: 'icon to be displayed',
      name: 'icon',
      options: [...files.map((i) => i.replace(/icon-/, ''))],
      type: { name: 'string', required: false },
      table: {
        type: { summary: 'string' },
      },
    },
  },
  title: 'Components/Icons/',
};
export default { meta, story };
//# sourceMappingURL=template.js.map