import TagItem from '.'
import { Meta, StoryObj } from '@storybook/react-vite'

export default {
  title: 'react/TagItem',
  component: TagItem,
  parameters: {
    layout: 'centered',
  },
} as Meta<typeof TagItem>

export const Default: StoryObj<typeof TagItem> = {
  args: {
    label: '#女の子',
  },
  render: function Render(args) {
    return <TagItem {...args} />
  },
}

export const TranslatedLabel: StoryObj<typeof TagItem> = {
  render: function Render() {
    return <TagItem label="#女の子" translatedLabel="girl" />
  },
}

export const BGColor: StoryObj<typeof TagItem> = {
  render: function Render() {
    return <TagItem label="女の子" bgColor="var(--charcoal-brand)" />
  },
}

export const BGImage: StoryObj<typeof TagItem> = {
  render: function Render() {
    return (
      <TagItem
        label="#女の子"
        bgImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAAAoCAYAAAAFZi8EAAAAAXNSR0IArs4c6QAAE9ZJREFUaEPtmwd0VNXWx/93JgVICD2IhaAEUCB0RUSkK2AQRRD1swACFhRExApWdCkLqYp8IGLhAYIF0YeKTyyAioIamjSlPDoECKRMMuV+73fCCQmpENbD9b131po1M/eee8r+73b23teJi4tzL6xbX0euHKqkym3lhkWqa6XdmtX7PFX2uJIc2bZjxw79/PPPevzxx1WpUiU9/fTT6tatW8793D/S09PVuXNnHTt2zFwuX768fD6f+Q4EAvruu+/k8XgKfLbIiyFp5KiR+tusufIHfSpTpowZNyIiwnwYu2LFijpw4IBefvllNWnSRBdffHHOkF988YVGjhypsLAwHT16VOXKlZPf7zfPBgN+rVq1QlJQcv41UcDRgj9CGrc6qKWHKkiuK3kdxYS2aXr7WupSV4pRSNKJfWzbtk233nqrMjMzFR5dTr1736obO12p6PgEVXvjxM6cgE9lty5VheWTFLF3jZzExER3zvz5io4MUzAU0oaklfrmx9WaOGG8QqGgoqOjDTHZHAuPjIyU1+vV4cOHNXbsWN10000F0i0UCsl1XUNsfjuOYz72Nw/x/80339SyZcu0dOlSVahQwRCE8WnMRx/G4BrPQnjmhpBDhw5VvXr1dMUVV5j+9GNOPuvXr9cT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AkD4W01OSd0815cWLiSBq7MBsINU0RYpl7sFKXhcZmSN9LU/uAEWI8JkOFsW/CMjSCRX1ADbLJvOAU4DvYlG+Ym8Le9QV/5Og4zLyuWDQTUrpajvydGnQGX/IgqvuYoxVP8SzvlgmkK8/kUO6u3vL5DZp3OeS27uodvnanCpYIXEr05NUj23QiI83nnkBrHekzqkZdV0Olk3vCaIAjE5Dv3C4xwts+XobT/maMGl8SpT0K06kcH1KSqN8cXI4/co0ePnJdNMNioJWuweZsViSgoWwZ4FCkgSTgISKJ9vwLp2N9ikOK6DtSIdhVVQelKrFku1zuhJ6C1VRb2PYziOBXr0H7eUa06WLDvg+9Z9sifSln1uc5P3yrnj2VyfakK/MuzM9XuvN7bICFBg4cM0RVt2uSIPxOPnzjNJOXDI8JNHqJ8THnDaaYYLStLb08Zrw4dC5YmpARDjXqwQNj3KlDEa1f/Km9YpIJOdhbsVBqv7RJwZA4YIHdkFSCo/KCxQdQlAOAwIBHbGtymo21HKNLN0OSOZdWxakAXVcJFOPFyCWEI7BsgIFGUAREtRaoKawCxf99BVa5etcAuqekhtWlYW34nXE88+bhatbrc1FMRf1qzZo3+D5DsOb69XTjCAAAAAElFTkSuQmCC"
      />
    )
  },
}

export const Active: StoryObj<typeof TagItem> = {
  render: function Render() {
    return <TagItem label="#女の子" status="active" />
  },
}

export const InActive: StoryObj<typeof TagItem> = {
  render: function Render() {
    return <TagItem label="#女の子" status="inactive" />
  },
}

export const Small: StoryObj<typeof TagItem> = {
  render: function Render() {
    return <TagItem label="#女の子" size="S" />
  },
}

export const Disabled: StoryObj<typeof TagItem> = {
  render: function Render() {
    return <TagItem label="#女の子" disabled />
  },
}
