import React from 'react';
import { storiesOf } from '@storybook/react';
import { Checkbox, LibraryItemList, MetaItem, ShareModal, UserPanel } from 'stremio-common';
import Addon from '../src/routes/Addons/Addon';
import Video from '../src/routes/Detail/VideosList/Video';
import VideosList from '../src/routes/Detail/VideosList';
import Stream from '../src/routes/Detail/StreamsList/Stream';
import StreamsList from '../src/routes/Detail/StreamsList';
import ModalsContainerProvider from '../src/common/Router/Route/ModalsContainerProvider';
import colors from 'stremio-colors';
import appStyles from '../src/App/styles';
import styles from './styles';
const storyStyle = {
padding: '10px',
overflow: 'auto',
minHeight: 'initial'
};
const streamsListStyle = {
position: 'absolute',
height: '100%',
padding: '10px',
minHeight: 'initial',
background: colors.backgroundlighter
}
const CONTINUE_WATCHING_MENU = [
{
label: 'Play',
type: 'play'
},
{
label: 'Dismiss',
type: 'dismiss'
}
];
const onModalsContainerDomTreeChange = ({ modalsContainerElement }) => {
return modalsContainerElement.childElementCount === 0;
};
storiesOf('Addon', module)
.add('not-installed', () => (
))
.add('installed', () => (
))
.add('long-text', () => (
));
storiesOf('Checkbox', module)
.add('checked-disabled', () => (
))
.add('not-checked-disabled', () => (
))
.add('not-checked', () => (
))
.add('checked', () => (
));
storiesOf('MetaItem', module)
.add('continue-watching-poster', () => (
))
.add('continue-watching-square', () => (
))
.add('addon-catalog-poster-movie', () => (
))
.add('addon-catalog-square-channel', () => (
))
.add('addon-catalog-landscape-series', () => (
));
storiesOf('ShareModal', module)
.add('share modal', () => (
));
storiesOf('UserPanel', module)
.add('anonymous', () => (
))
.add('without avatar', () => (
))
.add('with avatar', () => (
));
storiesOf('Video', module)
.add('poster-upcoming-watched-long-title', () => (
))
.add('empty-poster-progress', () => (
))
.add('no-poster-upcoming', () => (
))
.add('no-poster-upcoming-watched', () => (
))
.add('no-poster-long-title-progress', () => (
));
storiesOf('VideosList', module)
.add('list of videos', () => (
));
storiesOf('Stream', module)
.add('no-logo-title', () => (
))
.add('no-logo-subtitle', () => (
))
.add('logo-progress', () => (
))
.add('long-source-name', () => (
))
.add('long-title-subtitle', () => (
));
storiesOf('StreamsList', module)
.add('short list of streams', () => (
))
.add('long list of streams', () => (
));