Skip to content

Commit

Permalink
Publish new API docs (automated commit)
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnrusschen committed Nov 17, 2018
1 parent 75bd47e commit f2f6552
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 123 deletions.
165 changes: 70 additions & 95 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,98 +1,73 @@
# `index` (component)

General datepicker component.
| name | type | default value | description |
| ---------------------------- | ------------------------------ | ------------------ | ----------- |
| `adjustDateOnChange` | `bool` | | |
| `allowSameDay` | `bool` | `false` | |
| `autoComplete` | `string` | | |
| `autoFocus` | `bool` | | |
| `calendarClassName` | `string` | | |
| `calendarContainer` | `func` | | |
| `children` | `node` | | |
| `className` | `string` | | |
| `clearButtonTitle` | `string` | | |
| `customInput` | `element` | | |
| `customInputRef` | `string` | | |
| `dateFormat` | `union(string\|array)` | `'MM/dd/yyyy'` | |
| `dateFormatCalendar` | `string` | `'LLLL yyyy'` | |
| `dayClassName` | `func` | | |
| `disabled` | `bool` | `false` | |
| `disabledKeyboardNavigation` | `bool` | `false` | |
| `dropdownMode` | `enum('scroll'\|'select')` | `'scroll'` | |
| `endDate` | `instanceOfDate` | | |
| `excludeDates` | `array` | | |
| `excludeTimes` | `array` | | |
| `filterDate` | `func` | | |
| `fixedHeight` | `bool` | | |
| `forceShowMonthNavigation` | `bool` | | |
| `formatWeekDay` | `func` | | |
| `formatWeekNumber` | `func` | | |
| `highlightDates` | `array` | | |
| `id` | `string` | | |
| `includeDates` | `array` | | |
| `includeTimes` | `array` | | |
| `injectTimes` | `array` | | |
| `inline` | `bool` | | |
| `isClearable` | `bool` | | |
| `locale` | `string` | | |
| `maxDate` | `instanceOfDate` | | |
| `maxTime` | `instanceOfDate` | | |
| `minDate` | `instanceOfDate` | | |
| `minTime` | `instanceOfDate` | | |
| `monthsShown` | `number` | `1` | |
| `name` | `string` | | |
| `nextMonthButtonLabel` | `string` | `'Next month'` | |
| `onBlur` | `func` | `function() {}` | |
| `onChange` | `func` | `function() {}` | |
| `onChangeRaw` | `func` | | |
| `onClickOutside` | `func` | `function() {}` | |
| `onFocus` | `func` | `function() {}` | |
| `onInputClick` | `func` | `function() {}` | |
| `onInputError` | `func` | `function() {}` | |
| `onKeyDown` | `func` | `function() {}` | |
| `onMonthChange` | `func` | `function() {}` | |
| `onSelect` | `func` | `function() {}` | |
| `onWeekSelect` | `func` | | |
| `onYearChange` | `func` | `function() {}` | |
| `open` | `bool` | | |
| `openToDate` | `instanceOfDate` | | |
| `peekNextMonth` | `bool` | | |
| `placeholderText` | `string` | | |
| `popperClassName` | `string` | | |
| `popperContainer` | `func` | | |
| `popperModifiers` | `object` | | |
| `popperPlacement` | `enumpopperPlacementPositions` | | |
| `popperProps` | `object` | | |
| `preventOpenOnFocus` | `bool` | `false` | |
| `previousMonthButtonLabel` | `string` | `'Previous Month'` | |
| `readOnly` | `bool` | `false` | |
| `renderCustomHeader` | `func` | | |
| `renderDayContents` | `func` | `function(date) { |

| name | type | default value | description |
| ----------------------------- | ------------------------------ | ------------------ | ----------- |
| `adjustDateOnChange` | `bool` | | |
| `allowSameDay` | `bool` | `false` | |
| `autoComplete` | `string` | | |
| `autoFocus` | `bool` | | |
| `calendarClassName` | `string` | | |
| `calendarContainer` | `func` | | |
| `children` | `node` | | |
| `className` | `string` | | |
| `clearButtonTitle` | `string` | | |
| `customInput` | `element` | | |
| `customInputRef` | `string` | | |
| `dateFormat` | `union(string\|array)` | `"L"` | |
| `dateFormatCalendar` | `string` | `"MMMM YYYY"` | |
| `dayClassName` | `func` | | |
| `disabled` | `bool` | `false` | |
| `disabledKeyboardNavigation` | `bool` | `false` | |
| `dropdownMode` | `enum("scroll"\|"select")` | `"scroll"` | |
| `endDate` | `instanceOf(Date)` | | |
| `excludeDates` | `array` | | |
| `excludeTimes` | `array` | | |
| `filterDate` | `func` | | |
| `fixedHeight` | `bool` | | |
| `forceShowMonthNavigation` | `bool` | | |
| `formatWeekDay` | `func` | | |
| `formatWeekNumber` | `func` | | |
| `highlightDates` | `array` | | |
| `id` | `string` | | |
| `includeDates` | `array` | | |
| `includeTimes` | `array` | | |
| `injectTimes` | `array` | | |
| `inline` | `bool` | | |
| `isClearable` | `bool` | | |
| `locale` | `string` | | |
| `maxDate` | `instanceOf(Date)` | | |
| `maxTime` | `instanceOf(Date)` | | |
| `minDate` | `instanceOf(Date)` | | |
| `minTime` | `instanceOf(Date)` | | |
| `monthsShown` | `number` | `1` | |
| `name` | `string` | | |
| `nextMonthButtonLabel` | `string` | `"Next month"` | |
| `onBlur` | `func` | `function() {}` | |
| `onChange` | `func` | `function() {}` | |
| `onChangeRaw` | `func` | | |
| `onClickOutside` | `func` | `function() {}` | |
| `onFocus` | `func` | `function() {}` | |
| `onInputClick` | `func` | `function() {}` | |
| `onKeyDown` | `func` | `function() {}` | |
| `onMonthChange` | `func` | `function() {}` | |
| `onSelect` | `func` | `function() {}` | |
| `onWeekSelect` | `func` | | |
| `onYearChange` | `func` | `function() {}` | |
| `open` | `bool` | | |
| `openToDate` | `instanceOf(Date)` | | |
| `peekNextMonth` | `bool` | | |
| `placeholderText` | `string` | | |
| `popperClassName` | `string` | | |
| `popperContainer` | `func` | | |
| `popperModifiers` | `object` | | |
| `popperPlacement` | `enumpopperPlacementPositions` | | |
| `preventOpenOnFocus` | `bool` | `false` | |
| `previousMonthButtonLabel` | `string` | `"Previous Month"` | |
| `readOnly` | `bool` | `false` | |
| `renderCustomHeader` | `func` | | |
| `required` | `bool` | | |
| `scrollableMonthYearDropdown` | `bool` | | |
| `scrollableYearDropdown` | `bool` | | |
| `selected` | `instanceOf(Date)` | | |
| `selectsEnd` | `bool` | | |
| `selectsStart` | `bool` | | |
| `shouldCloseOnSelect` | `bool` | `true` | |
| `showDisabledMonthNavigation` | `bool` | | |
| `showMonthDropdown` | `bool` | | |
| `showMonthYearDropdown` | `bool` | | |
| `showTimeSelect` | `bool` | `false` | |
| `showTimeSelectOnly` | `bool` | | |
| `showWeekNumbers` | `bool` | | |
| `showYearDropdown` | `bool` | | |
| `startDate` | `instanceOf(Date)` | | |
| `startOpen` | `bool` | | |
| `tabIndex` | `number` | | |
| `timeCaption` | `string` | `"Time"` | |
| `timeFormat` | `string` | | |
| `timeIntervals` | `number` | `30` | |
| `title` | `string` | | |
| `todayButton` | `node` | | |
| `useShortMonthInDropdown` | `bool` | | |
| `useWeekdaysShort` | `bool` | | |
| `utcOffset` | `union(number\|string)` | | |
| `value` | `string` | | |
| `weekLabel` | `string` | | |
| `withPortal` | `bool` | `false` | |
| `yearDropdownItemNumber` | `number` | | |
return date;
}`|| |`required`|`bool`||| |`scrollableMonthYearDropdown`|`bool`||| |`scrollableYearDropdown`|`bool`||| |`selected`|`instanceOfDate`||| |`selectsEnd`|`bool`||| |`selectsStart`|`bool`||| |`shouldCloseOnSelect`|`bool`|`true`|| |`showDisabledMonthNavigation`|`bool`||| |`showMonthDropdown`|`bool`||| |`showMonthYearDropdown`|`bool`||| |`showTimeSelect`|`bool`|`false`|| |`showTimeSelectOnly`|`bool`||| |`showWeekNumbers`|`bool`||| |`showYearDropdown`|`bool`||| |`startDate`|`instanceOfDate`||| |`startOpen`|`bool`||| |`tabIndex`|`number`||| |`timeCaption`|`string`|`'Time'`|| |`timeFormat`|`string`||| |`timeIntervals`|`number`|`30`|| |`title`|`string`||| |`todayButton`|`node`||| |`useShortMonthInDropdown`|`bool`||| |`useWeekdaysShort`|`bool`||| |`value`|`string`||| |`weekLabel`|`string`||| |`withPortal`|`bool`|`false`|| |`yearDropdownItemNumber`|`number`|||
1 change: 0 additions & 1 deletion docs/month_dropdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

| name | type | default value | description |
| ------------------------- | -------------------------- | ------------- | ----------- |
| `dateFormat` (required) | `string` | | |
| `dropdownMode` (required) | `enum("scroll"\|"select")` | | |
| `locale` | `string` | | |
| `month` (required) | `number` | | |
Expand Down
6 changes: 3 additions & 3 deletions docs/month_year_dropdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

| name | type | default value | description |
| ----------------------------- | -------------------------- | ------------- | ----------- |
| `date` (required) | `instanceOf(Date)` | | |
| `date` (required) | `instanceOfDate` | | |
| `dateFormat` (required) | `string` | | |
| `dropdownMode` (required) | `enum("scroll"\|"select")` | | |
| `locale` | `string` | | |
| `maxDate` (required) | `instanceOf(Date)` | | |
| `minDate` (required) | `instanceOf(Date)` | | |
| `maxDate` (required) | `instanceOfDate` | | |
| `minDate` (required) | `instanceOfDate` | | |
| `onChange` (required) | `func` | | |
| `scrollableMonthYearDropdown` | `bool` | | |
Loading

0 comments on commit f2f6552

Please sign in to comment.