{% stories Badge with {
  "title": "Atoms/Badge",
  "parameters": {
    "componentSubtitle": "Bootstrap Badge Component",
    "docs": {
      "description": {
        "component": "Documentation and examples for badges, our small count and labeling component."
      },
      "story": {
        "inline": true
      }
    }
  },
  "argTypes": {
    "html_tag": {
      "name": "HTML Tag",
      "desc": "The HTML tag to use for the bade. Defaults to span.",
      "defaultValue": "span",
      "control": "select",
      "options": {
        "span": "span",
        "div": "div",
        "a": "a"
      }
    },
    "color": {
      "name": "Background and Text Color",
      "description": "Set a background-color with contrasting foreground color with our .text-bg-{color} helpers. Previously it was required to manually pair your choice of .text-{color} and .bg-{color} utilities for styling, which you still may use if you prefer.",
      "defaultValue": "secondary",
      "control": "select",
      "options": {
        "Primary": "primary",
        "Secondary": "secondary",
        "Success": "success",
        "Info": "info",
        "Warning": "warning",
        "Danger": "danger",
        "Light": "light",
        "Dark": "dark"
      }
    },
    "content": {
      "name": "Content",
      "description": "The content for the button",
      "control": "text",
      "defaultValue": "Button"
    },
    "url": {
      "name": "URL Link",
      "description": "URL link for Badge when the HTML tag is an anchor link.",
      "defaultValue": "",
      "control": "text"
    },
    "badge_utility_classes": {
      "name": "Utility Classes",
      "description": "An array of utility classes that can be used to add extra Bootstrap utility classes or custom classes to this component.",
      "control": "object",
      "defaultValue": []
    },
    "attributes": {
      "name": "Attributes",
      "description": "HTML attributes for the containing element.",
      "control": "object",
      "defaultValue": {}
    }
  }
} %}

{% story Primary with {
  "name": "Primary",
  "args": {
    "html_tag": "span",
    "color": "primary",
    "content": "Badge",
    "url": "",
    "badge_utility_classes": []
  }
} %}
{{ include('vartheme_bs5:badge') }}
{% endstory %}

{% story Secondary with {
  "name": "Secondary",
  "args": {
    "html_tag": "span",
    "color": "secondary",
    "content": "Badge",
    "url": "",
    "badge_utility_classes": []
  }
} %}
{{ include('vartheme_bs5:badge') }}
{% endstory %}

{% story Success with {
  "name": "Success",
  "args": {
    "html_tag": "span",
    "color": "success",
    "content": "Badge",
    "url": "",
    "badge_utility_classes": []
  }
} %}

{{ include('vartheme_bs5:badge') }}
{% endstory %}

{% story Info with {
  "name": "Info",
  "args": {
    "html_tag": "span",
    "color": "info",
    "content": "Badge",
    "url": "",
    "badge_utility_classes": []
  }
} %}
{{ include('vartheme_bs5:badge') }}
{% endstory %}

{% story Warning with {
  "name": "Warning",
  "args": {
    "html_tag": "span",
    "color": "warning",
    "content": "Badge",
    "url": "",
    "badge_utility_classes": []
  }
} %}
{{ include('vartheme_bs5:badge') }}
{% endstory %}

{% story Danger with {
  "name": "Danger",
  "args": {
    "html_tag": "span",
    "color": "danger",
    "content": "Badge",
    "url": "",
    "badge_utility_classes": []
  }
} %}
{{ include('vartheme_bs5:badge') }}
{% endstory %}

{% story Light with {
  "name": "Light",
  "args": {
    "html_tag": "span",
    "color": "light",
    "content": "Badge",
    "url": "",
    "badge_utility_classes": []
  }
} %}
{{ include('vartheme_bs5:badge') }}
{% endstory %}

{% story Dark with {
  "name": "Dark",
  "args": {
    "html_tag": "span",
    "color": "dark",
    "content": "Badge",
    "url": "",
    "badge_utility_classes": []
  }
} %}
{{ include('vartheme_bs5:badge') }}
{% endstory %}

{% endstories %}
