import { formatDate } from '@lion/localize'; import { IsDateDisabled, MinMaxDate } from '@lion/validate'; import { html, storiesOf } from '@open-wc/demoing-storybook'; import '../lion-input-datepicker.js'; storiesOf('Forms|Input Datepicker') .add( 'Default', () => html` `, ) .add( 'Validation', () => html` Enter a date between ${formatDate(new Date('2018/05/24'))} and ${formatDate(new Date('2018/06/24'))}. d.getDate() === 15)]} > `, ) .add( 'With calendar-heading', () => html` `, ) .add( 'Disabled', () => html` `, ) .add( 'Readonly', () => html` `, );