import { InputBoxFilled } from 'tvu-react-pilot'

const Surface = ({ children }: any) => (
  <div style={{ background: 'var(--bg-layer1)', padding: 20, display: 'flex', gap: 12, flexWrap: 'wrap', alignItems: 'center', borderRadius: 8 }}>
    {children}
  </div>
)

export const Placeholder = () => (
  <Surface>
    <InputBoxFilled darkTheme="on" size="M" status="Placeholder" enable="on" ux="default" feature="no" placeholder="Stream title…" />
  </Surface>
)

export const Filled = () => (
  <Surface>
    <InputBoxFilled darkTheme="on" size="M" status="Value" enable="on" ux="default" feature="no" value="Champions League — Matchday 6" />
  </Surface>
)

export const Sizes = () => (
  <Surface>
    <InputBoxFilled darkTheme="on" size="M" status="Value" enable="on" ux="default" feature="no" value="Encoder-01" />
    <InputBoxFilled darkTheme="on" size="L" status="Value" enable="on" ux="default" feature="no" value="Encoder-01" />
    <InputBoxFilled darkTheme="on" size="XL" status="Value" enable="on" ux="default" feature="no" value="Encoder-01" />
  </Surface>
)

export const Error = () => (
  <Surface>
    <InputBoxFilled darkTheme="on" size="M" status="Value" enable="on" ux="error" feature="no" value="12.0.0" />
  </Surface>
)

export const Disabled = () => (
  <Surface>
    <InputBoxFilled darkTheme="on" size="M" status="Value" enable="off" ux="default" feature="no" value="Read-only source ID" />
  </Surface>
)
