import { Meta, StoryObj } from '@storybook/nextjs-vite'
import { MassTableRow } from './MassTableRow'

const meta: Meta<typeof MassTableRow> = {
  component: MassTableRow,
}

export default meta
type Story = StoryObj<typeof meta>

export const Default: Story = {
  args: {
    id: '1',
    date: '2024-08-23T15:00:00.000Z',
    type: 'MASS',
    cancelled: false,
  },
}

export const FamilyMass: Story = {
  args: {
    id: '1',
    date: '2024-08-23T15:00:00.000Z',
    type: 'FAMILY',
    cancelled: false,
  },
}

export const LiturgyOfTheWord: Story = {
  args: {
    id: '1',
    date: '2024-08-23T15:00:00.000Z',
    type: 'WORD',
    cancelled: false,
  },
}

export const ForeignLanguage: Story = {
  args: {
    id: '1',
    date: '2024-08-23T15:00:00.000Z',
    type: 'LANGUAGE',
    cancelled: false,
  },
}

export const Other: Story = {
  args: {
    id: '1',
    date: '2024-08-23T15:00:00.000Z',
    type: 'OTHER',
    cancelled: false,
  },
}

export const Cancelled: Story = {
  args: {
    id: '1',
    date: '2024-08-23T15:00:00.000Z',
    type: 'WORD',
    cancelled: true,
  },
}

export const CancelledLongDayName: Story = {
  args: {
    id: '1',
    date: '2024-08-22T15:00:00.000Z',
    type: 'WORD',
    cancelled: true,
  },
}
